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

[L4D2] Infected Loot Drops (2.3d)


Post New Thread Reply   
 
Thread Tools Display Modes
Xardas
Junior Member
Join Date: Oct 2012
Old 11-18-2012 , 03:19   Re: [L4D2] Infected Loot Drops (2.3d)
Reply With Quote #111

Hi there.
Are there any improvements on the throwables issue? Dropping e.g. a molotov still causes the server to crash.

Greetings

Last edited by Xardas; 11-18-2012 at 03:21.
Xardas is offline
Zbeer
SourceMod Donor
Join Date: Aug 2010
Old 11-18-2012 , 09:41   Re: [L4D2] Infected Loot Drops (2.3d)
Reply With Quote #112

Quote:
Originally Posted by Xardas View Post
Hi there.
Are there any improvements on the throwables issue? Dropping e.g. a molotov still causes the server to crash.

Greetings
I don't have any kind of problem with throwables.
I test this with every zombie killed dropping molotovs, boomer biles and Pipes.
No problem!
Zbeer is offline
Xardas
Junior Member
Join Date: Oct 2012
Old 11-18-2012 , 11:36   Re: [L4D2] Infected Loot Drops (2.3d)
Reply With Quote #113

Hmm. Strange. Everytime an infected is supposed to drop a throwable like vomitjar, the jar flies around in the sky in strange circles and if I cant catch it the server crashes with a message like "Model vomit jar error", or sth like that
Xardas is offline
Xardas
Junior Member
Join Date: Oct 2012
Old 11-21-2012 , 08:07   Re: [L4D2] Infected Loot Drops (2.3d)
Reply With Quote #114

Quote:
Originally Posted by Zbeer View Post
I don't have any kind of problem with throwables.
I test this with every zombie killed dropping molotovs, boomer biles and Pipes.
No problem!
Could you post the dropping command that you use, e.g. "weapon_molotov_spawn".
Maybe I am using the wrong ones. Thx in advance

Another question: Is it possible to spawn the CS weaponry, e.g. "weapon_awp_spawn" or "weapon_mp5_spawn" and what is the correct syntax for this?

Greetings
Xardas is offline
Xardas
Junior Member
Join Date: Oct 2012
Old 12-02-2012 , 13:21   Re: [L4D2] Infected Loot Drops (2.3d)
Reply With Quote #115

Solved this by myself. (name = "weapon_pipe_bomb") is the correct expression for pipebombs and it was wrong to write "item" instead of "weapon" as type.
Syntax for CS weapons is:

"weapon_rifle_sg552"
"weapon_smg_mp5"
"weapon_sniper_awp"
"weapon_sniper_scout"

only problem that is left is incompatibility of a few melee weapons, e.g.

"frying_pan"
"electric_guitar"
"cricket_bat"
"machete"
"knife"

if they are supposed to be dropped I get an error message "...failed to spawn a melee (not compatible with campaign?)..." or sth. like that?
any suggestions?

Greetings
Xardas is offline
Machine
Senior Member
Join Date: Apr 2010
Old 12-02-2012 , 14:03   Re: [L4D2] Infected Loot Drops (2.3d)
Reply With Quote #116

You have to handle melee weapons a bit different.

The classname is weapon_melee for all of them. Then assign a model name. I can't remember if you need to assign weapon script for it or not.
Machine is online now
StarWeaver
Junior Member
Join Date: Apr 2014
Old 04-29-2014 , 04:10   Re: [L4D2] Infected Loot Drops (2.3d)
Reply With Quote #117

... I accidentally posted this on the l4d1 version of this plugin, oops.

Also, while i'm here, here's the loot settings file i've been tweaking for a while. Basically, my schema is:

Common infected have a pretty low chance to drop various shootable explosives (though they won't go off until you pick them up and place them again), and a pretty tiny chance to drop grenades. Half a percent of them or so also summon a mob, adding a few extra zombies here and there.

Special infected have a reasonable chance to drop grenades and other consumables, you tend to get about 2 items per 3 specials.

Tanks have a large number of rolls and favor healing items and ammo packs, with a 1 in 1000 chance to drop a laser upgrade or m60. You get an average a little more than 3 items per 2 tanks, though it's /possible/ for a tank to explode into a loot pinata because of the number of rolls, it's pretty rare.

Witches are between tanks and specials and have pretty good chances to drop first aids and defibs -- but they also have pretty good chances to cause mobs and/or panics as well.
Attached Files
File Type: txt l4d2_infected_loot_drops_loot_settings.conf.txt (3.4 KB, 801 views)
StarWeaver is offline
Dragon1
Junior Member
Join Date: Jan 2014
Old 07-20-2014 , 12:34   Re: [L4D2] Infected Loot Drops (2.3d)
Reply With Quote #118

L 07/20/2014 - 171:40: SourceMod error session started
L 07/20/2014 - 171:40: Info (map "c1m1_hotel") (file "errors_20140720.log")
L 07/20/2014 - 171:40: [l4d2_infected_loot_drops.smx] Config file (cfg/sourcemod/l4d2_infected_loot_drops_loot_settings.conf) missing or has error on line 0
L 07/20/2014 - 171:40: [l4d2_infected_loot_drops.smx] Config file (cfg/sourcemod/l4d2_infected_loot_drops_loot_settings.conf) missing or has error on line 0
Dragon1 is offline
foxhound27
AlliedModders Donor
Join Date: Sep 2019
Location: Argentina
Old 09-21-2019 , 11:20   Re: [L4D2] Infected Loot Drops (2.3d)
Reply With Quote #119

Quote:
Originally Posted by Dragon1 View Post
L 07/20/2014 - 171:40: SourceMod error session started
L 07/20/2014 - 171:40: Info (map "c1m1_hotel") (file "errors_20140720.log")
L 07/20/2014 - 171:40: [l4d2_infected_loot_drops.smx] Config file (cfg/sourcemod/l4d2_infected_loot_drops_loot_settings.conf) missing or has error on line 0
L 07/20/2014 - 171:40: [l4d2_infected_loot_drops.smx] Config file (cfg/sourcemod/l4d2_infected_loot_drops_loot_settings.conf) missing or has error on line 0
as the post says you need to create the file! 'l4d2_infected_loot_drops_loot_settings.conf'
foxhound27 is offline
BioHazardN7
Member
Join Date: Oct 2020
Location: Укр
Old 10-02-2020 , 03:53   Re: [L4D2] Infected Loot Drops (2.3d)
Reply With Quote #120

Hello
I have a problem with spawning zombies on the last update.
PHP Code:
global:
{
    
repeat 1;
    
dice = [1000];
    
things = (
        {
            
name "mob-random_auto"type "infected";
            
min 100;
            
max 105;
        },
        {
            
name "infected-team_auto"type "infected";
            
min 400;
            
max 402;
        },
        {
            
name "witch_auto"type "infected";
            
min 666;
            
max 666;
        }
    );
}; 
1. Spawn comes from the body of the slain;
2. Instead of "infected-team" and "mob-random", an ordinary zombie will spawn.
BioHazardN7 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 22:37.


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