10 hours ago10 hr Administrator Using a wall armor charger also gives a helmet once armor is topped up. Armor Charger Helmet Grant 1.0.0 (olds.ro) Using a wall armor charger (the HEV charger, func_recharge, found on some maps) also gives a helmet once the charger has topped the armor up to 100. With olds_hc_fullonly 1 (default) the helmet comes when the charger brings the armor to 100. With 0 it comes as soon as the charger gives any armor.The helmet comes with armor the charger really gives: a player whose armor is already 100, or who uses an empty charger, gets nothing.A player who already has a helmet is left alone: no second message, the armor type stays the same.The helmet icon appears on the HUD at once, and the player gets a chat line (olds_hc_msg 1).Dead players and spectators are never processed.On a map without chargers the plugin simply does nothing. Requirements AMX Mod X 1.10.0.5490 or newer, with the hamsandwich, cstrike and fakemeta modules (enabled by default)Written for ReHLDS, ReGameDLL_CS and Metamod-r; it uses no ReAPI function. Install Compile scripting/olds_chargerhelmet.sma and copy olds_chargerhelmet.amxx to addons/amxmodx/plugins/.Copy data/lang/olds_chargerhelmet.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_chargerhelmet.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_chargerhelmet.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_chargerhelmet.cfg) olds_hc_enable 1 1 = a wall armor charger also gives a helmet olds_hc_msg 1 1 = the player gets a chat line when the helmet is added olds_hc_fullonly 1 1 = the helmet comes only when the charger brings the armor to 100; 0 = with any armor from the charger Commands None. Chat text "[Charger] Helmet added." The text is in data/lang/olds_chargerhelmet.txt and can be translated there. 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-0083, after the idea of "H.E.V. Charger Gives Helmet" on the AlliedModders forums. 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_chargerhelmet.sma, test/lib0083_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-0083). Armor Charger Helmet Grantv1.0Counter-Strike 1.6PluginNot tested yetAMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads3.9 KBUpdated 10 hours agoSign in to downloadolds_chargerhelmet.smaPawn (AMX Mod X) · 153 lines4 files/* * Armor Charger Helmet Grant (olds.ro workshop card LIB-0083) * * Using a wall armor charger (func_recharge) also gives a helmet once the * charger has topped the armor up to 100. * * Commands: none.Show all 153 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.