Joined: Wed Oct 13, 2004 12:00 am Posts: 298
|
The issue with stacking is easiest fixed by the timeToLiveAfterDeath
command.
The original settings for each Object is found in its Objects.con in the
Objects.rfa for the Mod. If you do not find the command, then add it with
an Active command.
Here is an example...
ObjectTemplate.create PlayerControlObject BMP2
ObjectTemplate.setNetworkableInfo BMP2_BodyInfo
objectTemplate.cullRadiusScale 5
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.drag 2
ObjectTemplate.mass 25000
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.speedMod 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 0
ObjectTemplate.addArmorEffect 50 e_PanzDamage .5/0.5/-1
ObjectTemplate.addArmorEffect 25 e_PanzDamage .5/0.5/-1
ObjectTemplate.addArmorEffect 25 e_warning_tank2 0/.62/-.68
ObjectTemplate.addArmorEffect 12 e_warning_tank2 0/.62/-.68
ObjectTemplate.addArmorEffect 12 e_PanzFire .5/1/-1
ObjectTemplate.addArmorEffect 12 e_ExFumeFact .5/0.5/-1
ObjectTemplate.addArmorEffect 0 e_ExplGas_tank 0/1/0
ObjectTemplate.addArmorEffect 0 e_scrapmetal 0/0/0
ObjectTemplate.addArmorEffect 0 e_ScrapBMP2turret 0/1.2/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.timetoliveafterdeath 60
ObjectTemplate.fadeAtTimeToLiveAfterDeath 0
ObjectTemplate.aiTemplate BMP2
Set the value to one second less than your minSpawnDelay if you want
spawns that short.
|
|