About dedicated server and lack of documentation

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

About dedicated server and lack of documentation

Postby Lo'oris » Fri Oct 02, 2009 10:43 pm

I would like to start a nexuiz dedicated server on "no items" mode (like the old q2 NIQ).
If I understood correctly, it is already implemented and it is called "nixnex", is it?

The problem is a complete lack of documentation: I've searched here and there for it, but I found nothing.
I used to have a q2 and a qw server some years ago, so I would just need a couple of example config files and some infos about how to set the nixnex options (such as which weapons to enable, how fast regenerate health and ammos, etc.)

Moreover, I made a small modification to q2 source to increase the falling damage: I only had to change a single line of code to do that. Is it possible to do such a thing even with nexuiz? Or maybe is there a server option to do that without having to hack it?
I jump on turtles
Lo'oris
Member
 
Posts: 11
Joined: Mon Feb 09, 2009 1:11 am

Postby Lo'oris » Tue Oct 06, 2009 11:29 am

so, no documentation, and no answers in the forum either?

wtf, disappointing to say the least.
I jump on turtles
Lo'oris
Member
 
Posts: 11
Joined: Mon Feb 09, 2009 1:11 am

Postby Rad Ished » Tue Oct 06, 2009 12:29 pm

People sometimes get busy, sometimes they all get busy at the same time. Sometimes none of them know the answer at all (<me).
Sometimes you have to wait a lil bit.
...
Weaponless server?, sounds interesting to me. Kind of like irc with more bells and whistles.
...
It would be really cool for map reviews, mappers could book time for their map to be on and take guided tours, we only need a model of an umbrella for the tour guide to hold up so nobody gets lost.
You could even book 'server admin showcase' time, during which you try to convince server admins that your map is not a complete waste of time, and that it may actually be voted for from time to time.
...
What is your intended use for a weaponless server?,
actually now i think of it .... can't you do all of this in the mutators menu?
fishsticks
Rad Ished
Keyboard killer
 
Posts: 609
Joined: Wed Jun 27, 2007 8:00 am
Location: Not the Netherlands

Postby Lo'oris » Tue Oct 06, 2009 1:25 pm

maybe I wasn't clear.

it is *already* present in the mutators menu.
it's called nixnex or something like that.

I want to set up a dedicated server.
there is no documentation about it.
Since there is no documentation about it, or if there is it is really well hidden, I have no idea on how to tell the dedicated server to use that mutator. And how to configure exactly that mutator, i.e. how much health is regenerated how many seconds, same for ammos, etc.
I jump on turtles
Lo'oris
Member
 
Posts: 11
Joined: Mon Feb 09, 2009 1:11 am

Postby Ronan » Tue Oct 06, 2009 1:40 pm

There is a server.cfg sample in /Nexuiz/server/ containing many comments :

Code: Select all
// enable some mutators you'd like
//g_cloaked 0   // set to 1 for transparent hard to see players
//g_footsteps 0   // set to 1 to enable footsteps
//g_grappling_hook 0   // set to 1 to enable the hook
//g_laserguided_missile 0   // set to 1 for laser guided missiles in the RL
//g_midair 0   // set to 1 to make only midair damage count
//g_vampire 0   // set to 1 to give players the damage they cause as health
//sv_gravity 800   // for low gravity, set this somewhere between 50 and 400

// select AT MOST one of these arena mutators
//g_minstagib 0   // set to 1 for MinstaGib
//g_nixnex 0   // set to 1 for No Items Nexuiz
//g_nixnex_with_laser 0   // set to 1 to always give players the laser in NixNex
//g_rocketarena 0   // set to 1 to make the rocket launcher the only weapon


g_nixnex 1 is the mutator you are looking for. Then use the nexuiz console or the advanced settings... dialog in the menu to get all available options :
Code: Select all
]apropos nixnex
cvar g_balance_nixnex_ammo_cells is "15" ["15"] custom cvar
cvar g_balance_nixnex_ammo_fuel is "0" ["0"] custom cvar
cvar g_balance_nixnex_ammo_nails is "45" ["45"] custom cvar
cvar g_balance_nixnex_ammo_rockets is "15" ["15"] custom cvar
cvar g_balance_nixnex_ammo_shells is "15" ["15"] custom cvar
cvar g_balance_nixnex_ammoincr_cells is "2" ["2"] custom cvar
cvar g_balance_nixnex_ammoincr_fuel is "2" ["2"] custom cvar
cvar g_balance_nixnex_ammoincr_nails is "6" ["6"] custom cvar
cvar g_balance_nixnex_ammoincr_rockets is "2" ["2"] custom cvar
cvar g_balance_nixnex_ammoincr_shells is "2" ["2"] custom cvar
cvar g_balance_nixnex_incrtime is "1.6" ["1.6"] custom cvar
cvar g_balance_nixnex_roundtime is "25" ["25"] custom cvar
cvar g_nixnex is "0" ["0"] No Items Nexuiz - instead of pickup items, everyone plays with the same weapon. After some time, a countdown will start, after which everyone will switch to another weapon, and so on
cvar g_nixnex_with_laser is "0" ["0"] always carry the laser as an additional weapon in NixNex
14 results


Lo'oris wrote:Moreover, I made a small modification to q2 source to increase the falling damage: I only had to change a single line of code to do that. Is it possible to do such a thing even with nexuiz? Or maybe is there a server option to do that without having to hack it?


see the g_balance_falldamage_* cvars.
Ronan
Alien trapper
 
Posts: 292
Joined: Tue Mar 20, 2007 10:25 pm
Location: France

Postby Lo'oris » Tue Oct 06, 2009 2:26 pm

oh, great, thanks!

first problem is solved.

for the rest, I've found these:
Code: Select all
// NixNex (No-Items x Nexuiz) - at each time, everyone uses the same weapon,
// and in regular intervals, this weapon is cycled
set g_nixnex 0 "No Items Nexuiz - instead of pickup items, everyone plays with the same weapon. After some time, a countdown will start, after which everyone will switch to another weapon, and so on"
set g_nixnex_with_laser 0 "always carry the laser as an additional weapon in NixNex"
// TODO these need balancing:
set g_balance_nixnex_roundtime 25
set g_balance_nixnex_incrtime 1.6
// initial ammo
set g_balance_nixnex_ammo_shells 15
set g_balance_nixnex_ammo_nails 45
set g_balance_nixnex_ammo_rockets 15
set g_balance_nixnex_ammo_cells 15
set g_balance_nixnex_ammo_fuel 0
// ammo increment per second
set g_balance_nixnex_ammoincr_shells 2
set g_balance_nixnex_ammoincr_nails 6
set g_balance_nixnex_ammoincr_rockets 2
set g_balance_nixnex_ammoincr_cells 2
set g_balance_nixnex_ammoincr_fuel 2

Code: Select all
// server game balance settings
set g_balance_armor_regen 0
set g_balance_armor_rot 0.1
set g_balance_armor_stable 100
set g_balance_armor_start 0
set g_balance_armor_blockpercent 0.6
set g_balance_health_regen 0.1
set g_balance_health_rot 0.1
set g_balance_health_stable 100
set g_balance_health_start 150

Code: Select all
set g_balance_falldamage_deadminspeed 150
set g_balance_falldamage_minspeed 1400
set g_balance_falldamage_factor 0.15
set g_balance_falldamage_maxdamage 25

I'll try them.

It's just a bit disappointing that, unlike Q2 NIQ, you can't have more than one configuration for eath weapon.
Or, if it's possible, I don't know how to do that.
It was an additional file like that:
Code: Select all
giuochi@ruptai:~/GAMES/Quake2/Quake-dir/niq$ cat niqammo.txt
###############################################################################
# niqammo.txt
#
# Edit this file to control how ammunition is allocated for all weapons in
# NIQ/NIQCTF (the superblaster doesn't use any ammo). By default ammo
# increments just quickly enough so that you can run out fairly quickly
# if you fire continously.
#
# initial           initial ammo when given weapon
# increment         amount to increment ammo by
# delay             secs to wait before incrementing
# maximum           maximum ammo for this weapon
#
#                   initial     increment   delay       maximum
                                                               
railgun               2          1           3           10
rocket launcher       3          3           10           8

shotgun               2          1           2           10
super shotgun         4          2           2           20
machinegun           10          4           1           50
chaingun             40         35           7          100
grenade launcher     10         10          45           10
hyperblaster         40         25           6          100
bfg10k              100        100          25          200

but nevermind.
I jump on turtles
Lo'oris
Member
 
Posts: 11
Joined: Mon Feb 09, 2009 1:11 am


Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest