Hey guys. I'm wondering if anyone can help me with this or point me in the right direction.
I have a test map that I'm making and I'm able to get the map in-game and run around etc... However, when I try to cap a flag the entire game crashes.
I pulled this error log after I tried capping a flag:
****** test, gpm_cq, 64 - 2017-01-14 21:14:24 (wall time: 91.4365310669) ******
[91.4365310669] perMapData::warn: Error executing test's mapdata.py:
[Errno 2] No such file or directory: 'mods/fh2\\levels\\test\\mapdata.py'
Traceback (most recent call last):
File "python/game/perMapData.py", line 37, in getMapData
IOError: [Errno 2] No such file or directory: 'mods/fh2\\levels\\test\\mapdata.py'
[91.4365310669] gameplayPlugin::warn: exception in plugin.bf2_init <game.plugins.limitKit.limitKitNCO object at 0x127818F0>:
Couldn't find NCO kit info for map test. Update NCOrifleData.py or provide custom map info via mapdata.py.
Traceback (most recent call last):
File "python/game/gameplayPlugin.py", line 325, in bf2_init
File "python/game/plugins/limitKit.py", line 676, in bf2_init
Exception: Couldn't find NCO kit info for map test. Update NCOrifleData.py or provide custom map info via mapdata.py.
****** test, gpm_cq, 64 - 2017-01-14 21:14:24 (wall time: 91.4365310669) ******
[91.4365310669] perMapData::warn: Error executing test's mapdata.py:
[Errno 2] No such file or directory: 'mods/fh2\\levels\\test\\mapdata.py'
Traceback (most recent call last):
File "python/game/perMapData.py", line 37, in getMapData
IOError: [Errno 2] No such file or directory: 'mods/fh2\\levels\\test\\mapdata.py'
[91.4365310669] gameplayPlugin::warn: exception in plugin.bf2_init <game.plugins.limitKit.limitKitNCO object at 0x56689AF0>:
Couldn't find NCO kit info for map test. Update NCOrifleData.py or provide custom map info via mapdata.py.
Traceback (most recent call last):
File "python/game/gameplayPlugin.py", line 325, in bf2_init
File "python/game/plugins/limitKit.py", line 676, in bf2_init
Exception: Couldn't find NCO kit info for map test. Update NCOrifleData.py or provide custom map info via mapdata.py.
Is something in the init.con file pointing to a mapdata.py that doesn't exist?
Any help about what I need would be much appreciated.
EDIT:
Quick update. I have 2 separate bf2 folders. Battlefield 2 (for regular FH2) and then Battlefield 2_copy (for all the beta stuff.) When I put my map in the FH2 Beta (Battlefield 2_copy folder), it crashes when I try to cap flags. When I put it in regular FH2 (Battlefield 2 folder) I can cap flags just fine. However, when I try to 'call in artillery' it still crashes the entire game.