611 lines
7.4 KiB
Text
611 lines
7.4 KiB
Text
#name "vehicle"
|
|
#dll "configstringconvert"
|
|
#target_dir "vehicles/"
|
|
#file_ext "*"
|
|
|
|
// This tells the configstring converter what the file type identifier should be
|
|
string "VEHICLEFILE" configstringFileType
|
|
|
|
enum { "4 wheel", "tank", "plane", "boat", "artillery" } type
|
|
|
|
int 0 0 1 steerWheels
|
|
int 0 0 1 texureScroll
|
|
int 0 0 1 quadBarrel
|
|
int 0 0 1 bulletDamage
|
|
int 0 0 1 grenadeDamage
|
|
int 0 0 1 projectileDamage
|
|
int 0 0 1 hasGunner
|
|
int 0 0 4 numPassengers
|
|
|
|
float 0 0 100 texureScrollScale
|
|
float 0 0 100 maxSpeed
|
|
float 0 0 100 accel
|
|
float 0 0 360 rotRate
|
|
float 0 0 360 rotAccel
|
|
|
|
float 0 0 90 maxBodyPitch
|
|
float 0 0 90 maxBodyRoll
|
|
|
|
float 0 0 1000 collisionDamage
|
|
float 0 0 1000 collisionSpeed
|
|
|
|
float 0 0 20 suspensionTravel
|
|
|
|
string useHintString
|
|
string turretWeapon
|
|
string turretAltWeapon
|
|
float 0 0 180 turretHorizSpanLeft
|
|
float 0 0 180 turretHorizSpanRight
|
|
float 0 0 180 turretVertSpanUp
|
|
float 0 0 180 turretVertSpanDown
|
|
float 0 0 360 turretRotRate
|
|
|
|
string turretGunnerWeapon
|
|
float 0 0 180 turretGunnerHorizSpanLeft
|
|
float 0 0 180 turretGunnerHorizSpanRight
|
|
float 0 0 180 turretGunnerVertSpanUp
|
|
float 0 0 180 turretGunnerVertSpanDown
|
|
float 0 0 360 turretGunnerRotRate
|
|
|
|
string lowIdleSnd
|
|
string highIdleSnd
|
|
string lowEngineSnd
|
|
string highEngineSnd
|
|
string turretSpinSnd
|
|
string turretStopSnd
|
|
string impactSnd
|
|
|
|
float 10 0 100 engineSndSpeed
|
|
|
|
float 100 0 100 dmgScaleFront
|
|
float 100 0 100 dmgScaleSide
|
|
float 100 0 100 dmgScaleBehind
|
|
float 100 0 100 dmgScaleBullet
|
|
float 100 0 200 dmgScaleUnder
|
|
|
|
float -70 -200 0 minsX
|
|
float -70 -200 0 minsY
|
|
float 0 -100 0 minsZ
|
|
|
|
float 70 0 200 maxsX
|
|
float 70 0 200 maxsY
|
|
float 120 0 200 maxsZ
|
|
|
|
float 2.5 0 10 accelFwdRollDegrees
|
|
float 2.5 0 10 accelSideRollDegrees
|
|
float 1.2 0 10 accelSpringTension
|
|
|
|
float 42 0 80 stepsize
|
|
|
|
float 105 0 200 collisionFrontDist
|
|
float 112 0 200 collisionBackDist
|
|
|
|
vcontainer
|
|
{
|
|
scrollbox(type)
|
|
[
|
|
exec
|
|
{
|
|
width(200)
|
|
labelwidth(50)
|
|
}
|
|
]
|
|
|
|
checkbox(steerWheels)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
checkbox(texureScroll)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
checkbox(quadBarrel)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
checkbox(bulletDamage)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
checkbox(grenadeDamage)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
checkbox(projectileDamage)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
checkbox(hasGunner)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
spinedit(numPassengers, 0, 4)
|
|
|
|
floatedit(texureScrollScale, 0.05, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
hcontainer
|
|
{
|
|
floatedit(maxSpeed, 0.05, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
floatedit(accel, 0.05, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
}
|
|
|
|
hcontainer
|
|
{
|
|
floatedit(rotRate, 0.05, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
floatedit(rotAccel, 0.05, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
}
|
|
|
|
hcontainer
|
|
{
|
|
floatedit(maxBodyPitch, 0.05, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
floatedit(maxBodyRoll, 0.05, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
}
|
|
|
|
floatedit(suspensionTravel, 0.05, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
hcontainer
|
|
{
|
|
floatedit(collisionDamage, 0.05, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
floatedit(collisionSpeed, 0.05, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
}
|
|
|
|
edit(turretWeapon)
|
|
[
|
|
exec
|
|
{
|
|
width(350)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
edit(turretAltWeapon)
|
|
[
|
|
exec
|
|
{
|
|
width(350)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
floatedit(turretRotRate, 0.05, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
hcontainer
|
|
{
|
|
floatedit(turretHorizSpanLeft, 0.05, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
floatedit(turretHorizSpanRight, 0.05, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
}
|
|
|
|
hcontainer
|
|
{
|
|
floatedit(turretVertSpanUp, 0.05, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
floatedit(turretVertSpanDown, 0.05, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
}
|
|
|
|
edit(turretGunnerWeapon)
|
|
[
|
|
exec
|
|
{
|
|
width(350)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
floatedit(turretGunnerRotRate, 0.05, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
hcontainer
|
|
{
|
|
floatedit(turretGunnerHorizSpanLeft, 0.05, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
floatedit(turretGunnerHorizSpanRight, 0.05, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
}
|
|
|
|
hcontainer
|
|
{
|
|
floatedit(turretGunnerVertSpanUp, 0.05, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
floatedit(turretGunnerVertSpanDown, 0.05, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
}
|
|
|
|
edit(lowIdleSnd)
|
|
[
|
|
exec
|
|
{
|
|
width(350)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
edit(highIdleSnd)
|
|
[
|
|
exec
|
|
{
|
|
width(350)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
edit(lowEngineSnd)
|
|
[
|
|
exec
|
|
{
|
|
width(350)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
edit(highEngineSnd)
|
|
[
|
|
exec
|
|
{
|
|
width(350)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
edit(turretSpinSnd)
|
|
[
|
|
exec
|
|
{
|
|
width(350)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
edit(turretStopSnd)
|
|
[
|
|
exec
|
|
{
|
|
width(350)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
edit(impactSnd)
|
|
[
|
|
exec
|
|
{
|
|
width(350)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
floatedit(engineSndSpeed, 0.05, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
floatedit(dmgScaleFront, 0.05, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
floatedit(dmgScaleSide, 0.05, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
floatedit(dmgScaleBehind, 5, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
floatedit(dmgScaleUnder, 5, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
floatedit(dmgScaleBullet, 5, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
floatedit(minsX, 1, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
floatedit(minsY, 1, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
floatedit(minsZ, 1, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
floatedit(maxsX, 1, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
floatedit(maxsY, 1, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
floatedit(maxsZ, 1, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
floatedit(accelFwdRollDegrees, 0.1, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
floatedit(accelSideRollDegrees, 0.1, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
floatedit(accelSpringTension, 0.1, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
floatedit(stepsize, 1, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
floatedit(collisionFrontDist, 1, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
|
|
floatedit(collisionBackDist, 1, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
edit(useHintString)
|
|
}
|