General > User modifications
MAX_OBJDEFS
Neonin:
While adding new things to the game I appear to have hit a hard-coded item number limit, as the last item I added causes my loading screen to go black and the log to throw up this error:
--- Quote ---Com_ParseItem: MAX_OBJDEFS exceeded
--- End quote ---
Is this constant something that could simply be upped in the official code to give us modders more room to play with, or is it a more complex issue than just bumping up the number?
geever:
--- Quote from: Neonin on July 07, 2012, 01:36:12 am ---While adding new things to the game I appear to have hit a hard-coded item number limit, as the last item I added causes my loading screen to go black and the log to throw up this error:
Is this constant something that could simply be upped in the official code to give us modders more room to play with, or is it a more complex issue than just bumping up the number?
--- End quote ---
It needs recompiling the game from source, so no. :(
-geever
H-Hour:
I think he's asking if the number could be increased in the official game so that a modder has more room to work with, not whether it's scriptable.
Mattn will have to weigh in on whether the number can be increased.
Mattn:
it can be increased - but to be honest i would like to see a more dynamic approach. otherwise for non-modders we might just waste a lot of memory.
Neonin:
Well that's probably beyond me, I haven't tried delving into the code and I have no idea how much extra memory is used per item.
I shall remove the two extra items I added last night so I can play the game then, I got everything in I wanted to (for now) except for a few extra base defence weapons so it'll tide me over until a solution is forthcoming, even if it's "We don't want you putting that much extra stuff in the game, get stuffed modder!" :D
Navigation
[0] Message Index
[#] Next page
Go to full version