Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: FUBAR-BDHR on December 23, 2008, 02:33:04 am

Title: Event size limit
Post by: FUBAR-BDHR on December 23, 2008, 02:33:04 am
What's the size limit of an event.  Last 2 missions I've worked on I've run into it but can't quite figure it out.  It's not a fun thing to hit either since it just plain crashes on save or load.  Now with things like when-argument it's easier then ever to hit it too.  Couple of nice lists of arguments and boom.
Title: Re: Event size limit
Post by: karajorma on December 23, 2008, 02:44:31 am
I didn't think there was a limit to the size of an event. It should be INT_MAX.

If you want to Mantis an FS2 mission that does it I can probably give you a better answer (Or TBP at a push but that's harder cause I have to plough through all the debug errors to get there :( )
Title: Re: Event size limit
Post by: FUBAR-BDHR on December 23, 2008, 12:03:44 pm
I should be able to convert Vid's latest one to FS2 easy enough.  Don't think it will hurt if all the ships change themselves to Ulysses. 

I haven't been able to narrow down where the cut of is though.  It seems to not be an exact number or is base on a size in characters not lines.  For example 2 identical events with different ship names one I got about 200 in in-sequence arguments the other I had to cut back to 175.  The second one had a longer ship name. 

It's Mantised:  http://scp.indiegames.us/mantis/view.php?id=1852


You would think I could go one night of FREDing without running into 3 bugs.