Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Assassin on April 20, 2002, 11:53:30 am

Title: Two questions, sorry if they're newbie-ish
Post by: Assassin on April 20, 2002, 11:53:30 am
Hey I'm having a few problems with a mod:


FRED2 always sets the mission so that I enter 138 seconds into the mission. If I set it back to 0, after I save it reverts to 138 again.

When I tell a wing to attack one of the modded ships, FRED2 crashes.

Any advice?
Title: Re: Two questions, sorry if they're newbie-ish
Post by: vadar_1 on April 20, 2002, 12:10:46 pm
Quote
Originally posted by Assassin
Hey I'm having a few problems with a mod:


FRED2 always sets the mission so that I enter 138 seconds into the mission. If I set it back to 0, after I save it reverts to 138 again.

When I tell a wing to attack one of the modded ships, FRED2 crashes.

Any advice?


Im having those exact same problems...

The only way I can fix the first one is close fred, reopen it, and hope the problem goes away.

The second one can be done by giving the orders to the ships of the wing, instead of the wing itself, or else use add-goal sexp event instead of initial orders.

Im also having special explosion problems, where it won't stick... I think I loaded fs2 up with too many mods.... time for a fresh reinstall...
Title: Re: Re: Two questions, sorry if they're newbie-ish
Post by: Ulundel on April 20, 2002, 12:30:02 pm
Quote
Originally posted by vadar_1

I think I loaded fs2 up with too many mods.... time for a fresh reinstall...


I'll just make a different data folder for the mods. :yes: :nod:
Title: Two questions, sorry if they're newbie-ish
Post by: Silver_Scythe on April 20, 2002, 12:31:02 pm
make your ships table smaller (vadar_1) by using the replace function in Wordpad to replace 2 spaces with one, then replace tabs with 1 space and do both over and over untill your ships table wont get smaller. This reduces the size by about 100 kb so FS2 wont crash if you have to many mods right now. :D
Title: Two questions, sorry if they're newbie-ish
Post by: CP5670 on April 20, 2002, 12:50:55 pm
Regarding the mission entry delay thing, try setting it to 1 instead. Somehow FRED2 does not seem to like it if it is entered as 0, but 1 works fine. You can also open up the mission file through Wordpad or something and change the delay manually, but FRED2 will change it back to something else if you want to edit the mission later.

Quote

I'll just make a different data folder for the mods.  :yes::nod:


That is what I have right now; I wrote up a small program to switch between the sets of tables (a sort of "launcher"), so things works pretty well. ;)
Title: Two questions, sorry if they're newbie-ish
Post by: karajorma on April 20, 2002, 01:07:51 pm
Could I get hold of that file? I`d probably need to edit it but it would be quicker than writing it from scratch :)
Title: Two questions, sorry if they're newbie-ish
Post by: vadar_1 on April 20, 2002, 01:23:57 pm
Quote
Originally posted by Silver_Scythe
make your ships table smaller (vadar_1) by using the replace function in Wordpad to replace 2 spaces with one, then replace tabs with 1 space and do both over and over untill your ships table wont get smaller. This reduces the size by about 100 kb so FS2 wont crash if you have to many mods right now. :D


hehe umm.... with over 40 new ships in my table... and only 4 :v: ships taken out... my ships table is 362kb... thats well below the maximum of 482kb :p

Thats really not the problem.... I think theres got to be a physical limit of the number of entries you can have. Im starting to have my ships at the bottom of the table become corrupt, with weird fred errors such as

Quote

Error: Can't open file <ÿÿÿÿ>
File:C:\projects\freespace2\code\Model\ModelRead.cpp
Line: 1198

Call stack:
------------------------------------------------------------------
------------------------------------------------------------------


For some reason thats the SSG Belial... at the bottom of the list, even thou its not the last ship entry...
Title: Two questions, sorry if they're newbie-ish
Post by: karajorma on April 20, 2002, 01:35:47 pm
Quote
Originally posted by vadar_1
hehe umm.... with over 40 new ships in my table... and only 4 :v: ships taken out... my ships table is 362kb... thats well below the maximum of 482kb :p


Hate to do this to you but the maximum is around 380k not 480k. You`ve got ~18k left
Title: Two questions, sorry if they're newbie-ish
Post by: vadar_1 on April 20, 2002, 01:51:54 pm
right right... either way, its not the size.
Title: Two questions, sorry if they're newbie-ish
Post by: karajorma on April 20, 2002, 02:35:33 pm
Even if there isn`t a limit on the number I`d advise against adding too many ships anyway. I believe the barrack crashing problem that some people had noticed was due to having kills of tonnes of new kinds of ships and then working with a smaller table.
Title: Two questions, sorry if they're newbie-ish
Post by: Silver_Scythe on April 20, 2002, 02:57:33 pm
Quote
hehe umm.... with over 40 new ships in my table... and only 4  ships taken out... my ships table is 362kb... thats well below the maximum of 482kb  


The max is around 380 kb I would advise cleaning out your table
Title: Two questions, sorry if they're newbie-ish
Post by: Alikchi on April 20, 2002, 04:27:55 pm
Solution to your first problem ISSS...

Edit the "team loadout" mission delay in NOTEPAD.
Title: Two questions, sorry if they're newbie-ish
Post by: vadar_1 on April 21, 2002, 12:14:55 am
Quote
Originally posted by Alikchi
Solution to your first problem ISSS...

Edit the "team loadout" mission delay in NOTEPAD.


Funny thing is that i tried that a while ago... and I did a notepad search for the word "138". It couldn't find it...
Title: Two questions, sorry if they're newbie-ish
Post by: Sesquipedalian on April 21, 2002, 12:48:43 am
It is right near the start of the file.  Look for a line like this:

+Player Entry Delay:
138.000000

and change it to:

+Player Entry Delay:
2.000000
Title: Two questions, sorry if they're newbie-ish
Post by: Assassin on April 21, 2002, 04:16:50 am
Ah yes, good old Notepad. I was wondering if there was a prevention rather than a cure. Having to edit notepad after every time I save in FRED2 is a bit of a pain.

Thanks anyways :D
Title: Two questions, sorry if they're newbie-ish
Post by: CP5670 on April 21, 2002, 04:27:03 am
That works if you have finalized the mission and don't intend to change it any further. As I said earlier:

Quote
You can also open up the mission file through Wordpad or something and change the delay manually, but FRED2 will change it back to something else if you want to edit the mission later.