Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Scourge of Ages on April 09, 2010, 12:35:41 am

Title: Asteroids!
Post by: Scourge of Ages on April 09, 2010, 12:35:41 am
So: Asteroids placed in specific positions via FRED cannot be destroyed or collided with. Asteroids generated by the asteroid field editor cannot be used in SEXPs - e.g. in an 'is_destroyed_delay' SEXP.

Is there a simple way that I'm not aware of to make a lone asteroid destroyable. Alternately, is there a way to count the number of asteroids destroyed if they're generated by the asteroid field editor?

EDIT: Shortly after writing this, I decided to just take the "no collide" flag out of the table, but an answer to one of the above questions would be best interesting.
Title: Re: Asteroids!
Post by: FUBAR-BDHR on April 09, 2010, 01:06:25 am
Unfortunately the answer to both is no.  Removing the no_collide seems to be the only way.  Might have to put that one on my try to make a sexp when I have time list. 

BTW you can table the standard field asteroids and add those to the missions.  Just copy the entry (without the no_collide) and change the pof to the field models.  You only need to do 3 then just use texture replace for the other colors to save ship slots. 
Title: Re: Asteroids!
Post by: Scourge of Ages on April 09, 2010, 01:16:03 am
Thank you very much! I suspected that, but it's good to have confirmation.
And thanks for the bit about swapping the POF/texture/table entry of the asteroids, very useful for reference.