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

[L4D & L4D2] Gear Transfer (2.33) [28-Jan-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
mikhdenis
Member
Join Date: Aug 2009
Location: Ukraine
Old 09-08-2010 , 15:55   Re: [L4D2] Bot Grenade Transfer
Reply With Quote #11

Can do make bots can pick up defib?
mikhdenis is offline
LTR.2
Veteran Member
Join Date: Aug 2009
Old 09-08-2010 , 16:42   Re: [L4D2] Bot Grenade Transfer
Reply With Quote #12

Quote:
Originally Posted by mikhdenis View Post
Can do make bots can pick up defib?
and special ammo?
LTR.2 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-08-2010 , 17:57   Re: [L4D2] Bot Grenade Transfer (1.02)
Reply With Quote #13

Updated with your suggestions AtomicStryker, nice one. The CheatCliendCommand is working the same as ClientCommand, meaning you rarely hear vocalize molotov/pipe but the vomitjar always works.

mikhdenis: I was thinking earlier about a defib version. Will try to do over the next week.


Edit: Forgot to say, "give molotov" for example still produces the particle bugs when the player has a pipe and is switching grenade (see screenshots in the first post). I have a few more ideas on how to fix that, will give it a shot.

Edit2: It seems vocalize does not work, but EquipPlayerWeapon is making the survivors vocalize PickupVomitjar
__________________

Last edited by Silvers; 09-08-2010 at 18:38.
Silvers is offline
LTR.2
Veteran Member
Join Date: Aug 2009
Old 09-08-2010 , 19:03   Re: [L4D2] Bot Grenade Transfer (1.03)
Reply With Quote #14

couple of suggestions:

can youy make it so it forces the survivors to say something like "here, take this" every time a grenade is tramnsfered? or maybe a message "ellis ae you a pipe bomb" or maybe both.
LTR.2 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-08-2010 , 19:10   Re: [L4D2] Bot Grenade Transfer (1.03)
Reply With Quote #15

Could maybe PlaySound(client, "player\survivor\voice\coach\takepipebomb01.w av") Something like that? Going to test...

Edit: EmitSoundToAll works... it's a long list of filenames though.
__________________

Last edited by Silvers; 09-08-2010 at 19:50.
Silvers is offline
cheewongken
Senior Member
Join Date: Feb 2009
Old 09-09-2010 , 07:15   Re: [L4D2] Bot Grenade Transfer (1.03)
Reply With Quote #16

can you make the bots switch to the nade and run up to you and shove you? seems more realistic that way.
cheewongken is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 09-09-2010 , 08:31   Re: [L4D2] Bot Grenade Transfer (1.03)
Reply With Quote #17

If you want a rock solid method for vocalizing without using a 1000+ file list, i suggest this:

http://forums.alliedmods.net/showthread.php?t=122270
AtomicStryker is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-09-2010 , 13:14   Re: [L4D2] Bot Grenade Transfer (1.03)
Reply With Quote #18

Quote:
Originally Posted by cheewongken View Post
can you make the bots switch to the nade and run up to you and shove you? seems more realistic that way.
I don't know how to make a bot move to a player.


Edit: Thanks AtomicStryker, I used your scenes code and it's working perfectly!
__________________

Last edited by Silvers; 09-10-2010 at 09:52.
Silvers is offline
danielmyst777
AlliedModders Donor
Join Date: Aug 2010
Location: Virginia
Old 09-11-2010 , 11:48   Re: [L4D2] Bot Grenade Transfer (1.1)
Reply With Quote #19

The latest version (1.1) causes my server to crash. I think it crashes when the bots are trying to hand a grenade off to a player after they don't have one anymore but I can't be sure.
danielmyst777 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-11-2010 , 13:41   Re: [L4D2] Bot Grenade Transfer (1.1)
Reply With Quote #20

danielmyst777 I sent you a PM. I'm looking into it but not sure whats causing the crash... need more details.
__________________
Silvers 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 02:30.


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