Forums Index >> Modding >> adding different tank changing codes
Page : <1> :
I know right I do change it but dont work its Pi**ing me off lol
Www.freewebs.com/mrbigshowinc/addingnewtanks.htm et voila this tutorial is pretty good... But the music in the background of his page is annoying as hell
:)
Yo pablo my security setiings wont allow me to donwload them and if I change it it changes back to restrickted!
HaHa ^^ You Just Got p00ne1) WanT SoMe MoRe?? 1v1 You Host It.
^^ well all you can have is MIDI's which is basically orchestrated songs so you can have music or none at all :)
Mr big show, you wouldn't happen to have a script that has the cruiser codes?
Sorry mr big... No offense meant
^^ sigh , I have instructions there for you to follow , but do I really have to post the scripts that I have?
Oooooooook 2 questions.what codes file do I erase,and where do I put the tankDb. 8o
And yes plz post the scripts you have
Ok now I have deleted those scripts but if you want I can make it really quickly right now; please tell me what stats you want the jeep and 187 to have; and if you want an admin tank than tell me too.
Datablock TankData(Cruiser187 : MediumTank) // Where it says "lighttank" rename to whatever your new tank is.
{
shapeFile = "~/data/shapes/tanks/Cruiser187.dts";
brainShapeFile = "~/data/shapes/tanks/bot03.dts";
MaxSpeed = 9.0; // meters per second (in forward direction)
accelRate = 14.0; // increase velocity this many meters per second
deccelRate = 20.0; // when breaking, decrease velocity
turnRate = 61.0; // degrees per second
antiSlideRate = 10.9;
TurretHorRange = 53.5; // range in +/- degrees of turret horizontally
turretAutoLevel = 0.92;
DamageAmount = 25; // total amount of damage tank can withstand
suspensionRange = 1.8; // proportion of wheel size for wheel to move up/down
DamageScale = 0.8; // multiply damage we do to others by this amount
armorScale = 1.0; // multiply damage we take by this amount (note: smaller better)
DefaultProjectile = "HeavyProjectile";
ai = GoldLightAI;
};
Datablock TankData(Jeep : MediumTank) // Where it says "lighttank" rename to whatever your new tank is.
{
shapeFile = "~/data/shapes/jeep/jeep.dts";
brainShapeFile = "~/data/shapes/tanks/brainjar04.dts";
MaxSpeed = 20.9; // meters per second (in forward direction)
accelRate = 14.0; // increase velocity this many meters per second
deccelRate = 20.0; // when breaking, decrease velocity
turnRate = 61.0; // degrees per second
antiSlideRate = 10.9;
TurretHorRange = 53.5; // range in +/- degrees of turret horizontally
turretAutoLevel = 0.92;
DamageAmount = 14.8; // total amount of damage tank can withstand
suspensionRange = 1.8; // proportion of wheel size for wheel to move up/down
DamageScale = 1.5; // multiply damage we do to others by this amount
armorScale = 1.0; // multiply damage we take by this amount (note: smaller better)
DefaultProjectile = "LightProjectile";
ai = GoldLightAI;
};
Datablock TankData(TargetCruiser187 : Cruiser187)
{
ai = TargetCruiser187AI;
defaultProjectile = "ZeroProjectile";
DamageAmount = 20;
maxSpeed = 9.0;
};
Datablock TankData(TargetJeep : Jeep)
{
ai = TargetJeepAI;
defaultProjectile = "ZeroProjectile";
DamageAmount = 6.0;
maxSpeed = 20;
};
Any problem cause its not working
Now you have to add it in as a code to acces it.
I did that put the stuff in the codes.cs under the other tank changing cades and even put the code at the bottom of the tankdb.cs file too. And still didn't work.
Thats what I meean bomber extra codes arent working when I did all that stuff
Send me your copy of the tankDB.cs file and your codes.cs file and ill investigate
Page : <1> :
How do you add different tank change codes like 187 or an admin tank