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.
VonDoomKnee deep in the latencyJoin Date: 2009-10-08Member: 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?
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_bOb1Join Date: 2002-07-13Member: 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.
<!--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.
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 !!!!
<!--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-->
Kouji_SanSr. Hινε UÏкεεÏεг - EUPT DeputyThe NetherlandsJoin Date: 2003-05-13Member: 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...
MasterGgmfbstJoin Date: 2003-08-24Member: 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_SanSr. Hινε UÏкεεÏεг - EUPT DeputyThe NetherlandsJoin Date: 2003-05-13Member: 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...
Comments
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.
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.
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.
I ran the map directly from the main menu, and its working fine.
<b>Target Line</b>: "C:\Program Files (x86)\Steam\steamapps\common\natural selection 2\NS2.exe" map ns2_mymap
<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.
You can rebind the console key in the settings.
I see no such option.
<b>Target Line</b>: "C:\Program Files (x86)\Steam\steamapps\common\natural selection 2\NS2.exe" map ns2_mymap<!--QuoteEnd--></div><!--QuoteEEnd-->
Thanks :)
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.
console:
dev 1
mayber your RR is inside the map_extents entity?
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...
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
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...