Skip to content
View in the app

A better way to browse. Learn more.

Learn more
Daemon/

Base Builder Human Class Menu

Plugin
Daemoncbacc8fe38Version 1.0.0: First release.History
addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
Base Builder Human Class Menu 1.0.0 (olds.ro) ============================================= When the build phase ends every living human gets a class menu (also on say /class). Each class has its own weapons, health, armour, speed and a small perk. The choice is kept for the map and applied again on every human spawn, without the menu. Requirements - AMX Mod X 1.10.0.5490 or newer, with ReAPI (ReGameDLL_CS); fun - the Base Builder Core Mode (library "olds_basebuilder", include/olds_basebuilder.inc, workshop card LIB-0009) Install 1. Compile scripting/olds_bbclass.sma (scripting/include/olds_basebuilder.inc next to it) and copy olds_bbclass.amxx to addons/amxmodx/plugins/, after the core in plugins.ini. 2. Copy configs/olds_bb_classes.ini to addons/amxmodx/configs/ and data/lang/olds_bbclass.txt to addons/amxmodx/data/lang/. No downloads: stock weapons, a text menu. Settings (addons/amxmodx/configs/plugins/olds_bbclass.cfg, made on first run) olds_bbc_change_once 1 once a class is applied in a round it cannot be changed until the next round olds_bbc_default 0 class number (1 = first line) given on spawn to humans who chose none; 0 = none olds_bb_classes.ini (up to 12 classes, menu order) "Name" health armour speed "weapon_a weapon_b ..." [perk] health 1-255; armour 0-255 (kevlar and helmet); speed 0 = normal, else the run speed (up to 400); up to 6 stock weapon_* names, each with full backpack ammo; perk: regen (+3 HP every 2 s up to the class health), armor (+5 armour every 2 s up to the class armour) or none. Shipped: Soldier, Medic (regen), Engineer (armor), Scout. Players say /class the class menu (living humans only; zombies get a notice) How it works - The menu opens for living humans on the core's phase change from build to preparation (or straight to the fight). - Picking a class: a held block is let go first (-bbgrab, which the core answers), then the loadout is applied at once: all items are removed, the knife and the class weapons are given (give_item), health is set (set_user_health), then armour and speed. - RG_CBasePlayer_Spawn (post): 0.1 s later (after the core) a human with a class gets it again. RG_CBasePlayer_ResetMaxSpeed keeps the class speed. - Choices are kept per player for the map and cleared when he leaves.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.