This page is under construction
Archives/bf1942/levels/DC_Urban_Siege.rfa
bf1942/levels/DC_Urban_Siege/objects/M4A1/Objects.con
ObjectTemplate.create HandFireArms M4A1
ObjectTemplate.itemIndex 3
ObjectTemplate.networkableInfo HandFireArmsInfo
ObjectTemplate.projectileTemplate 7,92x33mmProjectile
rem ObjectTemplate.setTracerTemplate 556x45_Tracer CRD_UNIFORM/2/4/0
ObjectTemplate.projectilePosition 0/0/0
ObjectTemplate.magSize 30
ObjectTemplate.numOfMag 4
ObjectTemplate.magType 0
ObjectTemplate.reloadtime 3.5
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.06/-0.03/0
ObjectTemplate.soldierCameraPosition 0.025/-0.04/0.06
ObjectTemplate.addRootSpeed 0
ObjectTemplate.ammoType 1
ObjectTemplate.autoReload 1

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

ObjectTemplate.useScope 1
ObjectTemplate.ScopeIcon "Crosshairs/M68_aimpoint"
ObjectTemplate.SightIcon "red_dot"
ObjectTemplate.SniperSight 0

ObjectTemplate.setCrossHairType CHTCrossHair

Rem *** Deviation Begin *****

ObjectTemplate.velocity 990
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.4 0.5 0.08
ObjectTemplate.setDevMod 1.6 0.75 0.55
ObjectTemplate.setTurnDev 1.6 0.125 0.125 0.12
ObjectTemplate.setSpeedDev 1.7 0.25 0.2 0.12
ObjectTemplate.setMiscDev 3 2.5 0.15
ObjectTemplate.setMinDev 0.45

Rem *** Deviation End *****

ObjectTemplate.fireInCameraDof 1
ObjectTemplate.loadSoundScript Sounds/M16A2.ssc

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

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

ObjectTemplate.addTemplate e_MuzzSG44
ObjectTemplate.setInputId -1
ObjectTemplate.startoneffects 0
ObjectTemplate.setPosition .0057/.07/.61
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 M4A1Scoped_l2
ObjectTemplate.geometry M4A1Scoped_l2

ObjectTemplate.create SimpleObject M4A1Scoped_l1
ObjectTemplate.geometry M4A1Scoped_l1

ObjectTemplate.create SimpleObject M4A1_Mag
ObjectTemplate.geometry M4A1_Mag

ObjectTemplate.create SimpleObject M4A1_Reload
ObjectTemplate.geometry M4A1_Reload

ObjectTemplate.create SimpleObject M4A1_Scope
ObjectTemplate.geometry M4A1_Scope

ObjectTemplate.create SimpleObject M4A1_Reflex
ObjectTemplate.geometry M4A1_Reflex



ObjectTemplate.create SimpleObject M4A1_LeafBase
ObjectTemplate.geometry M4A1_LeafBase


ObjectTemplate.create SimpleObject M4A1_Silencer
ObjectTemplate.geometry M4A1_Silencer



ObjectTemplate.create AnimatedBundle M4A1Complex
ObjectTemplate.createSkeleton animations/M4A1.ske
ObjectTemplate.geometry M4A1_Base
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.addTemplate M4A1_Mag
ObjectTemplate.bindToSkeletonPart mag
ObjectTemplate.addTemplate M4A1_Reload
ObjectTemplate.bindToSkeletonPart reload
ObjectTemplate.addTemplate M4A1_Scope


ObjectTemplate.create LodObject M4A1Lod
ObjectTemplate.lodselector HandWeaponLodSelector
ObjectTemplate.addTemplate M4A1Scoped_l2
ObjectTemplate.addTemplate M4A1Scoped_l1
ObjectTemplate.addTemplate M4A1Complex

ObjectTemplate.create AnimatedBundle M4AFSOCCComplex
ObjectTemplate.geometry M4AFSOCC
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.createSkeleton animations/M4AFSOCC.ske
ObjectTemplate.addTemplate M4AFSOCCPlupp
ObjectTemplate.bindToSkeletonPart flerp
ObjectTemplate.addTemplate M4AFSOCCMag
ObjectTemplate.bindToSkeletonPart magasin



rem -----------M4 reflex-----------------


ObjectTemplate.create HandFireArms M4A1Reflex
ObjectTemplate.itemIndex 3
ObjectTemplate.networkableInfo HandFireArmsInfo
ObjectTemplate.projectileTemplate 7,92x33mmProjectile
rem ObjectTemplate.setTracerTemplate 556x45_Tracer CRD_UNIFORM/2/4/0
ObjectTemplate.projectilePosition 0/0/0
ObjectTemplate.magSize 30
ObjectTemplate.numOfMag 12
ObjectTemplate.magType 0
ObjectTemplate.reloadtime 3.5
ObjectTemplate.roundOfFire 9.5
objectTemplate.aiTemplate M4A1AI
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.zoomFov 0.5

ObjectTemplate.altFireOnce 1
ObjectTemplate.soldierZoomFov 0.6
ObjectTemplate.soldierZoomPosition -0.04/-0.01/0
ObjectTemplate.soldierCameraPosition 0.025/0.0/0.06
ObjectTemplate.addRootSpeed 0
ObjectTemplate.ammoType 1
ObjectTemplate.autoReload 1

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

ObjectTemplate.useScope 1
ObjectTemplate.ScopeIcon "Crosshairs/M68_aimpoint"
ObjectTemplate.SightIcon "red_dot"
ObjectTemplate.SniperSight 0

ObjectTemplate.setCrossHairType CHTCrossHair

Rem *** Deviation Begin *****

ObjectTemplate.velocity 990
ObjectTemplate.setRecoilForceUp CRD_UNIFORM/0.35/0.2/0
ObjectTemplate.setRecoilForceLeftRight CRD_UNIFORM/-0.25/0.1/0
ObjectTemplate.setHasRecoilForce 1
ObjectTemplate.setGoBackOnRecoil 0

ObjectTemplate.setFireDev 2.4 0.5 0.08
ObjectTemplate.setDevMod 1.6 0.75 0.55
ObjectTemplate.setTurnDev 1.6 0.125 0.125 0.12
ObjectTemplate.setSpeedDev 1.7 0.25 0.2 0.12
ObjectTemplate.setMiscDev 3 2.5 0.15
ObjectTemplate.setMinDev 0.45

Rem *** Deviation End *****

ObjectTemplate.fireInCameraDof 1
ObjectTemplate.loadSoundScript Sounds/M16A2.ssc

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

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

ObjectTemplate.addTemplate e_MuzzSG44
ObjectTemplate.setInputId -1
ObjectTemplate.startoneffects 0
ObjectTemplate.setPosition .0057/.07/.61
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 AnimatedBundle M4A1ReflexComplex
ObjectTemplate.createSkeleton animations/M4A1.ske
ObjectTemplate.geometry M4A1_Base
ObjectTemplate.hasDynamicShadow 0
ObjectTemplate.addTemplate M4A1_Mag
ObjectTemplate.bindToSkeletonPart mag
ObjectTemplate.addTemplate M4A1_Reload
ObjectTemplate.bindToSkeletonPart reload
ObjectTemplate.addTemplate M4A1_Reflex

ObjectTemplate.create LodObject M4A1ReflexLod
ObjectTemplate.lodselector HandWeaponLodSelector
ObjectTemplate.addTemplate M4A1ReflexComplex
ObjectTemplate.addTemplate M4A1ReflexComplex
ObjectTemplate.addTemplate M4A1ReflexComplex


rem -----------M4 with Carry handle-----------------


ObjectTemplate.create HandFireArms M4A1NoScope
ObjectTemplate.itemIndex 3
ObjectTemplate.networkableInfo HandFireArmsInfo
ObjectTemplate.projectileTemplate 7,92x33mmProjectile
rem ObjectTemplate.setTracerTemplate 556x45_Tracer CRD_UNIFORM/2/4/0
ObjectTemplate.projectilePosition 0/0/0
ObjectTemplate.magSize 30
ObjectTemplate.numOfMag 12
ObjectTemplate.magType 0
ObjectTemplate.reloadtime 3.5
ObjectTemplate.roundOfFire 9.5
objectTemplate.aiTemplate M4A1AI
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.zoomFov 0.6

ObjectTemplate.altFireOnce 1
ObjectTemplate.soldierZoomFov 0.5
ObjectTemplate.soldierZoomPosition -0.04/-0.01/0
ObjectTemplate.soldierCameraPosition -0.02/-0.04/0.03
ObjectTemplate.addRootSpeed 0
ObjectTemplate.ammoType 1
ObjectTemplate.autoReload 1

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

ObjectTemplate.setCrossHairType CHTCrossHair

Rem *** Deviation Begin *****

ObjectTemplate.velocity 990
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.4 0.5 0.08
ObjectTemplate.setDevMod 1.6 0.75 0.55
ObjectTemplate.setTurnDev 1.6 0.125 0.125 0.12
ObjectTemplate.setSpeedDev 1.7 0.25 0.2 0.12
ObjectTemplate.setMiscDev 3 2.5 0.15
ObjectTemplate.setMinDev 0.45

Rem *** Deviation End *****

ObjectTemplate.fireInCameraDof 1
ObjectTemplate.loadSoundScript Sounds/M16A2.ssc

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

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

ObjectTemplate.addTemplate e_MuzzSG44
ObjectTemplate.setInputId -1
ObjectTemplate.startoneffects 0
ObjectTemplate.setPosition .0057/.07/.61
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 AnimatedBundle M4A1NoScopeComplex
ObjectTemplate.createSkeleton animations/sg44.ske
ObjectTemplate.geometry M4A1_Base
ObjectTemplate.hasDynamicShadow 0
ObjectTemplate.addTemplate M4A1_Mag
ObjectTemplate.bindToSkeletonPart mag
ObjectTemplate.addTemplate M4A1_Reload
ObjectTemplate.bindToSkeletonPart reload


ObjectTemplate.create LodObject M4A1NoScopeLod
ObjectTemplate.lodselector HandWeaponLodSelector
ObjectTemplate.addTemplate M4A1NoScopeComplex