This page is under construction
Archives/bf1942/levels/DC_Urban_Siege.rfa
bf1942/levels/DC_Urban_Siege/objects/G3S/Objects.con

ObjectTemplate.create HandFireArms G3S
ObjectTemplate.itemIndex 3
ObjectTemplate.networkableInfo HandFireArmsInfo
ObjectTemplate.projectileTemplate 7,92x33mmProjectile
rem ObjectTemplate.setTracerTemplate Tracer_Projectile CRD_UNIFORM/2/4/0
ObjectTemplate.projectilePosition 0/0/0
ObjectTemplate.magSize 30
ObjectTemplate.numOfMag 10
ObjectTemplate.magType 0
ObjectTemplate.reloadtime 3.8
ObjectTemplate.roundOfFire 8.5

ObjectTemplate.useScope 1
ObjectTemplate.setSniperSight 0

rem ObjectTemplate.zoomFov 0.75
ObjectTemplate.zoomFov 0.4

objectTemplate.aiTemplate SG44-ZFAI
rem objectTemplate.aiTemplate RifleAI

ObjectTemplate.hasDynamicShadow 1

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.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 CHTNone
ObjectTemplate.setScopeIcon "Crosshairs/west_reticle.dds"
ObjectTemplate.setSightIcon "scope_blank.tga"
ObjectTemplate.setSniperSight 0

Rem *** Deviation Begin *****

ObjectTemplate.velocity 1000
ObjectTemplate.setRecoilForceUp CRD_UNIFORM/0.40/0.42/0
ObjectTemplate.setRecoilForceLeftRight CRD_UNIFORM/-0.3/0.5/0
ObjectTemplate.setHasRecoilForce 1
ObjectTemplate.setGoBackOnRecoil 0

beginrem
ObjectTemplate.setFireDev 1.8 0.4 0.35
ObjectTemplate.setDevMod 1.5 0.55 0.45
ObjectTemplate.setTurnDev 1.1 0.125 0.125 0.21
ObjectTemplate.setSpeedDev 1.5 0.25 0.21 0.25
ObjectTemplate.setMiscDev 2.4 2.1 0.1
ObjectTemplate.setMinDev 0.51
endrem
ObjectTemplate.setFireDev 10 1.2 0.3
ObjectTemplate.setDevMod 1.4 0.9 0.5
ObjectTemplate.setMinDev 0.35
ObjectTemplate.setTurnDev 5 0.4 0.4 0.4
ObjectTemplate.setSpeedDev 8 0.5 0.5 0.5
ObjectTemplate.setMiscDev 18 8 0.35

Rem *** Deviation End *****

ObjectTemplate.fireInCameraDof 1
ObjectTemplate.loadSoundScript ../../../../../Objects/HandWeapons/Sg44/Sounds/sg44.ssc

rem ObjectTemplate.createSkeleton animations/AK47.ske
ObjectTemplate.createSkeleton animations/sg44.ske
ObjectTemplate.useSkeletonPartAsMain Base

rem *** LodObject must be located as first child to work on handweapons.
ObjectTemplate.addTemplate G3S_Lod
ObjectTemplate.addTemplate e_MuzzSG44
ObjectTemplate.setInputId -1
ObjectTemplate.startoneffects 0
ObjectTemplate.setPosition 0/0.0702/0.6183
ObjectTemplate.setRotation 0/0/0

ObjectTemplate.addTemplate e_shell792mm
ObjectTemplate.setInputId -1
ObjectTemplate.startoneffects 1
ObjectTemplate.setPosition 0/0.08/0.15
ObjectTemplate.setRotation 0/0/0


ObjectTemplate.create SimpleObject G3S_Simple
ObjectTemplate.geometry G3S_Simple

ObjectTemplate.create SimpleObject G3S_Magasin
ObjectTemplate.geometry G3S_Magasin

ObjectTemplate.create SimpleObject G3S_trigger
ObjectTemplate.geometry G3S_trigger

ObjectTemplate.create SimpleObject G3S_Scope
ObjectTemplate.geometry G3S_Scope

rem ---------------------------------------------------

ObjectTemplate.create AnimatedBundle G3S_Complex
rem ObjectTemplate.createSkeleton animations/AK47.ske
ObjectTemplate.createSkeleton animations/sg44.ske
ObjectTemplate.geometry G3S
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.addTemplate G3S_trigger
ObjectTemplate.bindToSkeletonPart Trigger
ObjectTemplate.addTemplate G3S_Magasin
ObjectTemplate.bindToSkeletonPart mag

ObjectTemplate.addTemplate G3S_Scope

ObjectTemplate.create LodObject G3S_Lod
ObjectTemplate.lodselector HandWeaponLodSelector
ObjectTemplate.addTemplate G3S_Complex
ObjectTemplate.addTemplate G3S_Simple