.
.
DEAD PLAYERS can press
'impulse 206' to finish off round when aiming at a friendly bot.
.
.
.
.
.
\
.\
..\
...\
....\
.....------------------------------------------------------------------------------------------------------------------------------------------------------------------
Code:
/* IMPULSE 206 - Take control of bot.
*
* SSSSSSSSSSSSSSS PPPPPPPPPPPPPPPPP iiii NNNNNNNN NNNNNNNNXXXXXXX XXXXXXX
* SS:::::::::::::::SP::::::::::::::::P i::::i N:::::::N N::::::NX:::::X X:::::X
*S:::::SSSSSS::::::SP::::::PPPPPP:::::P iiii N::::::::N N::::::NX:::::X X:::::X
*S:::::S SSSSSSSPP:::::P P:::::P N:::::::::N N::::::NX::::::X X::::::X
*S:::::S P::::P P:::::Piiiiiii N::::::::::N N::::::NXXX:::::X X:::::XXX
*S:::::S P::::P P:::::Pi:::::i N:::::::::::N N::::::N X:::::X X:::::X
* S::::SSSS P::::PPPPPP:::::P i::::i N:::::::N::::N N::::::N X:::::X:::::X
* SS::::::SSSSS P:::::::::::::PP i::::i N::::::N N::::N N::::::N X:::::::::X
* SSS::::::::SS P::::PPPPPPPPP i::::i N::::::N N::::N:::::::N X:::::::::X
* SSSSSS::::S P::::P i::::i N::::::N N:::::::::::N X:::::X:::::X
* S:::::S P::::P i::::i N::::::N N::::::::::N X:::::X X:::::X
* S:::::S P::::P i::::i N::::::N N:::::::::NXXX:::::X X:::::XXX
*SSSSSSS S:::::SPP::::::PP i::::::iN::::::N N::::::::NX::::::X X::::::X
*S::::::SSSSSS:::::SP::::::::P i::::::iN::::::N N:::::::NX:::::X X:::::X
*S:::::::::::::::SS P::::::::P i::::::iN::::::N N::::::NX:::::X X:::::X
* SSSSSSSSSSSSSSS PPPPPPPPPP iiiiiiiiNNNNNNNN NNNNNNNXXXXXXX XXXXXXX
*
*──────────────────────────────▄▄
*──────────────────────▄▄▄▄▄▄▄▄▌▐▄
*─────────────────────█▄▄▄▄▄▄▄▄▌▐▄█
*────────────────────█▄▄▄▄▄▄▄█▌▌▐█▄█
*──────▄█▀▄─────────█▄▄▄▄▄▄▄▌░▀░░▀░▌
*────▄██▀▀▀▀▄──────▐▄▄▄▄▄▄▄▐ ▌█▐░▌█▐▌
*──▄███▀▀▀▀▀▀▀▄────▐▄▄▄▄▄▄▄▌░░░▄▄▌░▐
*▄████▀▀▀▀▀▀▀▀▀▀▄──▐▄▄▄▄▄▄▄▌░░▄▄▄▄░▐
*████▀▀▀▀▀▀▀▀▀▀▀▀▀▄▐▄▄▄▄▄▄▌░▄░░▀▀░░▌
*▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▐▄▄▄▄▄▄▌░▐▀▄▄▄▄▀
*▒▒▒▒▄▄▀▀▀▀▀▀▀▀▄▄▄▄▀▀█▄▄▄▄▄▌░░░░░▌
*▒▄▀▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░▌
*▒▌░░░░░▀▄░░░░░░░░░░░░░░░▀▄▄▄▄▄▄░▀▄▄▄▄▄
*▒▌░░░░░░░▀▄░░░░░░░░░░░░░░░░░░░░▀▀▀▀▄░▀▀▀▄
*▒▌░░░░░░░▄▀▀▄░░░░░░░░░░░░░░░▀▄░▄░▄░▄▌░▄░▄▌
*▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
*
*
*
*
*
* __..__ . .\ /
*(__ [__)*|\ | ><
*.__)| || \|/ \
*
* Respawn from bots.
* Copyleft (C) Nov 2020 .sρiηX҉.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
* Credits: AMXX DEV TEAM for everything including adminhelp.sma.
* AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO").
*
* V1.0 to 1.1 -better unsticking code when bots are crouched against wall.
* -take the place of AFK humans for round.
* V1.1 to 1.2 -focus on correct side-arms and unsticking. Switch to "impulse 206" instead of prethink.
*
*
*/
- Designed and developed for Condition-Zero bots.
- Tested on CS 1.6 with POD bots.
- Bot take-overs broadcasted via chat and effects controlled by CVAR are made when bot is disowned on round start.
- Player keeps the equipment or not by Cvar.
- Name and scoreboard are not altered. Bodies are hidden.
- There is an automatic off switch at end of round to minimize players from exploiting bots' resources last moment without participation in game.
- There is no configuration needed. Cvars are:
respawn_dust ..........0|1
//SFX?
respawn_humans ....0|1
//Bots and humans?
respawn_keep .........0|1
//Keep guns?
respawn_sound .......0|1
//Sound?
respawn_unstick ......0.3
//Unstuck lambda.
....._____________________________________________ _____________________________________________ _________________________
..../
.../
../
./
/
.
.
.
.
.
.
.
Get from Github!
Install instructions:
Download compressed file or all 3 files separately and compile locally with include file, .inc, in the include directory of scripting. Both the plugin and native plugin need added to plugins.ini.
__________________