Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Test Builds => Topic started by: karajorma on April 04, 2006, 02:41:19 pm

Title: Oi! Snipes! Shut it!
Post by: karajorma on April 04, 2006, 02:41:19 pm
As some of you may have guessed from the title I've taken the shut up command code and fixed it so that you can silence pilots too. It works like this.

You have two new SEXPs. Enable/Disable-Builtin-Messages.

If supplied with the argument #Command they will affect Command. If given a ship name that ship will be silenced or given radio free orders. (Don't use < Any Wingman > it doesn't work yet. ). Both SEXPs should work on ships not actually in the mission yet.

If you use the SEXP with no arguments it will have the same effect as ticking or unticking the no-builtin-messages box in FRED. Note that this won't cancel any individual silencing orders you've given out. If there is some demand to swap to that sort of behaviour I'll take a look and see if I can implement it.

Anyone who wants to try it out can find it here (http://homepage.ntlworld.com/karajorma/Misc-Downloads/RadioSilenceBuild.rar). It's based on CVS from yesterday so WMC's thruster stuff is in but his convergence stuff isn't. Builds of FRED are included.


I've included 2 versions of Lions Den in order to sweeten the pot. The Chatty version silences everyone but Command. I need people to test the SEXP and find out if I missed any messages. The second version is more interesting. Command is silenced, Snipes will only send scripted comments but Xinny and Zero will now warn you about new enemy wings etc. Basically it's the way the mission should have been :D

EDIT : Just noticed that pilots still acknowledge being given orders. I'll have to change that.
Title: Re: Oi! Snipes! Shut it!
Post by: Goober5000 on April 04, 2006, 03:42:09 pm
Cool. :)
Title: Re: Oi! Snipes! Shut it!
Post by: karajorma on April 04, 2006, 03:49:38 pm
Finally got me out of Sexp.cpp too :)
Title: Re: Oi! Snipes! Shut it!
Post by: Taristin on April 04, 2006, 04:10:41 pm
Fine. I'll take my business elsewhere.
Title: Re: Oi! Snipes! Shut it!
Post by: karajorma on April 04, 2006, 04:34:53 pm
When
-is-event-true-delay
--Raa gets annoyed
-enable-builtin-messages
--Raa
Title: Re: Oi! Snipes! Shut it!
Post by: karajorma on April 05, 2006, 01:01:55 pm
Found and fixed the function that acknowledges orders and fixed it. Everything is in CVS now.

Actually I suppose this thread should be in new builds :)
Title: Re: Oi! Snipes! Shut it!
Post by: Black Wolf on April 11, 2006, 02:40:55 am
[EDIT]NM - not a build issue, started a new topic.
Title: Re: Oi! Snipes! Shut it!
Post by: TrashMan on May 18, 2006, 05:26:54 am
I can finally shut up only command? Weeeeee!!!!

Say hello to behind-the-lines-cut-off-from-copmmand mission that actually work! ;D
Title: Re: Oi! Snipes! Shut it!
Post by: karajorma on May 18, 2006, 07:08:14 am
Yep. That's exactly the purpose behind it. Bear in mind that any messages sent from #Command will still work though. As will any high priority messages that are sent from a ship which the game can't find.