home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet Magazine NZ 2002 April
/
IMAG0402.ISO
/
Games
/
spacehaste2001demo.exe
/
L4
/
c2.AIracer
< prev
next >
Wrap
Text File
|
2001-12-16
|
4KB
|
86 lines
// AI configuration file only one value accepted here
Straighten 0.026 0.05
Centering 0.05 0.2 //actually heads towards RoadLocation
AutoPilot 0.06 0.21
BoostAutoPilot 0.07 0.22
AutoCentering 0.05 0.2 //actually heads towards RoadLocation
AISideVelocityDamping 0.5 0.15
ApplyLimit 0.05 0.0
BrakeLimit 100.0 300.0 //0.0 makes the car stand still, after a crash.
RoadLocation 0.64 //0.0 = left, 1.0 = right
SpeedLimit 1.0 //fraction of maximum speed
BoostDisableTime 2.1 // seconds from start (maybe countdown too :)
OnePosBehindSpeedAdd 7
OnePosBehindSpeedAddTime 3.9
OnePosBehindSpeedAddDrop 0.5
PlayerNumberOneBoostTime 5.6 //time before computer drivers get boost if player is 1st
PlayerNumberOneBoost 1.06 // multiplier to basevelocity
SpeedScale 1.0 // the scale to human driver speed at beginning
BoostHungriness 0.03
WimpyToRoadLocation 0.0 0.133 // well, very small if very good :)
IdleBoostTrigger 0.07 // 0 disable boosting
// 0.01 almost boosts all the time if energy left...
// the larger the variable, the more twisting road and
// still AI boosts, 0 never boosts.
IdleBoostWait 3 // seconds when idle boost is not checked at all
IdleBoostActive 4 // seconds when idle boost is checked
FixForTurnStuff 1.0 1.0 // 1.0 no change to turning, 0.0 no extended turning
// 0.5 half extended turning... left at 0, right at 1000km/h
OvertakeEfficiency 0.96 0.99 // 0 - never tries to overtake as such, larger faster
// at changing lanes.
GiveWayEfficiency 0.0 0.0 // 0 - never gives way to another computer racer,
// as OvertakeEfficiency
ReturnEfficiency 0.26 0.38 // when left the preferred driving lane, the speed
// used to return to the lane, as all Efficiencys
BeginSpreadTime 5 // seconds
BeginSpreadLimet 0.99 // as speed limit
TurnScale 1.0 1.0 // the amount AI turning is magnified; 0...1000kmh
ExtraFuel 10 // amount of extra fuel for ai racer at start
LeaveBoostForFuel 0 // how much boost left unused for fuel
LagStartDistance 800 // when I'm this many meters in front, I start slowing down
LagHighestDistance 1300 // when I'm this many meters in front, I'm at my slowest
LagSpeedReduction 0.99 // At slowest, I'm this many times my real speed
LagLiftDistance 250 // when I'm this far ahead, I will slow down no longer
Overtakedistance 4.0 // distnace the computer tries to make sideways when overtaking
GivewayDistance 4.0 // when computer is giving way to a computer, how far it wants to go
BrakePoints 11
Point1 0.1000 0.1500 550 // from, to, speed (km/h)
Point1 0.1500 0.2200 500 // from, to, speed (km/h)
Point2 0.4000 0.4050 340 // from, to, speed (km/h)
Point1 0.4050 0.4100 350 // from, to, speed (km/h)
Point3 0.5400 0.5550 400 // from, to, speed (km/h)
Point3 0.7700 0.7800 520 // from, to, speed (km/h)
Point3 0.3900 0.4000 600 // from, to, speed (km/h)
Point3 0.8900 0.9000 500 // from, to, speed (km/h)
Point1 0.9600 0.9700 500 // from, to, speed (km/h)
Point1 0.9700 0.9800 450 // from, to, speed (km/h)
Point3 0.9800 0.9900 450 // from, to, speed (km/h)
RoadLocations 21
Location 0.000 0.005 0.6 0.75
Location 0.005 0.1 0.75 0.7
Location 0.1 0.115 0.7 0.5
Location 0.115 0.170 0.5 0.7
Location 0.170 0.200 0.7 0.4
Location 0.200 0.270 0.4 0.5
Location 0.270 0.310 0.5 0.7
Location 0.310 0.330 0.7 0.3
Location 0.330 0.540 0.3 0.7
Location 0.540 0.580 0.7 0.3
Location 0.580 0.611 0.3 0.3
Location 0.611 0.628 0.3 0.3
Location 0.628 0.645 0.3 0.3
Location 0.645 0.680 0.3 0.25
Location 0.680 0.72 0.25 0.3
Location 0.72 0.75 0.3 0.7
Location 0.75 0.772 0.7 0.3
Location 0.772 0.834 0.3 0.7
Location 0.834 0.96 0.7 0.7
Location 0.96 0.98 0.7 0.3
Location 0.98 1.0 0.3 0.6
CHECKSUM 1900207531