Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Lucika on April 03, 2011, 07:35:15 am

Title: Message types and wingman persona limits
Post by: Lucika on April 03, 2011, 07:35:15 am
1) Is there a limit of maximum wigman personas? I'd assume 8...

2) I was looking at Messages.tbl and I am not entirely sure about the meaning of a few messages.

          o "Praise" - I assume this is the "congrats you've got a kill" one?
          o "No" - ???
          o "Oops 1" * (Only Command has code support in Retail) - ???
          o "Permission" * - ???
          o "Stray" * - ???
          o "yes" - Just a regular "yes sir" thing or does it have a separate purpose?
          o "On way" - what is the difference between this and "Rearm on Way"?
          o "Rearm warping in" - does anyone say this apart from Command?
          o "No Target" - ???
          o "Docking Start" * - ???
          o "All Alone" - ???
          o "Stray Warning" - ???
          o "Stray Warning Final" - ???
            * "Praise Self" - Yay I got a kill?
            * "High Praise" - ???


Also, is it possible to completely ignore some of them if the campaign won't ever be using them (like the AWACS ones)?
Title: Re: Message types and wingman persona limits
Post by: TopAce on April 03, 2011, 10:04:53 am
"Praise" --> Yes, what you said
"Yes" --> Yes, it's the regular "order acknowledged" message
"No" --> It's said when you order a friendly to attack a friendly (Target friendly --> Shift-A --> 3)
"Stray" --> There's an in-built warning that's sent when you wander very far away from the action.
"No Target" --> When your target box is empty and you issue an order that requires something targeted.
"All Alone" --> When only Alpha 1 is left and there are no reinforcements available
Title: Re: Message types and wingman persona limits
Post by: Mobius on April 03, 2011, 10:09:25 am
"Oops 1" --> Warning, you're hitting allies.
Title: Re: Message types and wingman persona limits
Post by: Droid803 on April 03, 2011, 03:04:35 pm
High Praise = you got 10 kills (or something like that)
Title: Re: Message types and wingman persona limits
Post by: karajorma on April 03, 2011, 09:57:03 pm
High praise is when you've gotten 10 kills IIRC. I've always meant to expand that into an AI_Profiles setting or something so that the mod designers can choose what triggers it.

Self praise is indeed a way for the wingman to brag about his kills.


Self and High praise are SCP additions though so they are completely optional.
Title: Re: Message types and wingman persona limits
Post by: Lucika on April 05, 2011, 06:48:31 am
I see. Thank you guys. :)

1) Is there a limit of maximum wigman personas? I'd assume 8...

Also, I am still not sure about
- Permission
- All alone: only Command sends that, right?
- Rearm warping in: only Command sends that, right?

          o "On way" - what is the difference between this and "Rearm on Way"?
Also, is it possible to completely ignore some of them if the campaign won't ever be using them (like the AWACS ones)?
Title: Re: Message types and wingman persona limits
Post by: Goober5000 on April 05, 2011, 11:40:14 am
I'm pretty sure the permission ones are never used.  Also, the AWACS distress calls won't be automatically sent unless you're playing the main FS2 campaign.
Title: Re: Message types and wingman persona limits
Post by: Trivial Psychic on April 05, 2011, 09:41:21 pm
Another "praise" class message I could see someone making use of, could be a you-got-credit-for-a-cap-ship-kill message, and to make it even more important, have it come from command.  That said, something so rare in mission could just as easily be event-scripted in by the mission designer.
Title: Re: Message types and wingman persona limits
Post by: Goober5000 on April 05, 2011, 10:09:40 pm
Yup, this can already easily be done with num-kills-by-ship-type.
Title: Re: Message types and wingman persona limits
Post by: karajorma on April 06, 2011, 03:15:42 am
It would be much better to have those scripted anyway.
Title: Re: Message types and wingman persona limits
Post by: Goober5000 on April 06, 2011, 09:03:59 pm
As in Lua scripting?  Why?
Title: Re: Message types and wingman persona limits
Post by: karajorma on April 06, 2011, 09:07:47 pm
Wrong choice of words.

I meant using that SEXP to make it part of the mission script as opposed to a generic message which can't mention the ship by name.
Title: Re: Message types and wingman persona limits
Post by: Goober5000 on April 06, 2011, 09:20:27 pm
Gotcha.