Raised This Month: $32 Target: $400
 8% 

[L4D & L4D2] Round Start Items Giver


Post New Thread Reply   
 
Thread Tools Display Modes
kwski43
Senior Member
Join Date: Mar 2009
Old 08-03-2010 , 02:33   Re: [L4D2] Round Start Items Giver (3.7)
Reply With Quote #101

Quote:
Originally Posted by RU_6uK View Post
Not working for me. Don't know why. Plugin give items just to a real player, not bots. I have 10vs10 dedicated server.
In any case I already use stripper for medkits.
Quote:
Originally Posted by healthyalmonds View Post
I have an 8 v 8 with item giver providing only medkits but the plugin only gives medkits to 1-2 players.

Is there a way to increase the number of medkits given to the survivors?
Same bub which I don't know how to resolve...
__________________
kwski43 is offline
solidjake
Junior Member
Join Date: Aug 2010
Old 08-09-2010 , 14:05   Re: [L4D2] Round Start Items Giver (3.7)
Reply With Quote #102

Does this have support for grenade launchers?
solidjake is offline
kwski43
Senior Member
Join Date: Mar 2009
Old 08-09-2010 , 16:16   Re: [L4D2] Round Start Items Giver (3.7)
Reply With Quote #103

Code:
l4d2_ig_give_primweapon "16"
__________________
kwski43 is offline
placenta
Junior Member
Join Date: Oct 2010
Old 10-05-2010 , 02:14   Re: [L4D2] Round Start Items Giver (3.7)
Reply With Quote #104

There is any way to give 2 items of the same category?

For example: Round starts, I receive an Autoshotgun and then an AK47, so I will get the ak, but i can pickup the shoutgun that has been dropped.

Another problem: I configured the .cfg so i will receive a Katana when the round starts. But if the map do not support katana (The Parish, for example), nothing happens. If there was 2 weapon spawns, I could config to receive a machete and then a katana.



Anyway, thanks for this plugin, its awesome...
=)
placenta is offline
kwski43
Senior Member
Join Date: Mar 2009
Old 10-06-2010 , 11:59   Re: [L4D2] Round Start Items Giver (3.7)
Reply With Quote #105

Quote:
Originally Posted by placenta View Post
There is any way to give 2 items of the same category?

For example: Round starts, I receive an Autoshotgun and then an AK47, so I will get the ak, but i can pickup the shoutgun that has been dropped.

Another problem: I configured the .cfg so i will receive a Katana when the round starts. But if the map do not support katana (The Parish, for example), nothing happens. If there was 2 weapon spawns, I could config to receive a machete and then a katana.



Anyway, thanks for this plugin, its awesome...
=)
I don't have currently time but:
-I think Weapons Unlock can allow every weapon on every map
-if you want to give 2 item you can just copy the plugin so you will have 2 copies running but they will use same cfg! for this code needs some changes
__________________
kwski43 is offline
placenta
Junior Member
Join Date: Oct 2010
Old 10-06-2010 , 16:39   Re: [L4D2] Round Start Items Giver (3.7)
Reply With Quote #106

yeah, I tried to do this, copying with the name itemgiver2, and the copying the cfg with the same name, but it was giving me 2 aks and 2 katanas... hehehehe

but thanks, its not necessary... I was just wondering if there was an easy way...

EDIT: ah, and I'm with weapons unlock, but this itens are locked... You cannot pickup katana in parish, even with that tankbusters plugin, for exemple...

Last edited by placenta; 10-06-2010 at 16:41.
placenta is offline
rappinduke
Member
Join Date: Jul 2008
Old 10-15-2010 , 11:21   Re: [L4D2] Round Start Items Giver (3.7)
Reply With Quote #107

Hello,
Love the plugin!! I have noticed on my server that this only loads on first map of campaign and then nothing?? I was wondering if maybe it conflicts with KrX's Survivor upgrades?? Now i have checked the logs and have no errors but after first map BOTH seem to stop working??

Here are my plugins on my server......

1:19:19 [SM] Listing 33 plugins:
01 "Fun Commands" (1.3.3) by AlliedModders LLC
02 "L4D Black and White Notifier" (1.31) by DarkNoghri, madcap
03 "All4Dead" (1.4.4) by James Richardson (grandwazir)
04 "Basic Commands" (1.3.3) by AlliedModders LLC
05 "Basic Info Triggers" (1.3.3) by AlliedModders LLC
06 "Fun Votes" (1.3.3) by AlliedModders LLC
07 "Basic Comm Control" (1.3.3) by AlliedModders LLC
08 "Reserved Slots" (1.4.0-dev) by AlliedModders LLC
09 "L4D Vote Manager 2" (1.5.5) by Madcap
10 "ConVar List" (1.01) by Jannik 'Peace-Maker' Hartung
11 "L4D RageMeter" (1.0.0j) by Darkness
12 "Pounce Announce" (1.5) by n0limit
13 "Client Preferences" (1.3.3) by AlliedModders LLC
14 "L4D2 Round Start Items Giver" (3.7) by kwski43 aka Jacklul
15 "Admin Menu" (1.3.3) by AlliedModders LLC
16 "Anti-Flood" (1.4.0-dev) by AlliedModders LLC
17 "Player Commands" (1.3.3) by AlliedModders LLC
18 "Admin Help" (1.3.3) by AlliedModders LLC
19 "Basic Chat" (1.3.3) by AlliedModders LLC
20 "Advertisements" (0.5.5) by Tsunami
21 "Sound Commands" (1.4.0-dev) by AlliedModders LLC
22 "L4D_Cloud_Damage" (2.17) by AtomicStryker
23 "Basic Votes" (1.3.3) by AlliedModders LLC
24 "L4D Ledge Release" (1.0) by AltPluzF4, maintained by Madcap
25 "Basic Ban Commands" (1.3.3) by AlliedModders LLC
26 "[L4D] Safe Room Hunter Glitch Blocker" (1.0) by djromero (skyDavid)
27 "KrX's Survivor Upgrades" (1.1.6) by KrX (a.k.a Whosat)
28 "Damage Info Display" (1.3.5) by Dionys && -pk-
29 "Infected Self Detonation" (0.9) by ne0cha0s
30 "Smoke'n Move" (1.2) by Olj
31 "Admin File Reader" (1.3.3) by AlliedModders LLC
32 "L4DSwitchPlayers" (1.4) by SkyDavid (djromero)
33 Disabled: "Nextmap" (1.4.0-dev) by AlliedModders LLC

I have the cfg set to give random weapons and pills on map start.
Any ideas??
__________________

rappinduke is offline
guylden
Member
Join Date: Dec 2008
Old 10-16-2010 , 07:24   Re: [L4D2] Round Start Items Giver (3.7)
Reply With Quote #108

hi guys,
first time sorry for this bad english ;)

Second time, I read plugins source and i whant do some change inside , just for give shootgun and rife a start of the game.



and would like ti know if what i change is enough or if i need change something else ?


Code:
GivePrimWeaponItem_l4d2()
  {
                  for (new client = 1; client <= MaxClients; client++)
                  {
                                  if (IsClientInGame(client) && GetClientTeam(client)==2)
                                  {
                                                  if (GetConVarInt(cvarRandomPrimWeapon)==1)
                                                  {
                                                                  switch(GetRandomInt(0, 6)) {
                                                 case 0: {
                                                             GiveItem(client, "pumpshotgun");
                                                              }
                                                   case 1: {
                                                               GiveItem(client, "autoshotgun");
                                                                }
                                                    case 2: {
                                                                GiveItem(client, "shotgun_spas");
                                                                 }
                                                     case 3: {
                                                                GiveItem(client, "shotgun_chrome");
                                                     }
                                                     case 4: {
                                                                 GiveItem(client, "rifle");
                                                                 }
                                                      case 5: {
                                                                  GiveItem(client, "rifle_ak47");
                                                                   }
                                                       case 6: {
                                                                  GiveItem(client, "rifle_desert");
                                                                   }              
                                                  }
                                 }
                                                  else
                                                  {
                                                                 if (GetConVarInt(cvarPrimWeapon)!=0) {
                                                                 if (GetConVarInt(cvarPrimWeapon)==1) {
                                                                GiveItem(client, "pumpshotgun");
                                                                                  }
                                                    else        if (GetConVarInt(cvarPrimWeapon)==2) {
                                                                 GiveItem(client, "autoshotgun");
                                                                                  }
                                                    else        if (GetConVarInt(cvarPrimWeapon)==3) {
                                                                  GiveItem(client, "shotgun_spas");
                                                                                  }
                                                    else        if (GetConVarInt(cvarPrimWeapon)==4) {
                                                                 GiveItem(client, "shotgun_chrome");
                                                                                  }
                                                   else        if (GetConVarInt(cvarPrimWeapon)==5) {
                                                                  GiveItem(client, "rifle");
                                                                                  }
                                                    else        if (GetConVarInt(cvarPrimWeapon)==6) {
                                                                 GiveItem(client, "rifle_ak47");
                                                                                  }
                                                    else        if (GetConVarInt(cvarPrimWeapon)==7) {
                                                                 GiveItem(client, "rifle_desert");
                                                                      }              
                              }
                       }
              }
    }
  }
it's the only change i do in this plugins
It s the first time i try something like this....

Last edited by guylden; 10-16-2010 at 07:32.
guylden is offline
kwski43
Senior Member
Join Date: Mar 2009
Old 10-16-2010 , 07:57   Re: [L4D2] Round Start Items Giver (3.7)
Reply With Quote #109

Quote:
Originally Posted by rappinduke View Post
Hello,
Love the plugin!! I have noticed on my server that this only loads on first map of campaign and then nothing?? I was wondering if maybe it conflicts with KrX's Survivor upgrades?? Now i have checked the logs and have no errors but after first map BOTH seem to stop working??

Here are my plugins on my server......

(...)

I have the cfg set to give random weapons and pills on map start.
Any ideas??
I would like you to disable all non-sourcemod default plugins and enable only item giver then check if the problem still persist, if not try loading others plugins in order: load plugin, nextmap, load plugin, nextmap etc...

Quote:
Originally Posted by guylden View Post
hi guys,
first time sorry for this bad english ;)

Second time, I read plugins source and i whant do some change inside , just for give shootgun and rife a start of the game.



and would like ti know if what i change is enough or if i need change something else ?


Code:
(...)
it's the only change i do in this plugins
It s the first time i try something like this....
You want to give just 2 primary weapons? Shotgun and rifle?
__________________

Last edited by kwski43; 10-16-2010 at 08:00.
kwski43 is offline
guylden
Member
Join Date: Dec 2008
Old 10-16-2010 , 13:19   Re: [L4D2] Round Start Items Giver (3.7)
Reply With Quote #110

yes, i want only give some rife and some shootgun on 16 slot server
guylden 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 16:08.


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