Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Marcov on May 20, 2011, 08:28:53 am

Title: Long delay between committing from Command Briefing and Briefing
Post by: Marcov on May 20, 2011, 08:28:53 am
Okay, so I have this Command Briefing. After reading all the stages, I press "Commit".

Then, it takes a LONG pause (approx. 1 minute) before it actually gets to the Briefing. Now, I'm guessing it's due to the fact that the Briefing contains 15 stages, but actually, 10 of them contain no text to demonstrate a kind of pause.

How do I shorten or get rid of this very long delay?
Title: Re: Long delay between committing from Command Briefing and Briefing
Post by: The E on May 20, 2011, 08:30:49 am
Run the debug exe, load the mission, go through the CB/B stages, and post the log. Maybe that'll show us what's happening.
Title: Re: Long delay between committing from Command Briefing and Briefing
Post by: Marcov on May 20, 2011, 10:09:39 am
Note:

I actually edited the ships.tbl and weapons.tbl in the mediavps_3612 folder. Nothing's wrong by running that without debug mode. An error comes up in debug mode, but I'm not sure if it does crash.

Anyway, it happened this way; I deleted all the .tbls in the table folder in the mediavps_3612 and pasted them to a mod folder of my own, entitled "mediavps_3612 (custom)". They're located in C:\Games\Freespace 2\mediavps_3612 (custom)\data\tables now.

So I ran the debug for that mod folder, same error message comes up. I press "No" and then it crashes. In my opinion, it should work fine if it weren't run on debug mode, well maybe it's just because of my own mistake in making a mod folder, or whatever.

The log is posted.

[attachment deleted by ninja]
Title: Re: Long delay between committing from Command Briefing and Briefing
Post by: The E on May 20, 2011, 10:15:40 am
Code: [Select]
weapons.tbl(line 701:Warning: Error parsing XSTR() tag XSTR(
"After half a decade of research on Shivan weaponry after the Capella Incident, the Dr. Walgrove Dore, one of the most brilliant minds in the history of the GTVA, was able to design a devastating primary weapon

To correct this, go to your altered weapons.tbl (specifically, line 701), and make sure that the text entry there is following the XSTR("Some Text", -1) pattern.
Title: Re: Long delay between committing from Command Briefing and Briefing
Post by: Marcov on May 20, 2011, 11:14:43 am
Err...it's there indeed. :wtf:

To be exact:

Quote from: modified ships.tbl
XSTR(
"After half a decade of research on Shivan weaponry after the Capella Incident, the Dr. Walgrove Dore, one of the most brilliant minds in the history of the GTVA, was able to design a devastating primary weapon; the Super-Kayser. The SuperKayser has nearly the same capabilities of the original, but it requires a massively less power output to fire and can shot at 20 times a second. It also has an increased velocity and a significantly advanced firing range, rivalling that even of the mighty anti-hull Maxim gun.", -1)
Title: Re: Long delay between committing from Command Briefing and Briefing
Post by: headdie on May 20, 2011, 11:17:37 am
try having the XSTR( on the same line as the start of the body text
Title: Re: Long delay between committing from Command Briefing and Briefing
Post by: Snail on May 20, 2011, 11:18:09 am
Or remove the semicolon;
Title: Re: Long delay between committing from Command Briefing and Briefing
Post by: The E on May 20, 2011, 11:20:40 am
Removing the semicolon is what you need to do.
Title: Re: Long delay between committing from Command Briefing and Briefing
Post by: Marcov on May 21, 2011, 11:17:17 pm
Okay, so I removed it.

Wait, firstly, I want to know why now, this just keeps on popping up;

(http://i55.tinypic.com/30u5zmd.jpg)

Also, my Custom Mod folder has a mod.ini that has nearly exactly the same contents as the original mediavps_3612 folder, but there isn't any screen in the Launcher. The screen in mod.ini is the same as mediavps_3612's mod.ini. Why?

So I removed other semicolons in ships.tbl, but there's yet another error message which I pressed "Yes" and so the game predictably crashed again.

Log is here.



[attachment deleted by ninja]
Title: Re: Long delay between committing from Command Briefing and Briefing
Post by: The E on May 22, 2011, 03:16:43 am
Code: [Select]
ships.tbl(line 9057:Warning: Missing quotation marks in string list.
WARNING: "ships.tbl(line 9057: Warning: Missing quotation marks in string list." at parselo.cpp:260

This looks like a clear and understandable warning to me.
Title: Re: Long delay between committing from Command Briefing and Briefing
Post by: Marcov on May 22, 2011, 09:59:47 pm
?
Title: Re: Long delay between committing from Command Briefing and Briefing
Post by: headdie on May 23, 2011, 02:30:21 am
Marcov, literally in line 9057 there are " marks missing, I am guessing it is either in the weapons list or flags list for the effected ship