This page is under construction
Archives/bf1942/levels/aragon-1938.rfa
bf1942/levels/aragon-1938/Objects/No4/Objects.con
ObjectTemplate.create HandFireArms Mannlicher
include No4.inc
ObjectTemplate.numOfMag 5

rem ----------------------------------------------------------
rem Firearm: No4Sniper
rem ----------------------------------------------------------
ObjectTemplate.create HandFireArms No4Sniper
ObjectTemplate.networkableInfo HandFireArmsInfo
ObjectTemplate.itemIndex 3
ObjectTemplate.zoomFov 0.1
ObjectTemplate.unZoomBetweenFireTime 3.0
ObjectTemplate.useScope 1
ObjectTemplate.projectileTemplate 7,7mmBProjectile
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.projectilePosition 0/0/0
ObjectTemplate.magSize 10
ObjectTemplate.numOfMag 5
ObjectTemplate.magType 0
ObjectTemplate.reloadtime 9.3
ObjectTemplate.roundOfFire 1
ObjectTemplate.fireOnce 1
ObjectTemplate.altFireOnce 1
ObjectTemplate.GUIIndex 113
ObjectTemplate.setHudAmmoType ATAmmoBar
ObjectTemplate.setAmmoBar "Ingame/Magbar_Rifle_empty_32x64.tga"
ObjectTemplate.setAmmoBarFill "Ingame/Magbar_Rifle_full_32x64.tga"
ObjectTemplate.setAmmoBarSize 20
ObjectTemplate.setAmomBarPosX 6
ObjectTemplate.setAmomBarPosY -17
ObjectTemplate.setAmomBarTextPosX 5
ObjectTemplate.setAmomBarTextPosY 10
ObjectTemplate.setScopeIcon "1No32scope.tga"
rem ObjectTemplate.setScopeIcon "No32scope.tga"
ObjectTemplate.setSightIcon "scope_blank.tga"
ObjectTemplate.setSniperSight 0
ObjectTemplate.setCrossHairType CHTNone


objectTemplate.aiTemplate SniperNo4AI
rem ObjectTemplate.positionalSpeedInDof CRD_NONE/800/0/0
ObjectTemplate.soldierZoomFov 0.7
ObjectTemplate.soldierZoomPosition -0.11/0.01/0.02
ObjectTemplate.soldierCameraPosition -0.08/-0.03/0.00
ObjectTemplate.addRootSpeed 0
ObjectTemplate.AmmoType 1
ObjectTemplate.timeToNotAllowChange 0.25
Rem *** Deviation Begin *****

ObjectTemplate.velocity 700
ObjectTemplate.setRecoilForceUp CRD_UNIFORM/0.75/1.5/0
ObjectTemplate.setRecoilForceLeftRight CRD_UNIFORM/-0.1/-0.3/0
ObjectTemplate.setHasRecoilForce 1
ObjectTemplate.setGoBackOnRecoil 0

ObjectTemplate.setFireDev 5 2.25 0.12
ObjectTemplate.setDevMod 1.5 1 0.9
ObjectTemplate.setMinDev 0
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 Sounds/no4.ssc

ObjectTemplate.createSkeleton animations/No4.ske
ObjectTemplate.useSkeletonPartAsMain No4
ObjectTemplate.addTemplate No4SniperLod

ObjectTemplate.addTemplate e_MuzzGun
rem ObjectTemplate.addTemplate e_MuzzRifle
ObjectTemplate.setInputId -1
ObjectTemplate.startoneffects 0
ObjectTemplate.setPosition 0/0.045/0.745
ObjectTemplate.setRotation 0/0/0

rem
rem ** Objects
rem

ObjectTemplate.create SimpleObject No4Base
ObjectTemplate.geometry No4Base

ObjectTemplate.create SimpleObject No4Trigger
ObjectTemplate.geometry No4Trigger

ObjectTemplate.create SimpleObject No4Block
ObjectTemplate.geometry No4Block

ObjectTemplate.create SimpleObject No4Load
ObjectTemplate.geometry No4Load

ObjectTemplate.create SimpleObject No4Mag
ObjectTemplate.geometry No4Mag

ObjectTemplate.create SimpleObject No4Scope
ObjectTemplate.geometry No4Scope

ObjectTemplate.create SimpleObject No4Clip
ObjectTemplate.geometry No4Clip

ObjectTemplate.create SimpleObject No4_clipbase
ObjectTemplate.geometry No4_clipbase

ObjectTemplate.create SimpleObject No4_cart
ObjectTemplate.geometry No4_cart_m1

ObjectTemplate.create SimpleObject No4SniperSimple
ObjectTemplate.geometry Shad_No4_Scope

ObjectTemplate.create SimpleObject No4GUNBODY
ObjectTemplate.geometry No4

ObjectTemplate.create Bundle No4SniperGUNBODY
ObjectTemplate.geometry No4
ObjectTemplate.addTemplate No4Scope
ObjectTemplate.setPosition 0/0.0896/0.1304
rem ObjectTemplate.setPosition 0/0.0896/0.1604

ObjectTemplate.create AnimatedBundle No4SniperComplex
ObjectTemplate.geometry
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.createSkeleton animations/No4.ske
ObjectTemplate.addTemplate No4SniperGUNBODY
ObjectTemplate.bindToSkeletonPart GUNBODY
ObjectTemplate.addTemplate No4Trigger
ObjectTemplate.bindToSkeletonPart TRIGGER
ObjectTemplate.addTemplate No4Block
ObjectTemplate.bindToSkeletonPart BOLT
ObjectTemplate.addTemplate No4Load
ObjectTemplate.bindToSkeletonPart HANDLE
ObjectTemplate.addTemplate No4_cart
ObjectTemplate.bindToSkeletonPart BULLET
ObjectTemplate.addTemplate No4_cart
ObjectTemplate.bindToSkeletonPart CLIP
ObjectTemplate.addTemplate No4_cart
ObjectTemplate.bindToSkeletonPart CARTRIDGE

ObjectTemplate.create LodObject No4SniperLod
ObjectTemplate.lodselector HandWeaponLodSelector
ObjectTemplate.addTemplate No4SniperComplex
ObjectTemplate.addTemplate No4SniperSimple

ObjectTemplate.create SimpleObject No4Simple
ObjectTemplate.geometry Shad_No4

ObjectTemplate.create AnimatedBundle No4Complex
ObjectTemplate.geometry
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.createSkeleton animations/No4.ske
ObjectTemplate.addTemplate No4GUNBODY
ObjectTemplate.bindToSkeletonPart GUNBODY
ObjectTemplate.addTemplate No4Trigger
ObjectTemplate.bindToSkeletonPart TRIGGER
ObjectTemplate.addTemplate No4Block
ObjectTemplate.bindToSkeletonPart BOLT
ObjectTemplate.addTemplate No4Load
ObjectTemplate.bindToSkeletonPart HANDLE
ObjectTemplate.addTemplate No4Clip
ObjectTemplate.bindToSkeletonPart BULLET
ObjectTemplate.addTemplate No4_clipbase
ObjectTemplate.bindToSkeletonPart CLIP
ObjectTemplate.addTemplate No4_cart
ObjectTemplate.bindToSkeletonPart CARTRIDGE

ObjectTemplate.create LodObject No4Lod
ObjectTemplate.lodselector HandWeaponLodSelector
ObjectTemplate.addTemplate No4Complex
ObjectTemplate.addTemplate No4Simple



rem ----------------------------------------------------------
rem Firearm: No4 with Bayonet
rem ----------------------------------------------------------
ObjectTemplate.create HandFireArms No4Bay
ObjectTemplate.networkableInfo HandFireArmsInfo
ObjectTemplate.itemIndex 1
ObjectTemplate.projectileTemplate 7,7mmBProjectile
ObjectTemplate.projectilePosition 0/0/0
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.magSize 10
ObjectTemplate.numOfMag 5
ObjectTemplate.magType 0
ObjectTemplate.reloadtime 6
ObjectTemplate.roundOfFire 1
ObjectTemplate.fireOnce 1
objectTemplate.aiTemplate No4AI
rem ObjectTemplate.zoomFov 0.7
ObjectTemplate.altFireOnce 1
ObjectTemplate.GUIIndex 6
ObjectTemplate.setHudAmmoType ATAmmoBar
ObjectTemplate.setAmmoBar "Ingame/Magbar_Rifle_empty_32x64.tga"
ObjectTemplate.setAmmoBarFill "Ingame/Magbar_Rifle_full_32x64.tga"
ObjectTemplate.setAmmoBarSize 20
ObjectTemplate.setAmomBarPosX 6
ObjectTemplate.setAmomBarPosY -17
ObjectTemplate.setAmomBarTextPosX 5
ObjectTemplate.setAmomBarTextPosY 10
ObjectTemplate.setCrossHairType CHTCrossHair

ObjectTemplate.setWeaponLink 3

rem ObjectTemplate.soldierZoomFov 0.7
rem ObjectTemplate.soldierZoomPosition -0.11/0.01/0.02
ObjectTemplate.soldierCameraPosition -0.08/-0.03/0.00
ObjectTemplate.addRootSpeed 0
ObjectTemplate.AmmoType 1
ObjectTemplate.timeToNotAllowChange 0.25

Rem *** Deviation Begin *****

ObjectTemplate.velocity 700
ObjectTemplate.setRecoilForceUp CRD_UNIFORM/0.9/1.75/0
ObjectTemplate.setRecoilForceLeftRight CRD_UNIFORM/-0.1/-0.3/0
ObjectTemplate.setHasRecoilForce 1
ObjectTemplate.setGoBackOnRecoil 0

ObjectTemplate.setFireDev 5 2.25 0.12
ObjectTemplate.setDevMod 1.5 1 0.9
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 Sounds/no4.ssc
ObjectTemplate.createSkeleton animations/No4.ske
ObjectTemplate.useSkeletonPartAsMain No4
ObjectTemplate.addTemplate No4BayLod

ObjectTemplate.addTemplate BayonetNo4

ObjectTemplate.addTemplate e_MuzzGun
rem ObjectTemplate.addTemplate e_MuzzRifle
ObjectTemplate.setInputId -1
ObjectTemplate.startoneffects 0
ObjectTemplate.setPosition 0/0.045/0.745
ObjectTemplate.setRotation 0/0/0


ObjectTemplate.create Bundle No4BayGUNBODY
ObjectTemplate.geometry No4
ObjectTemplate.addTemplate no4_spike_d_m1
ObjectTemplate.setPosition 0/0.046/0.726

ObjectTemplate.create AnimatedBundle No4BayComplex
ObjectTemplate.geometry
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.createSkeleton animations/No4.ske
ObjectTemplate.addTemplate No4BayGUNBODY
ObjectTemplate.bindToSkeletonPart GUNBODY
ObjectTemplate.addTemplate No4Trigger
ObjectTemplate.bindToSkeletonPart TRIGGER
ObjectTemplate.addTemplate No4Block
ObjectTemplate.bindToSkeletonPart BOLT
ObjectTemplate.addTemplate No4Load
ObjectTemplate.bindToSkeletonPart HANDLE
ObjectTemplate.addTemplate No4Clip
ObjectTemplate.bindToSkeletonPart BULLET
ObjectTemplate.addTemplate No4_clipbase
ObjectTemplate.bindToSkeletonPart CLIP
ObjectTemplate.addTemplate No4_cart
ObjectTemplate.bindToSkeletonPart CARTRIDGE

ObjectTemplate.create LodObject No4BayLod
ObjectTemplate.lodselector HandWeaponLodSelector
ObjectTemplate.addTemplate No4BayComplex
ObjectTemplate.addTemplate No4Simple