I need help, map doesn't load.
<div class="IPBDescription">what the hell is my deal</div>Honestly, I have looked everywhere, searched your forums and google, but nothing comes up, (even youtube videos) I simply cannot figure out why my map hasn't loaded.
(Albeit, it's just a ready room test, I want to see if that actually loads).
This is what I get from the debug report.
Date: 08/13/12
Time: 18:14:28
--------------------------------------------------------------
Build 216
Starting Natural Selection 2
RenderDevice: AMD Radeon HD 6800 Series (8.17.10.1132)
Main Menu Initialized at Version: 216
Updating of subscribed mods is complete (not subscribed to any mods).
Connected to Steam servers
Connecting to server 127.0.0.1:27015
Client connecting (127.0.0.1)
Loading user://config/mapcycle.txt
Error: Couldn't open file 'models/marine/prototype_module/prototype_module.model'
Error: Couldn't open file 'models/marine/exosuit/exosuit_mm_view.model'
Error: Couldn't open file 'models/marine/exosuit/exosuit_cm_view.model'
Error: Couldn't open file 'models/marine/exosuit/exosuit_mm_view.animation_graph'
Error: Couldn't open file 'models/marine/exosuit/exosuit_cm_view.animation_graph'
Error: Couldn't open file 'models/marine/exosuit/exosuit_cm.model'
Error: Couldn't open file 'models/marine/exosuit/exosuit_cm.animation_graph'
Loading user://config/ServerAdmin.json
Loading user://config/BannedPlayers.json
<u><i>I'm sure this is where it breaks.</i></u>
<b>Loading 'maps/ns2_mine.level'
Script Error #1: lua/Server.lua:289: attempt to index a nil value
Call stack:
#1: lua/Server.lua:289
highestPriority = 1
Error: Sound 'alien/fade/idle' couldn't be loaded (Event not found)
Error: Sound 'alien/fade/idle' couldn't be loaded (Event not found)
Loading 'maps/ns2_mine.level'
ERROR: minimap_extent entity is missing from the level.
Error: Couldn't load 'models/marine/rifle/rifleammo.dds' (invalid format)
Error: Couldn't load 'models/marine/flamethrower/flamethrowerammo.dds' (invalid format)
Client connected (127.0.0.1)
Script Error #2: lua/Gamerules_Global.lua:36: attempt to index a nil value
Call stack:
#1: lua/Gamerules_Global.lua:36
client = ServerClient{}
</b>
And here is the map, if you want to peak at it in Spark.
<a href="http://www.mediafire.com/?p1onic5mc74ie98" target="_blank">http://www.mediafire.com/?p1onic5mc74ie98</a>
Thank you for your time to help me.
(Albeit, it's just a ready room test, I want to see if that actually loads).
This is what I get from the debug report.
Date: 08/13/12
Time: 18:14:28
--------------------------------------------------------------
Build 216
Starting Natural Selection 2
RenderDevice: AMD Radeon HD 6800 Series (8.17.10.1132)
Main Menu Initialized at Version: 216
Updating of subscribed mods is complete (not subscribed to any mods).
Connected to Steam servers
Connecting to server 127.0.0.1:27015
Client connecting (127.0.0.1)
Loading user://config/mapcycle.txt
Error: Couldn't open file 'models/marine/prototype_module/prototype_module.model'
Error: Couldn't open file 'models/marine/exosuit/exosuit_mm_view.model'
Error: Couldn't open file 'models/marine/exosuit/exosuit_cm_view.model'
Error: Couldn't open file 'models/marine/exosuit/exosuit_mm_view.animation_graph'
Error: Couldn't open file 'models/marine/exosuit/exosuit_cm_view.animation_graph'
Error: Couldn't open file 'models/marine/exosuit/exosuit_cm.model'
Error: Couldn't open file 'models/marine/exosuit/exosuit_cm.animation_graph'
Loading user://config/ServerAdmin.json
Loading user://config/BannedPlayers.json
<u><i>I'm sure this is where it breaks.</i></u>
<b>Loading 'maps/ns2_mine.level'
Script Error #1: lua/Server.lua:289: attempt to index a nil value
Call stack:
#1: lua/Server.lua:289
highestPriority = 1
Error: Sound 'alien/fade/idle' couldn't be loaded (Event not found)
Error: Sound 'alien/fade/idle' couldn't be loaded (Event not found)
Loading 'maps/ns2_mine.level'
ERROR: minimap_extent entity is missing from the level.
Error: Couldn't load 'models/marine/rifle/rifleammo.dds' (invalid format)
Error: Couldn't load 'models/marine/flamethrower/flamethrowerammo.dds' (invalid format)
Client connected (127.0.0.1)
Script Error #2: lua/Gamerules_Global.lua:36: attempt to index a nil value
Call stack:
#1: lua/Gamerules_Global.lua:36
client = ServerClient{}
</b>
And here is the map, if you want to peak at it in Spark.
<a href="http://www.mediafire.com/?p1onic5mc74ie98" target="_blank">http://www.mediafire.com/?p1onic5mc74ie98</a>
Thank you for your time to help me.
Comments
That's your problem. Add that entity and make sure it encases your whole map (not including the ready room ofc). It also needs to be a square. Once that is in you need to generate the minimap. See this thread: <a href="http://www.unknownworlds.com/ns2/forums/index.php?showtopic=119239" target="_blank">http://www.unknownworlds.com/ns2/forums/in...howtopic=119239</a> It has instructions on how to create a quick launch button in Spark Editor that will generate the minimap for you on launch.
Loading 'maps/ns2_mine.level'
Script Error #1: lua/Server.lua:289: attempt to index a nil value
Call stack:
#1: lua/Server.lua:289
highestPriority = 1
Error: Sound 'alien/fade/idle' couldn't be loaded (Event not found)
Error: Sound 'alien/fade/idle' couldn't be loaded (Event not found)
Loading 'maps/ns2_mine.level'
Error: Couldn't load 'models/marine/rifle/rifleammo.dds' (invalid format)
Error: Couldn't load 'models/marine/flamethrower/flamethrowerammo.dds' (invalid format)
Client connected (127.0.0.1)
Script Error #2: lua/Gamerules_Global.lua:36: attempt to index a nil value
Call stack:
#1: lua/Gamerules_Global.lua:36
client = ServerClient{}
What about this .bat?
I'm using it, but I'm not sure I have it configured properly, maybe that's it. I'm using it to quickly launch it.
Could you tell me how yours is configured so I could fix mine?
<a href="http://www.unknownworlds.com/ns2/forums/index.php?showtopic=111839" target="_blank">http://www.unknownworlds.com/ns2/forums/in...howtopic=111839</a> Is the Thread he is referencing.
VVVVVVVVVVVVVVVVVVVVVVVVV
the sample map is stickied in the main mapping forum. or on the ns2 wiki
Have you placed a gamerules entitiy into your map? You don't necessarily need the minimap extend to load the map, but the gamerules are a must.
I had extensive dealings with that error while working with my own mods, hahahaha!!!
ready room start entity
ns2_gamerules entity
ambient light or lights (so you can see)
your map file must begin ns2_mapname.
This will treat your map like a ready room. You can run around it and look at stuff but can't test things like fall damage, Commander overview, or cheats for jetpack and lifeform testing.
A map wont load correctly with only 1 tech point you must add 2 or errors occur.
once tech points are added you need to make a seperate ready room.
Map will load without
mini map.
power
res nodes
Hope this has helped.
Thank you all for the help, the test map really helped as well.
I hope to contribute something worthwhile to the NS community (I loved NS1 and thought it was revolutionary) as A:TDD mapping bored me, although I made quite a few maps and learned a little C++ too.