Author Topic: Cant seem to edit missions...?  (Read 1287 times)

0 Members and 1 Guest are viewing this topic.

Cant seem to edit missions...?
I'm trying to edit fs1 port single player missions (basically make alpha 1 invulnerable, maybe some essentials invulnerable too) and I keep running into these errors when I open these up in fred2open. I'm afraid im not quite sure what to do or what I'm doing wrong... Back in the day all i had to do was open it, change it and save it...

Quote
C:\Games\GoodOldGames\Freespace 2\fsport-cheat\data\missions\sm1-01a.fs2(line 695):
Error: Required token = [#Wings] or [$Name:], found [$Bitmap List:] .

ntdll.dll! ZwWaitForSingleObject + 21 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fred2_open_3_7_0.exe! <no symbol>
fred2_open_3_7_0.exe! <no symbol>
fred2_open_3_7_0.exe! <no symbol>

C:\Games\GoodOldGames\Freespace 2\fsport-cheat\data\missions\sm1-01a.fs2(line 696):
Error: Required token = [#Wings] or [$Name:], found [$Sun: SunBetelgeuse] .

ntdll.dll! ZwWaitForSingleObject + 21 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fred2_open_3_7_0.exe! <no symbol>
fred2_open_3_7_0.exe! <no symbol>
fred2_open_3_7_0.exe! <no symbol>

C:\Games\GoodOldGames\Freespace 2\fsport-cheat\data\missions\sm1-01a.fs2(line 697):
Error: Required token = [#Wings] or [$Name:], found [+Angles: 0.000000 0.000000 3.141590] .

ntdll.dll! ZwWaitForSingleObject + 21 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fred2_open_3_7_0.exe! <no symbol>
fred2_open_3_7_0.exe! <no symbol>
fred2_open_3_7_0.exe! <no symbol>

C:\Games\GoodOldGames\Freespace 2\fsport-cheat\data\missions\sm1-01a.fs2(line 698):
Error: Required token = [#Wings] or [$Name:], found [+Scale: 8.000000] .

ntdll.dll! ZwWaitForSingleObject + 21 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fred2_open_3_7_0.exe! <no symbol>
fred2_open_3_7_0.exe! <no symbol>
fred2_open_3_7_0.exe! <no symbol>

C:\Games\GoodOldGames\Freespace 2\fsport-cheat\data\missions\sm1-01a.fs2(line 699):
Error: Required token = [#Wings] or [$Name:], found [$Starbitmap: nebulG6-whisp] .

ntdll.dll! ZwWaitForSingleObject + 21 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fred2_open_3_7_0.exe! <no symbol>
fred2_open_3_7_0.exe! <no symbol>
fred2_open_3_7_0.exe! <no symbol>

Unable to load the file C:\Games\GoodOldGames\Freespace 2\fsport-cheat\data\missions\sm1-01a.fs2

 

Offline Solatar

  • 211
Re: Cant seem to edit missions...?
To solve your problem, there are always cheat codes :p.

For what it's worth, I've encountered the same problem (making tweaks here and there). Some missions I was able to fix by manually making all ;; FSO 3.9* background stuff default and deleting the retail compatible parts, and a few still refuse to work. I can open and edit fine (even sm1-01a, as above), but I get that string of errors after saving, and it ruins the file. Opening the file in a text editor, it appears FRED stuck a chunk of mission in the wrong spot, and it can't be opened by FRED.  His log looks like mine: background info stuffed into earlier sections of the mission file throwing errors.


« Last Edit: February 26, 2014, 12:45:21 pm by Solatar »

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Re: Cant seem to edit missions...?
FSPort missions use some crazy hax to remain compatible with retail while still using FSO features.  These are toggled using the version-specific commenting system, but FRED doesn't have very good support for it (mostly because it's only necessary for FSPort).  So although FRED_open should be able to open the missions, it won't be able to save them without messing a bunch of things up.

 
Re: Cant seem to edit missions...?
Actually, Thanks to Solatar, I've been able to achieve what I wanted. I had no idea you could open up fs2 files in notepad so I simply added "invulnerable" to the right spots and it worked beatifully (though i forgot that one freighter was supposed to blow up but it didn't break anything)

Ty :)

  

Offline Cobra

  • 212
  • Snake on a Cain
    • Skype
    • Steam
    • Twitter
Re: Cant seem to edit missions...?
My question is why do you even want to go through and make ships invulnerable through FRED :P
To consider the Earth as the only populated world in infinite space is as absurd as to assert that in an entire field of millet, only one grain will grow. - Metrodorus of Chios
I wept. Mysterious forces beyond my ken had reached into my beautiful mission and energized its pilots with inhuman bomb-firing abilities. I could only imagine the GTVA warriors giving a mighty KIAAIIIIIII shout as they worked their triggers, their biceps bulging with sinew after years of Ivan Drago-esque steroid therapy and weight training. - General Battuta