home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet Magazine NZ 2002 April
/
IMAG0402.ISO
/
Games
/
spacehaste2001demo.exe
/
L8
/
b1.AIracer
< prev
next >
Wrap
Text File
|
2001-12-16
|
4KB
|
94 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 1.1 // the scale to human driver speed at beginninr
BoostHungriness 0.03
WimpyToRoadLocation 0.0 0.15 // well, very small if very good :)
IdleBoostTrigger 0.054 // 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 15 // 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 0.95 // 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 17
Point3 0.0000 0.0050 400 // from, to, speed (km/h)
Point3 0.0500 0.0600 500 // from, to, speed (km/h)
Point3 0.0600 0.0700 500 // from, to, speed (km/h)
Point1 0.2000 0.2200 650 // from, to, speed (km/h)
Point1 0.2200 0.2300 575 // from, to, speed (km/h)
Point2 0.2300 0.2600 450 // from, to, speed (km/h)
Point1 0.3500 0.3600 500 // from, to, speed (km/h)
Point3 0.4500 0.4600 400 // from, to, speed (km/h)
Point3 0.4950 0.5000 500 // from, to, speed (km/h)
Point3 0.5500 0.5600 600 // from, to, speed (km/h)
Point3 0.6060 0.6130 500 // from, to, speed (km/h)
Point1 0.6300 0.6550 400 // from, to, speed (km/h)
Point1 0.6550 0.6770 500 // from, to, speed (km/h)
Point3 0.9400 0.9500 800 // from, to, speed (km/h)
Point3 0.9500 0.9550 600 // from, to, speed (km/h)
Point3 0.9550 0.9600 300 // from, to, speed (km/h)
Point3 0.9900 0.9999 500 // from, to, speed (km/h)
RoadLocations 22
Location 0.200 0.225 0.25 0.75
Location 0.225 0.265 0.75 0.75
Location 0.265 0.385 0.75 0.25
Location 0.385 0.350 0.25 0.25
Location 0.350 0.375 0.25 0.75
Location 0.375 0.400 0.75 0.25
Location 0.400 0.480 0.25 0.25
Location 0.480 0.500 0.25 0.75
Location 0.500 0.570 0.75 0.75
Location 0.570 0.615 0.75 0.25
Location 0.615 0.560 0.25 0.25
Location 0.560 0.675 0.25 0.75
Location 0.675 0.725 0.75 0.5
Location 0.725 0.785 0.5 0.25
Location 0.785 0.835 0.25 0.75
Location 0.835 0.860 0.75 0.25
Location 0.860 0.940 0.25 0.25
Location 0.940 0.960 0.25 0.7
Location 0.960 0.999 0.7 0.7
Location 0.000 0.030 0.7 0.25
Location 0.030 0.070 0.25 0.7
Location 0.070 0.200 0.7 0.25
CHECKSUM 1534247381