Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
helicopter respawning....newbie here https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=1496 |
Page 1 of 1 |
Author: | crypt [ Sat May 21, 2005 1:01 am ] |
Post subject: | helicopter respawning....newbie here |
Author: | cinnamon [ Sat May 21, 2005 4:06 am ] |
Post subject: | |
Author: | Snap [ Sat May 21, 2005 8:28 am ] |
Post subject: | |
Author: | Natt [ Sat May 21, 2005 8:48 am ] |
Post subject: | |
Author: | Yithian [ Sat May 21, 2005 9:22 am ] |
Post subject: | |
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. |
Author: | Yithian [ Sat May 21, 2005 9:26 am ] |
Post subject: | |
Oh, and Harry, will this fix the "Hulks" too? I just had that pop into my head while I was pondering my post. |
Author: | Harry [ Sat May 21, 2005 12:19 pm ] |
Post subject: | |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |