From 7974af9762c727350fcc0986605afd39e480f837 Mon Sep 17 00:00:00 2001 From: Tim Bagheri Date: Sun, 18 Mar 2012 13:41:01 +1100 Subject: [PATCH] Signed-off-by: Tim Bagheri --- trainingwheels/cfg/autoexec.cfg | 127 ++++++ trainingwheels/cfg/hostname.cfg | 4 + trainingwheels/cfg/rcon.cfg | 2 + trainingwheels/cfg/replay.cfg | 28 ++ trainingwheels/cfg/replay_ftp.cfg | 21 + trainingwheels/cfg/replay_local_http.cfg | 15 + trainingwheels/cfg/settings_default.scr | 84 ++++ .../cfg/sfm_defaultanimationgroups.txt | 133 ++++++ trainingwheels/cfg/sourcemod/funcommands.cfg | 89 ++++ .../cfg/sourcemod/sm_warmode_off.cfg | 4 + .../cfg/sourcemod/sm_warmode_on.cfg | 10 + trainingwheels/cfg/sourcemod/sourcemod.cfg | 134 ++++++ trainingwheels/cfg/user_default.scr | 383 ++++++++++++++++++ trainingwheels/cfg/valve.rc | 19 + trainingwheels/gameinfo.txt | 49 +++ trainingwheels/mapcycle.txt | 2 + trainingwheels/maplist.txt | 1 + trainingwheels/motd.txt | 1 + trainingwheels/motd_text.txt | 4 + 19 files changed, 1110 insertions(+) create mode 100644 trainingwheels/cfg/autoexec.cfg create mode 100644 trainingwheels/cfg/hostname.cfg create mode 100644 trainingwheels/cfg/rcon.cfg create mode 100644 trainingwheels/cfg/replay.cfg create mode 100644 trainingwheels/cfg/replay_ftp.cfg create mode 100644 trainingwheels/cfg/replay_local_http.cfg create mode 100644 trainingwheels/cfg/settings_default.scr create mode 100644 trainingwheels/cfg/sfm_defaultanimationgroups.txt create mode 100644 trainingwheels/cfg/sourcemod/funcommands.cfg create mode 100644 trainingwheels/cfg/sourcemod/sm_warmode_off.cfg create mode 100644 trainingwheels/cfg/sourcemod/sm_warmode_on.cfg create mode 100644 trainingwheels/cfg/sourcemod/sourcemod.cfg create mode 100644 trainingwheels/cfg/user_default.scr create mode 100644 trainingwheels/cfg/valve.rc create mode 100644 trainingwheels/gameinfo.txt create mode 100644 trainingwheels/mapcycle.txt create mode 100644 trainingwheels/maplist.txt create mode 100644 trainingwheels/motd.txt create mode 100644 trainingwheels/motd_text.txt diff --git a/trainingwheels/cfg/autoexec.cfg b/trainingwheels/cfg/autoexec.cfg new file mode 100644 index 0000000..6cb357e --- /dev/null +++ b/trainingwheels/cfg/autoexec.cfg @@ -0,0 +1,127 @@ +////// OZFORTRESS TF2 SERVER CONFIG +////// Last Edited: 18th, March 2012 +////// By wm + +//// Base +exec hostname.cfg +exec rcon.cfg +exec replay.cfg +mapcyclefile mapcycle.txt +motdfile motd.txt + +decalfrequency "30" // Waiting time between sprays +fps_max "0" // Do not change for 1000fps server +sv_password "" // Password to join the server +sv_region "5" // The region of the world to report this server in: 0 = US East, 1 = US West, 2 = South America, 3 = Europe, 4 = Asia, 5 = Australia, 6 = Middle East, 7 = Africa, 255 = World + +sv_pure "2" // Forces all clients to use content that matches the server: 0 = Disabled, 1 = Whitelist, 2 = Steam +sv_pure_kick_clients "1" // 0 = Issue a warning to the client with mismatching files, 1 = Kick client +sv_pure_trace "1" // 1 = Print a message whenever a client is verifying a CRC for a file +sv_consistency "1" // Enable or disable enforcing file consistency for critical files + +sv_maxrate "30000" // Max bandwidth rate allowed on server: 0 = unlimited +sv_minrate "5000" // Min bandwidth rate allowed on server: 0 = unlimited +sv_maxupdaterate "66" // Maximum updates per second that the server will allow +sv_minupdaterate "33" // Minimum updates per second that the server will allow +sv_maxcmdrate "66" // Sets the maximum value for cl_cmdrate (If sv_mincmdrate is > 0) +sv_mincmdrate "33" // This sets the minimum value for cl_cmdrate: 0 = unlimited + +sv_client_cmdrate_difference "33" // Force cl_cmdrate to be ± units of cl_updaterate before it is clamped between sv_mincmdrate and sv_maxcmdrate +sv_client_max_interp_ratio "5" // Limit the value of cl_interp_ratio for connected clients: -1 = cvar has no effect +sv_client_min_interp_ratio "1" // Limit the value of cl_interp_ratio for connected clients: -1 = let clients set cl_interp_ratio to anything +sv_client_predict "-1" // Force the value of cl_predict for connected clients: -1 = let clients set cl_predict to anything, 0 = force cl_predict to 0, 1 = force cl_predict to 1 + +sv_allow_wait_command "1" // Allow or disallow clients using the wait command +sv_allowdownload "1" // Allow clients to download files +sv_allowupload "1" // Allow clients to upload customizations files +sv_alltalk "1" // Allow or disallow hearing all other players, no team restrictions +sv_cheats "0" // Allow or disallow cheats on server +sv_gravity "800" // World gravity +sv_lan "0" // 0 = Internet & LAN, 1 = LAN only (no heartbeat, no authentication, no non-class C addresses) +sv_master_legacy_mode "1" // 1 = Use old code to communicate with master servers +sv_pausable "0" // Allow or disallow the server to be paused by clients +sv_rcon_banpenalty "0" // Minutes to ban users who fail rcon authentication +sv_rcon_log "1" // Enable or disable rcon logging +sv_rcon_maxfailures "10" // Times a user can fail rcon authentication before being banned +sv_rcon_minfailures "5" // Times a user can fail rcon authentication in before being banned +sv_rcon_minfailuretime "30" // Seconds to track failed rcon authentications +sv_turbophysics "1" // Turns on turbo physics (uses less CPU) +sv_voiceenable "1" // Enables voice chat + +log off // Server logging < on | off > + + +//// SourceTV +tv_enable "1" // Enable or disable SourceTV on local server +tv_password "potato" // Password to join the SourceTV +tv_relaypassword "" // Password for relay proxies to join the SourceTV +tv_title "An ozfortress.com presentation" // Title for SourceTV spectator UI + +tv_allow_camera_man "0" // Allow or disallow spectators to become SourceTV camera man +tv_allow_static_shots "0" // Allow or disallow auto director fixed camera shots +tv_autoretry "1" // Relay proxies retry connection after network timeout +tv_chattimelimit "2" // Limit spectators to chat only every seconds +tv_delay "0" // Seconds to delay broadcast +tv_delaymapchange "1" // Enable or disable map change delay until broadcast is complete +tv_dispatchmode "1" // Dispatch clients to relay proxies: 0 = Never, 1 = If appropriate, 2 = Always +tv_maxclients "8" // Max clients in SourceTV +tv_maxrate "5000" // Max spectator bandwidth rate allowed: 0 = Unlimited +tv_relayvoice "1" // Enable or disable relay of player voice chat +tv_snapshotrate "16" // World snapshots broadcasted per second +tv_timeout "30" // Seconds for relay proxy to timeout +tv_transmitall "1" // 0 = Only transmit entities in auto director view, 1 = Transmit all entities + + +//// Gameplay +mp_allowspectators "1" // Allow or disallow spectating +mp_autoteambalance "0" // Enable or disable automatically balanced team sizes +mp_bonusroundtime "0" // Time after round win until round restarts (Free kills) +mp_chattime "15" // Time players can chat after the game is over +mp_disable_respawn_times "1" // Enable or disable instaspawn +mp_enableroundwaittime "0" // Enable or disable freeze time at beginning of round (bugs dustbowl if disabled?) +mp_forcecamera "0" // 0 = Dead players can spectate anyone, 1 = Team members only +mp_forcerespawn "0" // Enable or disable forcing players to respawn when the respawn timer hits zero +mp_friendlyfire "0" // Allows or disallow team members to injure each other +mp_idledealmethod "0" // 0 = Do nothing, 1 = Sends to spectator and kick if still idle, 2 = Kick +mp_match_end_at_timelimit "1" // End the match when mp_timelimit hits instead of waiting for end of the current round +mp_maxrounds "1" // Max number of rounds to play before server changes maps +mp_respawnwavetime "0" // Time between respawn waves (changes require map restart) +mp_stalemate_enable "0" // Enable or disable stalemate mode +mp_teams_unbalance_limit "0" // Difference in team sizes before mp_autoteambalance kicks in: 0 = Disabled +mp_time_between_capscoring "0" // Delay between scoring of owned capture points (what?) +mp_timelimit "0" // Duration of the map in minutes +mp_tournament "0" // Enable or disable tournament mode +mp_tournament_allow_non_admin_restart "0" // Allow or disallow mp_tournament_restart command to be issued by players other than admin +mp_tournament_stopwatch "0" // Enables or disables stop watch scoring mode +mp_winlimit "1" // Max score one team can reach before map ends +mp_timelimit "20" + +tf_arena_first_blood "0" // Crit bonus for first kill in an arena round +tf_arena_max_streak "0" // Scrambles teams if one team reaches this streak +tf_arena_preround_time "5" // Pre-Round time in seconds +tf_arena_round_time "0" // Round time in seconds +tf_arena_use_queue "0" // Enable or disable spectator queue system for Arena +tf_clamp_airducks "1" // How many times players can duck per jump +tf_ctf_bonus_time "0" // How long an entire team gains crits when they cap +tf_damage_disablespread "0" // Enable or disable random damage spread +tf_flags_caps_per_round "0" // How many caps make up a "win" +tf_overtime_nag "0" // OVERTIMEOVERTIMEOVERTIMEOVERTIMEOVERTIMEOVERTIME +tf_teamtalk "1" // Allow alive/dead teammates to talk with each other during a match +tf_tournament_hide_domination_icons "0" // Forces clients to not display the domination icons above their nemesiseseses +tf_use_fixed_weaponspreads "0" // Enable or disable consistant weapon spread +tf_weapon_criticals "1" // Enable or disable random critical attacks + +tf_tournament_classlimit_demoman "-1" // Per-team Demoman limit +tf_tournament_classlimit_engineer "-1" // Per-team Engineer limit +tf_tournament_classlimit_heavy "-1" // Per-team Heavy limit +tf_tournament_classlimit_medic "-1" // Per-team Medic limit +tf_tournament_classlimit_pyro "-1" // Per-team Pyro limit +tf_tournament_classlimit_scout "-1" // Per-team Scout limit +tf_tournament_classlimit_sniper "-1" // Per-team Sniper limit +tf_tournament_classlimit_soldier "-1" // Per-team Soldier limit +tf_tournament_classlimit_spy "-1" // Per-team Spy limit + +// tr_walkway_rc2 related settings +mp_humans_must_join_team "red" +sv_downloadurl "changemetoyourserver" + diff --git a/trainingwheels/cfg/hostname.cfg b/trainingwheels/cfg/hostname.cfg new file mode 100644 index 0000000..b28016e --- /dev/null +++ b/trainingwheels/cfg/hostname.cfg @@ -0,0 +1,4 @@ +//// Change this to suit your server name + +hostname "ozfortress.com Training Wheels - All Players Welcome [3]" +tv_name "ozfortress.com Training Wheels TF2 MAPS [3] SourceTV" diff --git a/trainingwheels/cfg/rcon.cfg b/trainingwheels/cfg/rcon.cfg new file mode 100644 index 0000000..42faa80 --- /dev/null +++ b/trainingwheels/cfg/rcon.cfg @@ -0,0 +1,2 @@ +rcon_password "changeme" + diff --git a/trainingwheels/cfg/replay.cfg b/trainingwheels/cfg/replay.cfg new file mode 100644 index 0000000..fefe243 --- /dev/null +++ b/trainingwheels/cfg/replay.cfg @@ -0,0 +1,28 @@ +// +// To enable replay, modify this file, and either replay_local_http.cfg or replay_ftp.cfg (see below), then +// run your server with something like: +// +// srcds -game tf -console +exec replay.cfg +// +// The replay system will do a sanity check at startup to help you debug any issues. +// + +// Enable replay! +replay_enable "1" + +// How often we dump replay data. You should not need to modify this value. +replay_block_dump_interval "15" + +// This is the method by which clients download replay data. At the moment, only HTTP is available. +replay_fileserver_protocol "http" + +// +// NOTE: UNCOMMENT *ONE* OF THE FOLLOWING TWO 'EXEC' LINES, AND MAKE SURE YOU EDIT THE CORRESPONDING FILE. +// +// - The "local HTTP" method requires that you run a web server on the same machine as your game server. +// - The "FTP" method allows you to offload replay data to another machine (which must be running a web +// server) over FTP. Clients will download their replay data over HTTP. +// + +exec replay_local_http.cfg +//exec replay_ftp.cfg diff --git a/trainingwheels/cfg/replay_ftp.cfg b/trainingwheels/cfg/replay_ftp.cfg new file mode 100644 index 0000000..4665a8f --- /dev/null +++ b/trainingwheels/cfg/replay_ftp.cfg @@ -0,0 +1,21 @@ +// Offload using FTP. Do not use a local web server. DO NOT EDIT THIS LINE. +replay_fileserver_offload_enable "1" + + +// +// YOU MUST EDIT THE CONVARS BELOW THIS LINE. +// + +// These are used to reconstruct a URL on the client. +replay_fileserver_host "my.server.com" +replay_fileserver_port "8080" +replay_fileserver_path "/" + +// Your FTP info. This data is private and not shared with the client. +replay_fileserver_offload_protocol "ftp" +replay_fileserver_offload_hostname "ftp.my.server.com" +replay_fileserver_offload_port "21" +replay_fileserver_offload_remotepath "/" +replay_fileserver_offload_login "username" +replay_fileserver_offload_password "password" +replay_fileserver_offload_maxuploads "16" diff --git a/trainingwheels/cfg/replay_local_http.cfg b/trainingwheels/cfg/replay_local_http.cfg new file mode 100644 index 0000000..f6e5f32 --- /dev/null +++ b/trainingwheels/cfg/replay_local_http.cfg @@ -0,0 +1,15 @@ +// Don't offload over FTP. Use a local web server. DO NOT EDIT THIS LINE. +replay_fileserver_offload_enable "0" + + +// +// YOU MUST EDIT THE CONVARS BELOW THIS LINE. +// + +// The replay data will be copied to this directory +replay_local_fileserver_path "/home/steam/demos/replays/27135" + +// These are used to reconstruct a URL on the client. +replay_fileserver_host "heavy.ozfortress.com" +replay_fileserver_port "80" +replay_fileserver_path "/replays/27135" diff --git a/trainingwheels/cfg/settings_default.scr b/trainingwheels/cfg/settings_default.scr new file mode 100644 index 0000000..ef09c7e --- /dev/null +++ b/trainingwheels/cfg/settings_default.scr @@ -0,0 +1,84 @@ +// NOTE: THIS FILE IS AUTOMATICALLY REGENERATED, +//DO NOT EDIT THIS HEADER, YOUR COMMENTS WILL BE LOST IF YOU DO +// Multiplayer options script +// +// Format: +// Version [float] +// Options description followed by +// Options defaults +// +// Option description syntax: +// +// "cvar" { "Prompt" { type [ type info ] } { default } } +// +// type = +// BOOL (a yes/no toggle) +// STRING +// NUMBER +// LIST +// +// type info: +// BOOL no type info +// NUMBER min max range, use -1 -1 for no limits +// STRING no type info +// LIST delimited list of options value pairs +// +// +// default depends on type +// BOOL is "0" or "1" +// NUMBER is "value" +// STRING is "value" +// LIST is "index", where index "0" is the first element of the list + + +// Half-Life Server Configuration Layout Script (stores last settings chosen, too) +// File generated: Mon Jul 12 05:28:33 PM +// +// +// Cvar - Setting + +VERSION 1.0 + +DESCRIPTION SERVER_OPTIONS +{ + "hostname" + { + "#Valve_Hostname" + { STRING } + { "Team Fortress 2" } + } + + "maxplayers" + { + "#Valve_Max_Players" + { NUMBER 1 24 } + { "24" } + } + + "sv_password" + { + "#Valve_Server_Password" + { STRING } + { "" } + } + + "mp_timelimit" + { + "#TF_Timelimit" + { NUMBER 0 -1 } + { "30" } + } + + "mp_winlimit" + { + "#TF_WinLimit" + { NUMBER 0 -1 } + { "0" } + } + "mp_maxrounds" + { + "#TF_MaxRounds" + { NUMBER 0 -1 } + { "0" } + } +} diff --git a/trainingwheels/cfg/sfm_defaultanimationgroups.txt b/trainingwheels/cfg/sfm_defaultanimationgroups.txt new file mode 100644 index 0000000..fdc78c6 --- /dev/null +++ b/trainingwheels/cfg/sfm_defaultanimationgroups.txt @@ -0,0 +1,133 @@ +groupFile // Doesn't support hierarchies yet... +{ + "Eyes" + { + "control" "eyes_updown" + "control" "eyes_rightleft" + } + "Upper Face" + { + "control" "BrowInV" + "control" "BrowOutV" + "control" "Frown" + "control" "InnerSquint" + "control" "OuterSquint" + "control" "ScalpD" + "control" "CloseLid" + "control" "CloseLidV" + } + "Mid Face" + { + "control" "NoseV" + "control" "NostrilFlare" + "control" "CheekV" + "control" "CheekH" + } + "Lower Face" + { + "control" "Smile" + "control" "value_Smile" + "control" "LipsV" + "control" "LipLoV" + "control" "LipUpV" + "control" "Platysmus" + "control" "LipCnrTwst" + "control" "Dimple" + "control" "FoldLipLo" + "control" "FoldLipUp" + "control" "PuckerLipLo" + "control" "PuckerLipUp" + "control" "LipStick" + "control" "PuffLipLo" + "control" "PuffLipUp" + "control" "JawV" + "control" "JawD" + "control" "JawH" + } + "Body" + { + "control" "rootTransform" + "control" "bip_pelvis" + "control" "bip_spine_0" + "control" "bip_spine_1" + "control" "bip_spine_2" + "control" "bip_spine_3" + "control" "bip_neck" + "control" "bip_head" + } + "Arms" + { + "control" "bip_collar_L" + "control" "bip_upperArm_L" + "control" "bip_lowerArm_L" + "control" "bip_hand_L" + "control" "bip_collar_R" + "control" "bip_upperArm_R" + "control" "bip_lowerArm_R" + "control" "bip_hand_R" + } + "Fingers" + { + "control" "bip_thumb_0_L" + "control" "bip_thumb_1_L" + "control" "bip_thumb_2_L" + "control" "bip_index_0_L" + "control" "bip_index_1_L" + "control" "bip_index_2_L" + "control" "bip_middle_0_L" + "control" "bip_middle_1_L" + "control" "bip_middle_2_L" + "control" "bip_ring_0_L" + "control" "bip_ring_1_L" + "control" "bip_ring_2_L" + "control" "bip_pinky_0_L" + "control" "bip_pinky_1_L" + "control" "bip_pinky_2_L" + "control" "bip_thumb_0_R" + "control" "bip_thumb_1_R" + "control" "bip_thumb_2_R" + "control" "bip_index_0_R" + "control" "bip_index_1_R" + "control" "bip_index_2_R" + "control" "bip_middle_0_R" + "control" "bip_middle_1_R" + "control" "bip_middle_2_R" + "control" "bip_ring_0_R" + "control" "bip_ring_1_R" + "control" "bip_ring_2_R" + "control" "bip_pinky_0_R" + "control" "bip_pinky_1_R" + "control" "bip_pinky_2_R" + } + "Legs" + { + "control" "bip_hip_L" + "control" "bip_knee_L" + "control" "bip_foot_L" + "control" "bip_toe_L" + "control" "bip_hip_R" + "control" "bip_knee_R" + "control" "bip_foot_R" + "control" "bip_toe_R" + } + "Other" + { + "control" "weapon_bone" + "control" "prp_bullet_shoulder" + "control" "prp_bullet_backUpper" + "control" "prp_bullet_backLower" + "control" "prp_bullet_chestUpper" + "control" "prp_bullet_side" + "control" "prp_bullet_chestLower" + "control" "prp_pack" + } + // This is a special group which will ignore controls of this name + "IGNORE" + { + "control" "righteye" + "control" "lefteye" + "control" "eyes" + "control" "CloseLidUp" + "control" "CloseLidLo" + } +} diff --git a/trainingwheels/cfg/sourcemod/funcommands.cfg b/trainingwheels/cfg/sourcemod/funcommands.cfg new file mode 100644 index 0000000..53afeb0 --- /dev/null +++ b/trainingwheels/cfg/sourcemod/funcommands.cfg @@ -0,0 +1,89 @@ +// This file was auto-generated by SourceMod (v1.3.6) +// ConVars for plugin "funcommands.smx" + + +// Sets the radius for beacon's light rings. +// - +// Default: "375" +// Minimum: "50.000000" +// Maximum: "1500.000000" +sm_beacon_radius "375" + +// Sets the default duration of sm_burn and firebomb victims. +// - +// Default: "20.0" +// Minimum: "0.500000" +// Maximum: "20.000000" +sm_burn_duration "20.0" + +// Who is targetted by the FireBomb? 0 = Target only, 1 = Target's team, 2 = Everyone +// - +// Default: "0" +// Minimum: "0.000000" +// Maximum: "2.000000" +sm_firebomb_mode "0" + +// Sets the bomb blast radius. +// - +// Default: "600" +// Minimum: "50.000000" +// Maximum: "3000.000000" +sm_firebomb_radius "600" + +// Sets how long the FireBomb fuse is. +// - +// Default: "10.0" +// Minimum: "5.000000" +// Maximum: "120.000000" +sm_firebomb_ticks "10.0" + +// Sets the default duration for sm_freeze and freezebomb victims +// - +// Default: "10.0" +// Minimum: "1.000000" +// Maximum: "120.000000" +sm_freeze_duration "10.0" + +// Who is targetted by the freezebomb? 0 = Target only, 1 = Target's team, 2 = Everyone +// - +// Default: "0" +// Minimum: "0.000000" +// Maximum: "2.000000" +sm_freezebomb_mode "0" + +// Sets the freezebomb blast radius. +// - +// Default: "600" +// Minimum: "50.000000" +// Maximum: "3000.000000" +sm_freezebomb_radius "600" + +// Sets how long the freezebomb fuse is. +// - +// Default: "10.0" +// Minimum: "5.000000" +// Maximum: "120.000000" +sm_freezebomb_ticks "10.0" + +// Who is killed by the timebomb? 0 = Target only, 1 = Target's team, 2 = Everyone +// - +// Default: "0" +// Minimum: "0.000000" +// Maximum: "2.000000" +sm_timebomb_mode "0" + +// Sets the bomb blast radius. +// - +// Default: "600" +// Minimum: "50.000000" +// Maximum: "3000.000000" +sm_timebomb_radius "600" + +// Sets how long the timebomb fuse is. +// - +// Default: "10.0" +// Minimum: "5.000000" +// Maximum: "120.000000" +sm_timebomb_ticks "10.0" + + diff --git a/trainingwheels/cfg/sourcemod/sm_warmode_off.cfg b/trainingwheels/cfg/sourcemod/sm_warmode_off.cfg new file mode 100644 index 0000000..a52bbac --- /dev/null +++ b/trainingwheels/cfg/sourcemod/sm_warmode_off.cfg @@ -0,0 +1,4 @@ +//This file re-enables a server from "war mode" by unlocking plugin loading +//and refreshing the plugins list. +sm plugins load_unlock +sm plugins refresh diff --git a/trainingwheels/cfg/sourcemod/sm_warmode_on.cfg b/trainingwheels/cfg/sourcemod/sm_warmode_on.cfg new file mode 100644 index 0000000..82fdd32 --- /dev/null +++ b/trainingwheels/cfg/sourcemod/sm_warmode_on.cfg @@ -0,0 +1,10 @@ +//This file unloads all plugins, re-loads a few "safe" ones, and then prevents +//any more plugins from being loaded. +sm plugins unload_all +sm plugins load_unlock +sm plugins load basebans.smx +sm plugins load basecommands.smx +sm plugins load admin-flatfile.smx +sm plugins load adminhelp.smx +sm plugins load adminmenu.smx +sm plugins load_lock diff --git a/trainingwheels/cfg/sourcemod/sourcemod.cfg b/trainingwheels/cfg/sourcemod/sourcemod.cfg new file mode 100644 index 0000000..5a47d88 --- /dev/null +++ b/trainingwheels/cfg/sourcemod/sourcemod.cfg @@ -0,0 +1,134 @@ +// SourceMod Configuration File +// This file is automatically executed by SourceMod every mapchange. + + +// Specifies how admin activity should be relayed to users. Add up the values +// below to get the functionality you want. +// 1: Show admin activity to non-admins anonymously. +// 2: If 1 is specified, admin names will be shown. +// 4: Show admin activity to admins anonymously. +// 8: If 4 is specified, admin names will be shown. +// 16: Always show admin names to root users. +// -- +// Default: 13 (1+4+8) +sm_show_activity 13 + +// Specifies whether menu sounds are enabled for menus created by SourceMod. +// Menu sounds can be further configured in addons/sourcemod/configs/core.cfg. +// -- +// Default: 1 +sm_menu_sounds 1 + +// Specifies how long of a delay, in seconds, should be used in between votes +// that are "public" or can be spammed. Whether or not this delay is obeyed +// is dependent on the menu/command. +// -- +// Default: 30 +sm_vote_delay 30 + +// Default datetime formatting rules when displaying to clients. +// For full options, see: http://www.opengroup.org/onlinepubs/007908799/xsh/strftime.html +// -- +// Default: %m/%d/%Y - %H:%M:%S +// 12 hour format: %m/%d/%Y - %I:%M:%S %p +sm_datetime_format "%m/%d/%Y - %H:%M:%S" + +// Sets how SourceMod should check immunity levels when administrators target +// each other. +// 0: Ignore immunity levels (except for specific group immunities). +// 1: Protect from admins of lower access only. +// 2: Protect from admins of equal to or lower access. +// 3: Same as 2, except admins with no immunity can affect each other. +// -- +// Default: 1 +sm_immunity_mode 1 + +// Sets how many seconds SourceMod should adjust time values for incorrect +// server clocks. This can be positive or negative and will affect every +// system time in SourceMod, including logging stamps. +// -- +// Default: 0 +sm_time_adjustment 0 + +// Specifies the amount of time that is allowed between chat messages. This +// includes the say and say_team commands. If a client sends a message faster +// than this time, they receive a flood token. When the client has accumulated +// 3 or more tokens, a warning message is shown instead of the chat message. +// -- +// Requires: antiflood.smx +// Default: 0.75 +sm_flood_time 0.75 + +// Specifies how the reserved slots plugin operates. Valid values are: +// 0 : Public slots are used in preference to reserved slots. Reserved slots are freed before public slots. +// 1 : If someone with reserve access joins into a reserved slot, the player with the highest latency and +// no reserved slot access (spectator players are selected first) is kicked to make room. Thus, the reserved +// slots always remains free. The only situation where the reserved slot(s) can become properly occupied is +// if the server is full with reserve slot access clients. +// -- +// Requires: reservedslots.smx +// Default: 0 +sm_reserve_type 0 + +// Specifies the number of reserved player slots. Users with the reservation +// admin flag set will be able to join the server when there are no public slots +// remaining. If someone does not have this flag, they will be kicked. +// (Public slots are defined as: maxplayers - number of reserved slots) +// -- +// Requires: reservedslots.smx +// Default: 0 +sm_reserved_slots 0 + +// Specifies whether or not reserved slots will be hidden (subtracted from max +// slot count). Valid values are 0 (Visible) or 1 (Hidden). +// -- +// Requires: reservedslots.smx +// Default: 0 +sm_hide_slots 0 + +// Specifies whether or not non-admins can send messages to admins using +// say_team @. Valid values are 0 (Disabled) or 1 (Enabled) +// -- +// Requires: basechat.smx +// Default: 1 +sm_chat_mode 1 + +// Specifies whether or not "timeleft" will automaticly be triggered every +// x seconds. Valid values are 0 (Disabled) to 1800 seconds. +// -- +// Requires: basetriggers.smx +// Default: 0 +sm_timeleft_interval 0 + +// Specifies whether or not chat triggers are broadcast to the server or just +// the player who requested the info trigger. Valid values are 0 (Disabled) or +// 1 (Enabled) +// -- +// Requires: basetriggers.smx +// Default: 1 +sm_trigger_show 1 + +// Specifies whether or not to display vote progress to clients in the +// "hint" box (near the bottom of the screen in most games). +// Valid values are 0 (Disabled) or 1 (Enabled). +// -- +// Default: 0 +sm_vote_progress_hintbox 0 + +// Specifies whether or not to display vote progress to clients in the +// chat area. Valid values are 0 (Disabled) or 1 (Enabled). +// -- +// Default: 0 +sm_vote_progress_chat 0 + +// Specifies whether or not to display vote progress in the server console. +// Valid values are 0 (Disabled) or 1 (Enabled). +// -- +// Default: 0 +sm_vote_progress_console 0 + +// Specifies whether or not to display vote progress to clients in the +// client console. Valid values are 0 (Disabled) or 1 (Enabled). +// -- +// Default: 0 +sm_vote_progress_client_console 0 diff --git a/trainingwheels/cfg/user_default.scr b/trainingwheels/cfg/user_default.scr new file mode 100644 index 0000000..bde236c --- /dev/null +++ b/trainingwheels/cfg/user_default.scr @@ -0,0 +1,383 @@ +// NOTE: THIS FILE IS AUTOMATICALLY REGENERATED, +//DO NOT EDIT THIS HEADER, YOUR COMMENTS WILL BE LOST IF YOU DO +// User options script +// +// Format: +// Version [float] +// Options description followed by +// Options defaults +// +// Option description syntax: +// +// "cvar" { "Prompt" { type [ type info ] } { default } } +// +// type = +// BOOL (a yes/no toggle) +// STRING +// NUMBER +// LIST +// +// type info: +// BOOL no type info +// NUMBER min max range, use -1 -1 for no limits +// STRING no type info +// LIST delimited list of options value pairs +// +// +// default depends on type +// BOOL is "0" or "1" +// NUMBER is "value" +// STRING is "value" +// LIST is "index", where index "0" is the first element of the list + + +// Half-Life User Info Configuration Layout Script (stores last settings chosen, too) +// File generated: Tue Jul 13 17:43:58 AM +// +// +// Cvar - Setting + +VERSION 1.0 + +DESCRIPTION INFO_OPTIONS +{ + "category1" + { + "#TF_OptionCategory_Combat" + { CATEGORY } + } + + "cl_autoreload" + { + "#TF_autoreload" + "#Tooltip_autoreload" + { BOOL } + { "0" } + } + + "tf_dingalingaling" + { + "#TF_Hitbeeps" + "#Tooltip_Hitbeeps" + { BOOL } + { "0" } + } + + "hud_combattext" + { + "#TF_CombatText" + "#Tooltip_CombatText" + { BOOL } + { "0" } + } + + "tf_remember_activeweapon" + { + "#TF_rememberactiveweapon" + "#Tooltip_rememberactiveweapon" + { BOOL } + { "0" } + } + + "tf_remember_lastswitched" + { + "#TF_rememberlastweapon" + "#Tooltip_rememberlastweapon" + { BOOL } + { "0" } + } + + "category2" + { + "#TF_OptionCategory_ClassSpecific" + { CATEGORY } + } + + "tf_simple_disguise_menu" + { + "#TF_simple_disguise_menu_option" + "#Tooltip_simple_disguise_menu_option" + { BOOL } + { "0" } + } + + "cl_autorezoom" + { + "#TF_autozoom" + "#Tooltip_autozoom" + { BOOL } + { "1" } + } + + "tf_medigun_autoheal" + { + "#TF_medigun_autoheal" + "#Tooltip_medigun_autoheal" + { BOOL } + { "0" } + } + + "hud_medichealtargetmarker" + { + "#TF_HealTargetMarker" + "#Tooltip_HealTargetMarker" + { BOOL } + { "0" } + } + + "hud_medicautocallers" + { + "#TF_AutoMedicCallers" + "#Tooltip_AutoMedicCallers" + { BOOL } + { "0" } + } + + "hud_medicautocallersthreshold" + { + "#TF_AutoMedicCallThreshold" + "#Tooltip_AutoMedicCallThreshold" + { SLIDER 10 99 } + { "75" } + } + + "category3" + { + "#TF_OptionCategory_HUD" + { CATEGORY } + } + + "cl_hud_minmode" + { + "#GameUI_EnableHUDMinMode" + "#Tooltip_EnableHUDMinMode" + { BOOL } + { "0" } + } + + "tf_colorblindassist" + { + "#TF_colorblindassist" + "#Tooltip_colorblindassist" + { BOOL } + { "0" } + } + + "cl_use_tournament_specgui" + { + "#TF_UseAdvancedTourneyGUI" + "#Tooltip_UseAdvancedTourneyGUI" + { BOOL } + { "0" } + } + + "cl_spec_carrieditems" + { + "#TF_SpectateCarriedItems" + "#Tooltip_SpectateCarriedItems" + { BOOL } + { "1" } + } + + "glow_outline_effect_enable" + { + "#TF_UseGlowEffect" + "#Tooltip_UseGlowEffect" + { BOOL } + { "1" } + } + + "viewmodel_fov" + { + "#TF_viewmodelfov_option" + "#Tooltip_viewmodelfov_option" + { SLIDER 54 70 } + { "1" } + } + + "tf_spectator_target_location" + { + "#TF_Spectator_TargetID_Location" + { LIST + "#TF_Spectator_Default" "0" + "#TF_Spectator_Bottom_Left" "1" + "#TF_Spectator_Bottom_Center" "2" + "#TF_Spectator_Bottom_Right" "3" + } + { "0" } + } + + "category4" + { + "#TF_OptionCategory_Replay" + { CATEGORY } + } + + "youtube_http_proxy" + { + "#TFOption_httpproxy" + "#Tooltip_httpproxy" + { STRING } + { "" } + } + + "replay_postdeathrecordtime" + { + "#TFOption_postdeathrecordtime" + "#Tooltip_postdeathrecordtime" + { SLIDER 0 10 } + { "5" } + } + + "replay_enableeventbasedscreenshots" + { + "#TFOption_replay_enableeventbasedscreenshots" + "#Tooltip_replay_enableeventbasedscreenshots" + { BOOL } + { "1" } + } + + "replay_screenshotresolution" + { + "#TFOption_replay_screenshotresolution" + "#Tooltip_replay_screenshotresolution" + { BOOL } + { "1" } + } + + "replay_maxscreenshotsperreplay" + { + "#TFOption_replay_maxscreenshots" + "#Tooltip_replay_maxscreenshots" + { NUMBER 1 1000 } + { "200" } + } + + "replay_mintimebetweenscreenshots" + { + "#TFOption_mintimebetweenscreenshots" + "#Tooltip_mintimebetweenscreenshots" + { NUMBER 1 1000 } + { "5" } + } + + "category5" + { + "#TF_OptionCategory_Performance" + { CATEGORY } + } + + "tf_particles_disable_weather" + { + "#TF_DisableWeatherParticles" + "#Tooltip_DisableWeatherParticles" + { BOOL } + { "0" } + } + + "cl_disablehtmlmotd" + { + "#Valve_DisableHTMLMOTD" + "#Tooltip_DisableHTMLMOTD" + { BOOL } + { "0" } + } + + "mp_decals" + { + "#Valve_Multiplayer_Decal_Limit" + "#Tooltip_Multiplayer_Decal_Limit" + { NUMBER 0 4096 } + { "200" } + } + + "category6" + { + "#TF_OptionCategory_Misc" + { CATEGORY } + } + + "hud_takesshots" + { + "#game_takesshots" + "#Tooltip_takesshots" + { BOOL } + { "0" } + } + + "hud_classautokill" + { + "#TF_classautokill" + "#Tooltip_classautokill" + { BOOL } + { "1" } + } + + "tf_respawn_on_loadoutchanges" + { + "#TF_loadoutrespawn" + "#Tooltip_loadoutrespawn" + { BOOL } + { "1" } + } + + "r_drawviewmodel" + { + "#TF_drawviewmodel_option" + "#Tooltip_drawviewmodel_option" + { BOOL } + { "1" } + } + + "cl_flipviewmodels" + { + "#TF_flipviewmodel_option" + "#Tooltip_flipviewmodel_option" + { BOOL } + { "0" } + } + + "cl_playerspraydisable" + { + "#GameUI_DisableSprays" + "#Tooltip_DisableSprays" + { BOOL } + { "0" } + } + + "sb_close_browser_on_connect" + { + "#GameUI_CloseBrowserOnConnect" + { BOOL } + { "1" } + } + + "cl_cloud_settings" + { + "#Valve_UseSteamCloud" + "#Tooltip_UseSteamCloud" + { BOOL } + { "1" } + } + + "cl_notifications_show_ingame" + { + "#TF_ShowNotificationsInGame" + "#Tooltip_ShowNotificationsInGame" + { BOOL } + { "1" } + } + + "cl_trading_show_requests_from" + { + "#TF_ShowTradeRequestsFrom" + { LIST + "#TF_ShowTradeRequestsFrom_FriendsOnly" "1" + "#TF_ShowTradeRequestsFrom_FriendsAndServer" "2" + "#TF_ShowTradeRequestsFrom_Anyone" "3" + "#TF_ShowTradeRequestsFrom_NoOne" "4" + } + { "3" } + } +} + diff --git a/trainingwheels/cfg/valve.rc b/trainingwheels/cfg/valve.rc new file mode 100644 index 0000000..6acb3db --- /dev/null +++ b/trainingwheels/cfg/valve.rc @@ -0,0 +1,19 @@ +// load the base configuration +//exec default.cfg +r_decal_cullsize 1 + +// Setup custom controller +exec joystick.cfg + +// run a user script file if present +exec autoexec.cfg + +// +// stuff command line statements +// +stuffcmds + +// display the startup level +startupmenu + +sv_unlockedchapters 99 diff --git a/trainingwheels/gameinfo.txt b/trainingwheels/gameinfo.txt new file mode 100644 index 0000000..9f25b4f --- /dev/null +++ b/trainingwheels/gameinfo.txt @@ -0,0 +1,49 @@ +"GameInfo" +{ + game "Team Fortress 2" + type multiplayer_only + nomodels 1 + nohimodel 1 + nocrosshair 0 + hidden_maps + { + "test_speakers" 1 + "test_hardware" 1 + } + nodegraph 0 + GameData "tf.fgd" + InstancePath "maps/instances/" + advcrosshair 1 + + + FileSystem + { + SteamAppId 440 // This will mount all the GCFs we need (240=CS:S, 220=HL2). + ToolsAppId 211 // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc. + + // + // The code that loads this file automatically does a few things here: + // + // 1. For each "Game" search path, it adds a "GameBin" path, in \bin + // 2. For each "Game" search path, it adds another "Game" path in front of it with _ at the end. + // For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it. + // 3. For the first "Game" search path, it adds a search path called "MOD". + // 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH". + // + + // + // Search paths are relative to the base directory, which is where hl2.exe is found. + // + // |gameinfo_path| points at the directory where gameinfo.txt is. + // We always want to mount that directory relative to gameinfo.txt, so + // people can mount stuff in c:\mymod, and the main game resources are in + // someplace like c:\program files\valve\steam\steamapps\\half-life 2. + // + SearchPaths + { + Game |gameinfo_path|. + Game tf + Game |all_source_engine_paths|hl2 + } + } +} diff --git a/trainingwheels/mapcycle.txt b/trainingwheels/mapcycle.txt new file mode 100644 index 0000000..e42d319 --- /dev/null +++ b/trainingwheels/mapcycle.txt @@ -0,0 +1,2 @@ +tr_walkway_rc2 +tr_walkway_rc2 \ No newline at end of file diff --git a/trainingwheels/maplist.txt b/trainingwheels/maplist.txt new file mode 100644 index 0000000..3e6915e --- /dev/null +++ b/trainingwheels/maplist.txt @@ -0,0 +1 @@ +tr_walkway_rc2 \ No newline at end of file diff --git a/trainingwheels/motd.txt b/trainingwheels/motd.txt new file mode 100644 index 0000000..eadbd3f --- /dev/null +++ b/trainingwheels/motd.txt @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/trainingwheels/motd_text.txt b/trainingwheels/motd_text.txt new file mode 100644 index 0000000..645e199 --- /dev/null +++ b/trainingwheels/motd_text.txt @@ -0,0 +1,4 @@ +Welcome to Team Fortress 2 + +Our map rotation is: +- tr_walkway_rc2 \ No newline at end of file