I think it really just has something to do on how the game searches for ini files.
It only seems logical that all objects go under Data/INI/Objects.
And everything else just around Data/INI. Mixing Objects and non-objects is probably a bad idea since the game will expect certain data types depending on where they are placed in the directory.
Also try putting OCL in ParticleSystem.ini, I think the game will crash since it expects everything in ParticleSystem.ini to be ParticleSystem. This is all speculation though(I'll come back to you once I've tested it)
EDIT: Have tested it.
This is what happens if you put an OCL in a ParticleSystem
Show Spoiler
Release Crash at Mon Jul 11 10:55:07 2016
; Reason Error parsing INI file 'Data\INI\ParticleSystem.ini' (Line: 'ObjectCreationList SUPERWEAPON_ArtilleryBarrage4 ')
Last error:
Exception is access violation
WinMain at 4016e0
Error code: EXCEPTION_ACCESS_VIOLATION
Description: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Access address:00000008 was read from.
Stack Dump:
(-1) : 0x004D3750
(-1) : 0x004D1234
(-1) : 0x00411BCB
(-1) : 0x008D7D7C
(-1) : 0x743538F4
(-1) : 0x77485DE3
(-1) : 0x77485DAE
Details:
Register dump...
Eip:004D3750 Esp:001988F4 Ebp:00198D84
Eax:00198D78 Ebx:00198DA0 Ecx:00000008
Edx:00000000 Esi:00000008 Edi:0019894C
EFlags:00210202
CS:0023 SS:002b DS:002b ES:002b FS:0053 GS:002b
EIP bytes dump...
Bytes at CS:EIP (004D3750) : 8B 01 8B 48 04 85 C9 74 1A 8B 54 24 04 8B 12 90 39 51 10 7C 07 8B C1 8B 49 08 EB 03 8B 49 0C 85
Current stack:
It crashes at the splash screen.
Now putting the OCL under Data/INI/Objects will not crash the game by any means BUT if you run Worldbuilder that uses these you'd get an Assertion Failure

This means, the game cannot use it since it cannot find it.
(Even if they try it and it fails that's still not proof it actually won't work just that they couldn't get it to work.)
These are hard-coded things. You might as well be making your own game at that point.
Edited by user
9 years ago |
Reason: Not specified