I need help, map doesn't load.

evertuyevertuy Join Date: 2012-08-13 Member: 155577Members
edited August 2012 in Mapping
<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.

Comments

  • IndustryIndustry Esteemed Gentleman Join Date: 2010-07-13 Member: 72344Members, Reinforced - Shadow, WC 2013 - Supporter
    edited August 2012
    minimap_extent entity is missing from the level.

    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.
  • evertuyevertuy Join Date: 2012-08-13 Member: 155577Members
    Now I get this when I cover the map with the extent.

    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?
  • IndustryIndustry Esteemed Gentleman Join Date: 2010-07-13 Member: 72344Members, Reinforced - Shadow, WC 2013 - Supporter
    edited August 2012
    Okay, popped open your map in the editor this time and it looks like the problem is you only have a ready room! To test, create a room and put 2 tech_point entities in. What is happening is when it loads the map it seems your ready room entities but there are no techpoints to create the initial hive and CC at so it is erroring. Try adding that and see what happens.





    <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
  • schkorpioschkorpio I can mspaint Join Date: 2003-05-23 Member: 16635Members
    download the sample map its go all of the gameplay entities you need, if you just want to test something quickly, just edit or add your changes into the sample map :)

    the sample map is stickied in the main mapping forum. or on the ns2 wiki
  • [AwE]Sentinel[AwE]Sentinel Join Date: 2012-06-05 Member: 152949Members
    Script Error #2: lua/<b>Gamerules_Global</b>.lua:36: attempt to index a <b>nil value</b>

    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.
  • Soul_RiderSoul_Rider Mod Bean Join Date: 2004-06-19 Member: 29388Members, Constellation, Squad Five Blue
    That code is missing the relevant gamerules entity, NS2_gamerules...

    I had extensive dealings with that error while working with my own mods, hahahaha!!!
  • WorthyRivalWorthyRival Black Armor Division Join Date: 2006-11-07 Member: 58470Members, Constellation, Reinforced - Supporter, Reinforced - Silver, Reinforced - Gold, Reinforced - Diamond, Reinforced - Shadow, WC 2013 - Shadow
    edited August 2012
    <u>Bare essentials you can load a map with.</u>

    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.
  • evertuyevertuy Join Date: 2012-08-13 Member: 155577Members
    I'm sorry, after I read the replies, I fixed it and it works now, I forgot about the thread.

    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.
Sign In or Register to comment.