Skip to content

Instantly share code, notes, and snippets.

@xseignard
Last active August 29, 2015 14:01
Show Gist options
  • Save xseignard/9d9835d8383644fc7df7 to your computer and use it in GitHub Desktop.
Save xseignard/9d9835d8383644fc7df7 to your computer and use it in GitHub Desktop.
compile.log

What I did:

sudo apt-get install git unzip libjpeg-dev zlib1g-dev
git clone git://git.xonotic.org/xonotic/xonotic.git
cd xonotic
./all update
./all compile dedicated
@xseignard
Copy link
Author

nginx conf: /etc/nginx/sites-available/default

server {
    listen 80;
    root /root/xonotic/data;
    autoindex on;
    allow all;
}

@xseignard
Copy link
Author

run.sh

#! /bin/bash
rm nohup.out
nohup ./all run dedicated xonotic&

@xseignard
Copy link
Author

server.conf

hostname "[WTWRP] Overkill"
rcon_password hidden

// welcome message
sv_motd "Thanks Mario!!!"

// make this server public
sv_public 1
port 31000

// number of players
maxplayers 16
g_maxplayers 16

// logfile
log_file "server.log"

// delay before map will start
g_start_delay 15

// list of votable maps
//g_maplist "dance tarx implosion catharsis bluez_vs_redz"
g_maplist_shuffle 1
g_maplist_votable 4 // number of maps to be voted
g_maplist_votable_suggestions 2 // number of suggestions to accept using the sug
gestmap command
g_maplist_votable_abstain 0 // when 1, people get a "don't care" selection in th
e vote screen
g_maplist_votable_nodetail 1 // when 1, people can't see how many voted for what
 (to thwart abusive "influential" first votes)

// curl url
sv_curl_defaulturl http://nxs.re/xon_ok/

// global settings for the maps (time, caps and kills)
timelimit_override 20
capturelimit_override 10
g_ctf_ignore_frags 0

// default gametype
gametype ctf

// bot settings (only if less than 2 players)
bot_number 0
skill 8
bot_prefix [BOT] 
minplayers 4

// available votes for players
sv_vote_commands "restart fraglimit chmap gotomap nextmap endmatch reducematchti
me extendmatchtime allready kick cointoss movetoauto shuffleteams"
// available commands for masters
sv_vote_master_commands "movetored movetoblue movetoyellow movetopink kickban"
rcon_restricted_commands "restart fraglimit chmap gotomap endmatch reducematchti
me extendmatchtime allready kick kickban \"sv_cmd bans\" \"sv_cmd unban\" status
 \"sv_cmd teamstatus\" movetoauto movetored movetoblue movetoyellow movetopink" 
 // commands for the (stronger) rcon restricted

sv_vote_call 1  // 0 will disable the normal voting
sv_vote_master 0    // 0 will disable voting to become master, good if you prefe
r to use the master password instead
sv_vote_majority_factor 0.5 // What percentage of the PLAYERS constitute a major
ity to win a vote? must be at least 0.5

sv_maxidle 300  // idle time in seconds after which players will get kicked

sv_taunt 1  // 0 to disallow taunts
sv_autotaunt 1  // 0 to disallow autotaunts


// Overkill settings
exec balance-overkill.cfg
g_overkill 1
g_fullbrightplayers 1   // 1 to make players fullbright
g_dodging 1
g_respawn_ghosts 0
g_nades 1

// if you like nade timers near the crosshair
//seta cl_nade_timer 1
set g_nades_nade_refire 10 // 6 is default now, classic was more like 10
set g_nades_nade_newton_style 2 // 0 is absolute, 1 is relative, 2 is another ki
nd of relative ;)
g_spawn_near_teammate 1
g_spawn_near_teammate_ignore_spawnpoint 1
g_overkill_ammo_charge 0 // 1 would be new overheating system
g_balance_teams 1   // 0 will show players the team selection menu after joining
 instead of automaticly putting them on the smaller team
g_balance_teams_prevent_imbalance 0 // 0 to prevent switchint to a bigger/begger
 team
g_spawnshieldtime 0.5 // time for which players are protected after spawn
sv_dodging_wall_dodging 1

set g_balance_hmg_switchdelay_raise 0.2
set g_balance_hmg_switchdelay_drop 0.2
set g_balance_hmg_spread_min 0.01
set g_balance_hmg_spread_max 0.06
set g_balance_hmg_spread_add 0.005
set g_balance_hmg_damage 30
set g_balance_hmg_force 10


captureleadlimit_override 0 // play to 10, ignoring any lead of 6
g_ctf_respawn_delay_small 2
g_ctf_respawn_delay_large 2
g_ctf_respawn_delay_large_count 20 // no difference in respawn between few and m
any players
g_respawn_delay_large_count 20


// health/armor/etc

set g_pickup_armorsmall_anyway 1
set g_pickup_armormedium_max 100
set g_pickup_armorbig_max 100
set g_pickup_armorlarge_max 100
set g_pickup_healthmega_anyway 1

set g_balance_pause_health_regen 5
set g_balance_pause_armor_rot 5
set g_balance_armor_blockpercent 0.6

// apply .ent patches for reduced armor/health
sv_entpatch 1


// physics from 0.7 release
exec physicsX07.cfg

g_playerstats_uri http://stats.xonotic.org/stats/submit

// vote stuff by Ablu
alias tourneysettings "fraglimit_overide 0; g_tourney 1; minplayers 0; teamplay_
mode 2"
alias publicsettings "fraglimit_override -1; g_tourney 0; minplayers 4; teamplay
_mode 4"

alias 1v1dm     "gametype dm;       g_maxplayers 2;     tourneysettings;    g_po
werup_strength 0;   endmatch"
alias 2v2tdm        "gametype tdm;      g_maxplayers 4;     tourneysettings;    
g_powerup_strength 1;   endmatch"
alias 3v3tdm        "gametype tdm;      g_maxplayers 6;     tourneysettings;    
g_powerup_strength 1;   endmatch"
alias 4v4tdm        "gametype tdm;      g_maxplayers 8;     tourneysettings;    
g_powerup_strength 1;   endmatch"
alias 5v5tdm        "gametype tdm;      g_maxplayers 10;    tourneysettings;    
g_powerup_strength 1;   endmatch"
alias 2v2ctf        "gametype ctf;      g_maxplayers 4;     tourneysettings;    
g_powerup_strength 1;   endmatch"
alias 3v3ctf        "gametype ctf;      g_maxplayers 6;     tourneysettings;    
g_powerup_strength 1;   endmatch"
alias 4v4ctf        "gametype ctf;      g_maxplayers 8;     tourneysettings;    
g_powerup_strength 1;   endmatch"
alias 5v5ctf        "gametype ctf;      g_maxplayers 10;    tourneysettings;    
g_powerup_strength 1;   endmatch"
alias 2v2ca     "gametype ca;       g_maxplayers 4;     tourneysettings;    g_po
werup_strength 1;   endmatch"
alias 3v3ca     "gametype ca;       g_maxplayers 6;     tourneysettings;    g_po
werup_strength 1;   endmatch"
alias 4v4ca     "gametype ca;       g_maxplayers 8;     tourneysettings;    g_po
werup_strength 1;   endmatch"
alias 5v5ca     "gametype ca;       g_maxplayers 10;    tourneysettings;    g_po
werup_strength 1;   endmatch"
alias dm        "gametype dm;       g_maxplayers 0;     publicsettings;     g_po
werup_strength 1;   endmatch"
alias freezetag     "gametype freezetag;    g_maxplayers 0;     publicsettings; 
    g_powerup_strength 1;   endmatch"
alias tdm       "gametype tdm;      g_maxplayers 0;     publicsettings;     g_po
werup_strength 1;   endmatch"
alias ctf       "gametype ctf;      g_maxplayers 0;     publicsettings;     g_po
werup_strength 1;   endmatch"
alias ca        "gametype ca;       g_maxplayers 0;     publicsettings;     g_po
werup_strength 1;   endmatch"
alias assault       "gametype as;       g_maxplayers 0;     publicsettings;     
g_powerup_strength 1;   endmatch"
alias keepaway      "gametype keepaway; g_maxplayers 0;     publicsettings;     
g_powerup_strength 1;   endmatch"
alias domination    "gametype dom;      g_maxplayers 0;     publicsettings;     
g_powerup_strength 1;   endmatch"
alias keyhunt       "gametype kh;       g_maxplayers 0;     publicsettings;     
g_powerup_strength 1;   endmatch"
alias rune      "gametype rune;     g_maxplayers 0;     publicsettings;     g_po
werup_strength 1;   endmatch"
alias arena     "gametype arena;    g_maxplayers 0;     publicsettings;     g_po
werup_strength 1;   endmatch"
alias lms       "gametype lms;      g_maxplayers 0;     publicsettings;     g_po
werup_strength 1;   endmatch"
alias onslaught     "gametype onslaught;    g_maxplayers 0;     publicsettings; 
    g_powerup_strength 1;   endmatch"
alias conquest      "gametype cq;       g_maxplayers 0;     publicsettings;     
g_powerup_strength 1;   endmatch"
alias inftime       "timelimit inf"
alias ctfduel       "gametype ctf;      g_maxplayers 2;     publicsettings;     
g_powerup_strength 1;   endmatch"


alias   1on1dm  "1v1dm"
alias   2on2tdm "2v2tdm"
alias   3on3tdm "3v3tdm"
alias   4on4tdm "4v4tdm"
alias   5on5tdm "5v5tdm"
alias   2on2ctf "2v2ctf"
alias   3on3ctf "3v3ctf"
alias   4on4ctf "4v4ctf"
alias   5on5ctf "5v5ctf"
alias   2on2ca  "2v2ca"
alias   3on3ca  "3v3ca"
alias   4on4ca  "4v4ca"
alias   5on5ca  "5v5ca"

alias   dom "domination"
alias   kh  "keyhunt"
alias   ons "onslaught"
alias   cq  "conquest"

addvote 1v1dm
addvote 2v2tdm
addvote 3v3tdm
addvote 4v4tdm
addvote 5v5tdm
addvote 2v2ca
addvote 3v3ca
addvote 4v4ca
addvote 5v5ca
addvote 2v2ctf
addvote 3v3ctf
addvote 4v4ctf
addvote 5v5ctf
addvote 3v3ca
addvote 4v4ca
addvote 1on1dm
addvote 2on2tdm
addvote 2on2ca
addvote 3on3ctf
addvote 3on3ca
addvote 4on4ca
addvote dm
addvote tdm
addvote ctf
addvote ca
addvote freezetag
addvote assault
addvote keepaway
addvote kh
addvote keyhunt
addvote dom
addvote domination
addvote rune
addvote arena
addvote lms
addvote ons
addvote onslaught
addvote conquest
addvote nobots
addvote bots
addvote ctfduel

alias nobots "minplayers 0; bot_number 0; say To re-enable bots, please vote for
 'bots'"
alias bots "minplayers 4; say To disable bots, please vote for 'nobots'"
alias warmup "toggle g_warmup; restart"

addvote inftime
addvote infammo
addvote sv_fbskin_green
addvote sv_fbskin_orange
addvote sv_fbskin_red
addvote sv_fbskin_off
addvote warmup

// hook stuff
g_start_weapon_hook 0
alias hook g_grappling_hook 1
alias nohook g_grappling_hook 0
addvote hook
addvote nohook

@xseignard
Copy link
Author

data/xonotic-data.pk3dir/physicsX.cfg

g_mod_physics Xonotic
// current Xonotic physics

sv_gravity 800
sv_maxspeed 360
sv_maxairspeed 360

sv_stopspeed 100
sv_accelerate 15
sv_airaccelerate 2
sv_friction 6
edgefriction 1
sv_stepheight 31
// Q1: 16+2
// Nex: 32+2
// Xon 0.7: 24+2
// Samual: 31 (just below 32, keeping things smooth without allowing 32qu steps)

// jump duration == 2*sv_jumpvelocity / sv_gravity
// in this case: 0.6888888888 (thus either 20 or 21 frames)
// jump height == sv_jumpvelocity^2 / (2*sv_gravity)
// in this case: 42.25
// player: 24+45 qu
// total: 111.25qu
// this is smaller than 112 qu, so a 112 qu high corridor (7 of 8 grid units in
// the 16 grid, and the 8th unit used for wall/floor) just lets a player jump!
sv_jumpvelocity 260
sv_wateraccelerate -1
sv_waterfriction -1
sv_airaccel_sideways_friction 0
sv_airaccel_qw -0.8
sv_airaccel_qw_stretchfactor 2

sv_airstopaccelerate 3
sv_airstrafeaccelerate 18
sv_maxairstrafespeed 100
sv_airstrafeaccel_qw -0.95
sv_aircontrol 100
sv_aircontrol_penalty 0
sv_aircontrol_power 2
sv_airspeedlimit_nonqw 900
sv_warsowbunny_turnaccel 0
sv_warsowbunny_accel 0.1593
sv_warsowbunny_topspeed 925
sv_warsowbunny_backtosideratio 0.8
sv_friction_on_land 0
sv_doublejump 0
sv_jumpspeedcap_min ""
sv_jumpspeedcap_max ""
sv_jumpspeedcap_max_disable_on_ramps 1
g_teleport_maxspeed 0

@xseignard
Copy link
Author

remove nade personal damages g_balance_selfdamagepercent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment