Jump to content
DarkLegions
Welcome to DarkLegions
Join the ultimate Counter-Strike 1.6 gaming experience! DarkLegions is where skilled players unite to dominate our servers. Whether you're a seasoned veteran or rising rookie, our community offers the perfect servers to showcase your skills and forge legendary moments.

Popular Servers:

KNIFE.DARKLEGIONS.RO Click for more info! connect
ZE.DARKLEGIONS.RO Click for more info! connect
CS.DARKLEGIONS.RO Click for more info! connect

Recommended Posts

Posted (edited)

Charger v1.2

This plugin adds a menu from where you can choose different chargers,
each with it's own behavior, it only uses it's own charger models as it doesn't support custom models animations.

if this is a good idea i can set the chargers to refill after a certain duration

Commands

 

say /charger, say_team /charger -- Opens the charger menu.
charger_reload -- Reloads the configuration file

Adding Chargers

 

Chargers can be added in the config file "configs/Charger.ini" by placing the charger name in square brackets on a new line.
Example: [Health Charger]

To create a custom charger, add a new entry in configs/Charger.ini using the format below

# [Charger Name]
# CHARGER_MODEL           = Path of charger's model.
# CHARGER_CLASS           = 0 - Health Charger,  1 - HEV Charger,   2 - CIV charger.
# CHARGER_MODE            = 0 - Restores Health, 1 - Restores Armor.
# CHARGER_SOUND           = 0 - Health Sound,   1 - HEV Sound
# CHARGER_SOUND_FLAGS     = a - Placed Sound,   b - Using Sound, c - Empty Sound (BitFlags)
# CHARGER_RATE            = Amount of Health/Armor given per use.
# CHARGER_COOLDOWN        = Delay in seconds between each use.
# CHARGER_CAPACITY        = Maximum amount of Health/Armor this charger can give.
# CHARGER_LIMIT           = Prevents if the player exceeds the charger's unit limit.

DOWNLOAD Charger v1.2

Alliedmodders POST

Video

Edited by RedSMURF
v1.2
  • Like 1
  • Administrators
Posted

Nice plugin, it is good for CSDM mode

  • Bun! 1
Posted (edited)

Allright, added a little update: 
v1.3: Refills after a certain duration, Used by a single player at a time, All charger sounds are emitted from charger entities.

DOWNLOAD CHARGER v1.3

and please, any more suggestions are always welcomed

Edited by RedSMURF

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...