344 lines
4.1 KiB
Text
344 lines
4.1 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
|
|
|
|
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 turretWeapon
|
|
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 lowIdleSnd
|
|
string highIdleSnd
|
|
string lowEngineSnd
|
|
string highEngineSnd
|
|
string turretSpinSnd
|
|
string turretStopSnd
|
|
|
|
float 10 0 100 engineSndSpeed
|
|
|
|
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)
|
|
}
|
|
]
|
|
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)
|
|
}
|
|
]
|
|
|
|
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(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)
|
|
}
|
|
]
|
|
|
|
floatedit(engineSndSpeed, 0.05, 1)
|
|
[
|
|
exec
|
|
{
|
|
width(280)
|
|
labelwidth(150)
|
|
}
|
|
]
|
|
}
|