Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Blitzerland on April 17, 2005, 03:32:13 pm
-
Yeah, I know, it's been increased, but by how much ?
Search-button, you have failed me! What's the current sexp limit?
-
3000 SEXP nodes. Up from 1500 originally.
Could be wrong though I'm going on memory :)
-
Your information is 15 months out of date. :p
#define MAX_SEXP_NODES 4000 // Reduced from 2000 to 1200 by MK on 4/1/98.
// Most used nodes is 698 in sm1-10a. Sandeep thinks that's the most complex mission.
// AL 2-4-98: upped to 1600, btm03 ran out of sexps, since campaign took a bunch
// DA 12/15 bumped up to 2000 - Dan ran out
// DaveB 9/02/99 bumped to 2200
// Goober5000 01/20/2004 bumped to 3000
// WMCoolmon 06/15/2004 bumped to 3500
// Goober5000 04/14/2005 bumped to 4000 for WCS
-
Should know better than to trust my memory. It keeps losing my things and getting me in trouble with my girlfriend :D
-
Originally posted by karajorma
Should know better than to trust my memory. It keeps losing my things and getting me in trouble with my girlfriend :D
:lol: :lol: :lol:
:p
-
Well, it's been updated again. It turns out that bumping the sexp nodes had no effect because FRED was using a separate value - 1050. :wtf: So I've reduced the sexp nodes back to 3000 but defined the fred value as 2/3rds of the max sexp nodes value - in this case, 2000. So things should work better now. :)
-
huh? :wtf:
-
:lol: Okay...
1) FRED has its own sexp limit of 1050. This applies only to the event editor.
2) Bumping MAX_SEXP_NODES affected only arrival and departure cues and goals, not events. You were still limited to 1050 event nodes.
3) I redefined the event node limit to be 2/3rds of the sexp node limit. This lets you use 2/3rds of MAX_SEXP_NODES for the event editor and the remaining 1/3rd for goals, arrival cues, etc.
4) Since the previous bumps had no effect, I reduced MAX_SEXP_NODES back to 3000 so the limit-bumping could start over properly.
-
i know, its still odd that FRED used a different value entirely. did you just do something like
#define MAX_EVENT_EDITOR_SEXP_NODES MAX_SEXP_NODES * 2 / 3
-
Don't laugh at me, but somehow I had the feeling it was something like that :D
So, let the fredding finally begin ;7 (and thanks again Goober for your effort :yes: )
Any build-links for us fred-junkies ?
-
Phreak: Yeah, that's what I did.
Starman: Not yet, but one will probably appear shortly.