Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: General Battuta on May 27, 2010, 10:34:33 am

Title: Feature request: flag to enable all messages.tbl use
Post by: General Battuta on May 27, 2010, 10:34:33 am
Could we have a table flag to allow wingmen to use their persona responses for 'engage enemy'?

I'll check around to see which others aren't used either.
Title: Re: Feature request: flag to enable all messages.tbl use
Post by: Goober5000 on May 27, 2010, 12:15:53 pm
"Engaging enemy" is currently used when you order them to engage enemy but there are no enemies.  If there are enemies, "Yes sir" is used instead.
Title: Re: Feature request: flag to enable all messages.tbl use
Post by: General Battuta on May 27, 2010, 12:17:29 pm
"Engaging enemy" is currently used when you order them to engage enemy but there are no enemies.  If there are enemies, "Yes sir" is used instead.

Hrm. Could we change that (presumably via flag or some other option) to this:

If enemies are present, use 'engaging enemy' response

If no enemies present, use 'yes'

So, basically, reverse it?

The 'yes' response is used for a lot of things and I'd like to get more diversity in custom personas. Good lines are being wasted!
Title: Re: Feature request: flag to enable all messages.tbl use
Post by: karajorma on May 27, 2010, 09:29:32 pm
"Engaging enemy" is currently used when you order them to engage enemy but there are no enemies.  If there are enemies, "Yes sir" is used instead.

I tend to agree with Battuta that that is the wrong way round. While we could add another built-in type fairly easily I'm tempted to simply switch them round and see if that screws anyone over.
Title: Re: Feature request: flag to enable all messages.tbl use
Post by: General Battuta on May 27, 2010, 09:30:32 pm
"Engaging enemy" is currently used when you order them to engage enemy but there are no enemies.  If there are enemies, "Yes sir" is used instead.

I tend to agree with Battuta that that is the wrong way round. While we could add another built-in type fairly easily I'm tempted to simply switch them round and see if that screws anyone over.

Or at least use 'engaging enemy' for both.

'Yes' is incredibly boring.

As I recall, there was at least one other option where 'yes' was used instead of a more specific reply.
Title: Re: Feature request: flag to enable all messages.tbl use
Post by: Goober5000 on May 27, 2010, 11:10:08 pm
I think it would be fine to switch them; there doesn't seem to be a problem with the FS1 or FS2 personas anyway.

But someone should double-check the source code to make sure I didn't miss a critical aspect, as I made my statement based on playtesting experience, not by examining the code logic. :)
Title: Re: Feature request: flag to enable all messages.tbl use
Post by: Aardwolf on May 27, 2010, 11:25:53 pm
Heh... I was wondering why I never heard some of those in-game.

It really doesn't make much sense that they'd say "engaging enemy" when there aren't any enemies.
Title: Re: Feature request: flag to enable all messages.tbl use
Post by: karajorma on May 27, 2010, 11:46:29 pm
I'll check it out myself then.

EDIT : The code has this comment above it.

// if no enemies present, use the affirmative, instead of engaging enemies message

So it's obvious V meant it to be the other way round. I'll swap it over.
Title: Re: Feature request: flag to enable all messages.tbl use
Post by: ssmit132 on June 11, 2010, 04:08:48 am
As I recall, there was at least one other option where 'yes' was used instead of a more specific reply.
I believe what you're refering to is 'ignore target'. That uses 'yes', but there are specific messages specified in the table.