Can anyone help me add a custom map to my server.

正在查看此主题的用户

crimsonwave

Recruit
Hi everyone, i hope this is in the right place.
I am trying to host custom maps on my server, but i am very unsure on how to do it. I am using jestservers for hosting if that makes any difference. Can anyone give me a step by step guide?
i have never done anything like this before so i am finding it quite difficult.
 
First, you'll need 2 things: The new maps .scn file and the map's terrain code.

You place the .scn file into the ScnObj subfolder in your Napoleonic Wars module on your server, overwriting the previous one there.

Next you open the scenes.txt file in the NW folder, and hit Ctrl+F. Type in part of the map name that you just overwrote (For instance, 'arabian' if you're looking for Arabian Village). It will take you down to that in the file. Note that if you ARE replacing Arabian Village, there are multiple maps that begin with that word. You will need to find the specific one you're looking for.

It will look something like:

scn_mp_arabian_village mp_arabian_village 256 none none 0.000000 0.000000 100.000000 100.000000 -100.000000 0x000000012002a0b20004992700006e54000007fe00001fd2
  0
  0
outer_terrain_steppe

You replace the bolded text with the terrain code that you have for the custom map.

Now assuming that you've done all of this correct, when your server switches to this map (In this example Arabian Village), everyone on it will download your custom map and load it instead.
 
Kegger 说:
First, you'll need 2 things: The new maps .scn file and the map's terrain code.

You place the .scn file into the ScnObj subfolder in your Napoleonic Wars module on your server, overwriting the previous one there.

Next you open the scenes.txt file in the NW folder, and hit Ctrl+F. Type in part of the map name that you just overwrote (For instance, 'arabian' if you're looking for Arabian Village). It will take you down to that in the file. Note that if you ARE replacing Arabian Village, there are multiple maps that begin with that word. You will need to find the specific one you're looking for.

It will look something like:

scn_mp_arabian_village mp_arabian_village 256 none none 0.000000 0.000000 100.000000 100.000000 -100.000000 0x000000012002a0b20004992700006e54000007fe00001fd2
  0
  0
outer_terrain_steppe

You replace the bolded text with the terrain code that you have for the custom map.

Now assuming that you've done all of this correct, when your server switches to this map (In this example Arabian Village), everyone on it will download your custom map and load it instead.

Thanks for the help, but i am now getting an error "number of passages for site outer_terrain_beach exceeds 16"
I think i have followed your instructions correctly, do you know what can be causing this?

EDIT- i am getting this error when i try to enter the multiplayer section of napoleonic wars
 
That's a pretty standard error when any of the numbers (outside of your terrain code) are wrong. Check all the other numbers and make sure nothing was cut off.
 
Kegger 说:
That's a pretty standard error when any of the numbers (outside of your terrain code) are wrong. Check all the other numbers and make sure nothing was cut off.
I dont think i have cut anything off but i will have another look, and funnily enough it is your training map i am trying to host  :lol:
 
crimsonwave 说:
Kegger 说:
That's a pretty standard error when any of the numbers (outside of your terrain code) are wrong. Check all the other numbers and make sure nothing was cut off.
I dont think i have cut anything off but i will have another look, and funnily enough it is your training map i am trying to host  :lol:

Ironic :razz: I'm in class right now, but once I get home in a few hours I can post the entire part to replace then if there isn't a number cut off.
 
Well i dont think it is a number cut off, on your thread about the map, it says to replace the scene code with "0x00000000300005000006c5b00000720100004baa00002078"
The normal scene code is : "0x000000012002a0b20004992700006e54000007fe00001fd2"

After changing them i get the RGL error i mentioned before. This is beginning to stress me out lol
 
Alright, I'll take a look at the code when I out of here in a couple hours and give you what I have.
 
Kegger 说:
Alright, I'll take a look at the code when I out of here in a couple hours and give you what I have.
Well, i managed to get past the RGL error, but now i have yet another problem  :???:
The map is very hilly with a few floating training dummys and some buildings in the distance, outside the edge of the map. Any idea what i have done wrong here?
 
The terrain code is wrong then. Someone else reported this error as well, while the code I provided [0x00000000300005000006c5b00000720100004baa00002078] worked for everyone else. It's odd.
 
Kegger 说:
The terrain code is wrong then. Someone else reported this error as well, while the code I provided [0x00000000300005000006c5b00000720100004baa00002078] worked for everyone else. It's odd.
Ok, well thanks for your help anyway man.
 
Alright this is how I have it on our server where it's working fine

插入代码块:
scn_mp_arabian_village mp_arabian_village 256 none none 0.000000 0.000000 100.000000 100.000000 -100.000000 0x00000000300005000006c5b00000720100004baa00002078
  0 
  0 
 outer_terrain_steppe
 
Kegger 说:
Alright this is how I have it on our server where it's working fine

插入代码块:
scn_mp_arabian_village mp_arabian_village 256 none none 0.000000 0.000000 100.000000 100.000000 -100.000000 0x00000000300005000006c5b00000720100004baa00002078
  0 
  0 
 outer_terrain_steppe

ill try it tonight, thanks for all your help.
 
Kegger 说:
First, you'll need 2 things: The new maps .scn file and the map's terrain code.

You place the .scn file into the ScnObj subfolder in your Napoleonic Wars module on your server, overwriting the previous one there.

Next you open the scenes.txt file in the NW folder, and hit Ctrl+F. Type in part of the map name that you just overwrote (For instance, 'arabian' if you're looking for Arabian Village). It will take you down to that in the file. Note that if you ARE replacing Arabian Village, there are multiple maps that begin with that word. You will need to find the specific one you're looking for.

It will look something like:

scn_mp_arabian_village mp_arabian_village 256 none none 0.000000 0.000000 100.000000 100.000000 -100.000000 0x000000012002a0b20004992700006e54000007fe00001fd2
  0
  0
outer_terrain_steppe

You replace the bolded text with the terrain code that you have for the custom map.

Now assuming that you've done all of this correct, when your server switches to this map (In this example Arabian Village), everyone on it will download your custom map and load it instead.

插入代码块:
You place the .scn file into the ScnObj subfolder in your Napoleonic Wars module on your server, overwriting the previous one there.

this is where i get lost.. i too am trying to load custom maps onto my server.. where you say "You place the .scn file into the ScnObj subfolder in your Napoleonic Wars module on your server, overwriting the previous one there." i place my custom map there but it doesnt overwrite anything since the map isnt named the same as anything there.
 
There ARE ways to make it so you don't have to use the name of a premade map, but it can get confusing for novices. Just choose a map, delete it, rename your map to it. Then change the terrain code of that map in the scenes.txt file.
 
ok, my server runs in siege mode, if i rename my custom map to a siege map in the scenes.txt i'll assume it will no longer be played normally.. ie: if i were to rename my custom map to fort boyd the normal fort boyd would be gone correct ?
 
MedievalMayhem 说:
ok, my server runs in siege mode, if i rename my custom map to a siege map in the scenes.txt i'll assume it will no longer be played normally.. ie: if i were to rename my custom map to fort boyd the normal fort boyd would be gone correct ?

Correct.
 
后退
顶部 底部