Posted: Fri Jun 22, 2007 3:14 pm
accerate obviously go up
Nuh uh.
I drive a stick shift... The lower the gear, the higher the acceleration rate but lower max speed
Planet ThinkTanks 2: a Community Forum, Downloads for ThinkTanks by GarageGames and BraveTree Productions
https://www.planetthinktanks2.com/forums/
https://www.planetthinktanks2.com/forums/viewtopic.php?t=354
accerate obviously go up
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "1", "", "changeGears(%this, gearOne);");
}
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "2", "", "changeGears(%this, gearTwo);");
}
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "3", "", "changeGears(%this, gearThree);");
}
if (!$server::dedicated) {
moveMap.bindCmd(keyboard, "4", "", "changeGears(%this, gearFour);");
datablock TankData(gearOne)
{
shapeFile = "~/data/shapes/tanks/tank01.dts";
brainShapeFile = "~/data/shapes/tanks/brainjar01.dts";
maxSpeed = 5.0; // meters per second (in forward direction)
accelRate = 15.0; // increase velocity this many meters per second
deccelRate = 30.0; // when breaking, decrease velocity
turnRate = 75.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;
};
Private sub
dim gear as integer
If gear = 1 then
qearOne.enabled = true
gearTwo.enabled = false
gearThree.enabled = false
gearFour.enabled = false
end if
.. and so on
end sub