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

[L4D2] Gas Can limit increase?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
IronWarrior
Veteran Member
Join Date: Jan 2010
Old 01-21-2010 , 19:52   [L4D2] Gas Can limit increase?
Reply With Quote #1

I play and admin a 10vs10 server and on the final of Dead Center where you have to collect 13 Gas Cans, the humans often collect the cans in about 2 or 3 minutes which is really fast in game play terms.

So can a plugin be created to increase the limit if possible please?
IronWarrior is offline
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 01-21-2010 , 21:57   Re: [L4D2] Gas Can limit increase?
Reply With Quote #2

I imagine it would take some heavy modding to do that.

The data for how many gas cans to collect could also be stored in the map. Maybe there is a way to override that.

Just my 2 cents, I'm no l4d expert.

I'm guessing that after a gas can is poured then another one will spawn in its place to compensate for the limit?
__________________
Greyscale is offline
cigs
Senior Member
Join Date: Jul 2006
Old 01-21-2010 , 22:38   Re: [L4D2] Gas Can limit increase?
Reply With Quote #3

Looking at the entities for scavenge in any map, I see logic_case entities witch have 16 Case variables. You can't add any, you can only use 16 or less.

Maybe somebody knows a way around it, but it looks like the game isn't designed to take more than 16 cans into account.

__________________
cigs is offline
Dragonshadow
BANNED
Join Date: Jun 2008
Old 01-22-2010 , 07:55   Re: [L4D2] Gas Can limit increase?
Reply With Quote #4

Why does it look like there are two logic_case ents? (I don't hammer much)
Dragonshadow is offline
cigs
Senior Member
Join Date: Jul 2006
Old 01-22-2010 , 08:18   Re: [L4D2] Gas Can limit increase?
Reply With Quote #5

There are many more logic_case entities. Some control the spawning of pills, adrenaline, pipes, etc. Another can spawning in coop final. Another can spawning in scavenge.

I didn't say it's impossible, it only looks that way since you can't create more 'cases' (Case17, etc). Maybe 2 logic_case entities can be a solution?

I'll have another look and test a bit... If it's possible, Stripper:Source will be needed.

EDIT:

I had another look, but I don't want to test it. I'll just write down what I would test.

Install Stripper:Source and add this to the Atrium map cfg file

Code:
add:
{
"classname" "weapon_scavenge_item_spawn"
"angles" "0 90 0"
"body" "0"
"disableshadows" "1"
"glowstate" "3"
"model" "models/props_junk/gascan001a.mdl"
"skin" "0"
"solid" "0"
"spawnflags" "2"
"targetname" "scavenge_gascans_spawn"
}
That spawns a 17th can next to the single can on the ground floor of Atrium Mall in scavenge.



If the game suddenly requires 17 cans to be filled, it works and more cans can be spawned lateron using the same method. If it doesn't work, some core left 4 dead game files need to be changed because it is most likely not that some kind of game entity settings needs to be change. I haven't find any entity determining how many cans need to be filled in the map file itself. So, it must be stated somewhere outside the map (or vmf) file.

Test the above. I'm sure you can figure out how. => Stripper:Source
__________________

Last edited by cigs; 01-22-2010 at 08:53.
cigs is offline
Tonblader
Senior Member
Join Date: Jul 2011
Location: Peru
Old 06-05-2020 , 03:27   Re: [L4D2] Gas Can limit increase?
Reply With Quote #6

Does anyone know where I can get a base cfg to be able to configure a scavenge mode on any map, being in a cooperative campaign? as is the end of dead center and the passing

Edit: i found this https://forums.alliedmods.net/showthread.php?t=320624

Last edited by Tonblader; 06-06-2020 at 02:24.
Tonblader is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 06-05-2020 , 08:11   Re: [L4D2] Gas Can limit increase?
Reply With Quote #7

I don't know if there is a base cfg file, I know that if you dump the maps with stripper, some maps (the scavenge ones) has some entities that fires based on gamemode, which usually spawns different items

Spoiler
__________________
Marttt 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:00.


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