Raised This Month: $ Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-03-2012 , 11:19   Re: [L4D & L4D2] Health Vending Machines (1.2) [01-Jun-2012]
Reply With Quote #21

That question was already answered in this thread.
__________________
Silvers is offline
SyluxLockjaw100
Senior Member
Join Date: Jul 2010
Location: Novaya Russia
Old 06-14-2012 , 04:16   Re: [L4D & L4D2] Health Vending Machines (1.2) [01-Jun-2012]
Reply With Quote #22

It gives you health...it will be also cool if you make another plugin that gives you random guns if you press E on a specific box
SyluxLockjaw100 is offline
sam1026
Junior Member
Join Date: May 2012
Old 06-15-2012 , 02:50   Re: [L4D & L4D2] Health Vending Machines (1.2) [01-Jun-2012]
Reply With Quote #23

I do not have the l4d_vendor.cfg in my servers \addons\sourcemod\data\ folder.
can you upload it?
sam1026 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-15-2012 , 02:53   Re: [L4D & L4D2] Health Vending Machines (1.2) [01-Jun-2012]
Reply With Quote #24

This is created when you save Vendors to the map.
__________________
Silvers is offline
sam1026
Junior Member
Join Date: May 2012
Old 06-15-2012 , 04:45   Re: [L4D & L4D2] Health Vending Machines (1.2) [01-Jun-2012]
Reply With Quote #25

oh! I got it.
sorry for my stupid question.
sam1026 is offline
The 5th Survivor
Senior Member
Join Date: Mar 2012
Old 06-23-2012 , 11:39   Re: [L4D & L4D2] Health Vending Machines (1.0) [28-Feb-2012]
Reply With Quote #26

Quote:
Originally Posted by Dont Fear The Reaper View Post
Nice idea

Just one thing, could you add an option to replace all already existing vending machines with ones that can heal, so you don't have to create extra spawns?
Would be nice because there are already vending machines on many places in the maps which are suitable.
&

Quote:
Originally Posted by alexip121093 View Post
It is impossible to do that because those existing vending machines are prop_static

I was also thinking using existing vendors would be an ideal idea. Mostly because users on my server are confused as to why some vendors work and some don't despite that I keep telling them that only SOME vendors work. For L4D1, I went through all 6 campaigns and made a list of how many existing non-useable vendors there are in each map.

No Mercy
1st Map: 3 vendors
2nd Map: 8 vendors
3rd Map: 7 vendors
4th Map: 5 vendors
5th Map: 0 vendors

Crash Course
1st Map: 2 vendors
2nd Map: 0 vendors

Death Toll
1st Map: 0 vendors
2nd Map: 1 vendor
3rd Map: 0 vendors
4th Map: 9 vendors
5th Map: 2 vendors

Dead Air
1st Map: 3 vendors
2nd Map: 16 vendors
3rd Map: 1 vendor
4th Map: 11 vendors
5th Map: 0 vendors

Blood Harvest
1st Map: 1 vendor
2nd Map: 4 vendors
3rd Map: 0 vendors
4th Map: 2 vendors
5th Map: 0 vendors

The Sacrifice
1st Map: 0 vendors
2nd Map: 7 vendors
3rd Map: 4 vendors

As you can see some maps have a lot of existing vendors while other maps have none at all (mostly the finales). So I spoke to Silvers to see if it would it be possible to just save coordinates/angles at ANY point on a map where you can trigger the "vending effect" by standing next to that "point" and holding "use" and NOT spawn a vending machine.

I thought of creating another vendor in the same exact location as an existing non-useable vendor and it works for the most part. But two things. One, depending on which vendor your trying to create, you may not be able to get the perfect angle because you'll need to rotate some less than 0.5 and the plugin doesn't allow rotations of less than that. And two, here's how they work when you add an additional vendor in the same spot where there's a non-usable vendor:

1) Water Coolers work fine.
2) Water Fountain works fine. (Note 1)
3) Small Drink vendors work fine.
4) Soda vending machines work fine.
5) Snack vending machines work. (Note 2)
6) Coffee machines work fine.

Note 1:
I only found a single water fountain in L4D1 (Dead Air third map). Where else do they appear?

Note 2:
Placing another Snack vendor where there's an existing snack vendor does work, but there's an issue with some. If an existing Snack vendor is standing upright and is against a wall, and you create another vendor in that exact same spot and save it, the next time you load that map, the Snack vendor can only be used if you're standing behind it (which you need to use noclip to do that).



So if you want the existing vendors to be usable, do what I did and create another of it's type in the same spot but keep in mind everything I mentioned above.

Last edited by The 5th Survivor; 06-23-2012 at 13:37.
The 5th Survivor is offline
adrianman
Senior Member
Join Date: Sep 2010
Old 06-26-2012 , 11:25   Re: [L4D & L4D2] Health Vending Machines (1.2) [01-Jun-2012]
Reply With Quote #27

when you look at a spawned vendor machine your character arms keep glitching,try holding your primary weapon and looking close at a spawned vending machine,also i can go over 100 hp in some cases where temp hp and normal hp are combined
__________________
The best thing in life's for free

Last edited by adrianman; 06-26-2012 at 13:08.
adrianman is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 07-01-2012 , 18:56   Re: [L4D & L4D2] Health Vending Machines (1.2) [01-Jun-2012]
Reply With Quote #28

Quote:
Originally Posted by adrianman View Post
when you look at a spawned vendor machine your character arms keep glitching,try holding your primary weapon and looking close at a spawned vending machine,also i can go over 100 hp in some cases where temp hp and normal hp are combined
Fixed healing over 100HP. The arm glitch is Valves fault, it happens with timed buttons etc.
__________________
Silvers is offline
adrianman
Senior Member
Join Date: Sep 2010
Old 07-02-2012 , 06:08   Re: [L4D & L4D2] Health Vending Machines (1.3) [01-Jul-2012]
Reply With Quote #29

i understand,thanks man
__________________
The best thing in life's for free
adrianman is offline
m30w
New Member
Join Date: Dec 2012
Old 12-20-2012 , 20:46   Re: [L4D & L4D2] Health Vending Machines (1.3) [01-Jul-2012]
Reply With Quote #30

I've got the latest sourcemod and metamod installed and this particular plugin is giving me a hard time. I went through and backed up each save, on each level of no mercy. And on the last three maps the l4d_vendors.cfg file never changed at all.

I've tried various different things and nothing seems to work. Also, whenever i save the data, the plugin spawns a seemigly random vendor at my cursor and on the last three maps it only wants to save the randomly made vendors(made from just trying to save) and not the ones i've spawned at all.

Anyone encounter anything like this at all?
m30w 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 02:33.


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