How do you run your map?

VonDoomVonDoom Knee deep in the latency Join Date: 2009-10-08 Member: 68989Members, Reinforced - Shadow
I made a room in Spark with a spawn point inside, how do I run my map in first person?

Comments

  • SN.WolfSN.Wolf Join Date: 2010-03-29 Member: 71115Members
    You will need to start a listen server and after level loads type "map ns2_mapname" without the quotes in the console.

    Look at <a href="http://www.unknownworlds.com/forums/index.php?showtopic=110469" target="_blank">this thread</a> for more in depth on entities needed to actually play the level.
  • VonDoomVonDoom Knee deep in the latency Join Date: 2009-10-08 Member: 68989Members, Reinforced - Shadow
    edited September 2010
    Are all the entities mentioned needed just to see how the map looks from the inside? How do I start a listen server, and should I put the new map in a particular folder in the ns2 directory?
  • SN.WolfSN.Wolf Join Date: 2010-03-29 Member: 71115Members
    edited September 2010
    default install path where your maps (level) files go is C:\Program Files\Steam\steamapps\common\natural selection 2\ns2\maps

    You will need to do all those anyways but i beleive i just did a player spawn making sure to have it a bit off the floor of the room so it doesn't fall through the floor.

    You can use texture lit in the editor to see how it renders in game if your not ready to enter the entities yet but someone correct me if i'm wrong but i think a single player start entity will work.

    Edit: To start a listen server click create game and check the LAN box so it won't show on the enternet.
  • Evil_bOb1Evil_bOb1 Join Date: 2002-07-13 Member: 938Members, Squad Five Blue
    edited September 2010
    In words. launch ns2. Open console (press `). Type: map yourmapname. Press enter.

    Edit: Even if you don't have a single entity you will spawn at coordinates 0,0,0. Use an entity if you want to be more specific at where you want to spawn. Add team spawn points and necessary entities if you want a functional marine/alien start.
  • VonDoomVonDoom Knee deep in the latency Join Date: 2009-10-08 Member: 68989Members, Reinforced - Shadow
    Thanks for the help guys :)

    I ran the map directly from the main menu, and its working fine.
  • SgtBarlowSgtBarlow Level Designer Join Date: 2003-11-13 Member: 22749Members, NS2 Developer
    Desktop shortcut to NS2 directly into your map:

    <b>Target Line</b>: "C:\Program Files (x86)\Steam\steamapps\common\natural selection 2\NS2.exe" map ns2_mymap
  • zastelszastels Join Date: 2003-11-29 Member: 23731Members
    <!--quoteo(post=1797618:date=Sep 5 2010, 08:04 AM:name=SgtBarlow)--><div class='quotetop'>QUOTE (SgtBarlow @ Sep 5 2010, 08:04 AM) <a href="index.php?act=findpost&pid=1797618"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Desktop shortcut to NS2 directly into your map:

    <b>Target Line</b>: "C:\Program Files (x86)\Steam\steamapps\common\natural selection 2\NS2.exe" map ns2_mymap<!--QuoteEnd--></div><!--QuoteEEnd-->

    Thanks I'll have to try this, for whatever reason the console wont open for me. I'm hitting the tilda key.
  • MendaspMendasp I touch maps in inappropriate places Valencia, Spain Join Date: 2002-07-05 Member: 884Members, NS1 Playtester, Contributor, Constellation, NS2 Playtester, Squad Five Gold, NS2 Map Tester, Reinforced - Shadow, WC 2013 - Shadow, Retired Community Developer
    <!--quoteo(post=1797649:date=Sep 5 2010, 10:51 PM:name=AtAmAcA)--><div class='quotetop'>QUOTE (AtAmAcA @ Sep 5 2010, 10:51 PM) <a href="index.php?act=findpost&pid=1797649"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Thanks I'll have to try this, for whatever reason the console wont open for me. I'm hitting the tilda key.<!--QuoteEnd--></div><!--QuoteEEnd-->
    You can rebind the console key in the settings.
  • zastelszastels Join Date: 2003-11-29 Member: 23731Members
    <!--quoteo(post=1797650:date=Sep 5 2010, 04:57 PM:name=Mendasp)--><div class='quotetop'>QUOTE (Mendasp @ Sep 5 2010, 04:57 PM) <a href="index.php?act=findpost&pid=1797650"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->You can rebind the console key in the settings.<!--QuoteEnd--></div><!--QuoteEEnd-->

    I see no such option.
  • MendaspMendasp I touch maps in inappropriate places Valencia, Spain Join Date: 2002-07-05 Member: 884Members, NS1 Playtester, Contributor, Constellation, NS2 Playtester, Squad Five Gold, NS2 Map Tester, Reinforced - Shadow, WC 2013 - Shadow, Retired Community Developer
    Options -> Bindings -> Scroll to the bottom and you'll see "Toggle Console"
  • VonDoomVonDoom Knee deep in the latency Join Date: 2009-10-08 Member: 68989Members, Reinforced - Shadow
    <!--quoteo(post=1797618:date=Sep 5 2010, 01:04 PM:name=SgtBarlow)--><div class='quotetop'>QUOTE (SgtBarlow @ Sep 5 2010, 01:04 PM) <a href="index.php?act=findpost&pid=1797618"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Desktop shortcut to NS2 directly into your map:

    <b>Target Line</b>: "C:\Program Files (x86)\Steam\steamapps\common\natural selection 2\NS2.exe" map ns2_mymap<!--QuoteEnd--></div><!--QuoteEEnd-->

    Thanks :)
  • SgtBarlowSgtBarlow Level Designer Join Date: 2003-11-13 Member: 22749Members, NS2 Developer
    Sharing Mendsaps shortcut secrets lol
  • last_last_ Join Date: 2010-07-14 Member: 72379Members
    So, I have a level with minimal entities for spawning a character and some lights. I do all the steps correctly ... start server, open console map mapname command blah, blah and blah. So......... It loads the authenticating screen and soe two plus houres later it is the same screen. Task Manager says that it is running.

    What I think the issue may have been/is my two video cards. I have an integrated ATI graphics card coupled together via PhysX drivers with a Nvidia GT 220. This runs NS2 with an okay (not steller) frame rate. So, I am not sure on this ... I just want to map for NS2 !!!!

    Any help would be appriciated.
  • MasterGMasterG gmfbst Join Date: 2003-08-24 Member: 20169Members, Squad Five Blue
    I have the same problem as the guy above me. Auth and load is fine but then the screen just stays black. Quit command works for shutting down ns2.
  • Kouji_SanKouji_San Sr. Hινε Uρкεερεг - EUPT Deputy The Netherlands Join Date: 2003-05-13 Member: 16271Members, NS2 Playtester, Squad Five Blue
    Try running in developer mode and see what messages you get?

    console:

    dev 1
  • TigTig Join Date: 2010-05-08 Member: 71674Members, Reinforced - Shadow, WC 2013 - Silver
    <!--quoteo(post=1811635:date=Nov 28 2010, 11:24 PM:name=Kabelen)--><div class='quotetop'>QUOTE (Kabelen @ Nov 28 2010, 11:24 PM) <a href="index.php?act=findpost&pid=1811635"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I have the same problem as the guy above me. Auth and load is fine but then the screen just stays black. Quit command works for shutting down ns2.<!--QuoteEnd--></div><!--QuoteEEnd-->

    mayber your RR is inside the map_extents entity?
  • Kouji_SanKouji_San Sr. Hινε Uρкεερεг - EUPT Deputy The Netherlands Join Date: 2003-05-13 Member: 16271Members, NS2 Playtester, Squad Five Blue
    edited November 2010
    Heh, I don't even have an RR and my map runs fine. But then again, I don't have a readyroom_start in the map as of yet. So if this were the case for you guys it could be the problem...


    Another thing which might be connected to this issue. It seems that if I load a map trough the console after I already have a map loaded it will also get stuck at authenticating.

    <!--QuoteBegin-Starting another map/server when you already have one loaded+--><div class='quotetop'>QUOTE (Starting another map/server when you already have one loaded)</div><div class='quotemain'><!--QuoteEBegin-->Client disconnected (127.0.0.1) Server shutdown
    Disconnected (Quit)
    Starting server

    ><i>A few PrecacheModel(some models) file doesn't exist thingies</i> as usual :P<

    Loading 'the map in question'
    Connecting to server 127.0.0.1:27015
    Client Connected (127.0.0.1)
    <!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->Client connected and authenticated on the server
    Loading 'the map in question'
    Kouji San connected.<!--colorc--></span><!--/colorc--><!--QuoteEnd--></div><!--QuoteEEnd-->

    After which it will hang on authenticating, while the game also does not accept any more console commands either... The red part is what is missing from the server/client startup. So it can't authenticate the client a second time, when a map has already been loaded on a listenserver, when starting a second server?Maybe this issue also happens for the peeps in this thread when unloading the menu background map...
  • MasterGMasterG gmfbst Join Date: 2003-08-24 Member: 20169Members, Squad Five Blue
    edited November 2010
    <!--quoteo(post=1811788:date=Nov 29 2010, 09:45 PM:name=Tig)--><div class='quotetop'>QUOTE (Tig @ Nov 29 2010, 09:45 PM) <a href="index.php?act=findpost&pid=1811788"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->mayber your RR is inside the map_extents entity?<!--QuoteEnd--></div><!--QuoteEEnd-->

    No that's not it. It's just a testmap for my textures, one room, with rr spawn in it. Do I really have to place all the entities in the map to get it to run? I want to see my normal maps as it seems spark doesn't seem to display them atm, or am I wrong?

    Also kouji, that's about the same spot it hangs up for me. Except it seems I hang on the little second between loading and the map opening. Console commands do work for me though, so I can quit without problem. I'll check for errors next time I bother to open ns2.exe
  • Kouji_SanKouji_San Sr. Hινε Uρкεερεг - EUPT Deputy The Netherlands Join Date: 2003-05-13 Member: 16271Members, NS2 Playtester, Squad Five Blue
    edited November 2010
    I play in a window so Spark hanging is no trouble, I can simply kill the process. However you don't even have to put anything in the level and it should still load, spawning at X:0 Y:0 Z:0.

    The only errors I see are those missing models, but those are nothing to worry about... It also seems dev mode disables between loading maps, it is a server side command...
Sign In or Register to comment.