Author Topic: Variables in messages?  (Read 1989 times)

0 Members and 1 Guest are viewing this topic.

Offline ZylonBane

  • The Infamous
  • 29
Variables in messages?
Did a quick search and wasn't able to find anything on this. Has there been any work done on embedding variables in messages?

Like, if you send a message--

     "There are only %%shipsleft%% Ravanas left to destroy!"

the player will see--

     "There are only 57 Ravanas left to destroy!"

or whatever. Should be a pretty simple parsing job.
ZylonBane's opinions do not represent those of the management.

 

Offline RandomTiger

  • Senior Member
  • 211
Probably not because all good missions use sound with their messages. Which would provide problems for such a system.

While I can understand the benifits of this system in other games , in freespace I find it very difficult to get any time to read messages.

It probably inst a simple parsing job either, you dont want to be doing too much string processing at run time.

 

Offline ZylonBane

  • The Infamous
  • 29
Quote
Originally posted by RandomTiger
Probably not because all good missions use sound with their messages.
Congratulations. You've just insulted practically the entire FRED community.

BTW, the cycles required for character-oriented operations are infinitesimally trivial compared to all the other stuff FS2 is doing every frame. And even if it didn't get used for ingame messages, it would still be invaluable for debugging complex events.
« Last Edit: October 27, 2002, 12:33:43 pm by 264 »
ZylonBane's opinions do not represent those of the management.

 

Offline RandomTiger

  • Senior Member
  • 211
Quote
Originally posted by ZylonBane
Congratulations. You've just insulted practically the entire FRED community.


Over-react if you have to but I stick with my comment. I prefer missions with audio messages. Its not like none of the mods are doing it TBP has got some nice stuff and other MOD always seem to be going on about voice actors.

It doesnt mean missions without it are atuomatically crap but the chances are they will be less dramatic.

Quote

BTW, the cycles required for character-oriented operations are infinitesimally trivial compared to all the other stuff FS2 is doing every frame. And even if it didn't get used for ingame messages, it would still be invaluable for debugging complex events.


As far as debug goes we can chuck what we want in fairly easily. Doesnt really need to be dynamic or anything, though that obviously would be nice.

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Not sure how useful this would be. You can just use sexps to chesk percent-ships-destroyed or whatever. And if I'm blowing up 20 freighters, I really don't want Alpha 2 to say "Only 15 more to go!" "Only 14 more to go!" "Only 13 more to go!" every two minutes.
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 

Offline Solatar

  • 211
I don't mind missions without voice, but I think you're right. You've insulted Derelict, as well as loads of other great campaigns. Derelict was awesome, but they didn't have any voices.

 

Offline RandomTiger

  • Senior Member
  • 211
Im not insulting anyone, I bet those campaigns you mentioned would get better, not worse if message sounds were added.

 

Offline Fury

  • The Curmudgeon
  • 213
I think RT is right here.

If you want variable type thing, you can use directive texts which works just fine. I don't think this would be really useful for messages, as they are meant to be exact, with voices if possible.

 

Offline Anaz

  • 210
yeah, but I don't want to have 20 sexps for the number of fighters left to destroy...
Arrr. I'm a pirate.

AotD, DatDB, TVWP, LM. Ph34r.

You WILL go to warpstorm...