[L4D/L4D2] Grenade Throwing Bots
3 Attachment(s)
Wanna make the bots more useful? Do you want to watch them throw grenades like you wanted to? Did you expect them to...... Naaahh, you already get the point.
No convars, commands, or anything unnecessary. Just simple drag and drop.
Bugs:
Notes:
Changelog:
|
Re: [L4D/L4D2] Grenade Throwing Bots
1 Attachment(s)
Can bots get the throwaways by himself? Does not work here...
Attachment 162147 SourceMod (v1.8.0.5981) Left 4 Downtown 2 (v0.5.4.2) L4DToolz (v1.0.09r1) |
Re: [L4D/L4D2] Grenade Throwing Bots
Update 1.1:
- Made two different version for both games to prevent any harm. - Had some tweaks to prevent them from being stucked as the chosen thrower and some bug fixes. - Added a note for the needed extension. |
Re: [L4D/L4D2] Grenade Throwing Bots
I am using the version of L4Downtown2 that you specified, and the bots can not catch the throws, and this error appears in the console.
Code:
L 04/16/2017 - 12:05:12: [SM] Exception reported: Entity 1 (1) is invalid |
Re: [L4D/L4D2] Grenade Throwing Bots
Update 1.2 (L4D2): Replaced clumsy checking with the appropriate one. Wew, I code plugins uglier when I'm drunk.
|
Re: [L4D/L4D2] Grenade Throwing Bots
I suggest using my IsSurvivorThirdPerson()
because that will catch most things that would stop you from throwing anything. Here i modded it abit so you could use it here, i'm not 100% sure. Code:
if(GetEntPropEnt(iClient, Prop_Send, "m_carryAttacker") > 0) return true; is missing from your IsInShape() bool. Be sure to convert to new syntax if you dislike my old syntax code. enjoy :attack: EXTRA: GetEntPropEnt(client, Prop_Send, "m_tongueOwner") > 0 I don't use this because you can still throw stuff while is m_tongueOwner > 0 This will report back greater than 0 but you can still throw stuff, shoot and melee in the first second of being pulled, that is why i used sequences instead. and switch(GetEntProp(iClient, Prop_Send, "m_iCurrentUseAction")) can be used for bot plugins Example "my bots use upgrade packs and other stuff", that would interfere with the bot plugins I use, it's just a suggestion for compatibility with other plugins and more friendly to bots that are healing team mates |
Re: [L4D/L4D2] Grenade Throwing Bots
Quote:
Hmm, there seems to be a problem with it on L4D1 but none on L4D2 as it works flawlessly. That doesn't prevent FF though, I need to check if the area around the target to be thrown is safe from other survivors. |
Re: [L4D/L4D2] Grenade Throwing Bots
Quote:
L4D block damage that would of damage you when being shot, i would suggest doing the same thing with the pipebomb however, i'm my opinion for molotov i would block the damage from the fire for a few secs then start damaging survivors who are in it, should give people with even the slowest reaction time to move out of it. |
Re: [L4D/L4D2] Grenade Throwing Bots
Quote:
|
Re: [L4D/L4D2] Grenade Throwing Bots
I really appreciated you improve the bots throwing grenade plugin.
|
All times are GMT -4. The time now is 00:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.