Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: karajorma on March 12, 2007, 07:48:01 am

Title: So it's not just me.
Post 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...

Quote
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

Quote
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:
Title: Re: So it's not just me.
Post by: IPAndrews on March 12, 2007, 08:07:19 am
Good spot.  :D
Title: Re: So it's not just me.
Post by: NGTM-1R on March 12, 2007, 03:47:29 pm
I think I posted about this once, long ago. :p
Title: Re: So it's not just me.
Post by: Mobius on March 12, 2007, 04:25:04 pm
Interesting.... he was pissed off and created another briefing stage...lol
Title: Re: So it's not just me.
Post by: Goober5000 on March 12, 2007, 06:39:39 pm
That's why I added $semicolon. ;)
Title: Re: So it's not just me.
Post by: karajorma on March 13, 2007, 02:12:01 am
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. :)
Title: Re: So it's not just me.
Post by: diceman111 on March 17, 2007, 02:02:52 pm
You know this explains why text dont always appear in the briefing section when I FRED   :P ..............
Title: Re: So it's not just me.
Post by: Bobboau on March 19, 2007, 05:21:43 am
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.
Title: Re: So it's not just me.
Post by: Goober5000 on March 19, 2007, 09:02:11 pm
That's not a bad idea.  Mantis it.
Title: Re: So it's not just me.
Post by: TopAce on April 24, 2007, 03:00:04 pm
Would it be possible to add double quotation marks? I find it pretty bad that only siingle quotation marks can be used.
Title: Re: So it's not just me.
Post by: Goober5000 on April 24, 2007, 03:44:59 pm
That's why I added $quote. ;)