Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

commandline args #1

Open
grrfield opened this issue Oct 24, 2016 · 2 comments
Open

commandline args #1

grrfield opened this issue Oct 24, 2016 · 2 comments

Comments

@grrfield
Copy link

Hi,
I really love this mod. I want to pass the following arguments on startup "hpbar_threshold 1000". Is there a way to achieve this (so it gets done automatically)? I tried by adding "+hpbar_threshold 1000" in the command line, but it still has the default value (0) when I enter my servers.

thank you for helping me out.......

for completeness: I run my servers on a raspberry pi and I administer them via the command line by using some basic script. I give you an example:

#!/bin/bash trap "" 2 /home/pi/doom/zandronum-server \ -iwad /home/pi/doom/iwads/doom2.wad \ -file /home/pi/doom/pwads/dintop_v7b.wad \ -file /home/pi/doom/pwads/complex-doom.v26a2.pk3 \ -file /home/pi/doom/pwads/complex-doom-justammo.v4.wad \ -file /home/pi/doom/pwads/cd-nobfgatstart-v1.wad \ -file /home/pi/doom/pwads/newtextcolours_260.pk3 \ -file /home/pi/doom/pwads/hpbar-v15.pk3 \ -file /home/pi/doom/pwads/muhammad-v4.wad \ -port 10666 \ +sv_maxlives 0 \ -host \ +alwaysapplydmflags 1 \ -skill 4 \ +survival 1 \ +sv_hostemail "" \ +map MAP01 \ +sv_maprotation 0 \ +sv_randommaprotation 0 \ +sv_motd "http://grrfield.duckdns.org" \ +sv_hostname "[Flemish Doom Servers] :: http://grrfield.duckdns.org >> Complex Descent into Pandemo$ +sv_website "" \ +sv_password "" \ +sv_forcepassword 0 \ +sv_joinpassword "" \ +sv_forcejoinpassword 0 \ +sv_rconpassword somepasswordiuseformyservers \ +sv_broadcast true \ +sv_masterip master.zandronum.com:15300\ +sv_updatemaster true \ +sv_maxclients 10 \ +sv_maxplayers 10 \ +dmflags 3227652 \ +dmflags2 8388608 \ +zadmflags 16 \ +compatflags 64 \ +zacompatflags 0 \ +lmsallowedweapons 0 \ +lmsspectatorsettings 0 \ +sv_afk2spec 0 \ +sv_coop_damagefactor 1 \ +sv_defaultdmflags 1 \ +sv_showlauncherqueries false \ +sv_showwarnings false \+sv_maxclients 10 \ +sv_maxplayers 10 \ +dmflags 3227652 \ +dmflags2 8388608 \ +zadmflags 16 \ +compatflags 64 \ +zacompatflags 0 \ +lmsallowedweapons 0 \ +lmsspectatorsettings 0 \ +sv_afk2spec 0 \ +sv_coop_damagefactor 1 \ +sv_defaultdmflags 1 \ +sv_showlauncherqueries false \ +sv_showwarnings false \ +sv_timestamp true \ +exec /home/pi/doom/descentintopandemonium.cfg \ +hpbar_threshold 1000 \ -useip 192.168.0.163\

@PkmX
Copy link
Owner

PkmX commented Oct 24, 2016

This is Zandronum's problem. In 3.0, you will be able to set CVARs defined in CVARINFO by "+set hpbar_threshold 1000" in the command line.

@grrfield
Copy link
Author

Ok, thank you for the reply. It keeps the headaches away from further trying...

Too bad though, i prefer to start it up with hpbar_threshold 1000; hpbar_announcer false (too annoying) and hpbar_rekt false (don't like this feature that much). I'll have to wait for Zan3.0, unless you make some modified versions that we all can use to have different starting options. Managing servers becomes tedious otherwise.

regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants