Here, people:
1) Add these lines to your Map ( Init.con )
rem *** placeable fire *** ObjectTemplate.create Bundle VehicleFire ObjectTemplate.saveInSeparateFile 1 ObjectTemplate.hasArmor 1 ObjectTemplate.maxhitpoints 25 ObjectTemplate.hitpoints 25 ObjectTemplate.Material 40 ObjectTemplate.addArmorEffect 25 e_KubelFire 0/0/0 rem *** stuka wreck and fire *** ObjectTemplate.create SimpleObject StukaWreckSolid ObjectTemplate.geometry Wreck_Stuka_M1 ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.create Bundle Wreck_Stuka_Fire ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.addTemplate StukaWreckSolid
ObjectTemplate.addTemplate VehicleFire ObjectTemplate.setPosition 0/1.5/3
2) Add these lines to your list file for Battlecraft:
Wreck_Stuka_Fire=StandardMesh(Wreck_ju87_m1) StukaWreckSolid=StandardMesh(Wreck_ju87_m1) VehicleFire=StandardMesh(soldier_spawn) You can place the plain wreck, the wreck on fire, and the fire by itself. When you place the fire by itself it will look weird in Battlecraft because there's no mesh that BC can display, so I use the soldier_spawn object which is a three way arrow thing that never gets used in the game, so you know it's an effect. Now you can place a wreck and have it automatically be on fire, or place the plain wreck and then place the fire wherever you want.
Edited By: Dweller_Benthos ( ForumPlanet )
|