Game Development Community

Codes

by Loaded · in ThinkTanks · 12/29/2003 (9:56 am) · 5 replies

These 2 codes were collected through out the fourms and i thought i would make it easier for other people to get these codes. I did not make these up they are someone elses work. They Freely gave out to everyone so i will freely give them out also. I'm very sorry to the person who first posted the speed codes i would give the credit if could remember. Again their not my doings.

For acceleration:
Lighttank.accelRate = 50;
(just edit the number to tell it how fast u want it to start)

For Deceleration:
Lighttank.deccelRate = 80;
(how strong u want their breaks)

For Speed:
LightTank.maxSpeed = 60;
(How fast u want the top speed)

and for no Slip: (I think it's this)
LightTank.antiSlideRate = 70;
(For no slip, set it to 0)

You need to specify Heavy, Medium, Light
You can just copy and paste them into u'r map info, and it should work!!

The Flame Thrower (code taken from "The Brain (SA)" forum):

lighttank.defaultprojectile = "speedyprojectile";
mediumtank.defaultprojectile = "speedyprojectile";
heavytank.defaultprojectile = "speedyprojectile";
speedyprojectile.resource = "game/data/shapes/common/VolcanoExplosion.jpg";
speedyprojectile.count = 5000;
speedyprojectile.burstcount = 5000;
speedyprojectile.velocity = 40;
speedyprojectile.reloadtime = 0;
speedyprojectile.burstdelay = 0;
speedyprojectile.sizeScale = 3;
defaultexplosion.startscale = 4;
defaultexplosion.endscale = 7;

About the author

Recent Threads


#1
12/29/2003 (10:05 am)
Great, but I'm still not clear on which .mis file needs to have these edited/added in to, to get them to work. Anyone know? I've looked through quite a few of the .mis files in my TT installation, but I don't see anything that corresponds to these.

Forgive my stupidity in this area, I've just never edited these files before.

Thanks,

OM
#2
12/29/2003 (10:28 am)
I placed them like this inside the the .mis file:
//--- OBJECT WRITE BEGIN ---
heavytank.defaultprojectile = "speedyprojectile";
lighttank.defaultprojectile = "speedyprojectile";
mediumtank.defaultprojectile = "speedyprojectile";
speedyprojectile.resource = "game/data/shapes/common/VolcanoExplosion.jpg";
speedyprojectile.count = 5000;
speedyprojectile.burstcount = 5000;
speedyprojectile.velocity = 40;
speedyprojectile.reloadtime = 0;
speedyprojectile.burstdelay = 0;
speedyprojectile.sizeScale = 3;
defaultexplosion.startscale = 4;
defaultexplosion.endscale = 7;
LightTank.antiSlideRate=80;
LightTank.deccelRate=80;
LightTank.accelRate=60;
LightTank.maxSpeed=70;
MediumTank.maxSpeed=70;
MediumTank.accelRate=60;
MediumTank.deccelRate=80;
MediumTank.antiSlideRate=80;
HeavyTank.maxSpeed=70;
HeavyTank.accelRate=60;
HeavyTank.deccelRate=80;
HeavyTank.antiSlideRate=80;
#3
12/29/2003 (10:30 am)
You need to Add these to the .mis files. You don't edit anything. Just add them.
#4
12/29/2003 (10:30 am)
I placed them like this inside the the .mis file:
//--- OBJECT WRITE BEGIN ---
heavytank.defaultprojectile = "speedyprojectile";
lighttank.defaultprojectile = "speedyprojectile";
mediumtank.defaultprojectile = "speedyprojectile";
speedyprojectile.resource = "game/data/shapes/common/VolcanoExplosion.jpg";
speedyprojectile.count = 5000;
speedyprojectile.burstcount = 5000;
speedyprojectile.velocity = 40;
speedyprojectile.reloadtime = 0;
speedyprojectile.burstdelay = 0;
speedyprojectile.sizeScale = 3;
defaultexplosion.startscale = 4;
defaultexplosion.endscale = 7;
LightTank.antiSlideRate=80;
LightTank.deccelRate=80;
LightTank.accelRate=60;
LightTank.maxSpeed=70;
MediumTank.maxSpeed=70;
MediumTank.accelRate=60;
MediumTank.deccelRate=80;
MediumTank.antiSlideRate=80;
HeavyTank.maxSpeed=70;
HeavyTank.accelRate=60;
HeavyTank.deccelRate=80;
HeavyTank.antiSlideRate=80;
#5
01/03/2004 (7:16 pm)
Please don't tell. This guy has been wanting to copy my mines in the Raceway series since it opened.
I would appreciate it if you didn't tell.