Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: diamondgeezer on July 22, 2004, 06:00:19 pm

Title: Dying ships and messages
Post by: diamondgeezer on July 22, 2004, 06:00:19 pm
Yo. So I've disabled the built in messages, right? I don't want them sounding mis-matched with my own voice files, see? Anyway, I want to have my pilots scream or yell or whatever when they die... currently the SEXPs are set to fire when the fighter or bomber reaches 0% health, but it doesn't seem to be working. Having them fire at 1% might work, but I just hate to leave the possibility of a pilot screaming his death rattle, then clinging on at bare minimum health... any ideas on how to trigger the messages?
Title: Dying ships and messages
Post by: Knight Templar on July 22, 2004, 06:55:09 pm
"when destroyed" > "send message" ?
Title: Dying ships and messages
Post by: Target on July 22, 2004, 06:55:29 pm
Code: [Select]

$Formula: ( when
   ( < ( hits-left "yourship" ) 5 )
   ( send-message
      "yourship"
      "High"
      "message"
   )
   ( self-destruct "yourship" )
)
+Name: boom
+Repeat Count: 1
+Interval: 1
+Team: 0



Something along those lines would work. Hits left < 5 the message is played and then self destructs. He won't always say anything, however, if his hits left is taken down from a value higher than 5 to 0 in one shot.
Title: Dying ships and messages
Post by: ShadowWolf_IH on July 22, 2004, 07:58:15 pm
no.  just put # infront of the wingman's name as to who it is sent from.  This is done to send messages from people who aren't "in mission" like command....or dead wingmates.  

when
>       has been destroyed delay
>               -0
>               -Alpha 2
>       send message
>               -#Alpha 2
>               -high
>               - I'm haunting you for getting me killed you idiot.  (or whatever you name the messages)

another useful tip along these same lines can be used to have a ship exit the area then come back in.  we will call the ship GTD Monkeyflop.

Place two ships out there, both Orions (Orion just in this example), name one of them GTD Monkeyflop, and the other one GTD ëMonkeyflop.  Fred will recognize the nonstandard character, so you can see it in the name in the ships list.  However fs2 will not recognize it.  Both names will appear identical.  this is also useful if you want to simulate successive waves beyond the number of waves that you have listed for a given wing.  ie...when Cancer is destroyed, ôCancer arrives.  Generally if you need more than three of the same thing in a mission call it a design problem, as this does add alot of fred work if you use it alot.  

Anyway.....hope that solves it for you.
Title: Dying ships and messages
Post by: Target on July 22, 2004, 08:15:30 pm
Good stuff Shadow. That's much better.
Title: Re: Dying ships and messages
Post by: karajorma on July 23, 2004, 06:42:16 am
Quote
Originally posted by diamondgeezer
Yo. So I've disabled the built in messages, right? I don't want them sounding mis-matched with my own voice files, see? Anyway, I want to have my pilots scream or yell or whatever when they die... currently the SEXPs are set to fire when the fighter or bomber reaches 0% health, but it doesn't seem to be working. Having them fire at 1% might work, but I just hate to leave the possibility of a pilot screaming his death rattle, then clinging on at bare minimum health... any ideas on how to trigger the messages?


If you're doing this for more than one pilot or more than one mission it might be worth playing with the personas.

Does mean a lot more work though as you'll need text/samples (even if only empty ones) for all the stuff your pilots could say.
Title: Dying ships and messages
Post by: TopAce on July 23, 2004, 06:49:45 am
Do you want your wingmen to scream? Wouldn't a 'training message' be enough, which says(writes :p): Alpha 2 has been destroyed! ?
Title: Dying ships and messages
Post by: karajorma on July 23, 2004, 07:48:16 am
Of course they should scream. A cold impersonal message isn't anywhere near as chilling.
Title: Dying ships and messages
Post by: TopAce on July 23, 2004, 07:57:29 am
Dying wingmen screaming rather annoys me. I would prefer a text message to notify me. Like in the X-wing series.

Of course, that's only me.
Title: Dying ships and messages
Post by: karajorma on July 23, 2004, 07:59:39 am
You're weird though :D You get bothered by stuff no one else cares about :)
Title: Dying ships and messages
Post by: TopAce on July 23, 2004, 08:02:24 am
Actually, not the screaming itself annoys me. When the 'noooo!' comes right after they start the 'Hull integrity failing, get me out of here command!'. So all you can hear is :'hu .... noooooo!'. It makes me believe my wingmen do not evade at all. It is just depressing that in one moment they live in 90% hull and in the text they scream.
Title: Dying ships and messages
Post by: karajorma on July 23, 2004, 10:02:28 am
Maybe you should try asking the shivans to stop shooting him for a bit so that he can finish his sentence :D
Title: Dying ships and messages
Post by: an0n on July 23, 2004, 10:46:18 am
Why not just edit the messages.tbl and replace the data with your own?

You could try and find an archive of the old VBB better-deaths thread and include such lovely things as:
Title: Dying ships and messages
Post by: diamondgeezer on July 23, 2004, 02:29:26 pm
Quote
Originally posted by ShadowWolf_IH
no.  just put # infront of the wingman's name as to who it is sent from.  This is done to send messages from people who aren't "in mission" like command....or dead wingmates.  

Genius. I already do this for ships that have departed but are still in comm range. Why didn't I think of this for dead guys... *smacks head*

Oh, and the reason I didn't alter the message tables and whatnot is that I don't want any more mods than the voice files
Title: Dying ships and messages
Post by: magatsu1 on July 23, 2004, 05:17:52 pm
I always thought the "help me" messages needed tweaking. You know when they go

"This create's gonna /WAAAAAAAAA!!!!"

do you get points for your wingmen making it through a mission by the way?
Title: Dying ships and messages
Post by: ShadowWolf_IH on July 23, 2004, 07:00:52 pm
no, but if you call in reinforcements it is a deduction of points.