This page is under construction
Archives/bf1942/levels/DC_Urban_Siege.rfa
bf1942/levels/DC_Urban_Siege/objects/Dragunov/Objects.con
ObjectTemplate.create HandFireArms Dragunov
ObjectTemplate.itemIndex 3
rem ObjectTemplate.speedMod 2
ObjectTemplate.networkableInfo HandFireArmsInfo
ObjectTemplate.projectileTemplate 7,62x54mmRProjectile
ObjectTemplate.projectilePosition 0/0/0
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.magSize 10
ObjectTemplate.numOfMag 7
ObjectTemplate.magType 0
ObjectTemplate.reloadtime 3.8
ObjectTemplate.roundOfFire 4
ObjectTemplate.FireOnce 1
objectTemplate.aiTemplate SNIPER_LIGHT_ID3
ObjectTemplate.zoomFov 0.25
ObjectTemplate.unZoomBetweenFireTime 0.0
ObjectTemplate.useScope 1
ObjectTemplate.altFireOnce 1
ObjectTemplate.soldierZoomFov 0.6
ObjectTemplate.soldierZoomPosition -0.04/-0.01/0
ObjectTemplate.soldierCameraPosition -0.02/-0.04/0.03


objectTemplate.GUIIndex 3
ObjectTemplate.setHudAmmoType ATAmmoBar
ObjectTemplate.setAmmoBar "Ingame/Magbar_Rifle_empty_32x64.tga"
ObjectTemplate.setAmmoBarFill "Ingame/Magbar_Rifle_full_32x64.tga"
ObjectTemplate.setAmmoBarSize 20
ObjectTemplate.setAmomBarPosX 6
ObjectTemplate.setAmomBarPosY -17
ObjectTemplate.setAmomBarTextPosX 5
ObjectTemplate.setAmomBarTextPosY 10
ObjectTemplate.setScopeIcon "aim_dragu.tga"
ObjectTemplate.setSightIcon "scope_blank.tga"
ObjectTemplate.setSniperSight 1
ObjectTemplate.setCrossHairType CHTNone
ObjectTemplate.addRootSpeed 0
ObjectTemplate.AmmoType 1

Rem *** Deviation Begin *****
ObjectTemplate.velocity 1000

ObjectTemplate.setRecoilForceUp CRD_UNIFORM/0.7/0.8/0
ObjectTemplate.setRecoilForceLeftRight CRD_UNIFORM/-0.2/-0.3/0
ObjectTemplate.setHasRecoilForce 1
ObjectTemplate.setGoBackOnRecoil 1


ObjectTemplate.setFireDev 2.2 0.7 0.06
ObjectTemplate.setDevMod 1.8 0.7 0.4
ObjectTemplate.setTurnDev 2 0.125 0.1 0.15
ObjectTemplate.setSpeedDev 2 0.25 0.1 0.15
ObjectTemplate.setMiscDev 2 1.5 0.15
ObjectTemplate.setMinDev 0.01
Rem *** Deviation End *****

ObjectTemplate.fireInCameraDof 1
ObjectTemplate.loadSoundScript ../../../../../objects/Handweapons/SVT40/Sounds/SVT40.ssc

ObjectTemplate.createSkeleton animations/Type5.ske
ObjectTemplate.useSkeletonPartAsMain Dragunov
ObjectTemplate.addTemplate DragunovLod
rem ObjectTemplate.setPosition 0/-0.03/0

ObjectTemplate.addTemplate e_MuzzGun
ObjectTemplate.setInputId -1
ObjectTemplate.startoneffects 0
ObjectTemplate.setPosition 0/0.062/0.87
ObjectTemplate.setRotation 0/0/0

ObjectTemplate.addTemplate e_shellM1Garand
ObjectTemplate.setInputId -1
ObjectTemplate.startoneffects 1
ObjectTemplate.setPosition 0/0.05/0
ObjectTemplate.setRotation 0/0/0



rem ** Objects

ObjectTemplate.create SimpleObject DragunovMagasin
ObjectTemplate.geometry DragunovMagasin

ObjectTemplate.create SimpleObject DragunovFlerp
ObjectTemplate.geometry DragunovFlerp

ObjectTemplate.create SimpleObject Shad_Dragunov
ObjectTemplate.geometry Shad_Dragunov


ObjectTemplate.create AnimatedBundle DragunovComplex
ObjectTemplate.geometry Dragunov
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.createSkeleton animations/Type5.ske
rem ObjectTemplate.addSkeletonIK Bip01_L_Hand -1/-2/0 0/30/0
ObjectTemplate.addTemplate DragunovMagasin
ObjectTemplate.setPosition 0/0.06/0.085
ObjectTemplate.bindToSkeletonPart magasin
ObjectTemplate.addTemplate DragunovFlerp
ObjectTemplate.bindToSkeletonPart flerp

ObjectTemplate.create LodObject DragunovLod
ObjectTemplate.lodselector HandWeaponLodSelector
ObjectTemplate.addTemplate DragunovComplex
ObjectTemplate.addTemplate Shad_Dragunov