This page is under construction
Archives/BF1942/levels/Dustbowl Modded/DustBowl_Modded.rfa
bf1942/levels/DustBowl_Modded/objects/HandWeapons/DCX_GasGrenade/Objects.con
ObjectTemplate.create HandFireArms DCX_GasGrenade
ObjectTemplate.itemIndex 6
ObjectTemplate.networkableInfo HandFireArmsInfo
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.projectileTemplate DCX_GasGrenadeProjectile
ObjectTemplate.projectilePosition 0/0/5
ObjectTemplate.ForceOnExplosion 10
ObjectTemplate.magSize 3
ObjectTemplate.numOfMag 1
ObjectTemplate.magType 0
ObjectTemplate.reloadtime 2
ObjectTemplate.roundOfFire 1
ObjectTemplate.fireOnce 1
rem ObjectTemplate.altFireOnce 1
ObjectTemplate.hasArmor 1
ObjectTemplate.material 70
ObjectTemplate.hitpoints 10000
ObjectTemplate.maxhitpoints 10000
ObjectTemplate.AmmoType 2

ObjectTemplate.autoReload 1
ObjectTemplate.GUIIndex 13
ObjectTemplate.setHudAmmoType ATIconAndStrengthBar
ObjectTemplate.setAmmoIcon "Ammo/Icon_smokeammoGREEN.tga"
ObjectTemplate.setCrossHairType CHTIcon
ObjectTemplate.setHasMag 0

ObjectTemplate.rotationalSpeed 0/0/0
rem *** Tan reduced velocity to prevent overthrowing ***
ObjectTemplate.velocity 30
rem ObjectTemplate.velocity 20

ObjectTemplate.minDeviation 0
ObjectTemplate.maxDeviation 0.08
ObjectTemplate.fireInCameraDof 1
ObjectTemplate.hideDuringFireTime 0.4
ObjectTemplate.fireDelay 1
objectTemplate.aiTemplate DCX_GasGrenadeAI
ObjectTemplate.soldierCameraPosition 0/-0.03/0.2
ObjectTemplate.cantSelectWhenNoAmmo 1
ObjectTemplate.changeWeaponWhenNoAmmo 1

ObjectTemplate.velocityDependentOnHeat 1
ObjectTemplate.heatAddWhenFire 0.03
rem ObjectTemplate.coolDownPerSec 0.05
ObjectTemplate.changeWeaponWhenNoAmmo 1

ObjectTemplate.createSkeleton animations/SmokeGrenade.ske
ObjectTemplate.useSkeletonPartAsMain Base
ObjectTemplate.addTemplate DCX_GasGrenadeLod

ObjectTemplate.loadSoundScript Sounds/SmokeGrenade.ssc

rem
rem ** SimpleObjects
rem
ObjectTemplate.create SimpleObject DCX_GasGrenadePigg
ObjectTemplate.geometry SmokeGrenadePigg

ObjectTemplate.create SimpleObject DCX_GasGrenadeSprint
ObjectTemplate.geometry SmokeGrenadeSprint

ObjectTemplate.create SimpleObject DCX_GasGrenadeSimple
ObjectTemplate.geometry DCX_GREENShad_SmokeGrenade

ObjectTemplate.create AnimatedBundle DCX_GasGrenadeComplex
ObjectTemplate.createSkeleton animations/SmokeGrenade.ske
ObjectTemplate.geometry DCX_GREENSmokeGrenade
ObjectTemplate.addTemplate DCX_GasGrenadeSprint
ObjectTemplate.bindToSkeletonPart sprint
ObjectTemplate.addTemplate DCX_GasGrenadePigg
ObjectTemplate.bindToSkeletonPart pigg

ObjectTemplate.create LodObject DCX_GasGrenadeLod
ObjectTemplate.lodselector HandWeaponLodSelector
ObjectTemplate.addTemplate DCX_GasGrenadeComplex
ObjectTemplate.addTemplate DCX_GasGrenadeSimple


ObjectTemplate.create Projectile DCX_GasGrenadeProjectile
ObjectTemplate.networkableInfo GasGrenadeProjectileInfo
ObjectTemplate.geometry DCX_GREENSmokeGrenade
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.setHasMobilePhysics 1
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.setHasResponsePhysics 1
ObjectTemplate.setHasPointPhysics 0
ObjectTemplate.hasCollisionEffect 0
ObjectTemplate.invisibleAtEndEffect 1
ObjectTemplate.hasArmor 1
ObjectTemplate.hitPoints 9999
ObjectTemplate.maxHitPoints 9999
ObjectTemplate.explosionDamage 0
ObjectTemplate.timeToLive CRD_NONE/60/0/0
ObjectTemplate.dieAfterColl 0
ObjectTemplate.radius 0.0
ObjectTemplate.hasOnTimeEffect 1
ObjectTemplate.material 93
ObjectTemplate.material2 93
ObjectTemplate.useMMOnEndEffect 1
ObjectTemplate.damageType 1
rem ObjectTemplate.damageType 4
ObjectTemplate.startEffectTemplate DCX_Gas_e_SmokeGrenade
ObjectTemplate.addTemplate DCX_GasGrenadeDamageEmitter
ObjectTemplate.noFFSound 1
rem *** tan gave mass to add drag ***
ObjectTemplate.mass 10