The Fake Console and ReadDataFile: how much can you load?
Posted: Thu Mar 31, 2016 2:23 pm
I'm trying to find out how much (of anything) you can load at once with a single command in-game.
Typing this:
into the code console - on a map with one class per team and nothing else - crashes the game with this error:
So what's the limit?
Typing this:
Code: Select all
ReadDataFile("SIDE\\rep.lvl",
"rep_inf_ep2_rifleman",
"rep_inf_ep2_rocketeer",
"rep_inf_ep2_engineer",
"rep_inf_ep2_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep2_jettrooper",
"rep_hover_fightertank",
"rep_hero_macewindu")Code: Select all
Message Severity: 3
C:\Battlefront2\main\RedEngineFL\Memory\RedMemory.cpp(561)
attempted to allocate from invalid heap -1
Message Severity: 3
C:\Battlefront2\main\RedEngineFL\Memory\RedMemory.cpp(538)
Allocating 50444 bytes failed - no free blocks left in Heap -1 ()