From: Mario Date: Sat, 1 Jun 2013 06:06:08 +0000 (+1000) Subject: Begin moving all mutator settings to mutators.cfg X-Git-Tag: xonotic-v0.8.0~366^2~26^2~1 X-Git-Url: https://de.git.xonotic.org/?a=commitdiff_plain;h=2f1426690b11c91d1984bcf61cc7d0390f3ad39c;p=xonotic%2Fxonotic-data.pk3dir.git Begin moving all mutator settings to mutators.cfg --- diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 72e6375e3..b1c76f4c0 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -378,13 +378,6 @@ set g_weapon_throwable 1 "if set to 1, weapons can be dropped" set g_powerups -1 "if set to 0 the strength and shield (invincibility) will not spawn on the map, if 1 they will spawn in all game modes, -1 is game mode default" set g_use_ammunition 1 "if set to 0 all weapons have unlimited ammunition" set g_pickup_items -1 "if set to 0 all items (health, armor, ammo, weapons...) are removed from the map, if 1 they are forced to spawn" -set g_minstagib 0 "enable minstagib" -set g_minstagib_extralives 1 "how many extra lives you will get per powerup" -set g_minstagib_ammo_start 10 "starting ammo" -set g_minstagib_ammo_drop 5 "how much ammo you'll get for weapons or cells" -set g_minstagib_invis_alpha 0.15 -set g_minstagib_speed_highspeed 1.5 "speed-multiplier that applies while you carry the invincibility powerup" -set g_vampire 0 "set to 1 to enable the vampire mode, where the damage done to your opponent gets added to your own health" set g_weaponarena "0" "put in a list of weapons to enable a weapon arena mode, or try \"all\" or \"most\"" set g_weaponarena_random "0" "if set to a number, only that weapon count is given on every spawn (randomly)" set g_weaponarena_random_with_laser "1" "additionally, always provide the laser in random weapon arena games" @@ -414,36 +407,6 @@ set g_player_alpha 1 set g_player_brightness 0 "set to 2 for brighter players" seta g_balance_cloaked_alpha 0.25 -set g_sandbox 0 "allow players to spawn and edit objects around the map" -set g_sandbox_info 1 "print object information to the server. 1 prints info about spawned / removed objects, 2 also prints info about edited objects" -set g_sandbox_readonly 0 "when this mode is active, players cannot modify objects or use any sandbox commands" -set g_sandbox_storage_name default "name of the selected storage to use" -set g_sandbox_storage_autosave 5 "storage is automatically saved every specified number of seconds" -set g_sandbox_storage_autoload 1 "if a storage file exists for the given map, automatically load it at startup" -set g_sandbox_editor_flood 1 "players must wait this many seconds between spawning objects" -set g_sandbox_editor_maxobjects 1000 "maximum number of objects that may exist at a time" -set g_sandbox_editor_free 1 "0 = players can only copy or edit their own objects, 1 = players can copy but not edit other objects, 2 = players can copy and edit all object" -set g_sandbox_editor_distance_spawn 200 "distance at which objects spawn in front of the player" -set g_sandbox_editor_distance_edit 300 "distance at which players can edit or remove objects they are looking at" -set g_sandbox_object_scale_min 0.1 "minimum scale that objects can be set to" -set g_sandbox_object_scale_max 2 "maximum scale that objects can be set to" -set g_sandbox_object_material_velocity_min 100 "velocity objects must have while colliding for material effects to be applied" -set g_sandbox_object_material_velocity_factor 0.002 "velocity range which decides the intensity of material effects" -set cl_sandbox_clipboard "" - -seta menu_sandbox_spawn_model "" -seta menu_sandbox_attach_bone "" -seta menu_sandbox_edit_skin 0 -seta menu_sandbox_edit_alpha 1 -seta menu_sandbox_edit_color_main "1 1 1" -seta menu_sandbox_edit_color_glow "1 1 1" -seta menu_sandbox_edit_frame 0 -seta menu_sandbox_edit_scale 1 -seta menu_sandbox_edit_solidity 1 -seta menu_sandbox_edit_physics 1 -seta menu_sandbox_edit_force 1 -seta menu_sandbox_edit_material "" - bind f7 menu_showsandboxtools set g_playerclip_collisions 1 "0 = disable collision testing against playerclips, might be useful on some defrag maps" @@ -453,26 +416,9 @@ set welcome_message_time 8 set g_grappling_hook 0 "let players spawn with the grappling hook which allows them to pull themselves up" -set g_invincible_projectiles 0 "set to 1 to disable any damage to projectiles in all balance configs, regardless of g_projectiles_damage" -set g_dodging 0 "set to 1 to enable dodging in games" -set g_rocket_flying 0 "set to 1 to enable rocket flying in all balance configs" - -seta cl_dodging_timeout 0.2 "determines how long apart (in seconds) two taps on the same direction key are considered a dodge. use 0 to disable" - -set sv_dodging_wall_dodging 0 "set to 1 to allow dodging off walls. 0 to disable" -set sv_dodging_delay 0.5 "determines how long a player has to wait to be able to dodge again after dodging" -set sv_dodging_up_speed 200 "the jump velocity of the dodge" -set sv_dodging_horiz_speed 400 "the horizontal velocity of the dodge" -set sv_dodging_ramp_time 0.1 "a ramp so that the horizontal part of the dodge is added smoothly (seconds)" -set sv_dodging_height_threshold 10 "the maximum height above ground where to allow dodging" -set sv_dodging_wall_distance_threshold 10 "the maximum distance from a wall that still allows dodging" -set sv_dodging_sound 1 "if 1 dodging makes a sound. if 0 dodging is silent" - set g_spawn_alloweffects 1 "allow clients to enable spawn point and event effects such as particles and sounds, see cl_spawn_ cvars for more info" set g_spawn_furthest 1 "this amount of the spawns shall be far away from any players" set g_spawn_useallspawns 0 "use all spawns, e.g. also team spawns in non-teamplay, and all spawns, even enemy spawns, in teamplay" -set g_spawn_near_teammate 0 "if set, players prefer spawns near a team mate" -set g_spawn_near_teammate_distance 640 "max distance to consider a spawn to be near a team mate" // respawn delay set g_respawn_delay 2 "number of seconds you have to wait before you can respawn again" set g_respawn_waves 0 "respawn in waves (every n seconds), intended to decrease overwhelming base attacks" @@ -749,13 +695,6 @@ bind F2 vno //used for spectate/observer mode bind F3 spec -// NIX (No Items Xonotic) - at each time, everyone uses the same weapon, -// and in regular intervals, this weapon is cycled -set g_nix 0 "No Items Xonotic - 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_nix_with_laser 0 "always carry the laser as an additional weapon in NIX" -set g_nix_with_healtharmor 0 "when 1, health and armor still show up in NIX" -set g_nix_with_powerups 0 "when 1, powerups still show up in NIX" - // score log set sv_logscores_console 0 "print scores to server console" set sv_logscores_file 0 "print scores to file" @@ -1086,10 +1025,6 @@ alias sethostname "set menu_use_default_hostname 0; hostname $*" set sv_foginterval 1 "force enable fog in regular intervals" -set g_physical_items 0 "1 uses ODE physics for dropped weapons, 2 for all items, requires physics_ode to be enabled" -set g_physical_items_damageforcescale 3 "how affected physical weapons are by damage" -set g_physical_items_reset 1 "return map items to their original lotation after being picked up" - // Audio track names (for old-style "cd loop NUMBER" usage) set _cdtrack_first "1" alias _cdtrack_0 "g_cdtracks_remaplist \"$g_cdtracks_remaplist $1\"" @@ -1172,12 +1107,6 @@ set g_bugrigs_speed_ref 400 "reference speed for accel and steer responsiveness" set g_bugrigs_speed_pow 2 "reference power for accel and steer responsiveness" set g_bugrigs_steer 1 "steering amount" -set g_touchexplode 0 -set g_touchexplode_radius 50 -set g_touchexplode_damage 10 -set g_touchexplode_edgedamage 0 -set g_touchexplode_force 150 - set g_ban_sync_uri "" "sync using this ban list provider (empty string to disable)" set g_ban_sync_interval 5 "sync every 5 minutes" set g_ban_sync_trusted_servers "" "request ban lists from these xonotic servers (do not include your own server there, or unbanning may fail)" @@ -1337,10 +1266,6 @@ seta cl_forcemyplayerskin 0 "set to the skin number you want to show yourself as seta cl_forcemyplayercolors 0 "set to the color value (encoding is same as _cl_color) for your own player model (ignored in teamplay; does not affect how enemies look with cl_forceplayermodels)" seta cl_movement_errorcompensation 1 "try to compensate for prediction errors and reduce preceived lag" -// debug cvars for keyhunt attaching -set _angles "0 0 0" -set _origin "0 0 0" - // campaign internal, set when loading a campaign map1G set _campaign_index "" set _campaign_name "" @@ -1566,6 +1491,7 @@ exec turrets.cfg exec vehicles.cfg exec crosshairs.cfg exec gamemodes.cfg +exec mutators.cfg exec notifications.cfg // load console command aliases and settings @@ -1599,5 +1525,3 @@ set cl_simpleitems_postfix "_simple" "posfix to add fo model name when simple it set cl_fullbright_items 0 "enable fullbright items (if server allows, controled by g_fullbrightitems)" set cl_weapon_stay_color "2 0.5 0.5" "Color of picked up weapons when g_weapon_stay > 0" set cl_weapon_stay_alpha 0.75 "Alpha of picked up weapons when g_weapon_stay > 0" - -seta g_superspectate 0 "server side, allows extended spectator functions through the cmd interface. followpowerup, followstrength, followstshield or followfc [red|blue] will transfer spectation to the relevent player, if any" diff --git a/mutators.cfg b/mutators.cfg new file mode 100644 index 000000000..89e2682dd --- /dev/null +++ b/mutators.cfg @@ -0,0 +1,125 @@ +// ========================= +// Config for all mutators +// ========================= + + +// ========= +// dodging +// ========= +set g_dodging 0 "set to 1 to enable dodging in games" + +seta cl_dodging_timeout 0.2 "determines how long apart (in seconds) two taps on the same direction key are considered a dodge. use 0 to disable" + +set sv_dodging_wall_dodging 0 "set to 1 to allow dodging off walls. 0 to disable" +set sv_dodging_delay 0.5 "determines how long a player has to wait to be able to dodge again after dodging" +set sv_dodging_up_speed 200 "the jump velocity of the dodge" +set sv_dodging_horiz_speed 400 "the horizontal velocity of the dodge" +set sv_dodging_ramp_time 0.1 "a ramp so that the horizontal part of the dodge is added smoothly (seconds)" +set sv_dodging_height_threshold 10 "the maximum height above ground where to allow dodging" +set sv_dodging_wall_distance_threshold 10 "the maximum distance from a wall that still allows dodging" +set sv_dodging_sound 1 "if 1 dodging makes a sound. if 0 dodging is silent" + + +// =========== +// minstagib +// =========== +set g_minstagib 0 "enable minstagib" +set g_minstagib_extralives 1 "how many extra lives you will get per powerup" +set g_minstagib_ammo_start 10 "starting ammo" +set g_minstagib_ammo_drop 5 "how much ammo you'll get for weapons or cells" +set g_minstagib_invis_alpha 0.15 +set g_minstagib_speed_highspeed 1.5 "speed-multiplier that applies while you carry the invincibility powerup" + + +// ========= +// vampire +// ========= +set g_vampire 0 "set to 1 to enable the vampire mode, where the damage done to your opponent gets added to your own health" + + +// ========= +// sandbox +// ========= +set g_sandbox 0 "allow players to spawn and edit objects around the map" +set g_sandbox_info 1 "print object information to the server. 1 prints info about spawned / removed objects, 2 also prints info about edited objects" +set g_sandbox_readonly 0 "when this mode is active, players cannot modify objects or use any sandbox commands" +set g_sandbox_storage_name default "name of the selected storage to use" +set g_sandbox_storage_autosave 5 "storage is automatically saved every specified number of seconds" +set g_sandbox_storage_autoload 1 "if a storage file exists for the given map, automatically load it at startup" +set g_sandbox_editor_flood 1 "players must wait this many seconds between spawning objects" +set g_sandbox_editor_maxobjects 1000 "maximum number of objects that may exist at a time" +set g_sandbox_editor_free 1 "0 = players can only copy or edit their own objects, 1 = players can copy but not edit other objects, 2 = players can copy and edit all object" +set g_sandbox_editor_distance_spawn 200 "distance at which objects spawn in front of the player" +set g_sandbox_editor_distance_edit 300 "distance at which players can edit or remove objects they are looking at" +set g_sandbox_object_scale_min 0.1 "minimum scale that objects can be set to" +set g_sandbox_object_scale_max 2 "maximum scale that objects can be set to" +set g_sandbox_object_material_velocity_min 100 "velocity objects must have while colliding for material effects to be applied" +set g_sandbox_object_material_velocity_factor 0.002 "velocity range which decides the intensity of material effects" +set cl_sandbox_clipboard "" + +seta menu_sandbox_spawn_model "" +seta menu_sandbox_attach_bone "" +seta menu_sandbox_edit_skin 0 +seta menu_sandbox_edit_alpha 1 +seta menu_sandbox_edit_color_main "1 1 1" +seta menu_sandbox_edit_color_glow "1 1 1" +seta menu_sandbox_edit_frame 0 +seta menu_sandbox_edit_scale 1 +seta menu_sandbox_edit_solidity 1 +seta menu_sandbox_edit_physics 1 +seta menu_sandbox_edit_force 1 +seta menu_sandbox_edit_material "" + + +// ======================== +// invincible projectiles +// ======================== +set g_invincible_projectiles 0 "set to 1 to disable any damage to projectiles in all balance configs, regardless of g_projectiles_damage" + + +// =============== +// rocket flying +// =============== +set g_rocket_flying 0 "set to 1 to enable rocket flying in all balance configs" + + +// ===================== +// spawn near teammate +// ===================== +set g_spawn_near_teammate 0 "if set, players prefer spawns near a team mate" +set g_spawn_near_teammate_distance 640 "max distance to consider a spawn to be near a team mate" + + +// ======================== +// NIX (No Items Xonotic) +// ======================== +// at each time, everyone uses the same weapon, +// and in regular intervals, this weapon is cycled +set g_nix 0 "No Items Xonotic - 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_nix_with_laser 0 "always carry the laser as an additional weapon in NIX" +set g_nix_with_healtharmor 0 "when 1, health and armor still show up in NIX" +set g_nix_with_powerups 0 "when 1, powerups still show up in NIX" + + +// ================ +// physical items +// ================ +set g_physical_items 0 "1 uses ODE physics for dropped weapons, 2 for all items, requires physics_ode to be enabled" +set g_physical_items_damageforcescale 3 "how affected physical weapons are by damage" +set g_physical_items_reset 1 "return map items to their original lotation after being picked up" + + +// =============== +// touch explode +// =============== +set g_touchexplode 0 "touching other players causes an explosion" +set g_touchexplode_radius 50 +set g_touchexplode_damage 10 +set g_touchexplode_edgedamage 0 +set g_touchexplode_force 150 + + +// ================ +// super spectate +// ================ +set g_superspectate 0 "server side, allows extended spectator functions through the cmd interface. followpowerup, followstrength, followstshield or followfc [red|blue] will transfer spectation to the relevent player, if any"