There is a thread on this forum about spawning ripped out PCO's, I didn't find it in search. Problem with spawning PCO's was that they didn't have hitpoints. Therefor it was indestructable. Now however M2A3 has hitpoints as shown below.
A rule is not a rule if it doesn't have an exception.
rem *** M2A3 *** ObjectTemplate.create PlayerControlObject M2A3 ObjectTemplate.setNetworkableInfo M2A3_BodyInfo ObjectTemplate.saveInSeparateFile 1 ObjectTemplate.hasMobilePhysics 1 ObjectTemplate.hasDynamicShadow 1 objectTemplate.cullRadiusScale 5 ObjectTemplate.drag 2 ObjectTemplate.mass 25000 ObjectTemplate.hasCollisionPhysics 1 ObjectTemplate.hasResponsePhysics 1 ObjectTemplate.hasArmor 1 ObjectTemplate.hitpoints 100 ObjectTemplate.maxhitpoints 100 ObjectTemplate.material 52 ObjectTemplate.criticalDamage 12 ObjectTemplate.explosionForceMod 5 ObjectTemplate.explosionRadius 5 ObjectTemplate.explosionDamage 2 ObjectTemplate.hpLostWhileCriticalDamage 0.5 ObjectTemplate.hpLostWhileUpSideDown 10 ObjectTemplate.hpLostWhileDamageFromWater 5 ObjectTemplate.addArmorEffect 50 e_PanzDamage 0/0.5/-1.4 ObjectTemplate.addArmorEffect 50 e_warning_tank1 0/1.45/-.3 ObjectTemplate.addArmorEffect 25 e_warning_tank1 0/1.45/-.3 ObjectTemplate.addArmorEffect 25 e_PanzDamage 0/0.5/-1.4 rem ObjectTemplate.addArmorEffect 12 e_PanzFire 0/0.5/-1.4 ObjectTemplate.addArmorEffect 12 e_PanzFire 0/1.2/-1.4 ObjectTemplate.addArmorEffect 12 e_warning_tank2 0/1.45/-.3 ObjectTemplate.addArmorEffect 12 e_PanzDamage 0/0.5/-1.4 ObjectTemplate.addArmorEffect 0 e_ExplGas_tank 0/0/0 ObjectTemplate.addArmorEffect 0 e_scrapmetal 0/0/0 ObjectTemplate.addArmorEffect 0 e_ExFumeFact 0/0/0 ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.damageFromWater 0 ObjectTemplate.speedMod 1 ObjectTemplate.submarineData 0 0 0 100 110 1 5 ObjectTemplate.timetoliveafterdeath 60 ObjectTemplate.fadeAtTimeToLiveAfterDeath 0 ObjectTemplate.aiTemplate M2A3 rem ------------------------------------- ObjectTemplate.addTemplate lodM2A3 rem ------------------------------------- ObjectTemplate.setSoldierExitLocation -2.2/0/0 0/0/0 ObjectTemplate.GUIIndex 99 ObjectTemplate.setVehicleIcon "Vehicle/Icon_M2A3.tga" ObjectTemplate.setVehicleIconPos 73/66 ObjectTemplate.setNumberOfWeaponIcons 2 ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_cannon.tga" ObjectTemplate.setPrimaryAmmoBar ABAmmoBarReloadBar ObjectTemplate.setSecondaryAmmoIcon "Ammo/Icon_Rocket.tga" ObjectTemplate.setSecondaryAmmoBar ABAmmoBarReloadBar ObjectTemplate.setHasTurretIcon 1 ObjectTemplate.setCrossHairType CHTCrossHair ObjectTemplate.setVehicleCategory VCLand ObjectTemplate.setVehicleType VTAPC ObjectTemplate.setToolTipType TTAPC ObjectTemplate.hasRestrictedExit 1 ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_m2a3_16x16.tga"
-----------------------------------------------------------------------
rem *** M2A3Wreck *** ObjectTemplate.create Bundle M2A3Wreck ObjectTemplate.geometry Wreck_M2A3_m1 ObjectTemplate.setHasCollisionPhysics 1 ObjectTemplate.addTemplate e_ExFumeFact ObjectTemplate.startoneffects 1 ObjectTemplate.setPosition 0/1.3/-2
Oh my, no hitpoints on wreck. Where is the hitpoint on wreck? I think the wreck is an effect more then a spawnable object. Why don't Megalo explain it for you. Kit's you can spawn and they don't have hitpoints.
------------------------------------------------------------------------
BTW Your suggestion...
What your avatar is...
But I thought Hamster sounded more sweet then Prarie Dog.
_________________ In the beginning everybody was a SSM NooB. BFV SSM on server 66.55.142.243 Server Homepage
|