Addon Details

Watch - Add Favorite


Does this version work for you?
0
w00ts
w00t!2

Battle For The Leadership with Respawn - Version 1.0a

posted on 2008-11-05 09:43:47
by KillerX

Requires:


Description

[u][b]Battle for the Leadership V1.0 features:[/u][/b] - [u]Respawning[/u] ** Automaticly after set amount of time ** With a say command you can set yourself ** Spawnprotection of set amount of time ** When a player is alive after a set delay and a command you can set yourself. This is used to break out of jail on surf_maps when typed !jailbreak by default ** Set a player's equipment on spawn or give items on spawn - [u]Simple spawnprotection[/u] - [u]Keep track of the player with the most kills "the leader"[/u] ** Shows when a player is leading ** Shows when a leader is defeated by another player - [u]Optional controlled fraglimit[/u] ** If you want to set a fraglimit, it will show who's the leader when the limit is reached ** Launch events at a certain amount of kills a player reaches ** Stage 1: Give free weapons ** Stage 2: Launch random MANI map vote ** Stage 3: Show the leader when the limit is reached - [u]Optional "bombsite jokes" intended for surf_maps where you don't really want players to plant the bomb[/u] [u][b]Default settings:[/u][/b] Made for the server cvar mp_fraglimit set to 25. After 12 kills: Free weapons (elite and bullpup) After 16 kills: Mani random map vote with 7 maps After 25 kills: Show who was the winner of the game Spawnprotection of 5 seconds [u][b]Commands:[/u][/b] ** !spawn to respawn forced when dead ** !jailbreak to respawn forced when alive without guns after a delay of 10 seconds ** fragsleft of timeleft to show who's the leader and how many kills remaining ** !leader to show who's leading ALMOST EVERYTHING IS CUSTOMIZABLE!! // ***************************************** // * SETTINGS FOR (RE)SPAWNING * // ***************************************** // Enable respawning (everything) es_xset bftl_respawning 1 // Force the equipment on spawn? (0 = no, 1 = yes, 2 = just give but don't strip player) es_xset bftl_force_equipment 1 // Primary weapon/item es_xset bftl_item1 "weapon_fiveseven" // Secondary weapon/item es_xset bftl_item2 "weapon_smokegrenade" // Third weapon/item es_xset bftl_item3 "weapon_knife" // Remove dead bodies (reduces lags) es_xset bftl_remove_dead_bodies 1 // Time before removal of a body es_xset bftl_remove_time 5 // Autorespawn on or off es_xset bftl_autorespawn 1 // Time before the autorespawn (seconds) es_xset bftl_time_spawn 5 // Enable respawning by say-command (forced) when dead es_xset bftl_force_respawn 1 // Set the say command to respawn when dead es_xset bftl_force_respawn_dead_command "!spawn" // Enable respawning by say-command (forced) when alive es_xset bftl_force_respawn_alive 1 // Set the say command to respawn when alive (very useful for surfmaps) es_xset bftl_force_respawn_alive_command "!jailbreak" // Set the delay when an alive player wants to respawn in seconds es_xset bftl_force_respawn_alive_delay 10 // Set wheter a player respawns knife-only if it was forced when he was alive es_xset bftl_force_respawn_alive_knive 1 // Broadcast when a player attempts to respawn when alive (0 = player only, 1 = everyone) es_xset bftl_force_respawn_alive_broadcast 0 // Set the message when a player is attempting a force-respawn when alive es_xset bftl_force_respawn_alive_message "is attempting to break out of prison!" // Broadcast when a player respawned when alive (0 = player only, 1 = everyone) es_xset bftl_force_respawn_alive_broadcast2 1 // Set the message when a player is attempting a force-respawn when alive es_xset bftl_force_respawn_alive_message2 "just broke out of prison!" // ***************************************** // * SIMPLE SPAWNPROTECTION SETTINGS * // ***************************************** // This spawnprotection also works if player respawns. // Enable spawnprotection es_xset bftl_spawnprotection 1 // Set the time of protection in seconds es_xset bftl_spawnprotection_time 5 // ***************************************** // * SETTINGS FOR THE LEADER-SYSTEM * // ***************************************** // Set the header for the announcements (the name of your server for example) // DO NOT MAKE THIS TOO LONG OR SOME INFORMATION CAN'T BE DISPLAYED es_xset bftl_header "BATTLE FOR THE LEADER" // What is the say-command that displays the current leader? es_xset bftl_leader_command "!leader" // ***************************************** // * MAPS, LIMITS AND ROUNDS SETTINGS * // ***************************************** // Limit the game by amount of kills es_xset bftl_fraglimit_true 1 // Set the limit until nextmap in amount of kills a player reaches (same as server cvar mp_fraglimit) // *** NOTE: SET MP_FRAGLIMIT TO THE SAME VALUE IN CSTRIKE/CFG/SERVER.CFG *** es_xset bftl_fraglimit 25 // STAGE 1: Give players free weapons OR start a new round (0 = disable, 1 = free weapons, 2 = new round) es_xset bftl_stage1_mode 1 // Set the time in which players are given the free weapons on spawn (in seconds) es_xset bftl_stage1_happytime_time 120 // Use Mani Admin Plugin to give instantly free weapons es_xset bftl_stage1_use_mani 1 // When should this take place? After how many kills? (Recommended: aprox 1/2 of the fraglimit) es_xset bftl_stage1_kills 12 // If you give free weapons, which? // WEAPON OR ITEM NUMBER 1 es_xset bftl_stage1_item1 "weapon_elite" // WEAPON OR ITEM NUMBER 1 es_xset bftl_stage1_item2 "weapon_aug" // What should be announced when free items are given or a new round is started? // *** NOTE: If you start a new round, don't forget to change this message too! *** // e.g. es_xset bftl_stage1_message "Starting new round.." es_xset bftl_stage1_message "Free weapons for everyone!" // The delay before a new round is started (if enabled) in seconds es_xset bftl_stage1_roundend_delay 10 // STAGE 2: Launch a random map vote in the middle of the game (requires Mani Admin Plugin) es_xset bftl_stage2_enable 1 // After how many kills should the vote take place (Recommended: aprox. 2/3 of the fraglimit) es_xset bftl_stage2_kills 16 // How many maps should be in the vote? es_xset bftl_stage2_amount_of_maps 7 // Which message should be displayed? es_xset bftl_stage2_message "Choose the next map!" // ***************************************** // * BOMBSITE JOKES * // ***************************************** // Enables joking when the bomb is about to be planted (requires Mani Admin Plugin) es_xset bftl_bomb_jokes 1

Installation

1. Copy the file to: cstrike/addons/eventscripts/battlefortheleadership/es_battlefortheleadership.txt 2. Add the following line somewhere in autoexec.cfg: es_load battlefortheleadership 3. Review the config settings below and tweak. If limited by amount of kills a players has, set mp_timelimit also.

Version Notes For 1.0a

Updated on: 2008-11-07 12:43:32 EST by KillerX (View Zip Contents)
Packed in a ZIP-archive with correct folder structure.

( Previous Versions )