This page is under construction
Archives/bf1942/levels/DC_Urban_Siege.rfa
bf1942/levels/DC_Urban_Siege/objects/AK74/Objects.con
rem ----------------------------------------------------------
rem
rem ----------------------------------------------------------

ObjectTemplate.create HandFireArms AK74
ObjectTemplate.itemIndex 3
ObjectTemplate.networkableInfo HandFireArmsInfo
ObjectTemplate.projectileTemplate 7,62x39mmProjectile
ObjectTemplate.setTracerTemplate Tracer_7,62x54mmRProjectile CRD_UNIFORM/2/4/0
ObjectTemplate.projectilePosition 0/0/0
ObjectTemplate.magSize 30
ObjectTemplate.numOfMag 5
ObjectTemplate.magType 0
ObjectTemplate.reloadtime 3.8
ObjectTemplate.roundOfFire 10.8
objectTemplate.aiTemplate MAIN_RIFLE_ID3
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.setCrossHairType CHTNone

rem *** BF242 Sights ***
ObjectTemplate.useScope 1
ObjectTemplate.setScopeIcon "Crosshairs/ak74_sight.dds"
ObjectTemplate.setSightIcon "scope_blank.tga"
ObjectTemplate.setSniperSight 0




Rem *** Deviation Begin *****

ObjectTemplate.velocity 800

ObjectTemplate.setRecoilForceUp CRD_UNIFORM/.44/.64/0
ObjectTemplate.setRecoilForceLeftRight CRD_UNIFORM/-0.33/0.2/0

ObjectTemplate.setHasRecoilForce 1
ObjectTemplate.setGoBackOnRecoil 0

ObjectTemplate.setFireDev 2.5 0.55 0.08
ObjectTemplate.setDevMod 1.8 1.1 0.65
ObjectTemplate.setTurnDev 1.6 0.125 0.125 0.12
ObjectTemplate.setSpeedDev 1.6 0.14 0.12 0.12
ObjectTemplate.setMiscDev 3 2.5 0.12
ObjectTemplate.setMinDev 0.4



Rem *** Deviation End *****

ObjectTemplate.fireInCameraDof 1
ObjectTemplate.loadSoundScript ../../../../../objects/Handweapons/AS44/Sounds/AS44.ssc
ObjectTemplate.createSkeleton animations/Sg44.ske
ObjectTemplate.useSkeletonPartAsMain Base
rem *** LodObject must be located as first child to work on handweapons.
ObjectTemplate.addTemplate AK74Lod

ObjectTemplate.addTemplate e_MuzzSg44
ObjectTemplate.setInputId -1
ObjectTemplate.startoneffects 0
ObjectTemplate.setPosition 0/0.0742/0.5183
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 AK74Magasin
ObjectTemplate.geometry AK74Magasin

ObjectTemplate.create Bundle AK74Simple
ObjectTemplate.geometry AK74_l1
ObjectTemplate.addTemplate AK74Magasin
rem ObjectTemplate.addTemplate AK47Magasin
ObjectTemplate.setPosition 0/0.025/0.15

ObjectTemplate.create AnimatedBundle AK74Complex
ObjectTemplate.createSkeleton animations/Sg44.ske
ObjectTemplate.geometry AK74_m1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.addTemplate AS44trigger
ObjectTemplate.bindToSkeletonPart Trigger
ObjectTemplate.addTemplate AK74Magasin
ObjectTemplate.bindToSkeletonPart mag

ObjectTemplate.create LodObject AK74Lod
ObjectTemplate.lodselector HandWeaponLodSelector
ObjectTemplate.addTemplate AK74Complex
ObjectTemplate.addTemplate AK74Simple
rem ============================================================================

rem ----------------------------------------------------------
rem Firearm: AK74 scoped for Tanelorn Mod
rem ----------------------------------------------------------

ObjectTemplate.create HandFireArms AK74_scoped
ObjectTemplate.itemIndex 3
ObjectTemplate.networkableInfo HandFireArmsInfo
ObjectTemplate.projectileTemplate 7,62x39mmProjectile
ObjectTemplate.setTracerTemplate Tracer_7,62x54mmRProjectile CRD_UNIFORM/2/4/0
ObjectTemplate.projectilePosition 0/0/0
ObjectTemplate.magSize 30
ObjectTemplate.numOfMag 9
ObjectTemplate.magType 0
ObjectTemplate.reloadtime 3.8
ObjectTemplate.roundOfFire 6
objectTemplate.aiTemplate AK74ScopeAI
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.zoomFov 0.45
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.unZoomBetweenFireTime 0
ObjectTemplate.useScope 1
rem ObjectTemplate.setScopeIcon "tabuk_scope.tga"
rem ObjectTemplate.setSightIcon "scope_blank.tga"

ObjectTemplate.setFireDev 3.0 0.32 0.04
ObjectTemplate.setDevMod 1.6 0.7 0.55
ObjectTemplate.setTurnDev 1.0 0.1 0.1 0.1
ObjectTemplate.setSpeedDev 1.8 0.12 0.1 0.1
ObjectTemplate.setMiscDev 2 2.0 0.10
ObjectTemplate.setMinDev 0.36


ObjectTemplate.setScopeIcon "Crosshairs/SV_Scope.tga"
ObjectTemplate.setSightIcon "blank.tga"
ObjectTemplate.setSniperSight 0
ObjectTemplate.setCrossHairType CHTNone

Rem *** Deviation Begin *****

ObjectTemplate.velocity 1000
ObjectTemplate.setRecoilForceUp CRD_UNIFORM/0.4/0.55/0
ObjectTemplate.setRecoilForceLeftRight CRD_UNIFORM/-0.28/0.18/0

ObjectTemplate.setHasRecoilForce 1
ObjectTemplate.setGoBackOnRecoil 0

ObjectTemplate.setFireDev 2.5 0.55 0.08
ObjectTemplate.setDevMod 1.8 1.1 0.65
ObjectTemplate.setTurnDev 1.6 0.125 0.125 0.12
ObjectTemplate.setSpeedDev 1.6 0.14 0.12 0.12
ObjectTemplate.setMiscDev 3 2.5 0.12
ObjectTemplate.setMinDev 0.4

Rem *** Deviation End *****

ObjectTemplate.fireInCameraDof 1
ObjectTemplate.loadSoundScript ../../../../../objects/Handweapons/AS44/Sounds/AS44.ssc
ObjectTemplate.createSkeleton animations/Sg44.ske
ObjectTemplate.useSkeletonPartAsMain Base
ObjectTemplate.addTemplate AK74_sc_Lod

ObjectTemplate.addTemplate e_MuzzSg44
ObjectTemplate.setInputId -1
ObjectTemplate.startoneffects 0
ObjectTemplate.setPosition 0/0.0742/0.5183
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

rem ---------- OBJECTS ---------------

ObjectTemplate.create Bundle AK74_sc_Simple
ObjectTemplate.geometry AK74_sc_l1
ObjectTemplate.addTemplate AK74Magasin
ObjectTemplate.setPosition 0/0.025/0.15

ObjectTemplate.create AnimatedBundle AK74_sc_Complex
ObjectTemplate.createSkeleton animations/Sg44.ske
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.addTemplate AS44trigger
ObjectTemplate.bindToSkeletonPart Trigger
ObjectTemplate.addTemplate AK74Magasin
ObjectTemplate.bindToSkeletonPart mag

ObjectTemplate.create LodObject AK74_sc_Lod
ObjectTemplate.lodselector HandWeaponLodSelector
ObjectTemplate.addTemplate AK74_sc_Complex
ObjectTemplate.addTemplate AK74_sc_Simple

rem ======================================================================