Author Topic: Oi! Snipes! Shut it!  (Read 4543 times)

0 Members and 1 Guest are viewing this topic.

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Oi! Snipes! Shut it!
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. 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.
« Last Edit: April 04, 2006, 02:50:01 pm by karajorma »
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline Goober5000

  • HLP Loremaster
  • Administrator
  • 214
    • Goober5000 Productions
Re: Oi! Snipes! Shut it!
Cool. :)

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Oi! Snipes! Shut it!
Finally got me out of Sexp.cpp too :)
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline Taristin

  • Snipes
  • 213
  • BlueScalie
    • Skelkwank Shipyards
Re: Oi! Snipes! Shut it!
Fine. I'll take my business elsewhere.
Freelance Modeler | Amateur Artist

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Oi! Snipes! Shut it!
When
-is-event-true-delay
--Raa gets annoyed
-enable-builtin-messages
--Raa
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Oi! Snipes! Shut it!
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 :)
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline Black Wolf

  • Twisted Infinities
  • Global Moderator
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
Re: Oi! Snipes! Shut it!
[EDIT]NM - not a build issue, started a new topic.
« Last Edit: April 11, 2006, 02:49:59 am by Black Wolf »
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • Minecraft
    • FLAMES OF WAR
Re: Oi! Snipes! Shut it!
I can finally shut up only command? Weeeeee!!!!

Say hello to behind-the-lines-cut-off-from-copmmand mission that actually work! ;D
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

  

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Oi! Snipes! Shut it!
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.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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