1.6 Drone's textfile editing
Let's go straight into business.
EST02BLU // Name of this drone (in data/drones/drones.txt)
CAR // Car / Plane / Train, see note 4.
1.5 // Mass in tonnes
45 , 50 , 33 // Centre of mass, see note 1.
SMOOTH // Cornering (smooth / sharp)
VARIABLE // Speed (constant / variable), see note 2.
0.5 // Max acceleration (BRU/s/s, 1 BRU/s = 15 mph = 24 kph = 6.7 m/s)
6.3 // Max speed (BRU/s)
0.75 // Min speed (BRU/s)
0.4 // Crushability, see note 3.
15,15 // Crush limits (front,back) as % of total length of the vehicle.
15,15 // Crush limits (left,right)
0 ,30 // Crush limits (bottom,top)
RESPAWN // Ability to be resurrected after a crash. (respawn / norespawn)
INLINE // Orientation relative to path incline. (inline / vertical) See note 4.
DISTANCE // Processing. (always / distance)
START OF BOUNDING SHAPES // If you put zero here, the game will generate the bounding shapes.
0 // Number of "bounding shapes" entries.
END OF BOUNDING SHAPES
START OF FUNKYGROOVY STUFF
SteeringGroove // Makes the front wheels to steer
FRPIVOT.ACT // Front, right wheel
FLPIVOT.ACT // Front, left wheel
SpinnyGroove // Makes the wheels to spin
RRWHEEL.ACT // Rear, right wheel
0.14 // Diameter of the wheel, to make rolling look realistic.
[Write the other three SpinnyGrooves similarly for RLWHEEL.ACT, FRWHEEL.ACT and FLWHEEL.ACT.]
END OF FUNKYGROOVY STUFF
Note 1: These values are % distances from front, left and bottom. (Z,X,Y) To set the centre of mass exactly to the center of the car, put these values: 50 , 50 , 50.
But I recommend these values for normal cars: 45 , 50 , 33.
Note 2: If you put "variable" here, you must write three values on separate lines: Acceleration, max speed, and min speed.
But if you put "constant", write only one value on one line: the speed. (BRU/s)
Note 3: If this is zero, the drone can't be crushed, and you don't have to write crush limits.
But if you put some other values than zero, you must write the crush limits. (Three lines, with two values on each line) But here are some example crushability values:
0.2 = Truck's crushability
0.5 = Average softness
1.0 = Very soft
2.0 = Extremely soft
Note 4: The different keywords don't change the behaviour much, but these small changes apply:
-Car: The default type.
-Plane: The drone won't slow down in curves. Planes also have taxi speed, but I don't know have to define that.
-Train: The drone will be visible very far away.