Author Topic: Briefings  (Read 1978 times)

0 Members and 1 Guest are viewing this topic.

Offline Teta

  • 22
For some reason, when i type a briefing, then save, 3/4 of each slide's text delete's it's self, anyone got any idea why this is happening, its starting to seriously stress me out

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
;     <------------------

I'll bet you're using a semicolon in the briefing just before the disappearing text. If you have to have a semicolon simply type $semicolon and the game should replace it automatically when running the mission.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline NGTM-1R

  • I reject your reality and substitute my own
  • 213
  • Syndral Active. 0410.
FRED has also been known to get upset at certain other things, like when I tried to format a CB so it read like actual message traffic...
"Load sabot. Target Zaku, direct front!"

A Feddie Story

 

Offline Snail

  • SC 5
  • 214
  • Posts: ☂
;     <------------------

I'll bet you're using a semicolon in the briefing just before the disappearing text. If you have to have a semicolon simply type $semicolon and the game should replace it automatically when running the mission.
Is this an SCP feature?
« Last Edit: August 13, 2008, 09:42:26 am by Snail »

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Yes.  If it wasn't there wouldn't be so many screwed up messages in retail (only visible in a text editor).
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
It should warn over this kind of thing...probably take awhile to sort it out though.
-C

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
It's earlier in the morning than my brain usually starts working but a glance at the code makes it look like all the message text boxes pass through management.cpp string_copy()

If my sleep addled brain isn't screwing me over I might be able to just parse through the message looking for the ; character at that point and replace if when and if I find it.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Wouldn't that break backward compatibility with retail messages?  There are a few out there that will have double text.  V seemed to be good at using a ; then wondering where the text went and typing it back in without the ; . 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Nope. It would simply parse whatever was in the message box in FRED. Since :v: missions with the bug only load up to the semicolon it wouldn't do anything to them at all.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Ah I was thinking you were modifying it as it was loading.  Guess my brain wasn't awake yet either. (checks for open beer, nope not awake yet)

Are you going to implement this for all text in FRED? Briefings, Command briefings, debriefings, messages, mission specs, mission description, etc? 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Whenever I get around to this I should implement if for any text box that can be screwed over by simply adding a ;
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

  

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Guess the other thing to look for is any other character that can screw it up.  Haven't seen one yet but have seen messed up briefings and debriefings that don't involve a ; .  Don't know if something caused it or just leftover junk from a crash. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras