home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet Magazine NZ 2002 April
/
IMAG0402.ISO
/
Games
/
spacehaste2001demo.exe
/
L6
/
a1.AIracer
next >
Wrap
Text File
|
2001-12-16
|
4KB
|
95 lines
// AI configuration file only one varlue raccepted 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.5 //0.0 = left, 1.0 = right
SpeedLimit 1.0 //fraction of maximum speed
BoostDisableTime 0.2 // seconds from start (maybe countdown too :)
OnePosBehindSpeedAdd 7
OnePosBehindSpeedAddTime 3.6
OnePosBehindSpeedAddDrop 0.7
PlayerNumberOneBoostTime 3.3 //time before computer drivers get boost if player is 1st
PlayerNumberOneBoost 1.08 // multiplier to basevelocity
SpeedScale 0.95 // the scale to human driver speed at beginninr
BoostHungriness 0.03
WimpyToRoadLocation 0.0 0.15 // well, very small if very good :)
IdleBoostTrigger 0.04 // 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 5 // 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.9 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.03 0.3 // when left the preferred driving lane, the speed
// used to return to the lane, as all Efficiencys
BeginSpreadTime 1 // seconds
BeginSpreadLimet 0.99 // as speed limit
TurnScale 1.0 1.0 // the amount AI turning is magnified; 0...1000kmh
ExtraFuel 7 // amount of extra fuel for ai racer at start
LeaveBoostForFuel 0 // how much boost left unused for fuel
LagStartDistance 1000 // when I'm this many meters in front, I start slowing down
LagHighestDistance 1500 // when I'm this many meters in front, I'm at my slowest
LagSpeedReduction 1.0 // At slowest, I'm this many times my real speed
LagLiftDistance 175 // 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 12
Point1 0.0400 0.0700 600 // from, to, speed (km/h)
Point1 0.2300 0.2500 600 // from, to, speed (km/h)
Point1 0.2500 0.3900 400 // from, to, speed (km/h)
Point1 0.2900 0.3000 300 // from, to, speed (km/h)
Point2 0.3500 0.3600 350 // from, to, speed (km/h)
Point1 0.3600 0.3700 400 // from, to, speed (km/h)
Point1 0.4100 0.4200 450 // from, to, speed (km/h)
Point1 0.4900 0.5000 500 // from, to, speed (km/h)
Point1 0.5000 0.5300 425 // from, to, speed (km/h)
Point3 0.5900 0.6000 300 // from, to, speed (km/h)
Point3 0.6000 0.6250 400 // from, to, speed (km/h)
Point1 0.7200 0.7300 250 // from, to, speed (km/h)
RoadLocations 28
Location 0.000 0.010 0.5 0.25
Location 0.010 0.030 0.25 0.5
Location 0.030 0.040 0.5 0.25
Location 0.040 0.050 0.25 0.75
Location 0.040 0.060 0.75 0.25
Location 0.060 0.090 0.25 0.5
Location 0.090 0.150 0.5 0.5
Location 0.150 0.175 0.5 0.25
Location 0.175 0.220 0.25 0.7
Location 0.220 0.285 0.7 0.8
Location 0.285 0.300 0.8 0.2
Location 0.300 0.360 0.2 0.7
Location 0.360 0.385 0.7 0.25
Location 0.385 0.405 0.25 0.7
Location 0.405 0.445 0.7 0.7
Location 0.445 0.475 0.7 0.25
Location 0.475 0.496 0.25 0.7
Location 0.396 0.525 0.7 0.67
Location 0.525 0.542 0.67 0.2
Location 0.542 0.594 0.2 0.8
Location 0.594 0.630 0.8 0.25
Location 0.630 0.700 0.25 0.75
Location 0.700 0.730 0.75 0.75
Location 0.730 0.770 0.75 0.5
Location 0.770 0.900 0.5 0.7
Location 0.900 0.925 0.7 0.7
Location 0.925 0.950 0.7 0.25
Location 0.950 0.999 0.25 0.5
CHECKSUM 1632566861