Blockland Forums > Modification Help

RC Tank - Help Needed

Pages: (1/5) > >>

MARBLE MAN:

OK- I have been trying to mod bushido's rc bomb to be an RC Tank...
The only 2 problems i am having are:
Getting the Tank Shell to fire above the tank...(Currently fires underneath the tank)

--- Code: ---{

%projectile = TANKSHELLProjectile;
%p = new Projectile()
{
dataBlock = %projectile;
initialVelocity = "0 0 0"; //shell direction and speed
initialPosition = %obj.getPosition(); //shell launch position
sourceObject = %obj.TankerOwner.player;
sourceSlot = %slot;
client = %obj.TankerOwner;
};
--- End code ---

AND
putting this(to dismount):

--- Code: --- if(isObject(%obj.getControllingClient()))
%obj.getControllingClient().setControlObject(%obj.getControllingClient().player);
%obj.schedule(10, delete);
--- End code ---
binded to a:

--- Code: ---function servercmdLight();
--- End code ---

PLEASE HELP


MARBLE MAN:

OH
%obj is the tank


MARBLE MAN:

Can someone please help??

MARBLE MAN:

y u no help a helpless helplet

Treynolds416:

Chill the forget out man. This is one of the slowest boards on the forum, there's no need to bump every hour and a half

Pages: (1/5) > >>

Go to full version