AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D & L4D2] Health Cabinet (1.12) [23-Apr-2022] (https://forums.alliedmods.net/showthread.php?t=175154)

Machine 01-14-2012 17:17

Re: [L4D & L4D2] Health Cabinet (1.1) [31-Dec-2011]
 
Hey Silvers, cool plugin. How about you use a bitflag for setting sm_cabinet?

There was a few plugins that do this. The ones that come to mind is Atomic Strykers spawn uncommon infected plugin and DJ Wests Charger power plugin.

Silvers 01-14-2012 18:45

Re: [L4D & L4D2] Health Cabinet (1.1) [31-Dec-2011]
 
I would rather a random chance of them spawning, and not a specified amount each one... maybe I'll add both.

Machine 01-14-2012 19:22

Re: [L4D & L4D2] Health Cabinet (1.1) [31-Dec-2011]
 
Oh ok, that makes sense.

Silvers 03-03-2012 06:20

Re: [L4D & L4D2] Health Cabinet (1.3) [03-Mar-2012]
 
Plugin updated, this looks more confusing than it is.

Quote:

1.3
- Added command "sm_cabinetglow" to see where cabinets are placed.
- Added command "sm_cabinettele" to teleport to a cabinet.
- Added cvar "l4d_cabinet_spawn_adren" to set the chance of spawning adrenaline.
- Added cvar "l4d_cabinet_spawn_defib" to set the chance of spawning defibrillators.
- Added cvar "l4d_cabinet_spawn_first" to set the chance of spawning first aid kits.
- Added cvar "l4d_cabinet_spawn_pills" to set the chance of spawning pain pills.
- Changed command "sm_cabinet" and "sm_cabinetsave" usage: sm_cabinetsave <first> <pills> <adren> <defib>.
- Changed default values of some cvars.
- Changed the data config format. Please use the "sm_silvercfg" plugin to convert reformat the config.
- Removed cvar "l4d_cabinet_type"
- Removed cvar "l4d_cabinet_type1"
- Removed cvar "l4d_cabinet_type2"

Updating to 1.3:
  • If you saved cabinets, the old config cannot be read. Use the sm_silvercfg plugin to reformat the config.
    1. Install the plugin, 2. run the command sm_silvercfg, 3. delete the plugin.
    The old data config is saved as l4d_cabinet.old.cfg.
  • Delete the old cvar config as new cvars have been added (or manually add them).

matrixmark 03-17-2012 06:35

Re: [L4D & L4D2] Health Cabinet (1.3) [03-Mar-2012]
 
Ugh installed this as per the instructions but wont let me use.

Just says I dont have access but I do...

http://gyazo.com/d8cb3b24a31806b9e42bee93a1808091http://gyazo.com/d8cb3b24a31806b9e42bee93a1808091.png

Any ideas?


EDIT: Seems I also had to add myself to admins_simple.ini O.O soon as I did that, it now works. I thought sbans would be sufficient.
EDIT2: Would there be a way to add this to the admin menu? - thanks

Marcus101RR 04-10-2012 17:56

Re: [L4D & L4D2] Health Cabinet (1.3) [03-Mar-2012]
 
sm_cabinetdel - It doesn't delete it from the config...

matrixmark 04-11-2012 04:04

Re: [L4D & L4D2] Health Cabinet (1.3) [03-Mar-2012]
 
Quote:

Originally Posted by Marcus101RR (Post 1686373)
sm_cabinetdel - It doesn't delete it from the config...

I think you need sm_cabinetwipe to remove from config.

You can use cabdel if the cab is saved in the config and you are looking at the cabinet.

Code:

sm_cabinet        // Spawns a temporary Health Cabinet at your crosshair.
sm_cabinetsave    // Spawns a Health Cabinet at your crosshair and saves to config. Usage: sm_cabinetsave <first> <pills> <adren> <defib>.
sm_cabinetlist    // Displays a list of Health Cabinets spawned by the plugin and their locations.
sm_cabinetdel    // Removes the Health Cabinet you are aiming at and deletes from the config if saved.
sm_cabinetclear  // Removes all Health Cabinets from the current map.
sm_cabinetwipe    // Removes all Health Cabinets from the current map and deletes them from the config.



Sorry if I misunderstood.... just trying to help

Silvers 04-11-2012 08:34

Re: [L4D & L4D2] Health Cabinet (1.3) [03-Mar-2012]
 
Marcus is right the current version is broken as I've not bothered to upload 20 plugin updates. It should and does delete from the config but not always. Will upload one day.

Dont Fear The Reaper 05-17-2012 17:05

Re: [L4D & L4D2] Health Cabinet (1.4) [10-May-2012]
 
Would be nice if you could add an option to make it spawn the same items in the same cabinets for both rounds of a map, so no team gets an advantage.

Means only randomize the item spawns and cabinet positions for the first round, then store them and spawn the exact stuff for the second round.

Else it can happen that one team gets 4 meds and the other team nothing etc. But maybe just as an optional setting, so those who want it totally random can leave it like it is.

Silvers 06-01-2012 02:13

Re: [L4D & L4D2] Health Cabinet (1.5) [01-Jun-2012]
 
You're very lucky! Thanks very much for helping me add and test the Cabinet spawn / item fairness Versus.

1.5 (01-Jun-2012)
- Added cvar "l4d_cabinet_glow_color" to set the glow color, L4D2 only.
- Fixed bugs with deleting Cabinets.
- Prevention for empty Cabinets, now spawns 1 second after opening when bugged.
- Versus games now spawn the same cabinets and items for both teams - Requested by "Dont Fear The Reaper"


All times are GMT -4. The time now is 16:52.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.