couple of server questions

Discuss anything to do with Nexuiz here.

Moderators: Nexuiz Moderators, Moderators

couple of server questions

Postby pxlpshr » Mon Jun 25, 2007 6:50 am

1. can you run bright skins when you're NOT in dedicated server mode?

2. im not sure i fully understand how the custom map list works... do i have to create a mapcfg for each map i want to us?

3. what do users have to type to bring up votemap option so that people can switch the map mid-game if they don't like it.
pxlpshr
Member
 
Posts: 22
Joined: Fri Jun 22, 2007 7:16 pm
Location: Los Angeles

Postby tChr » Mon Jun 25, 2007 7:12 am

Hi

Everything avail for a dedicated server is also avail for a listening server (a server run by a player) the commands are the same. In this case fullbrightplayers 1, this wil acually also affect your campaign and instant action.

The map list looks for .mapcfg files with the name listed, yes.

Maps can be changed in-game (on servers taht allows it) by calling a vote from the cmd line, like vcall gotomap dm_warfare
the spice extend life!
the spice expand conciousness!
the spice is vital to space travel!
sooooo.. tell me what you want, waht you really-really want
I will proceed directly to the intravenous injection of hard drugs, please.
tChr
Forum addon
 
Posts: 1501
Joined: Tue Feb 28, 2006 9:11 pm
Location: Trondheim, Norway

Postby pxlpshr » Mon Jun 25, 2007 7:16 am

ok thanks for reply... i'm still having issues with the custom map list so I'm going to show you exactly what i'm doing.

the map is installed here: nexuiz\data\map-darkcityb1.pk3
map config: nexuiz\data\maps\tdm_darkcity.mapcfg
the map config has this in it:
Code: Select all
g_tdm 1
set fraglimit 0
set timelimit 20
changelevel map-darkcityb1

my server config has this in it:
Code: Select all
g_maplist 'tdm_darkcity''tdm_aggressor''tdm_aneurysm'


but it says Couldn't load map maps/map-darkcityb1.bsp. if i change it to dm_darkcity, then it works fine... even though a dm_darkcity.mapcfg doesn't even exist!?

and i have no idea why it does that.
pxlpshr
Member
 
Posts: 22
Joined: Fri Jun 22, 2007 7:16 pm
Location: Los Angeles

Postby pxlpshr » Mon Jun 25, 2007 8:03 am

also, when i tried: vcall gotomap dm_darkcity

it returned "This vote is not okay."
pxlpshr
Member
 
Posts: 22
Joined: Fri Jun 22, 2007 7:16 pm
Location: Los Angeles

Postby ZyanKLee » Mon Jun 25, 2007 8:15 am

you have to look in the map-darkcityb1.pk3 to make sure what the .map-File is called

in this archive there might be even a dm_darkcity.mapcfg - which could explain why this works


[EDIT]
Had a look into the map-darkcityb1.pk3:
there are 4 directorys (maps, models, scripts, textures) und maps you will find various files.
for example darkcity.bsp, darkcity.map, darkcity.cfg as well as dm_darkcity.mapcfg

dm_darkcity.mapcfg reads as follows:
Code: Select all
set fraglimit 20
set timelimit 15
changelevel darkcity
Last edited by ZyanKLee on Mon Jun 25, 2007 8:24 am, edited 1 time in total.
ZyanKLee
Alien
 
Posts: 151
Joined: Sun Feb 18, 2007 8:58 pm
Location: Germany

Postby pxlpshr » Mon Jun 25, 2007 8:22 am

interesting.. ok, i think i've got it figured out... so now i need to know how to look into a pk3 file... is there something you suggest besides PakRat?
pxlpshr
Member
 
Posts: 22
Joined: Fri Jun 22, 2007 7:16 pm
Location: Los Angeles

Re: couple of server questions

Postby KadaverJack » Mon Jun 25, 2007 8:28 am

pxlpshr wrote:3. what do users have to type to bring up votemap option so that people can switch the map mid-game if they don't like it.

If you allow timelimit votes (enabled by default), "vcall timelimit -1" would imediately end the current map and bring up the the map voting screen (if the vote passes).

pxlpshr wrote:
Code: Select all
g_tdm 1
set fraglimit 0
set timelimit 20
changelevel map-darkcityb1

The last line is probably wrong. You have to put in the name of the .bsp file, not the pk3 name or another mapcfg file. Since dm_darkcity seems to work, that's probably the right name, if you are unshure, open the pk3 file with a zip program and look in maps/ for the bsp file...

g_maplist & vcall gotomap both use mapcfg files, so if there's really no dm_darkcity.mapcfg in the pk3, "vcall gotomap dm_darkcity" won't work... If there is a dm_darkcity.mapcfg and the vote still doesn't work, check if gotomap is listed in sv_vote_commands.

btw, note to mappers: bsp files shouldn't have a gamemode prefix in their name....
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm

Re: couple of server questions

Postby ZyanKLee » Mon Jun 25, 2007 8:35 am

KadaverJack wrote:open the pk3 file with a zip program and look in maps/ for the bsp file...


.pk3 is only a renamed .zip
so unzip it - if your unzip command failes: rename it back to .zip and unzip it.
ZyanKLee
Alien
 
Posts: 151
Joined: Sun Feb 18, 2007 8:58 pm
Location: Germany

Postby pxlpshr » Mon Jun 25, 2007 8:44 am

thanks guys!! think i've got it all figured out now.
pxlpshr
Member
 
Posts: 22
Joined: Fri Jun 22, 2007 7:16 pm
Location: Los Angeles

Postby ZyanKLee » Mon Jun 25, 2007 1:20 pm

you're welcome
ZyanKLee
Alien
 
Posts: 151
Joined: Sun Feb 18, 2007 8:58 pm
Location: Germany


Return to Nexuiz - General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron