Author Topic: Heedicalking's Generic RPG Mod  (Read 10496 times)



why is there the letter t spammed on them?
You're doing it wrong.



I was on Heed's (or at least I think it was Heed's...) server that had (somthing like) this. (maybe...)
Everybody but me and (who I belive was) Heed was banned/kicked/both.

I belive I built a houseboat.

Those were good times... Corect me, maître Heed, if I am wrong.

I was on Heed's (or at least I think it was Heed's...) server that had (somthing like) this. (maybe...)
Everybody but me and (who I belive was) Heed was banned/kicked/both.

I belive I built a houseboat.

Those were good times... Corect me, maître Heed, if I am wrong.
That had no mod at all. I banned/kicked for closing the server.

Bump. THis isn't going to be like Desolations. This is going to be more of a style where you get to build a town or a shop and such. Hopefully someone can fix this.
Code: [Select]
function CityRPGLumberjackProjectile::onCollision(%this, %obj, %col, %fade, %pos, %normal)
{
Parent::onCollision(%this, %obj, %col, %fade, %pos, %normal);

%brickData = %col.getDatablock();
if(%brickData.isTree)
{
%col.onChop(%obj.client);
}


parent::oncollision(%this, %obj, %slot, %col, %pos, %normal);
}

function fxDTSBrick::onChop(%this, %client)
{
if(%this.resources > 0)
{

%random = getRandom(1,100);
if(%random >= 65)
{
%this.resources--;

if(%this.resources > 0)
commandToClient(%client, 'centerPrint' , "\c6Lumber obtained.", 1);
else
{
commandToClient(%client, 'centerPrint' , "\c6Lumber obtained, however you killed the tree in the process.", 3);
%this.fakeKillBrick(getRandom(-10, 10) SPC getRandom(-10, 10) SPC getRandom(0, 10), getRandom(120, 180));
%this.resources = %this.getDatablock().resources;
}
%client.player.Roleplay["Lumber"] += 1;
%client.Roleplay["WoodcuttingXP"] += 1;



}
}
}
It spams the console with
Code: [Select]
base/server/scripts/allGameScripts.cs (9477): Unable to find object: '' attempting to call function 'getType'
BackTrace: ->CityRPGLumberjackProjectile::OnCollision->ProjectileData::OnCollision
I am using the city rpg axe script for now.

I fixed that. Using echos to tell where it is messed up is really helpful. Anyway, I got a working resource GUI, Ammo system with RP Bow, Fixed Fire Wand, Fire Hose.

Requires lumber to build. You drop lumber and gold on death.

I am working on making a GUI that allows you to buy ammo and items and such.

Looking good Heed. Is there a trading system?

Cyan tribe shall conquer once again! :D

Looking good Heed. Is there a trading system?
There isn't a formal trading system but you can give money. If you say
"I will buy that sword for 20 gold"
Then the other person says
"Ok, give me 20 gold"
and you give it to him and he runs away, you can just kill him and he will drop all of his:
Gold
Arrows
Lumber
Iron

There isn't a formal trading system but you can give money. If you say
"I will buy that sword for 20 gold"
Then the other person says
"Ok, give me 20 gold"
and you give it to him and he runs away, you can just kill him and he will drop all of his:
Gold
Arrows
Lumber
Iron
What if you fail to kill him? D:

What if you fail to kill him? D:
You just got scammed. Either tell someone else to kill him, get revenge later by either:
Killing him
Burning his house
Burning him
scamming him

or just let it go. There is no point getting into a war you cannot win

You just got scammed. Either tell someone else to kill him, get revenge later by either:
Killing him
Burning his house
Burning him
scamming him

or just let it go. There is no point getting into a war you cannot win
Okay. ;D