This page is under construction
Archives/BF1942/levels/Dustbowl Modded/DustBowl_Modded.rfa
bf1942/levels/DustBowl_Modded/objects/HandWeapons/Stinger/Objects.con

rem ******************************************
rem - BF242
rem - Handheld Stinger from DC
rem ******************************************

ObjectTemplate.create HandFireArms Stinger
ObjectTemplate.networkableInfo HandFireArmsInfo
ObjectTemplate.aiTemplate StingerAAI
ObjectTemplate.itemIndex 5
ObjectTemplate.projectileTemplate StingerProjectile
ObjectTemplate.projectilePosition 0/0.1/0
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.ForceOnExplosion 3
ObjectTemplate.magSize 1
ObjectTemplate.numOfMag 6
ObjectTemplate.magType 0
ObjectTemplate.autoReload 1
ObjectTemplate.reloadtime 4.6
ObjectTemplate.roundOfFire 1
ObjectTemplate.fireOnce 1
ObjectTemplate.soldierZoomFov 0.6
ObjectTemplate.soldierZoomPosition -0.05/-0.02/0
ObjectTemplate.AmmoType 3
ObjectTemplate.loadSoundScript Sounds/Stinger.ssc
ObjectTemplate.zoomFov 0.5
ObjectTemplate.altFireOnce 1
ObjectTemplate.fireInCameraDof 1
ObjectTemplate.useScope 1
ObjectTemplate.setSniperSight 1
ObjectTemplate.GUIIndex 17
ObjectTemplate.setHudAmmoType ATIcon
ObjectTemplate.setAmmoIcon "Ammo/icon_stinger_missile.dds"
rem ** BF242 Ammo HUD
ObjectTemplate.setAmmoBar "Ingame/Bars/empty.dds"
ObjectTemplate.setAmmoBarFill "Ingame/Bars/oneShotAmmoBar.tga"
ObjectTemplate.setAmmoBarSize 78
ObjectTemplate.setAmmoBarPosX 24
ObjectTemplate.setAmmoBarPosY 9
ObjectTemplate.setAmmoBarTextPosX 110
ObjectTemplate.setAmmoBarTextPosY -8
rem **
ObjectTemplate.setCrossHairType CHTNone

Rem *** Deviation Begin *****

ObjectTemplate.velocity 280
ObjectTemplate.minDeviation 0
ObjectTemplate.maxDeviation 0.5

ObjectTemplate.minDevStanding 0.2
ObjectTemplate.minDevCrouching 0.1
ObjectTemplate.minDevLying 0.05

ObjectTemplate.subDevStanding 0.03
ObjectTemplate.subDevCrouching 0.05
ObjectTemplate.subDevLying 0.025

ObjectTemplate.addDevWalk 0.01
ObjectTemplate.addDevRun 0.02
ObjectTemplate.addDevJump 0.05
ObjectTemplate.addDevYaw 0.02
ObjectTemplate.addDevPitch 0.02
ObjectTemplate.addDevStrafe 0.01

ObjectTemplate.addDevFire 0.08
ObjectTemplate.subDev 0.01

Rem *** Deviation End *****

ObjectTemplate.createSkeleton animations/Stinger.ske
ObjectTemplate.useSkeletonPartAsMain Bazooka
ObjectTemplate.addTemplate StingerLod

ObjectTemplate.addTemplate e_rocketFumeBack
ObjectTemplate.setInputId -1
ObjectTemplate.startoneffects 0
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/0/0

rem ** Objects
ObjectTemplate.create SimpleObject StingerTrigger
ObjectTemplate.geometry StingerTrigger

ObjectTemplate.create SimpleObject StingerRocket
ObjectTemplate.geometry StingerRocket

ObjectTemplate.create SimpleObject StingerSimple
ObjectTemplate.geometry Shad_Stinger

ObjectTemplate.create AnimatedBundle StingerComplex
ObjectTemplate.geometry Stinger
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.createSkeleton animations/Stinger.ske
ObjectTemplate.addTemplate StingerTrigger
ObjectTemplate.bindToSkeletonPart trigger
ObjectTemplate.addTemplate StingerRocket
ObjectTemplate.bindToSkeletonPart rocket

ObjectTemplate.create LodObject StingerLod
ObjectTemplate.lodselector HandWeaponLodSelector
ObjectTemplate.addTemplate StingerComplex
ObjectTemplate.addTemplate StingerSimple