#name "turretweapon" #dll "configstringconvert" #target_dir "weapons/sp/" // target location 1 (single-player) #target_dir "weapons/mp/" // target location 2 (multi-player) #file_ext "*" // This tells the configstring converter what the file type identifier should be string "WEAPONFILE" configstringFileType // This uses the config string convert's multi-target folder // mechanism to make the weapon either a single-player weaons // or a multi-player weapon. // The first character is used to specify which target folder to go in enum { "1: Single-Player", "2: Multi-Player" } targetFolder string "none" projectileTrail string "turret" weaponClass string "none" weaponSlot enum { "bullet", "projectile" } weaponType enum { "stand", "prone", "duck" } stance enum { "rifle", "smg", "lmg", "hmg", "umg" } ammoType enum { "none", "grenade", "rocket", "b17", "mortar","artillery" } projExplosionType int 1 0 1 projImpactExplode int 600 0 100000 projectileSpeed int 300 0 10000 explosionRadius int 10 0 10000 explosionInnerDamage int 10 0 10000 explosionOuterDamage string script int 30 0 1000 damage int 35 0 100 minDamagePercent int 8000 0 20000 damageInnerRadius int 10000 0 20000 damageOuterRadius int 115 0 360 leftArc int 115 0 360 rightArc int 90 0 360 topArc int 90 0 360 bottomArc int 0 0 360 grabarc float 1 0 1 accuracy float 0.05 0.0 10.0 fireTime int 20 0 180 animHorRotateInc int 100 1 720 horTurnSpeed int 100 1 720 vertTurnSpeed float 0 0 60 convergenceTime float 0 0 1000000 maxRange float 0 0 90 minSpread float 0 0 90 maxSpread int 0 0 1 rifleBullet string fireSound string loopFireSound string stopFireSound string viewFlashEffect string worldFlashEffect string projectileModel string reticleCenter int 32 1 480 reticleCenterSize string idleAnim string fireAnim float 46 1 128 playerPositionDist string killIcon int 1 0 1 wideKillIcon string useHintString float 55 30 99 turret_fov float 0 0 1 fireHeat float 0 0 1000 cooldownRate vcontainer { scrollbox(targetFolder) [ exec { width(300) } ] scrollbox(stance) [ exec { width(300) } ] scrollbox(weaponType) [ exec { width(300) } ] scrollbox(ammoType) [ exec { width(300) } ] scrollbox(projExplosionType) [ exec { width(300) } ] hcontainer { spinedit(damage, 1, 10) spinedit(minDamagePercent, 1, 10) [ exec { width(300) labelwidth(160) } ] } hcontainer { spinedit(damageInnerRadius, 1, 10) [ exec { width(300) labelwidth(160) } ] spinedit(damageOuterRadius, 1, 10) [ exec { width(300) labelwidth(160) } ] } spinedit(projectileSpeed, 10, 100) spinedit(explosionRadius, 10, 50) spinedit(explosionInnerDamage, 1, 10) [ exec { width(300) labelwidth(160) } ] spinedit(explosionOuterDamage, 1, 10) [ exec { width(300) labelwidth(160) } ] spinedit(leftArc, 1, 10) spinedit(rightArc, 1, 10) spinedit(topArc, 1, 10) spinedit(bottomArc, 1, 10) floatedit(accuracy, 0.1, 0.2) floatedit(fireTime, 0.05, 0.2) spinedit(animHorRotateInc, 1, 10) spinedit(horTurnSpeed, 1, 10) spinedit(vertTurnSpeed, 1, 10) floatedit(convergenceTime, 0.1, 1) floatedit(maxRange, 1, 10) floatedit(minSpread, 1, 10) floatedit(maxSpread, 1, 10) floatedit(fireHeat, 0.05, 0.2) floatedit(cooldownRate, 0.05, 0.2) edit(script) checkbox(rifleBullet) checkbox(projImpactExplode) fileedit(projectileModel) [ exec { reldir("game/uo/") } ] edit(fireSound) edit(loopFireSound) edit(stopFireSound) fileedit(viewFlashEffect) [ exec { reldir("game/uo/") } ] fileedit(worldFlashEffect) [ exec { reldir("game/uo/") } ] fileedit(reticleCenter) [ exec { reldir("game/uo/") } ] spinedit(reticleCenterSize, 1, 2) fileedit(idleAnim) [ exec { reldir("game/uo/xanim/") width(500) } ] fileedit(fireAnim) [ exec { reldir("game/uo/xanim/") width(500) } ] floatedit(playerPositionDist, 1, 10) fileedit(killIcon) [ exec { reldir("game/uo/") } ] checkbox(wideKillIcon) edit(useHintString) floatedit(turret_fov, 1, 10) }