Page 1 of 1
Linked destroyable and non destroyable
Posted: Thu Jul 08, 2010 10:03 pm
by PilotX
Is it possible to destroy an object and link it to destroy a non destroyable object? Or do I need to make them all destroyable.
Re: Linked destroyable and non destroyable
Posted: Thu Jul 08, 2010 10:27 pm
by lucasfart
Welcome to gametoast!
Yeah it sounds possible. I'm thinking you could just use the killobject command to get rid of it, then the spawnobject command to spawn the rubble/destroyed looking object. Then just add an effect to be played at the same time and it will look like the prop has been destroyed. This might be a bit hard to do if you're just getting started on modding, and i'd recommend starting somewhere else.
Re: Linked destroyable and non destroyable
Posted: Thu Jul 08, 2010 11:00 pm
by PilotX
Thanks for the welcome. I bet I could figure it out because I don't need to have anything respawn, and I have been nodding for a few months.
Re: Linked destroyable and non destroyable
Posted: Fri Jul 09, 2010 9:40 am
by swado95
You could try using an ammo droid for a base of what to do but idk if you want to be able to repair it or not.
Re: Linked destroyable and non destroyable
Posted: Fri Jul 09, 2010 10:58 am
by PilotX
I don't see what you mean, but it can't be repaired.
Re: Linked destroyable and non destroyable
Posted: Fri Jul 09, 2010 1:19 pm
by FragMe!
Are you talking about something like if you destroy all the turrets (destroyable objects) then the ship (non-destroyable in some cases) blows up and goes away? That was just a very basic example.
Re: Linked destroyable and non destroyable
Posted: Fri Jul 09, 2010 2:44 pm
by PilotX
No, what I am doing is having an orbital strike ( which I have working) act as Death Star laser to destroy the ship. Right now, just the part of the ship over the hanger is destroyed so I need to link it to the other parts.
Re: Linked destroyable and non destroyable
Posted: Fri Jul 09, 2010 7:16 pm
by DarthD.U.C.K.
Re: Linked destroyable and non destroyable
Posted: Fri Jul 09, 2010 7:26 pm
by Maveritchell
He really wants to just use the stock "LinkedDestroyables" script (how to use is shown in stock space assault scripts). LinkedFrigates is basically the same thing, but the linkage is defined by only one object blowing up. He wants it so that - I assume - if any part of the ship is destroyed, the entire thing will be destroyed.
Re: Linked destroyable and non destroyable
Posted: Fri Jul 09, 2010 9:40 pm
by Fiodis
It also sounds like his "ship" is something stationary he placed in ZE - so just using the stock frigate linkage script ought to be enough, I think. It would only need to be defined by one object blowing up.