Script character limit

Post » Sat Aug 27, 2011 12:18 am

The game's scripts are only allowed to be 31875 characters long at max. Is there an INI setting for this I can change, like there is for making the GECK able to load multiple masters? If not, it's not a big deal. I'll just make another script. That just seems kind of annoying. If I can change it, I'd like to do that. I checked the INI file and found nothing, but I thought it couldn't hurt to see if someone else might know something.
User avatar
Samantha Jane Adams
 
Posts: 3433
Joined: Mon Dec 04, 2006 4:00 pm

Post » Fri Aug 26, 2011 2:50 pm

It's a hard limit. Something to do with storage and such, idk really. Point is, anything over that length is not accepted. Either split it up, or use staged functions (a quest with stages that do different parts that don't need to run all the time). That'll save a ton of space right there, though you'll have to rewrite chunks to refer to the variables in your main quest script, since stages can't have their own.
User avatar
Dawn Porter
 
Posts: 3449
Joined: Sun Jun 18, 2006 11:17 am

Post » Fri Aug 26, 2011 7:35 pm

Okay, thanks. It seems like an odd number to stop at (making the limit 32766 would have taken the same number of bits). The script in question is just a DoOnce that turns its quest off after handing out items, so it's not like making another is a big deal. Again, I just wanted to know if that was really needed.

Edit: Yeah, I ended up needing to use a second script.
User avatar
Hayley Bristow
 
Posts: 3467
Joined: Tue Oct 31, 2006 12:24 am


Return to Fallout: New Vegas