Raised This Month: $60 Target: $400

Build Dispenser

Post New Thread Reply   
Thread Tools Display Modes
Senior Member
Join Date: Mar 2015
Location: Poland
Old 03-12-2016 , 18:24   Re: Build Dispenser
Reply With Quote #41

So I have been working a little bit rewriting this plugin for myself and came up with some new ideas and features as well as I optimized the code a little bit. Here is the list of what I have done :

1). Dispenser now has 3 levels, with each level it heals more. (maximum players health increases - dispenser_playermax_health cvar). Dispenser can be upgraded by any team member and the owner too.
2). New model with 6 submodels - 3 submodels for each team for each level of dispenser.
3). Dispensers can be upgraded by touching them. (upgrading requires some amount of money - configurable)
4). Updated the visual beam effect, it really looks way greater now.
5). Dispensers now only do one function - they only heal. (They do not give armor and BPAMMO anymore) - modification for myself, because I didn't need dispensers to do this.
6). Search for players in radius code has been rewritten. Rather than looping through all players I have used fakemeta FindEndInSphere.
7). General optimization - instead of a bool setting its value to be true when player has build a sentry, I have created a global var, which will save Dispensers (ent) ID inside. (later on when we need to remove dispensers there is no more need to loop through all dispensers and find the ones we need, use just this variable instead).
8). Dispensers are destroyed on player's disconnect
9). Dispensers are no more destroyed on round end (I didn't need it since I am using this on CSDM mode)
10). Added friendly fire support (no more friendly fire on dispensers)
11). Bug where dispensers sometimes "fall into the ground" is fixed.
12). Added some validating checks where they lacked.
13). Got rid of cvars (I just hate them)

And many many many other small improvements, fixes. Right now I am trying to realize the last part of my work, but I don't know what would be the best option to deal with it, so I have asked here - https://forums.alliedmods.net/showthread.php?t=280279

Later on, when my work is done. I can share it with you, if anyone is interested of course.

Btw, my version only uses fakemeta and ham from 3rd party amxx modules. (Haters gonna hate)

Last edited by Kowalsky; 03-12-2016 at 18:32.
Kowalsky is offline
Old 10-25-2016, 15:49
This message has been deleted by ish12321.
Junior Member
Join Date: Apr 2018
Old 07-02-2018 , 06:55   Re: Build Dispenser
Reply With Quote #42

How can i add it in shop?
NoseGree is offline
New Member
Join Date: Sep 2020
Old 09-20-2020 , 15:35   Re: Build Dispenser
Reply With Quote #43

Qual o comando pra destruir o dispenser via console?
moises_npq is offline

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 20:11.

Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode