addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
README.txt2.3 KB
No file matches.
Assassination Day 1.0.0 (olds.ro)
=================================
A jailbreak special game: one VIP (a prisoner or a guard, picked at random)
glows gold; the guards protect the VIP and the prisoners must kill the VIP
before the time runs out.
Requirements
- AMX Mod X 1.10.0.5490 or newer (cstrike, fun)
- ReGameDLL_CS 5.30.0.814 or newer with ReAPI 5.29.0.358 or newer
- "[JB] Core" (library "jailbreak", github.com/al1k24/JailBreak-ReAPI):
jb_get_simon_id() names the warden. Prisoners are the terrorists,
guards the counter-terrorists.
Install
1. Compile scripting/olds_assassin.sma and copy olds_assassin.amxx to
addons/amxmodx/plugins/ (after the JB core in plugins.ini).
2. Copy data/lang/olds_assassin.txt to addons/amxmodx/data/lang/.
No downloads: the VIP marker is a rendering glow and the alert is the
stock sound/ambience/alarm1.wav.
Settings (addons/amxmodx/configs/plugins/olds_assassin.cfg, made on first run)
olds_assn_time 180 seconds the guards must keep the VIP alive
olds_assn_vip_hp 250 the VIP's health
olds_assn_reward 1500 money for the prisoner who kills the VIP
olds_assn_pick 0 who can be the VIP: 0 anyone, 1 a prisoner,
2 a guard
olds_assn_newvip 1 when the VIP leaves: 1 = a new VIP is picked,
0 = the game ends in a draw
Starting
amx_assassin (ADMIN_LEVEL_A), or the warden says /assassin (the warden
menu entry for JB cores whose menu runs say commands). It is refused with
fewer than 3 living players, or without living prisoners and guards. The
VIP is picked so that someone is left to hunt and to protect.
How it works
- The VIP gets olds_assn_vip_hp health and a gold glow
(set_user_rendering); everyone hears alarm1.wav and is told their task.
A HUD line shows the VIP and the time left.
- Only prisoners can hurt the VIP (RG_CSGameRules_FPlayerCanTakeDamage):
a prisoner VIP can be hurt by the other prisoners even with friendly
fire off, and guards cannot hurt the VIP.
- The VIP dies (RG_CBasePlayer_Killed): the prisoners win the round and
the killer gets olds_assn_reward. The time runs out: the guards win.
Either way the round ends with rg_round_end.
- If the round ends some other way, RG_RoundEnd closes the game and the
glow is removed.
Admin
amx_assassin [stop|status] (ADMIN_LEVEL_A)