Author Topic: Wing waves and timings?  (Read 1884 times)

0 Members and 1 Guest are viewing this topic.

Offline Razial

  • 25
Wing waves and timings?
Basically I have been having an ongoing problem where I can't seem to get a wing wave to come in at a certain time, or after a certain event. The only entry parameters for successive wing waves seem to be delay and threshold. As I don't want to create hundreds of enemy wings all over the map, I was wondering if it is possible to set a wing with 4 waves, but specify each wave as triggered by an event and/or to warp in from a different location. Any ideas?  :)

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Wing waves and timings?
Yes it is possible but kind of tricky especially the warp in part.  For the arrival part you can check out my TvT Gauntlet

The warp part depends on what mod/TC you are using and where you want them to arrive.  It can be as easy as setting arrival to near a ship or as complicated as putting the wing at 0,0,999999 (set radar range to less then that) and using when or when-argument has-arrived-delay (list of first ship in each wing) to move the ships to specific coordinates. You would need to specify a warp effect at or just before the move time. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Re: Wing waves and timings?
Actually... I'm pretty sure you can get waves to appear at a particular time by messing around with the arrival cue.  Wings will not arrive if their arrival cue is false, so you just have to get it to toggle true/false at the appropriate times.  NB: you must use a sexp that won't evaluate to SEXP_KNOWN_TRUE or SEXP_KNOWN_FALSE.

Disclaimer: I haven't tried this.

 

Offline Axem

  • 211
Re: Wing waves and timings?
It may help to know which sexps evaluate to what you CODE WIZARD!

(You're just talking about events-is-LOGIC-delay right?)

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Wing waves and timings?
There are a few others that evaluate to SEXP_KNOWN_TRUE or SEXP_KNOWN_FALSE. SEXPs like subsystem-destroyed-delay, has-arrived-delay, will do too IIRC.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]