Skip to content
View in the app

A better way to browse. Learn more.

Learn more

paintball-item-shop/README.txt

README.txt
43 lines · 1.9 KB · Text
Raw
Paintball Item Shop 1.0.0 (olds.ro)
===================================

While paintball runs, living players open a short shop with say /pshop or
the M key and spend points (frags, or money) on:
  1. Fast marker   shots come 30 % sooner (the weapon's next-shot time x 0.7)
  2. Hopper +20    20 more paintballs for the weapon in hand
  3. Armor         100 kevlar and helmet
  4. Speed boost   25 % faster for the rest of this life
  5. Grenade       an HE grenade
Each item once per life, at most olds_pbshop_maxbuy buys per round. Items
you cannot afford (or already have) are greyed out and cost nothing. Dying
removes unused items; every round starts from the defaults.

Requirements
  - ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  - AMX Mod X 1.10.0.5490 or newer (hamsandwich)
  - A paintball mode. If it provides the library "paintball" with
    pb_is_active() (see scripting/include/olds_paintball.inc), the shop opens
    only while that returns 1. Without the library the shop is open whenever
    the "Paintball Gun" plugin is loaded.

Install
  Compile scripting/olds_pbshop.sma and copy olds_pbshop.amxx to
  addons/amxmodx/plugins/, after the paintball plugin. The compiler needs
  ReAPI's include files.

Settings (addons/amxmodx/configs/plugins/olds_pbshop.cfg, created on first run)
  olds_pbshop_currency 0        0 = frags, 1 = money
  olds_pbshop_maxbuy 3          buys per round
  olds_pbshop_price "2,3,2,4,5" points for items 1-5; a missing or bad
                                value uses that item's default
  olds_pbshop_money_unit 500    dollars per point when paying with money

Keys
  M (chooseteam) opens the shop only for living players while paintball
  runs; dead players still get the team menu.

Admin
  olds_pbshop_status   points, buys and items per player (ADMIN_CFG)

No downloads: the purchase and equip clicks are the stock
buttons/button9.wav and items/gunpickup2.wav.

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.