Author Topic: Conditions For Ship Debris (Or Lack Thereof)  (Read 5699 times)

0 Members and 1 Guest are viewing this topic.

Re: Conditions For Ship Debris (Or Lack Thereof)
Made a new patch that adds destroy-instantly and destroy-subsys-instantly sexps to destroy things without sound and explosion effect. Again I'm open for feedback if someone can review my patch.

[attachment removed and sold on the black market]
Here goes scripting and copy paste coding
Freespace RTS Mod
Checkpoint/Shipsaveload script

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Re: Conditions For Ship Debris (Or Lack Thereof)
I've only skimmed it so far, but I don't like the idea of copying do_subobj_destroyed_stuff, especially since it's a big function.  Can you instead modify do_subobj_destroyed_stuff with a no_explosion parameter, and just skip the things associated with the special effects?

 
Re: Conditions For Ship Debris (Or Lack Thereof)
Can you instead modify do_subobj_destroyed_stuff with a no_explosion parameter, and just skip the things associated with the special effects?

Did that, the new patch is attached to my post.

[attachment removed and sold on the black market]
Here goes scripting and copy paste coding
Freespace RTS Mod
Checkpoint/Shipsaveload script

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Re: Conditions For Ship Debris (Or Lack Thereof)
Well done. :yes:  I just did a code review and a playtest, and it passed with flying colors. :)

Committed in r9145.