This page is under construction
Archives/bf1942/levels/DC_Urban_Siege.rfa
bf1942/levels/DC_Urban_Siege/objects/M4A1Silenced/Objects.con
ObjectTemplate.create HandFireArms M4A1Silenced
ObjectTemplate.itemIndex 3
ObjectTemplate.networkableInfo HandFireArmsInfo
ObjectTemplate.projectileTemplate 7,92x33mmProjectile
ObjectTemplate.projectilePosition 0/0/0
ObjectTemplate.magSize 30
ObjectTemplate.unZoomBetweenFireTime 0
ObjectTemplate.useScope 1
ObjectTemplate.numOfMag 6
ObjectTemplate.magType 0
ObjectTemplate.reloadtime 3.4
ObjectTemplate.roundOfFire 11.7
objectTemplate.aiTemplate MAIN_RIFLE_SCOPE_ID3
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.zoomFov 0.5
ObjectTemplate.altFireOnce 1
ObjectTemplate.soldierZoomFov 0.4
ObjectTemplate.soldierZoomPosition -0.075/0.01/0.15
ObjectTemplate.soldierCameraPosition 0.04/-0.04/0.15
ObjectTemplate.addRootSpeed 0
ObjectTemplate.ammoType 1
ObjectTemplate.autoReload 1


ObjectTemplate.useScope 1
ObjectTemplate.setScopeIcon "m4a1new_new.dds"
ObjectTemplate.setSightIcon "Crosshairs/AimPoint2.dds"
ObjectTemplate.setSniperSight 0
ObjectTemplate.setCrossHairType CHTNone

ObjectTemplate.GUIIndex 3
ObjectTemplate.setHudAmmoType ATAmmoBar
ObjectTemplate.setAmmoBar "Ingame/Magbar_Sg44_empty_32x64.tga"
ObjectTemplate.setAmmoBarFill "Ingame/Magbar_Sg44_full_32x64.tga"
ObjectTemplate.setAmmoBarSize 64
ObjectTemplate.setAmomBarPosX 3
ObjectTemplate.setAmomBarPosY -11
ObjectTemplate.setAmomBarTextPosX 8
ObjectTemplate.setAmomBarTextPosY 4


Rem *** Deviation Begin *****

ObjectTemplate.velocity 880
ObjectTemplate.setRecoilForceUp CRD_UNIFORM/0.4/0.25/0
ObjectTemplate.setRecoilForceLeftRight CRD_UNIFORM/-0.3/0.1/0
ObjectTemplate.setHasRecoilForce 1
ObjectTemplate.setGoBackOnRecoil 0

ObjectTemplate.setFireDev 2.3 0.5 0.09
ObjectTemplate.setDevMod 1.6 0.7 0.6
ObjectTemplate.setTurnDev 1.5 0.12 0.12 0.15
ObjectTemplate.setSpeedDev 1.6 0.21 0.2 0.15
ObjectTemplate.setMiscDev 3 2.5 0.2
ObjectTemplate.setMinDev 0.38

Rem *** Deviation End *****

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

ObjectTemplate.createSkeleton animations/sg44.ske
ObjectTemplate.useSkeletonPartAsMain base

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

ObjectTemplate.addTemplate e_MuzzSilencedGun
ObjectTemplate.setInputId -1
ObjectTemplate.startoneffects 0
ObjectTemplate.setPosition .0057/.07/.7
ObjectTemplate.setRotation 0/0/0

ObjectTemplate.addTemplate e_shell792mm
ObjectTemplate.setInputId -1
ObjectTemplate.startoneffects 1
ObjectTemplate.setPosition .0154/.0834/-0.2
ObjectTemplate.setRotation 0/0/0

ObjectTemplate.create SimpleObject M4A1Silenced_l1
ObjectTemplate.geometry M4A1Silenced_l1

ObjectTemplate.create SimpleObject M4A1Silenced_l2
ObjectTemplate.geometry M4A1Silenced_l2

ObjectTemplate.create AnimatedBundle M4A1SilencedComplex
ObjectTemplate.createSkeleton animations/sg44.ske
ObjectTemplate.geometry M4A1_Base_22
ObjectTemplate.hasDynamicShadow 0
ObjectTemplate.addTemplate sg44trigger
ObjectTemplate.bindToSkeletonPart Trigger
ObjectTemplate.addTemplate M4A1_Mag
ObjectTemplate.bindToSkeletonPart mag
ObjectTemplate.setPosition 0/0/0.2
ObjectTemplate.addTemplate M4A1_Silencer
ObjectTemplate.setPosition 0/0/0


ObjectTemplate.create AnimatedBundle QBZ-95Complex
ObjectTemplate.geometry OC-14Groza-1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.createSkeleton animations/sg44.ske
ObjectTemplate.addTemplate OC-14Groza-1Plupp
ObjectTemplate.bindToSkeletonPart flerp
ObjectTemplate.addTemplate OC-14Groza-1Mag
ObjectTemplate.bindToSkeletonPart magasin
ObjectTemplate.addTemplate M4A1_Silencer
ObjectTemplate.setPosition 0/0.016/-0.22
ObjectTemplate.addTemplate G36kv2Scope
ObjectTemplate.setPosition 0/0.03/-0.04


ObjectTemplate.create LodObject M4A1SilencedLod
ObjectTemplate.lodselector HandWeaponLodSelector
ObjectTemplate.addTemplate M4A1SilencedComplex
ObjectTemplate.setPosition 0/0/-0.15
ObjectTemplate.addTemplate M4A1Silenced_l1