Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: karajorma on March 12, 2007, 07:48:01 am
-
I figured everyone who has ever gotten annoyed with an odd FRED problem would appreciate this one. :D
While writing missions for BtRL I had a problem in that the writing was done by someone not as used to FRED who kept using semi-colons. The problem is that if you do that in a multi line message the game truncates everything after the semi-colon and ignores it. Cause I was just cutting and pasting their text in I'd occasionally reload a mission to find half the text had mysteriously vanished.
While looking through Endgame I realised I wasn't the first person to encounter this...
XSTR("The 64th will play a fighter role in this mission. The $h NTF have a few Zeus and Medusa wings remaining, so your objective will be to engage all rebel bombers and neutralize their fighter escort. The $f Colossus has engaged the $h NTC $h Vanguard and the $h NTCv $h Congreve. We will move the $f Colossus into position as soon as this battle has been resolved.", 1263)
; only the die-hard fanatics remain. They'll fight to the death and take as many of us with them as they can. We have every confidence in your ability to get the job done. Good luck.", -1)
; only the die-hard fanatics remain. They'll fight to the death and take as many of us with them as they can. We have every confidence in your ability to get the job done. Good luck.", -1)
; only the die-hard fanatics remain. They'll fight to the death and take as many of us with them as they can. We have every confidence in your ability to get the job done. Good luck.", -1)
; only the die-hard fanatics remain. They'll fight to the death and take as many of us with them as they can. We have every confidence in your ability to get the job done. Good luck.", -1)
The really funny thing is that this is from the 2nd briefing stage. The 4th one is
XSTR("This is the endgame, pilot. Bosch's $h Neo-Terran $h Front has been crushed. Only the die-hard fanatics remain. They'll fight to the death and take as many of us with them as they can. We have every confidence in your ability to get the job done. Good luck.", 1265)
So evidentially after seeing it disappear 4 times Brad Johnson just got sick of it and stuck it in another stage. :lol:
-
Good spot. :D
-
I think I posted about this once, long ago. :p
-
Interesting.... he was pissed off and created another briefing stage...lol
-
That's why I added $semicolon. ;)
-
To be honest I just edited them out instead. :)
But yeah I did go look at the code to remind myself what other tokens existed. :)
-
You know this explains why text dont always appear in the briefing section when I FRED :P ..............
-
it might be a good idea to add some sort of text validator (or automaticaly replace ; with $semicolon) to the text box controle we use in FRED.
-
That's not a bad idea. Mantis it.
-
Would it be possible to add double quotation marks? I find it pretty bad that only siingle quotation marks can be used.
-
That's why I added $quote. ;)