Forums Index >> Modding >> Please, please, please answer question :S :S :[



Page : <1> :


How do I make "new" tanks available in TT? Like in some mods you type /jeep and you become a jeep. How can I do that too? Someone said to edit the tankdb.ccs file and I did but now my mods dont load. Can someone post an example of their tankdb.cs file with a new tank in it? :S :S :[

Wednesday, December 22, 2004 at 1:42:32 PM

Please please anyone ???

:S :S :S :[ :[ :[ :( :(

Wednesday, December 22, 2004 at 5:30:09 PM

Do you meen codes? 8o

Wednesday, December 22, 2004 at 11:05:29 PM

There I can help. In tankDb.cs, find this:

 

Datablock TankData(LightTank: MediumTank)
{
shapeFile = "~/data/shapes/tanks/tank01.dts";
brainShapeFile = "~/data/shapes/tanks/brainjar01.dts";

MaxSpeed = 15.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 = 11.8; // total amount of damage tank can withstand
suspensionRange = 0.8; // proportion of wheel size for wheel to move up/down

DamageScale = 1.0; // 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;
};

 

That is the datablock for the lighttank,copy it.

Paste it below babyboss datablock.

Now,Change this:

 

LightTank : MediumTank

 

Into this:

 

Jeep : MediumTank

 

Change this to the pathfile for the jeep:

 

ShapeFile = "~/data/shapes/tanks/tank01.dts";

 

Got it?

Then go to dash codes.

Copy the lighttank changer in the "if else" section. Paste it below.

Rename the /light to /jeep and the "LightTank" to "Jeep"

Thursday, December 23, 2004 at 2:04:11 AM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald