Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] Health Vending Machines (1.12) [11-Dec-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
krokroJoujou
Member
Join Date: Mar 2017
Old 01-25-2018 , 08:38   Re: [L4D & L4D2] Health Vending Machines (1.5) [25-Aug-2013]
Reply With Quote #51

Would saving positions work on custom campaigns? Best would be to rplace existing vending machines but as it was already said it looks impossible to do so far.
krokroJoujou is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 01-25-2018 , 11:46   Re: [L4D & L4D2] Health Vending Machines (1.5) [25-Aug-2013]
Reply With Quote #52

Yeah use the sm_vendorsave command.
__________________
Silvers is offline
VicDor3
Junior Member
Join Date: Sep 2017
Old 03-04-2018 , 21:47   Re: [L4D & L4D2] Health Vending Machines (1.5) [25-Aug-2013]
Reply With Quote #53

Does these machines auto spawn in the map?
VicDor3 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 03-05-2018 , 09:11   Re: [L4D & L4D2] Health Vending Machines (1.5) [25-Aug-2013]
Reply With Quote #54

Have to spawn them yourself with sm_vendorsave command, then you can set if all spawn or only a specific number with the cvar l4d_vendor_random.

Maybe someone can provide a config with preset placements.
__________________
Silvers is offline
VicDor3
Junior Member
Join Date: Sep 2017
Old 03-05-2018 , 10:42   Re: [L4D & L4D2] Health Vending Machines (1.5) [25-Aug-2013]
Reply With Quote #55

So if i set l4d_vendor_random to 0, any kind of machine will Spawn where i saved the Spawn? (or spawns)
VicDor3 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 03-06-2018 , 00:38   Re: [L4D & L4D2] Health Vending Machines (1.5) [25-Aug-2013]
Reply With Quote #56

// -1=All, 0=None. Otherwise randomly select this many vendors to spawn from the maps confg.
l4d_vendor_random "-1"
__________________
Silvers is offline
mikaelangelis
Senior Member
Join Date: Oct 2017
Old 09-26-2018 , 12:36   Re: [L4D & L4D2] Health Vending Machines (1.6) [05-May-2018]
Reply With Quote #57

Silvers. Do you know what code to assign to vending machine that helps player boost action time faster after using vending machine ( like swing melee and run faster)?
mikaelangelis is offline
Shao
Senior Member
Join Date: Jan 2015
Old 03-30-2021 , 12:08   Re: [L4D & L4D2] Health Vending Machines (1.9) [30-Sep-2020]
Reply With Quote #58

Somethings up with the number 5, on map reload they spawn but are not usable.

[QUOTE=Silvers]
Quote:
Originally Posted by Shao
Quote:
Originally Posted by Silvers
It's because you're placing them over the original static model.

I managed to get it working by changing to these values:
PHP Code:
        vMins view_as<float>({-10.0, -10.0, -30.0});
        
vMaxs view_as<float>({10.010.030.0}); 
But you have to be further away from the vending machine for it to work. Nothing else can be done to make it work like this. The problem is it sitting in the same model space as the static object.
You could try increasing the value:

PHP Code:
        vMins view_as<float>({-25.0, -25.0, -30.0});
        
vMaxs view_as<float>({25.025.030.0}); 
or 50 instead of 25. Let me know if that helps.
It works!

Last edited by Shao; 04-06-2021 at 18:11. Reason: Fix available via .sp edit
Shao is offline
efa561
New Member
Join Date: Sep 2023
Old 10-05-2023 , 01:17   Re: [L4D & L4D2] Health Vending Machines (1.11) [11-Dec-2022]
Reply With Quote #59

How do I get HP over 100?
efa561 is offline
DonProof
Junior Member
Join Date: Jun 2021
Old 04-28-2024 , 14:00   Re: [L4D & L4D2] Health Vending Machines (1.12) [11-Dec-2022]
Reply With Quote #60

It does not save the configuration in the maps, when restarting the server the vendors that I saved in data/l4d_vendor.cfg are not loaded
When placing a vendor and adjusting the position, after that I give it a save and when I restart the map they do not load or appear.
Does this plugin depend on another to work?

Last edited by DonProof; 04-28-2024 at 16:42.
DonProof is offline
Reply



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 07:29.


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