Raised This Month: $12 Target: $400
 3% 

[L4D & L4D2] Weapon Spawn (1.15) [25-Mar-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 02-20-2021 , 09:05   Re: [L4D & L4D2] Weapon Spawn (1.7) [15-Feb-2021]
Reply With Quote #61

Quote:
Originally Posted by vikingo12 View Post
Could you make an option where 1 or more items must be spawned (random places)
For example: I placed 10 pipe bombs in random places and I want only 1 of them to spawn (also random)
Already exists:
PHP Code:
// -1=All, 0=None. Otherwise randomly select this many weapons to spawn from the maps config.
l4d_weapon_spawn_random "-1" 
set to "1"
__________________
Silvers is offline
Tank Rush
Senior Member
Join Date: May 2019
Location: Argentina
Old 05-02-2021 , 12:34   Re: [L4D & L4D2] Weapon Spawn (1.7) [15-Feb-2021]
Reply With Quote #62

PHP Code:
// 0=Infinite. How many items/weapons to give from 1 spawner.
l4d_weapon_spawn_count "1" 
This cvar is generally for all spawned weapons,
Could you specify the quantity for each weapon or item spawned?
For example, I need only the spawned weapons to be infinite, and the number of loot, bombs or pills to be only 1.
Maybe delete this cvar and change it for an admin command:

PHP Code:
sm_weapon_spawn_count   // Specify the number of weapons spawned. Usage: sm_weapon_spawn_count <count> (0=Infinite). 
__________________
Sorry i don't speak english very well

--->My name is Source and I'm on Steam<---
Discord: Source#9382
Tank Rush is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-03-2021 , 12:48   Re: [L4D & L4D2] Weapon Spawn (1.7) [15-Feb-2021]
Reply With Quote #63

Quote:
Originally Posted by Tank Rush View Post
PHP Code:
// 0=Infinite. How many items/weapons to give from 1 spawner.
l4d_weapon_spawn_count "1" 
This cvar is generally for all spawned weapons,
Could you specify the quantity for each weapon or item spawned?
For example, I need only the spawned weapons to be infinite, and the number of loot, bombs or pills to be only 1.
Maybe delete this cvar and change it for an admin command:

PHP Code:
sm_weapon_spawn_count   // Specify the number of weapons spawned. Usage: sm_weapon_spawn_count <count> (0=Infinite). 

Maybe one day when I have time.

Quote:
Originally Posted by Silvers View Post
  • Do not request any features. If you don't like the plugin then make your own.
__________________
Silvers is offline
fdxx
Member
Join Date: Oct 2020
Location: 0xdeadbeef
Old 09-22-2021 , 08:34   Re: [L4D & L4D2] Weapon Spawn (1.7) [15-Feb-2021]
Reply With Quote #64

l4d_weapon_spawn_count does not work on weapon_first_aid_kit, weapon_pain_pills, weapon_adrenaline

When the count >= 2, Actually only 1
When count == 0, it can work normally (Infinite)

Does this mean that "count" does not support medical items?
fdxx is offline
fdxx
Member
Join Date: Oct 2020
Location: 0xdeadbeef
Old 09-23-2021 , 11:36   Re: [L4D & L4D2] Weapon Spawn (1.7) [15-Feb-2021]
Reply With Quote #65

Quote:
Originally Posted by fdxx View Post
l4d_weapon_spawn_count does not work on weapon_first_aid_kit, weapon_pain_pills, weapon_adrenaline

When the count >= 2, Actually only 1
When count == 0, it can work normally (Infinite)

Does this mean that "count" does not support medical items?
Since DispatchKeyValue count does not work, I will use RequestFrame to delay a frame to set SetEntProp(iEnt, Prop_Data, "m_itemCount", iCount)

Of course, it’s not for this plugin, This is for my other plugin
fdxx is offline
kmah
Junior Member
Join Date: Oct 2019
Old 12-02-2021 , 17:40   Re: [L4D & L4D2] Weapon Spawn (1.7) [15-Feb-2021]
Reply With Quote #66

I love the plugin, add melee to the list please
kmah is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 12-02-2021 , 19:30   Re: [L4D & L4D2] Weapon Spawn (1.7) [15-Feb-2021]
Reply With Quote #67

[L4D2] Melee Weapon Spawner
__________________
Marttt is offline
ZBzibing
Senior Member
Join Date: Dec 2012
Old 12-10-2021 , 09:14   Re: [L4D & L4D2] Weapon Spawn (1.7) [15-Feb-2021]
Reply With Quote #68

I use stripper:source to achieve these functions, just because there is currently no plug-in that can realize the function of weapon replacement, you can generate weapons at any position and replace the weapons that appear in the original position.
__________________
Please forgive, If I'm not describing it accurately. I use google translate
Functional tests are all from L4D1, and are only keen to solve and fix various bugs of L4D1:
ZBzibing is offline
Voevoda
Senior Member
Join Date: Aug 2016
Old 01-05-2022 , 10:24   Re: [L4D & L4D2] Weapon Spawn (1.7) [15-Feb-2021]
Reply With Quote #69

"models/weapons/melee/w_tonfa.mdl"

on some maps the hands of the hunter
Voevoda is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 01-05-2022 , 11:59   Re: [L4D & L4D2] Weapon Spawn (1.7) [15-Feb-2021]
Reply With Quote #70

That's because the weapon isn't allowed on that map. Use Info Editor to enable on that map/enable all melee on all maps. Or place them on maps where they're allowed.
__________________
Silvers is offline
Reply


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 02:11.


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