Hoth's Destructable Command Post
Moderator: Moderators
-
AdmiralPulp
- Posts: 1
- Joined: Fri Jul 29, 2016 10:28 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Hoth's Destructable Command Post
I'm wondering how to make a command post like the one on Hoth. The one next to the shield generator that stops working when the shield generator is destroyed. I want it so I can put a command post on a capital ship that disappears when the ship is destroyed.
- AnthonyBF2
- Sith

- Posts: 1255
- Joined: Wed Aug 21, 2013 3:55 pm
- Projects :: PS2+PSP Overhaul
Re: Hoth's Destructable Command Post
The generator on Hoth is a command post, that goes away when it's broken. There are easy ways to get rid of a command post when something happens but it requires some Lua coding which I am not too bright at.AdmiralPulp wrote:I'm wondering how to make a command post like the one on Hoth. The one next to the shield generator that stops working when the shield generator is destroyed. I want it so I can put a command post on a capital ship that disappears when the ship is destroyed.
If you want to actually make a destructible command post, just add MaxHealth = 100 in the command post ODF file. Of course 100 is an example, you make yours any number you want.
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Hoth's Destructable Command Post
Well, any number under 2147483647 anyway. :u https://msdn.microsoft.com/en-us/library/296az74e.aspxAnthonyBF2 wrote:you make yours any number you want.
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: Hoth's Destructable Command Post
since a negative health makes no sense, they may use unsigned variables. In that case you can go up to 4294967295Marth8880 wrote:Well, any number under 2147483647 anyway. :u https://msdn.microsoft.com/en-us/library/296az74e.aspxAnthonyBF2 wrote:you make yours any number you want.
