[L4D2] Infected Loot Drops (2.3d)
13 Attachment(s)
Only supports L4D2
Requires Sourcemod 1.3+ Required: SourceMod Extension Config 1.0.2: http://forums.alliedmods.net/showthread.php?t=69167 Download the config.ext.zip file from the end of the first post. Inside the zip file, go into the addons\sourcemod\extensions folder and extract the config.ext.dll or config.ext.so file and upload it to your servers Addons/SourceMod/Extensions folder. Optional: AtomicStrykers Uncommon Infected Horde: http://forums.alliedmods.net/showthread.php?t=109623 - This enables the uncommon mobs in your config files. Without it, they will not spawn. Note: If you want to use a L4D1 version of this plugin, use version 1.3 in this thread: http://forums.alliedmods.net/showthread.php?t=107681 Additionally, your config cvar defaults to the file: cfg\sourcemod\ l4d2_infected_loot_drops_loot_settings.conf so MAKE THIS FILE! This plugin hooks the death event of a player or infected. This includes common zombies and the witch! When that infected dies, the type of thing it was (tank, common, smoker etc) is checked against the config file. The config file has two categories of actions, one for dice to roll and react, and another for things that happen 100% of the time. The dice can be configured to be any number of dice of any number of sides. The whole roll is added up and it's compared against set of "things" defined for that class. If the dice roll is in the range set by a thing, that thing is executed. Things can be infected spawns, items spawns, weapon spawns, upgrade spawns, or melee spawns. The example config file has all the information you need on configuring the plugin. You will need to take time to config and balance this out. Giving too many items make it too frustrating for the infected, while too little items make it frustrating on the survivors. All game modes are supported. Todo
2.3d
Commands All commands require ADMFLAG_KICK permissions loot_reloadconfig - Reloads the current conf file specified by the l4d2_loot_config_filename cvar. loot_sim - Simulates an infected killed, so you can see what would happen. loot_get_thingcount - Gets how many times a specific thing has spawned. loot_add_thingcount - Adds 1 to a specific thing count of how many times it's spawned. loot_get_thingmax - Gets the max spawn setting of a thing. loot_thing_ismaxed - Informs you of if a thing has already reached the max spawn limit. CVARS l4d2_loot_config_filename - The name of the config file located in the cfg/sourcemod folder. l4d2_loot_enabled - Is the infected loot plugin enabled or not. l4d2_loot_logging - Enable logging. l4d2_loot_announce_mode - Announces text to client teams when something spawns (if defined) 0 = Off; 1 = Hint text; 2 = Team chat. Example Starting off, I have a global config that rolls a 500 sided die. If 1-10 lands, a defibrillator will spawn. I set the plugin max for the defib to two. Regardless of if the global section spawns it, or any other thing, only TWO can ever show up for the level. If it spawns, it displays a message only to the survivor team: Code:
max_spawns: |
Re: [L4D2] Infected Loot Drops (2.0)
Updated just slightly. Enjoy.
|
Re: [L4D2] Infected Loot Drops (2.1)
Sorry for the chained updates. I just added the global factory limits system. Now you can configure the plugin to only spawn X amount of anything. Once the limit has been reached, the factory will refuse to spawn the thing.
|
Re: [L4D2] Infected Loot Drops (2.1)
Best loot ever!
Damn if I understand the gigantic .cfg it made tho :lol: |
Re: [L4D2] Infected Loot Drops (2.1)
Could you post it? I would love to check it out :)
|
Re: [L4D2] Infected Loot Drops (2.1)
Didnt understand the example, can i just use that rather than make my own?
|
Re: [L4D2] Infected Loot Drops (2.1)
example doesnt work, what do i do know? what am i missing?
|
Re: [L4D2] Infected Loot Drops (2.1)
What do you mean by it doesn't work? I put it on my server and it loads correctly. You need to rename the file and put it in a specific location.
You could use it as it is, but it's just a bunch of settings that have nothing to do with each other, which is why you should make your own. Do you have an idea about what you want? I can make one for you. |
Re: [L4D2] Infected Loot Drops (2.1)
Yeah sure 3Pills and a molitov on infected death, 85% certainty. defib and bile bomb 5% certainty. Autoshotgun and first aid kit 10% certainty. Think that should be enough.
|
Re: [L4D2] Infected Loot Drops (2.2)
Ok here you go. Update to version 2.2 for this to work. I added a new special type that groups all the normal enemy classes together
Code:
// Executed anytime any of the normal classes die: smoker, hunter, charger, boomer, spitter, jockey |
All times are GMT -4. The time now is 15:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.