home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet Magazine NZ 2002 April
/
IMAG0402.ISO
/
Games
/
spacehaste2001demo.exe
/
L7
/
a2.AIracer
< prev
next >
Wrap
Text File
|
2001-12-16
|
4KB
|
84 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 3.6 //time before computer drivers get boost if player is 1st
PlayerNumberOneBoost 1.06 // multiplier to basevelocity
SpeedScale 0.93 // the scale to human driver speed at beginning
BoostHungriness 0.03
WimpyToRoadLocation 0.0 0.133 // well, very small if very good :)
IdleBoostTrigger 0.046 // 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 12 // seconds
BeginSpreadLimet 0.88 // as speed limit
TurnScale 1.0 1.0 // the amount AI turning is magnified; 0...1000kmh
ExtraFuel 5 // 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.85 // At slowest, I'm this many times my real speed
LagLiftDistance 2500 // 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
Point3 0.0000 0.0030 400 // from, to, speed (km/h)
Point1 0.1600 0.1700 550 // from, to, speed (km/h)
Point1 0.2150 0.2400 475 // from, to, speed (km/h)
Point2 0.2700 0.2900 450 // from, to, speed (km/h)
Point1 0.4100 0.4300 400 // from, to, speed (km/h)
Point3 0.4650 0.4700 400 // from, to, speed (km/h)
Point3 0.5600 0.5800 500 // from, to, speed (km/h)
Point3 0.6500 0.6600 600 // from, to, speed (km/h)
Point3 0.7000 0.7100 270 // from, to, speed (km/h)
Point1 0.7100 0.7300 400 // from, to, speed (km/h)
Point1 0.7900 0.8000 450 // from, to, speed (km/h)
RoadLocations 18
Location 0.000 0.100 0.7 0.75
Location 0.100 0.150 0.75 0.3
Location 0.150 0.240 0.3 0.25
Location 0.240 0.290 0.25 0.7
Location 0.290 0.337 0.7 0.25
Location 0.337 0.420 0.25 0.75
Location 0.420 0.365 0.75 0.75
Location 0.365 0.485 0.75 0.25
Location 0.485 0.500 0.25 0.5
Location 0.500 0.590 0.5 0.25
Location 0.590 0.615 0.25 0.5
Location 0.615 0.655 0.5 0.3
Location 0.655 0.715 0.3 0.25
Location 0.715 0.730 0.25 0.75
Location 0.730 0.777 0.7 0.25
Location 0.777 0.803 0.25 0.7
Location 0.803 0.834 0.75 0.3
Location 0.834 1.0 0.3 0.7
CHECKSUM 2116369681