240 lines
3.1 KiB
Text
240 lines
3.1 KiB
Text
|
#name "vehicleweapon"
|
||
|
#dll "configstringconvert"
|
||
|
#target_dir "weapons/sp/" // target location 1 (single-player)
|
||
|
#target_dir "weapons/mp/" // target location 2 (multi-player)
|
||
|
#file_ext "*"
|
||
|
|
||
|
string "WEAPONFILE" configstringFileType
|
||
|
string "none" projectileTrail
|
||
|
string "non-player" weaponClass
|
||
|
string "none" weaponSlot
|
||
|
|
||
|
enum { "1: Single-Player", "2: Multi-Player" } targetFolder
|
||
|
enum { "bullet", "projectile" } weaponType
|
||
|
enum { "artillery", "mortar", "tank", "grenade", "rocket", "molotov", "none" } projExplosionType
|
||
|
|
||
|
int 1 0 1 projImpactExplode
|
||
|
|
||
|
string worldFlashEffect
|
||
|
string fireSound
|
||
|
string loopFireSound
|
||
|
string stopFireSound
|
||
|
string projectileSoundBlend1
|
||
|
string projectileSoundBlend2
|
||
|
|
||
|
string killIcon
|
||
|
int 1 0 1 wideKillIcon
|
||
|
|
||
|
int 30 0 3000 damage
|
||
|
int 35 0 100 minDamagePercent
|
||
|
int 20000 0 20000 damageInnerRadius
|
||
|
int 20000 0 20000 damageOuterRadius
|
||
|
|
||
|
float 0.1 0.0 10.0 fireTime
|
||
|
int 600 0 100000 projectileSpeed
|
||
|
int 300 0 10000 explosionRadius
|
||
|
int 10 0 10000 explosionInnerDamage
|
||
|
int 10 0 10000 explosionOuterDamage
|
||
|
|
||
|
string useHintString
|
||
|
string projectileModel
|
||
|
|
||
|
vcontainer
|
||
|
{
|
||
|
scrollbox(targetFolder)
|
||
|
[
|
||
|
exec
|
||
|
{
|
||
|
width(300)
|
||
|
labelwidth(160)
|
||
|
}
|
||
|
]
|
||
|
|
||
|
scrollbox(weaponType)
|
||
|
[
|
||
|
exec
|
||
|
{
|
||
|
width(300)
|
||
|
labelwidth(160)
|
||
|
}
|
||
|
]
|
||
|
|
||
|
checkbox(projImpactExplode)
|
||
|
[
|
||
|
exec
|
||
|
{
|
||
|
width(300)
|
||
|
labelwidth(160)
|
||
|
}
|
||
|
]
|
||
|
|
||
|
scrollbox(projExplosionType)
|
||
|
[
|
||
|
exec
|
||
|
{
|
||
|
width(300)
|
||
|
labelwidth(160)
|
||
|
}
|
||
|
]
|
||
|
|
||
|
fileedit(projectileModel)
|
||
|
[
|
||
|
exec
|
||
|
{
|
||
|
reldir("game/uo/")
|
||
|
labelwidth(160)
|
||
|
}
|
||
|
]
|
||
|
|
||
|
fileedit(worldFlashEffect)
|
||
|
[
|
||
|
exec
|
||
|
{
|
||
|
reldir("game/uo/")
|
||
|
labelwidth(160)
|
||
|
}
|
||
|
]
|
||
|
fileedit(killIcon)
|
||
|
[
|
||
|
exec
|
||
|
{
|
||
|
reldir("game/uo/")
|
||
|
}
|
||
|
]
|
||
|
checkbox(wideKillIcon)
|
||
|
|
||
|
edit(fireSound)
|
||
|
[
|
||
|
exec
|
||
|
{
|
||
|
width(500)
|
||
|
labelwidth(160)
|
||
|
}
|
||
|
]
|
||
|
|
||
|
edit(loopFireSound)
|
||
|
[
|
||
|
exec
|
||
|
{
|
||
|
width(500)
|
||
|
labelwidth(160)
|
||
|
}
|
||
|
]
|
||
|
|
||
|
edit(stopFireSound)
|
||
|
[
|
||
|
exec
|
||
|
{
|
||
|
width(500)
|
||
|
labelwidth(160)
|
||
|
}
|
||
|
]
|
||
|
|
||
|
edit(projectileSoundBlend1)
|
||
|
[
|
||
|
exec
|
||
|
{
|
||
|
width(500)
|
||
|
labelwidth(160)
|
||
|
}
|
||
|
]
|
||
|
|
||
|
edit(projectileSoundBlend2)
|
||
|
[
|
||
|
exec
|
||
|
{
|
||
|
width(500)
|
||
|
labelwidth(160)
|
||
|
}
|
||
|
]
|
||
|
|
||
|
hcontainer
|
||
|
{
|
||
|
spinedit(damage, 1, 10)
|
||
|
spinedit(minDamagePercent, 1, 10)
|
||
|
[
|
||
|
exec
|
||
|
{
|
||
|
width(300)
|
||
|
labelwidth(160)
|
||
|
}
|
||
|
]
|
||
|
[
|
||
|
exec
|
||
|
{
|
||
|
width(300)
|
||
|
labelwidth(160)
|
||
|
}
|
||
|
]
|
||
|
|
||
|
}
|
||
|
hcontainer
|
||
|
{
|
||
|
spinedit(damageInnerRadius, 1, 10)
|
||
|
[
|
||
|
exec
|
||
|
{
|
||
|
width(300)
|
||
|
labelwidth(160)
|
||
|
}
|
||
|
]
|
||
|
|
||
|
spinedit(damageOuterRadius, 1, 10)
|
||
|
[
|
||
|
exec
|
||
|
{
|
||
|
width(300)
|
||
|
labelwidth(160)
|
||
|
}
|
||
|
]
|
||
|
|
||
|
}
|
||
|
|
||
|
floatedit(fireTime, 0.05, 0.2)
|
||
|
[
|
||
|
exec
|
||
|
{
|
||
|
width(300)
|
||
|
labelwidth(160)
|
||
|
}
|
||
|
]
|
||
|
|
||
|
spinedit(projectileSpeed, 10, 100)
|
||
|
[
|
||
|
exec
|
||
|
{
|
||
|
width(300)
|
||
|
labelwidth(160)
|
||
|
}
|
||
|
]
|
||
|
|
||
|
spinedit(explosionRadius, 10, 50)
|
||
|
[
|
||
|
exec
|
||
|
{
|
||
|
width(300)
|
||
|
labelwidth(160)
|
||
|
}
|
||
|
]
|
||
|
|
||
|
spinedit(explosionInnerDamage, 1, 10)
|
||
|
[
|
||
|
exec
|
||
|
{
|
||
|
width(300)
|
||
|
labelwidth(160)
|
||
|
}
|
||
|
]
|
||
|
|
||
|
spinedit(explosionOuterDamage, 1, 10)
|
||
|
[
|
||
|
exec
|
||
|
{
|
||
|
width(300)
|
||
|
labelwidth(160)
|
||
|
}
|
||
|
]
|
||
|
edit(useHintString)
|
||
|
}
|
||
|
|