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


rem ----------------------------------------------------------
rem Firearm: KSVK
rem ----------------------------------------------------------
ObjectTemplate.create HandFireArms KSVK
ObjectTemplate.networkableInfo HandFireArmsInfo
ObjectTemplate.itemIndex 3
ObjectTemplate.zoomFov 0.1
ObjectTemplate.unZoomBetweenFireTime 3.0
ObjectTemplate.useScope 1
ObjectTemplate.projectileTemplate Incendiary_12,7x108_Projectile
ObjectTemplate.setTracerTemplate APTracer_12,7x108_Projectile CRD_NONE/2/0/0
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.projectilePosition 0/0/0
ObjectTemplate.magSize 5
ObjectTemplate.numOfMag 3
ObjectTemplate.magType 0
ObjectTemplate.reloadtime 3
ObjectTemplate.roundOfFire 1
ObjectTemplate.fireOnce 1
ObjectTemplate.altFireOnce 1
ObjectTemplate.GUIIndex 3
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 "OSVscope.dds"
ObjectTemplate.setSightIcon "scope_blank.dds"
ObjectTemplate.setSniperSight 1
ObjectTemplate.setCrossHairType CHTNone


objectTemplate.aiTemplate SNIPER_HEAVY_ID3
rem ObjectTemplate.positionalSpeedInDof CRD_NONE/800/0/0
ObjectTemplate.soldierZoomFov 0.6
ObjectTemplate.soldierZoomPosition 0.1/0/0
ObjectTemplate.soldierCameraPosition -0.03/-0.04/0.1
ObjectTemplate.addRootSpeed 0
ObjectTemplate.AmmoType 1
ObjectTemplate.timeToNotAllowChange 0.25

Rem *** Deviation Begin *****

ObjectTemplate.velocity 1000
ObjectTemplate.setRecoilForceUp CRD_UNIFORM/1.2/1.2/0
ObjectTemplate.setRecoilForceLeftRight CRD_UNIFORM/-0.1/-0.3/0
ObjectTemplate.setHasRecoilForce 1
ObjectTemplate.setGoBackOnRecoil 1

ObjectTemplate.setFireDev 5 0 0
ObjectTemplate.setDevMod 1 0.7 0.5
ObjectTemplate.setMinDev 0.25
ObjectTemplate.setTurnDev 0 0 0 0
ObjectTemplate.setSpeedDev 2.5 0.4 0.4 0.1
ObjectTemplate.setMiscDev 2.5 2.5 0.1


Rem *** Deviation End *****

ObjectTemplate.fireInCameraDof 1
ObjectTemplate.loadSoundScript ../../../../../objects/Handweapons/PTRD/Sounds/PTRD.ssc
ObjectTemplate.createSkeleton animations/PTRD.ske
ObjectTemplate.useSkeletonPartAsMain KSVK
ObjectTemplate.addTemplate KSVKLod

ObjectTemplate.addTemplate e_Muzz30mmWC
ObjectTemplate.setInputId -1
ObjectTemplate.startoneffects 0
ObjectTemplate.setPosition 0/0.045/0.98
ObjectTemplate.setRotation 0/0/0

ObjectTemplate.addTemplate e_Shell20mm
ObjectTemplate.setInputId -1
ObjectTemplate.startoneffects 1
ObjectTemplate.setPosition 0/0.03/0.39
ObjectTemplate.setRotation 0/0/0



rem ----------------------------------------------------------
rem Firearm: KSVKSniper
rem ----------------------------------------------------------
ObjectTemplate.create HandFireArms KSVKSniper
ObjectTemplate.networkableInfo HandFireArmsInfo
ObjectTemplate.itemIndex 2
ObjectTemplate.zoomFov 0.1
ObjectTemplate.unZoomBetweenFireTime 3.0
ObjectTemplate.useScope 1
ObjectTemplate.projectileTemplate Incendiary_12,7x108_Projectile
ObjectTemplate.setTracerTemplate APTracer_12,7x108_Projectile CRD_NONE/2/0/0
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.projectilePosition 0/0/0
ObjectTemplate.magSize 5
ObjectTemplate.numOfMag 5
ObjectTemplate.magType 0
ObjectTemplate.reloadtime 3
ObjectTemplate.roundOfFire 0.3
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 "OSVscope.dds"
ObjectTemplate.setSightIcon "scope_blank.dds"
ObjectTemplate.setSniperSight 1
ObjectTemplate.setCrossHairType CHTNone

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 CHTNone

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 CHTNone

objectTemplate.aiTemplate SniperKSVKAI
rem ObjectTemplate.positionalSpeedInDof CRD_NONE/800/0/0
ObjectTemplate.soldierZoomFov 0.6
ObjectTemplate.soldierZoomPosition 0.1/0/0
ObjectTemplate.soldierCameraPosition -0.03/-0.04/0.1
ObjectTemplate.addRootSpeed 0
ObjectTemplate.AmmoType 1
ObjectTemplate.timeToNotAllowChange 0.25
Rem *** Deviation Begin *****

ObjectTemplate.velocity 2000
ObjectTemplate.setSpeedDev 0.8 0.2 0.2 0.1
ObjectTemplate.setMiscDev 2.5 2.5 0.1

Rem *** Deviation End *****

ObjectTemplate.fireInCameraDof 1
ObjectTemplate.loadSoundScript ../../../../../objects/Handweapons/PTRD/Sounds/PTRD.ssc

ObjectTemplate.createSkeleton animations/PTRD.ske
ObjectTemplate.useSkeletonPartAsMain KSVK
ObjectTemplate.addTemplate KSVKSniperLod

ObjectTemplate.addTemplate e_Muzz30mmWC
ObjectTemplate.setInputId -1
ObjectTemplate.startoneffects 0
ObjectTemplate.setPosition 0/0.045/0.795
ObjectTemplate.setRotation 0/0/0

ObjectTemplate.addTemplate e_Shell20mm
ObjectTemplate.setInputId -1
ObjectTemplate.startoneffects 1
ObjectTemplate.setPosition 0/0.03/0.39
ObjectTemplate.setRotation 0/0/0


rem
rem ** Objects
rem

ObjectTemplate.create SimpleObject KSVKBase
ObjectTemplate.geometry KSVKBase

ObjectTemplate.create SimpleObject KSVKTrigger
ObjectTemplate.geometry KSVKTrigger

ObjectTemplate.create SimpleObject KSVKBlock
ObjectTemplate.geometry KSVKBlock

ObjectTemplate.create SimpleObject KSVKLoad
ObjectTemplate.geometry KSVKLoad

ObjectTemplate.create SimpleObject KSVKMag
ObjectTemplate.geometry KSVKMag

ObjectTemplate.create SimpleObject KSVKScope
ObjectTemplate.geometry KSVKScope

ObjectTemplate.create SimpleObject KSVKClip
ObjectTemplate.geometry KSVKClip


ObjectTemplate.create SimpleObject KSVKSniperSimple
ObjectTemplate.geometry Shad_KSVK_Scope

ObjectTemplate.create AnimatedBundle KSVKSniperComplex
ObjectTemplate.geometry KSVK
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.createSkeleton animations/PTRD.ske
ObjectTemplate.addTemplate KSVKTrigger
ObjectTemplate.bindToSkeletonPart Trigger
ObjectTemplate.addTemplate KSVKBlock
ObjectTemplate.bindToSkeletonPart Block
ObjectTemplate.addTemplate KSVKLoad
ObjectTemplate.bindToSkeletonPart Load
ObjectTemplate.addTemplate KSVKMag
ObjectTemplate.bindToSkeletonPart Mag
ObjectTemplate.addTemplate KSVKScope
ObjectTemplate.bindToSkeletonPart SIKTE
ObjectTemplate.addTemplate KSVKClip
ObjectTemplate.bindToSkeletonPart clip

ObjectTemplate.create LodObject KSVKSniperLod
ObjectTemplate.lodselector HandWeaponLodSelector
ObjectTemplate.addTemplate KSVKSniperComplex
ObjectTemplate.addTemplate KSVKSniperSimple

ObjectTemplate.create SimpleObject KSVKSimple
ObjectTemplate.geometry Shad_KSVK

ObjectTemplate.create AnimatedBundle KSVKComplex
ObjectTemplate.geometry KSVK
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.createSkeleton animations/PTRD.ske
ObjectTemplate.addTemplate KSVKTrigger
ObjectTemplate.bindToSkeletonPart Trigger
ObjectTemplate.addTemplate KSVKBlock
ObjectTemplate.bindToSkeletonPart Block
ObjectTemplate.addTemplate KSVKLoad
ObjectTemplate.bindToSkeletonPart Load
ObjectTemplate.addTemplate KSVKMag
ObjectTemplate.bindToSkeletonPart Mag
ObjectTemplate.addTemplate KSVKClip
ObjectTemplate.bindToSkeletonPart clip

ObjectTemplate.create LodObject KSVKLod
ObjectTemplate.lodselector HandWeaponLodSelector
ObjectTemplate.addTemplate KSVKComplex
ObjectTemplate.addTemplate KSVKSimple