Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: General Battuta on August 02, 2010, 03:49:32 pm
-
War in Heaven just broke it. :( We can struggle back under 100 (though it means sacrificing some checkpoints) but a future increase would be awesome, maybe after the new pilot code?
-
Didn't Kara already make variables dynamic or is this just a pilot file limit?
-
They're definitely not dynamic.
-
Strange thought that was at least half the point of getting rid of block variables.
-
As far as I remember, it's a pilot file limit. That's why it's usually recommended to create new pilots before playing certain campaigns.
-
I found a way to maintain our checkpoints, but it'd still be lovely to have this so we can expand checkpoint capabilities and do other fun stuff.
-
The persistent variable limit is exactly the same as the regular variable limit, as you've probably figured out.
What karajorma did was to change special explosions and special hits so that they used ship-specific variables, as opposed to sexp block variables. This frees up a lot of variables in and of itself, if your mission used a lot of them.
/me waves cane
In my day we never dreamed of reaching 100 variables! Kids these days don't know how good they've got it!
-
Just someone clarify for me please; as things stand is one allowed up to 100 variables, or 100 normal variables, 100 player-persistent and 100 campaign persistent (300 in total), or 100 regular and 100 of either persistence type (200)?
-
Up to 100 variables of any type.
-
Up to 100 variables of any type.
Across the whole campaign? So if I have 90 regular variables in one mission and then 99 PPVs, will I be way over?
-
Interestingly enough, it depends. You're limited to 100 variables per mission, and any of them (or none of them) can be persistent variables. The campaign will also keep track of up to 100 persistent variables, but those will only count against your total if they're used in a mission. In other words, if you have 50 persistent variables, but one mission requires 80 regular variables, you will be okay as long as you don't use more than 20 persistent variables in that mission.
-
Now that is good to know.
-
In simple terms the 100 variables limit is the number of variables you have added in FRED.
When you make a mission you have to add all the persistent variables you're going to use to that mission anyway. :D