Re: [L4D2] Infected Loot Drops (2.2)
Nope, you just need l4d2_loot_config_filename set to the filename, l4d2_infected_loot_drops_loot_settings.conf. It automatically looks for that file in the left4dead2\cfg\sourcemod\ folder. Also, if repeat = 0, then it will not roll EVER.
In that SAME folder is l4d2_infected_loot_drops.cfg. This file should contain what you put in your server.cfg Check your sourcemod logs to see what happens while you're playing. You can use the command loot_sim smoker to see what would happen if you had killed a smoker. I haven't been home for a few days so I haven't been able to test out the new normal_infected section which I made for you. Maybe that is broken. So fix up your cvars by editing the ones in the cfg file. Make sure your conf file is in the right folder, remove the values from server.cfg and check your logs. |
Re: [L4D2] Infected Loot Drops (2.2)
Don't use what you posted, use what I posted. Your structure is wrong. the basic structure is
Code:
// This is the class name, or a special name like "global" |
Re: [L4D2] Infected Loot Drops (2.2)
Quote:
Btw, would be cool you help me with this, I remember playing on a server with this plugin and it was showing a "Tip" in the middle/bottom of the screen saying "You hear something drops..." when there was some item drops! Would be nice to add this too, so that we know it easier when somethings falled! Could you tell me how to do this? Thanks again :-) |
Re: [L4D2] Infected Loot Drops (2.2)
I thought I had that in my todo list... Well it is in there now! :) The command in the script is PrintHintText. It's not hard to do, I'll get it updated sometime today, maybe tomorrow if I'm too busy.
|
Re: [L4D2] Infected Loot Drops (2.2)
oh cool it autogenarated the .cfg, last time i checked it wasnt doing that, maybe it will work now.
Checked log as suggested, it comes up with an error should i be worrid about this? L 03/02/2010 - 19:44:06: [SM] Native "CloseHandle" reported: Handle 9e009c is invalid (error 1) L 03/02/2010 - 19:44:06: [SM] Displaying call stack trace for plugin "l4d2_infected_loot_drops.smx": L 03/02/2010 - 19:44:06: [SM] [0] Line 334, C:\Temp\SourceModStuff\L4D2\l4d2_infected_loo t_drops.sp::LoadConfig() L 03/02/2010 - 19:44:06: [SM] [1] Line 281, C:\Temp\SourceModStuff\L4D2\l4d2_infected_loo t_drops.sp::Event_RoundStart() L 03/02/2010 - 19:44:06: [SM] Native "CloseHandle" reported: Handle 9e009c is invalid (error 1) L 03/02/2010 - 19:44:06: [SM] Displaying call stack trace for plugin "l4d2_infected_loot_drops.smx": L 03/02/2010 - 19:44:06: [SM] [0] Line 334, C:\Temp\SourceModStuff\L4D2\l4d2_infected_loo t_drops.sp::LoadConfig() L 03/02/2010 - 19:44:06: [SM] [1] Line 108, C:\Temp\SourceModStuff\L4D2\l4d2_infected_loo t_drops.sp::OnMapStart() |
Re: [L4D2] Infected Loot Drops (2.2)
ok edited .conf to original done specific for me check
deleted cvars from server.cfg check using .cfg autpogenerated check still not seen a drop? loot_sim smoker doesnt seem todo much accept a message on screen its a versus server does it not work with versus? |
Re: [L4D2] Infected Loot Drops (2.2)
It should work with every mode. I use Versus personally. loot_sim smoker should pretend a smoker was killed and tell you what it thought it would do. It doesn't do it though, so nothing spawns. PM me what it states.
Can you tell me the name of the .conf file in your directory, just to double check. The close handle errors shouldn't be a big deal. I'll see if I can tighten up some logic on that. If you don't see anything drop you can try to reload the plugin with "sm plugin reload l4d2_infected_loot_drops" Edit: Actually you'll want to do loot_sim normal_infected to see what could happen. |
Re: [L4D2] Infected Loot Drops (2.2)
Quote:
|
Re: [L4D2] Infected Loot Drops (2.3)
Announcement system up and running :)
Look at the example for global, it shows you how to define your text. The text ONLY applies for the section it is defined in. So you can have different text per class. :) So if the main thing the witch does is spawn a tank when she dies (and maybe other things, but biggest thing is tank) you may say something like "Watch out! Big boy coming!!!". While a smoker only drops items so you keep the original "You hear something drop to the floor". You can define text for the infected team to see or the survivor team, or both. Code:
tell_survivors = "You hear something drop to the ground..."; Code:
l4d2_loot_announce_mode "1" |
Re: [L4D2] Infected Loot Drops (2.3a)
ive been clicked on the smx file cause of the error i get clicked on the get plugin but the file size appears tobe different, how do i use the .sp file, ive never had to compile before?
|
All times are GMT -4. The time now is 19:58. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.