Destroyable Buildings?
Moderator: Moderators
- swado95
- Rebel Warrant Officer

- Posts: 304
- Joined: Wed Apr 08, 2009 7:36 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Where I whant to be.
Destroyable Buildings?
I know that you can set the health of an object but is it possible for it to have like rubble at the end? I was thinking setting it up like a ammo droid but i don't want to be able to repair it once its dead.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Destroyable Buildings?
you can define a destroyed geometry with the odfline:
but im not shure if you can prevent a destructable building from being rebuild
Code: Select all
DestroyedGeometryName = "com_item_healthrecharge_dst"- swado95
- Rebel Warrant Officer

- Posts: 304
- Joined: Wed Apr 08, 2009 7:36 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Where I whant to be.
Re: Destroyable Buildings?
Maybe ill just take repair tools out, But that bring up something can you make an object be able to repair things like an repair station?
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Destroyable Buildings?
how about a fusioncutter? i think that would work pretty well 
you can make the building neutral and a new fusioncutter with targetneutral = "0"
you can make the building neutral and a new fusioncutter with targetneutral = "0"
- SAMofBIA
- Major General

- Posts: 649
- Joined: Tue Jun 15, 2010 3:38 pm
- Projects :: Nothing....nothing at all.
- xbox live or psn: No gamertag set
- Location: MIA and not stopping in often anymore.
Re: Destroyable Buildings?
im pretty sure that you could change the health and ammo droid odf files to have the geometry of your said repair station. and then give them some sort of obscene ammount of health with a health build in self health recharge rate.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Destroyable Buildings?
what are you talking about?
you should probably read the first post more carefull
you should probably read the first post more carefull
- swado95
- Rebel Warrant Officer

- Posts: 304
- Joined: Wed Apr 08, 2009 7:36 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Where I whant to be.
Re: Destroyable Buildings?
No he talking it about the repair station
But that bring up something can you make an object be able to repair things like an repair station?
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Destroyable Buildings?
why wouldnt you use a fusioncutter?
are you talking about a vehclerepairstation here?
@quote: yeah, but what would be an obscene amount of health and a self repair good for?
are you talking about a vehclerepairstation here?
@quote: yeah, but what would be an obscene amount of health and a self repair good for?
- swado95
- Rebel Warrant Officer

- Posts: 304
- Joined: Wed Apr 08, 2009 7:36 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Where I whant to be.
Re: Destroyable Buildings?
Well a vehicle repair station so i can take out the fusion cutter (even though im having second though on that now.) Idk what he was talking about self repair seems a little excessive with me.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Destroyable Buildings?
you want to repair the repairstation with a vehiclerepairstation? 
- swado95
- Rebel Warrant Officer

- Posts: 304
- Joined: Wed Apr 08, 2009 7:36 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Where I whant to be.
Re: Destroyable Buildings?
No all i want its a box or something so when u go near it it repairs ur tank.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Destroyable Buildings?
ah! now i got it
there is already such a "vehiclerepairstation" in the common odfs, an astromechdroid, the odf is called "com_item_vehiclerecharge" in dataXXX\Common\odf's\
there is already such a "vehiclerepairstation" in the common odfs, an astromechdroid, the odf is called "com_item_vehiclerecharge" in dataXXX\Common\odf's\
- SAMofBIA
- Major General

- Posts: 649
- Joined: Tue Jun 15, 2010 3:38 pm
- Projects :: Nothing....nothing at all.
- xbox live or psn: No gamertag set
- Location: MIA and not stopping in often anymore.
Re: Destroyable Buildings?
hmm are you sure that works? ive put in my map in zero editor before and not had it there in the game.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Destroyable Buildings?
here's a working odf, credits to pinguin:
Hidden/Spoiler:
- Marvel4
- Rebel Colonel

- Posts: 556
- Joined: Mon Jun 21, 2010 12:57 pm
- Projects :: Marvel4s BF1 Conversion Pack + Era Mod
Re: Destroyable Buildings?
Yes, me too. It worked after I put the odfs into my worlds\***\odf folder.SAMofBIA wrote:hmm are you sure that works? ive put in my map in zero editor before and not had it there in the game.
- SAMofBIA
- Major General

- Posts: 649
- Joined: Tue Jun 15, 2010 3:38 pm
- Projects :: Nothing....nothing at all.
- xbox live or psn: No gamertag set
- Location: MIA and not stopping in often anymore.
Re: Destroyable Buildings?
ahhh, that explains things a little.
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: Destroyable Buildings?
It was never munged in the common lvl files that came with SWBF2, which is why it doesn't appear. It does work though.Marvel4 wrote:Yes, me too. It worked after I put the odfs into my worlds\***\odf folder.SAMofBIA wrote:hmm are you sure that works? ive put in my map in zero editor before and not had it there in the game.
- SAMofBIA
- Major General

- Posts: 649
- Joined: Tue Jun 15, 2010 3:38 pm
- Projects :: Nothing....nothing at all.
- xbox live or psn: No gamertag set
- Location: MIA and not stopping in often anymore.
Re: Destroyable Buildings?
ahhh, that explains things a LOT more.
