- Announcement
- Challenge
- AutoKick
- RespawnBots
- CheckpointRespawn
- Medic
- SuicideBomber
- Injury
- RSWD
- FireSupport
- CounterAttack
- RespawnBots2
Jaredballou's plugins are don't work on my server.
So i made this with some codes from jaredballou's.
Show a line that contain in announcement.txt.
"sm_announce_enabled" "1" // Enable announcement
"sm_announce_delay" "45" // Announcement delay
"sm_announce_reload" // Reload announce text
Show text when connect.
I didn't change name to connect message because i'm too lazy.
"sm_challenge_enabled" "0" // Enable connect message
"sm_challenge_reload" // Reload connect message
Kick everyone who connect.
For maintenance.
"sm_autokick_enabled" "0" // Kick everyone who connect if it's true
Respawn bots which isn't alive.
Optimized version of CheckpointRespawn.
Default cvars not correct.
"sm_botrespawn_enabled" "0" // Enable respawn bots.
"sm_botrespawn_delay" "1" // Delay to respawn, 0 will disable respawn.
"sm_botrespawn_rp" "5" // Default respawn point. Bot num is (Alive bot number) + sm_botrespawn_rp + (Player number) * sm_botrespawn_rp_add
"sm_botrespawn_rp_add" "5" // How many respawn point increase per players
"sm_botrespawn_display" "1" // Enable display how many bots remain. (Include respawn number)
"sm_botrespawn_display_delay" "1" // Display delay
Respawn bots which isn't alive.
It's prototype so having problem with performance.
Use RespawnBots instead.
Default cvars not correct.
"sm_botrespawn_enabled" "0" // Enable respawn.
"sm_botrespawn_delay_ins" "1" // Delay to respawn bots, 0 will disable respawn.
"sm_botrespawn_rp_ins" "5" // Default respawn point. Bot num is (Alive bot number) + sm_botrespawn_rp + (Player number) * sm_botrespawn_rp_add
"sm_botrespawn_rp_add_ins" "5" // How many respawn point increase per players
"sm_botrespawn_delay_sec" "1" // Delay to respawn player, 0 will disable respawn.
"sm_botrespawn_rp_sec" "5" // Player respawn point.
"sm_botrespawn_display" "1" // Enable display how many respawn point remain. (0 = don't display, 1 = display teams, 2 = display all)
"sm_botrespawn_display_delay" "1" // Display delay
Make it medic that can revive other player.
"sm_medic_enabled" "1" // Enable medic.
"sm_medic_class" "breacher" // Class that is medic. (recon, rifleman, specialist, breacher, support, demolition, marksman, sniper, ...)
"sm_medic_delay" "10" // Delay to revive player. (sec)
"sm_medic_rp" "8" // Max revive number per object.
"sm_medic_distance" "100" // Max revive distance from dead position to medic.
"sm_medic_item" "kabar" // Revive item.
"sm_medic_score" "50" // Get score when revive.
Make a bot suicidebomber.
"sm_suicide_enabled" "1" // Enable medic.
"sm_suicide_bomber" "sharpshooter" // A class that will be bomber. ("" is all bot is bomber... with "ins_bot_knives_only" "0" ... zombie...)
"sm_suicide_detonate_range" "600" // Max range to detonate. I recommend 125.
"sm_suicide_resist" "20" // Bomber health multiply. Default health is 2000...
"sm_suicide_delay" "0.01" // Wrong cvar... why i make this???? make sure this value is 1.
Make injury effect.
Reset supply token when die or spawn.
Many plugins above this line should be fixed but i'm too lazy...
Call artillery with command and weapon.
"sm_firesupport_spread" "800.0" "Max spread."
"sm_firesupport_shell_num" "20.0" "Shells to fire."
"sm_firesupport_delay" "10.0" "Min delay to first shell."
"sm_firesupport_delay_support" "60.0" "Min delay to next support."
"sm_firesupport_class" "template_recon_security_coop" "Set fire support specialist class."
"sm_firesupport_count" "1" "Count of available support per rounds(0 = disable)"
"sm_firesupport_enable_cmd" "0" "Player can call fire support using sm_firesupport_call."
"sm_firesupport_enable_weapon" "1" "Player can call fire support using weapon."
"sm_firesupport_weapon" "p2a1" "Weapon to call fire support."
"sm_firesupport_call" "Call fire support where you looking at."
"sm_firesupport_ad_call" "Call fire support without any restriction." ADMINCMD
!!! HAS BUG !!!
CustomCounterAttack: Give some functions to control custom counter attack.
CATrigger: Use native and forward function from CustomCounterAttack to trigger custom counter attack.
NOT FOR CONTROL DEFAULT COUNTER ATTACKS.
CATrigger is an example to use CustomCounterAttack.smx
.
CustomCounterAttack.smx
CATrigger.smx
CustomCounterAttack.sp
CATrigger.sp
counterattack.inc
insurgency.games.txt
CATrigger use CustomCounterAttack
"sm_counterattack_persist_time" "1" // Restore last remain round time when custom counter attack finished.
"sm_catrigger_min" "6" // Custom counter attack will be triggered in (100 / (1 + Max - Min)) %
"sm_catrigger_max" "10"
This is remake version of RespawnBots.
Bots will be respawn after some delay.
And they will be respawn infinitly when counter attack. (If enabled)
Plus, Bot will not be spawn where they can look player instantly. (If enabled)
MUST RELOAD MAP AFTER LOAD/RELOAD THIS PLUGINS. (Or spawnzone will be broken for 1 round)
"sm_botrespawn_delay" ""1" ""How many seconds wait before spawn for insurgent, 0 is disable delay"
"sm_botrespawn_rp" ""5" ""Default bots count, 0 is infinity"
"sm_botrespawn_rp_add" ""5" ""Number of bots that each player (rp + players * rp_add)"
"sm_botrespawn_carp" ""5" ""Default bots count when counter attack"
"sm_botrespawn_carp_add" ""5" ""Number of bots that each player when counter attack (carp + players * carp_add)"
"sm_botrespawn_infinite_ca" ""1" ""Infinity spawn when counter attack"
"sm_botrespawn_display" ""1" ""Display respawn point(0 = don't display, 1 = display)"
"sm_botrespawn_display_delay" ""1" ""Display delay(sec)"
"sm_botrespawn_count_alive" ""1" ""Count only alive players when counter attack."
"sm_botrespawn_adjust" ""1" ""Adjust spawn location to where player can't see."
"sm_botrespawn_adjust_distance" ""100" ""Adjust spawn location when someone close enough (Include teams)"