This page is under construction
Archives/bf1942/levels/DC_Urban_Siege.rfa
bf1942/levels/DC_Urban_Siege/objects/PKM/Objects.con
rem ******************************************
rem - DesertCombat
rem - Version .4f
rem - August 30 2003
rem - Revision 3
rem ******************************************
rem Added less deviation per SW request - FD 7/25/2003
rem changed to M249/PKM Projecile - FD 8/30/2003
rem changed rate of fire to match realistic weapon (725 rounds per minute) - FD - 8/31/2003

ObjectTemplate.create HandFireArms PKM
ObjectTemplate.itemIndex 3
ObjectTemplate.networkableInfo HandFireArmsInfo
ObjectTemplate.projectileTemplate 7,62x54mmRProjectile
ObjectTemplate.setTracerTemplate Tracer_7,62x54mmRProjectile CRD_NONE/4/0/0
ObjectTemplate.projectilePosition 0/0/0
ObjectTemplate.magSize 200
ObjectTemplate.numOfMag 2
ObjectTemplate.magType 0
ObjectTemplate.reloadtime 4
ObjectTemplate.roundOfFire 10.8
objectTemplate.aiTemplate MG_ID3
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.zoomFov 0.75
ObjectTemplate.altFireOnce 1
ObjectTemplate.soldierZoomFov 0.5
ObjectTemplate.soldierZoomPosition -.03/-0.03/0.03
ObjectTemplate.soldierCameraPosition 0.025/0.0/0.06
ObjectTemplate.addRootSpeed 0
ObjectTemplate.ammoType 1
ObjectTemplate.autoReload 1
ObjectTemplate.GUIIndex 3
ObjectTemplate.setHudAmmoType ATIconAndStrengthBar
ObjectTemplate.setAmmoIcon "Ammo/icon_MGAmmo_64x32.tga"
ObjectTemplate.setCrossHairType CHTNone

ObjectTemplate.zoomFov 0.5
ObjectTemplate.setScopeIcon "aim_PKM_SDC.dds"
rem "aim_G36kvgr.tga"
ObjectTemplate.setSniperSight 0

ObjectTemplate.unZoomBetweenFireTime 3.0
ObjectTemplate.useScope 1

Rem *** Deviation Begin *****

ObjectTemplate.velocity 890
ObjectTemplate.setRecoilForceUp CRD_UNIFORM/0.4/0.5/0
ObjectTemplate.setRecoilForceLeftRight CRD_UNIFORM/-0.35/0.21/0
ObjectTemplate.setHasRecoilForce 1
ObjectTemplate.setGoBackOnRecoil 0

objectTemplate.heatAddWhenFire 0.024
objectTemplate.coolDownPerSec 0.3
objectTemplate.timeDelayOnOverHeat 1

ObjectTemplate.setFireDev 2.65 0.54 0.09
ObjectTemplate.setDevMod 1.85 1.65 0.5
ObjectTemplate.setTurnDev 1.6 0.125 0.125 0.12
ObjectTemplate.setSpeedDev 1.7 0.25 0.25 0.12
ObjectTemplate.setMiscDev 4 3 0.12
ObjectTemplate.setMinDev 0.48

Rem *** Deviation End *****

ObjectTemplate.fireInCameraDof 1
ObjectTemplate.loadSoundScript ../../../../../objects/Handweapons/Bar1918/Sounds/bar1918.ssc

ObjectTemplate.createSkeleton animations/Mg42.ske
ObjectTemplate.useSkeletonPartAsMain Base

rem *** LodObject must be located as first child to work on handweapons.
ObjectTemplate.addTemplate PKMLod

ObjectTemplate.addTemplate e_MuzzHandheldMG
ObjectTemplate.setInputId -1
ObjectTemplate.startoneffects 0
rem ObjectTemplate.setPosition 0/0.08/1
ObjectTemplate.setPosition 0/0.0825/.85
ObjectTemplate.setRotation 0/0/0

ObjectTemplate.addTemplate e_MuzzHandheldMG
ObjectTemplate.setInputId -1
ObjectTemplate.startoneffects 0
ObjectTemplate.setPosition 0/0.0825/.85
ObjectTemplate.setRotation 0/0/0

ObjectTemplate.addTemplate e_shell792mm
ObjectTemplate.setInputId -1
ObjectTemplate.startoneffects 1
ObjectTemplate.setPosition 0/0.04/0.30
ObjectTemplate.setRotation 0/0/0

ObjectTemplate.create SimpleObject PKMSimple
ObjectTemplate.geometry PKMSimple

ObjectTemplate.create SimpleObject PKMMagasin
ObjectTemplate.geometry PKMMagasin

ObjectTemplate.create SimpleObject PKMtrigger
ObjectTemplate.geometry PKMtrigger

ObjectTemplate.create AnimatedBundle PKMComplex
ObjectTemplate.createSkeleton animations/Mg34.ske
ObjectTemplate.geometry PKM
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.addTemplate PKMtrigger
ObjectTemplate.bindToSkeletonPart Trigger
rem ObjectTemplate.addTemplate PKMMagasin
rem ObjectTemplate.bindToSkeletonPart mag


ObjectTemplate.create LodObject PKMLod
ObjectTemplate.lodselector HandWeaponLodSelector
ObjectTemplate.addTemplate PKMComplex
ObjectTemplate.addTemplate PKMSimple