9 hours ago9 hr Administrator If the bomb carrier dies holding it, the bomb detonates and harms nearby players. Bomb Carrier Explosion 1.0.0 (olds.ro) When the bomb carrier dies with the bomb on him, the bomb goes off where he falls: an explosion hurts the players around him. The bomb is used up, and the round goes on. Damage is olds_bce_damage (150) at the centre and falls to 0 at olds_bce_radius (250 units). Walls stop it, as with grenades.olds_bce_tonly 1: only Terrorists are hurt by the blast.Only a carrier who still holds the bomb when he dies explodes. A bomb dropped or planted before does nothing.The bomb is destroyed with him: it is not dropped, so the Terrorists have no bomb for the rest of that round.The blast is not the bomb's detonation: the round does not end and nobody wins by it, even inside a bomb site.Deaths caused by the blast count as deaths by the world (nobody gets a frag for them); the kill feed shows the C4 icon.The blast uses the stock sprites/fexplo.spr and weapons/c4_explode1.wav; nothing has to be downloaded. The plugin shows no text and has no language file. Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPIAMX Mod X 1.10.0.5490 or newer, with the fakemeta module (enabled by default) Install Compile scripting/olds_carrierblast.sma and copy olds_carrierblast.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files (reapi.inc and the reapi_*.inc files from the ReAPI release, in addons/amxmodx/scripting/include/) next to the stock AMX Mod X includes.Copy configs/plugins/olds_carrierblast.cfg to addons/amxmodx/configs/plugins/ and change the values you want. (If the file is missing, the plugin writes one with the defaults the first time it starts.)Add olds_carrierblast.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_carrierblast.cfg) olds_bce_damage 150 damage at the centre of the blast (0 = the blast is only shown) olds_bce_radius 250 radius of the blast, in units olds_bce_tonly 0 1 = only Terrorists are hurt by the blast Commands None. How it works ReAPI RG_CBasePlayer_Killed (pre) checks m_bHasC4 on the victim and takes the weapon_c4 away. Right after the death a TE_EXPLOSION and the explosion sound are played there, and rg_dmg_radius deals the damage (RG_CBasePlayer_TakeDamage leaves out the dead carrier and, with olds_bce_tonly 1, the Counter-Terrorists). Tested on ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814, Metamod-r 1.3.0.149, AMX Mod X 1.10.0-git5490, ReAPI 5.29.0.358. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-0108. Licence: GNU General Public License v3.0 or later (GPL-3.0-or-later). InstallDownload the ZIP above and copy its folders into cstrike/. Compile the .sma in addons/amxmodx/scripting with the AMX Mod X 1.10 compiler, put the .amxx in addons/amxmodx/plugins, and add it to plugins.ini. Files: addons/amxmodx/scripting/olds_carrierblast.sma, test/lib0108_probe.sma Idea: olds.ro workshop library · Plugin: alexit · Tested automatically (compiled on AMX Mod X 1.8.2, 1.9 and 1.10, played on a CS 1.6 test server)License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (LIB-0108). Bomb Carrier Explosionv1.0Counter-Strike 1.6PluginNot tested yetAMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads4.6 KBUpdated 9 hours agoSign in to downloadolds_carrierblast.smaPawn (AMX Mod X) · 201 lines3 files/* * Bomb Carrier Explosion (olds.ro workshop card LIB-0108) * * When the bomb carrier dies with the bomb on him, the bomb goes off where * he falls: an explosion hurts the players around him. The bomb is used up, * and the round goes on. *Show all 201 linesChangelogVersions (1)Install into: cstrike/Open the full page →
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.