This page is under construction
Archives/bf1942/levels/aragon-1938.rfa
bf1942/levels/aragon-1938/Objects/Springfield03/Objects.con
ObjectTemplate.create HandFireArms M98
include Springfield03.inc
ObjectTemplate.numOfMag 10

rem ----------------------------------------------------------
rem Firearm: Springfield03A3
rem ----------------------------------------------------------
ObjectTemplate.create HandFireArms Springfield03A3
ObjectTemplate.networkableInfo HandFireArmsInfo
ObjectTemplate.itemIndex 3
ObjectTemplate.zoomFov 0.1
ObjectTemplate.unZoomBetweenFireTime 3.0
ObjectTemplate.useScope 1
ObjectTemplate.projectileTemplate 7,62mmProjectile
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.projectilePosition 0/0/0
ObjectTemplate.magSize 5
ObjectTemplate.numOfMag 10
ObjectTemplate.magType 0
ObjectTemplate.reloadtime 6
ObjectTemplate.roundOfFire 0.769
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 "Weaverscope.tga"
ObjectTemplate.setSightIcon "scope_blank.tga"
ObjectTemplate.setSniperSight 0
ObjectTemplate.setCrossHairType CHTNone



objectTemplate.aiTemplate SniperSpringfield03AI
rem ObjectTemplate.positionalSpeedInDof CRD_NONE/800/0/0
ObjectTemplate.soldierZoomFov 0.7
ObjectTemplate.soldierZoomPosition -0.08/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/.8/1.6/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/Springfield03A3.ssc

ObjectTemplate.createSkeleton animations/Springfield03.ske
ObjectTemplate.useSkeletonPartAsMain Springfield03
ObjectTemplate.addTemplate Springfield03SniperLod

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 Springfield03Block
ObjectTemplate.geometry Springfield03Block

ObjectTemplate.create SimpleObject Springfield03Load
ObjectTemplate.geometry Springfield03Load

ObjectTemplate.create SimpleObject Springfield03SniperSimple
ObjectTemplate.geometry Shad_Springfield03_Scope

ObjectTemplate.create SimpleObject Springfield03SniperGUNBODY
ObjectTemplate.geometry Springfield03Sniper

ObjectTemplate.create AnimatedBundle Springfield03SniperComplex
ObjectTemplate.geometry
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.createSkeleton animations/Springfield03.ske
ObjectTemplate.addTemplate Springfield03SniperGUNBODY
ObjectTemplate.bindToSkeletonPart GUNBODY
ObjectTemplate.addTemplate Springfield03Block
ObjectTemplate.bindToSkeletonPart BOLT
ObjectTemplate.addTemplate Springfield03Load
ObjectTemplate.bindToSkeletonPart HANDLE
ObjectTemplate.addTemplate Springfield03CARTRIDGE
ObjectTemplate.bindToSkeletonPart BULLET
ObjectTemplate.addTemplate Springfield03CARTRIDGE
ObjectTemplate.bindToSkeletonPart CLIP
ObjectTemplate.addTemplate Springfield03CARTRIDGE
ObjectTemplate.bindToSkeletonPart CARTRIDGE


ObjectTemplate.create LodObject Springfield03SniperLod
ObjectTemplate.lodselector HandWeaponLodSelector
ObjectTemplate.addTemplate Springfield03SniperComplex
ObjectTemplate.addTemplate Springfield03SniperSimple

ObjectTemplate.create SimpleObject Springfield03Simple
ObjectTemplate.geometry Shad_Springfield03

ObjectTemplate.create SimpleObject Springfield03GUNBODY
ObjectTemplate.geometry Springfield03

ObjectTemplate.create SimpleObject Springfield03BULLET
ObjectTemplate.geometry Kpringfield03_Clip_m1

ObjectTemplate.create SimpleObject Springfield03CLIP
ObjectTemplate.geometry Springfield03_clipbase_m1

ObjectTemplate.create SimpleObject Springfield03CARTRIDGE
ObjectTemplate.geometry Springfield03_cart_m1


ObjectTemplate.create AnimatedBundle Springfield03Complex
ObjectTemplate.geometry
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.createSkeleton animations/Springfield03.ske
ObjectTemplate.addTemplate Springfield03GUNBODY
ObjectTemplate.bindToSkeletonPart GUNBODY
ObjectTemplate.addTemplate Springfield03Block
ObjectTemplate.bindToSkeletonPart BOLT
ObjectTemplate.addTemplate Springfield03Load
ObjectTemplate.bindToSkeletonPart HANDLE
ObjectTemplate.addTemplate Springfield03BULLET
ObjectTemplate.bindToSkeletonPart BULLET
ObjectTemplate.addTemplate Springfield03CLIP
ObjectTemplate.bindToSkeletonPart CLIP
ObjectTemplate.addTemplate Springfield03CARTRIDGE
ObjectTemplate.bindToSkeletonPart CARTRIDGE

ObjectTemplate.create LodObject Springfield03Lod
ObjectTemplate.lodselector HandWeaponLodSelector
ObjectTemplate.addTemplate Springfield03Complex
ObjectTemplate.addTemplate Springfield03Simple



rem ----------------------------------------------------------
rem Firearm: Springfield03 with Bayonet
rem ----------------------------------------------------------
ObjectTemplate.create HandFireArms Springfield03Bay
ObjectTemplate.networkableInfo HandFireArmsInfo
ObjectTemplate.itemIndex 1
ObjectTemplate.projectileTemplate 7,62mmProjectile
ObjectTemplate.projectilePosition 0/0/0
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.magSize 5
ObjectTemplate.numOfMag 10
ObjectTemplate.magType 0
ObjectTemplate.reloadtime 4
ObjectTemplate.roundOfFire 0.769
ObjectTemplate.fireOnce 1
objectTemplate.aiTemplate Springfield03AI
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.08/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/1/2/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/Springfield03.ssc
ObjectTemplate.createSkeleton animations/Springfield03.ske
ObjectTemplate.useSkeletonPartAsMain Springfield03
ObjectTemplate.addTemplate Springfield03BayLod

ObjectTemplate.addTemplate BayonetSpringfield03

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 Springfield03BayGUNBODY
ObjectTemplate.geometry Springfield03
ObjectTemplate.addTemplate M1bayonet_m1
ObjectTemplate.setPosition 0/0.0066/0.7428


ObjectTemplate.create AnimatedBundle Springfield03BayComplex
ObjectTemplate.geometry
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.createSkeleton animations/Springfield03.ske
ObjectTemplate.addTemplate Springfield03BayGUNBODY
ObjectTemplate.bindToSkeletonPart GUNBODY
ObjectTemplate.addTemplate Springfield03Block
ObjectTemplate.bindToSkeletonPart BOLT
ObjectTemplate.addTemplate Springfield03Load
ObjectTemplate.bindToSkeletonPart HANDLE
ObjectTemplate.addTemplate Springfield03BULLET
ObjectTemplate.bindToSkeletonPart BULLET
ObjectTemplate.addTemplate Springfield03CLIP
ObjectTemplate.bindToSkeletonPart CLIP
ObjectTemplate.addTemplate Springfield03CARTRIDGE
ObjectTemplate.bindToSkeletonPart CARTRIDGE

ObjectTemplate.create LodObject Springfield03BayLod
ObjectTemplate.lodselector HandWeaponLodSelector
ObjectTemplate.addTemplate Springfield03BayComplex
ObjectTemplate.addTemplate Springfield03Simple