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

[L4D & L4D2] Indomitable Survivor Bot v1.9 [2-December-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 03-12-2022 , 04:21   Re: [L4D & L4D2] Indomitable Survivor Bot v1.2 [12-March-2022]
Reply With Quote #11

update

Quote:
PHP Code:
// allow infinity ammo 1=infinity clip 2=infinity reserved ammo 0=disable
indomitable_bot_infinity_ammo "1"

// which sources of receive damage will be resistance
// 1=common zomobie 2=special infected 4=survivor bot 8=survivor human 16=others -1=All 31=All
indomitable_bot_res_damage_sources "-1" 
changelog
  • v1.2 new features:
    optional infinity ammo methods 'infinity clip', 'infinity reserved'
    optional 'restrict damage resistance source'; 12-March-2022
for the movement speed it should listen many event and checks, do it at least i clearly known how they works
__________________
NoroHime is offline
Maur0
Senior Member
Join Date: Aug 2020
Old 03-12-2022 , 20:05   Re: [L4D & L4D2] Indomitable Survivor Bot v1.2 [12-March-2022]
Reply With Quote #12

NoroHime - OMG man, you are a total genius!!! Thanks a lot!!!

Thanks for adding the unlimited ammo command to make the bot reload, but never waste ammo again.

And thanks for fixing the problem with the Admin System mod of the command: kill, incap and hurt.

I had to put the option of this command with this value: indomitable_bot_res_damage_sources "27"

Giving remove the effect of the survivor bot and now I can kill the bots with that command. And the rest works perfectly. Thank you for this!!!
Maur0 is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 04-30-2022 , 13:21   Re: [L4D & L4D2] Indomitable Survivor Bot v1.3 [12-March-2022]
Reply With Quote #13

finally i found good way to set speed and gravity
Quote:
ConVar

PHP Code:
// speed rate of bot movement
indomitable_bot_movement_rate "2.0"

// gravity rate of bot jumping and fallen
indomitable_bot_gravity_rate "0.5"

// allow regenerate health when damage resistance calculated as negative value 
// 0=disable -1=recovery only 1=regen and no limited 2=recovery but limited max
indomitable_bot_res_damage_regen "-1" 

changelog
  • v1.3 new features:
    optional 'movement speed modifier',
    optional 'gravity multiplier',
    optional regen methods 'recovery but limited max' ; 1-May-2022
  • v1.3.1 fix listener not remove when client disconnect; 1-May-2022(afternoon)
__________________

Last edited by NoroHime; 05-01-2022 at 02:59.
NoroHime is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 05-01-2022 , 03:02   Re: [L4D & L4D2] Indomitable Survivor Bot v1.1 [10-March-2022]
Reply With Quote #14

Quote:
Originally Posted by Sev View Post
Adjustable bot movement speed please.
Sev you may wanna try this newer version, this included all of bot needs
__________________
NoroHime is offline
Rawchelle
New Member
Join Date: May 2021
Old 05-11-2022 , 14:57   Re: [L4D & L4D2] Indomitable Survivor Bot v1.3.1 [1-May-2022]
Reply With Quote #15

Hi, I like this plugin and I am currently using it, but I encountered one thing that some may regard as an issue:

If you adjust bot survivor movement speed, when they get grabbed by a smoker or jockey, the speed at which they get pulled, or ran around with, is also increased. This is not really a problem versus smokers, but jockeys can race with bots across the world in 10 seconds

EDIT: I also thought of perhaps a game mode check, so that the super bots are only activated on campaign, but not versus?

Last edited by Rawchelle; 05-11-2022 at 15:41.
Rawchelle is offline
Foxy0606
Junior Member
Join Date: Feb 2022
Old 05-18-2022 , 01:12   Re: [L4D & L4D2] Indomitable Survivor Bot v1.3.1 [1-May-2022]
Reply With Quote #16

Quote:
Originally Posted by Rawchelle View Post
Hi, I like this plugin and I am currently using it, but I encountered one thing that some may regard as an issue:

If you adjust bot survivor movement speed, when they get grabbed by a smoker or jockey, the speed at which they get pulled, or ran around with, is also increased. This is not really a problem versus smokers, but jockeys can race with bots across the world in 10 seconds

EDIT: I also thought of perhaps a game mode check, so that the super bots are only activated on campaign, but not versus?
set this to 1.0

PHP Code:
// speed rate of bot movement
indomitable_bot_movement_rate "1.0" 
Foxy0606 is offline
Foxy0606
Junior Member
Join Date: Feb 2022
Old 05-18-2022 , 01:18   Re: [L4D & L4D2] Indomitable Survivor Bot v1.3.1 [1-May-2022]
Reply With Quote #17

If you combine with this plugin
https://forums.alliedmods.net/showthread.php?p=2757330
and Left 4 Bot from workshop. They will be a killing machine, and save you instantly if u get pinned by SI (if you are in their shooting range).
Foxy0606 is offline
ZBzibing
Senior Member
Join Date: Dec 2012
Old 05-23-2022 , 20:46   Re: [L4D & L4D2] Indomitable Survivor Bot v1.3.1 [1-May-2022]
Reply With Quote #18

I also used the same method to give the cyborg infinite ammo, but is there any way to make the cyborg follow the player closely? There is no "sb_escort" command in L4D1
__________________
Please forgive, If I'm not describing it accurately. I use google translate
Functional tests are all from L4D1, and are only keen to solve and fix various bugs of L4D1:
ZBzibing is offline
Foxy0606
Junior Member
Join Date: Feb 2022
Old 05-26-2022 , 09:20   Re: [L4D & L4D2] Indomitable Survivor Bot v1.3.1 [1-May-2022]
Reply With Quote #19

There's a bug in this cvar, bot have infinity throwable
PHP Code:
// allow infinity ammo 1=infinity clip 2=infinity reserved ammo 0=disable
// -
// Default: "1"
indomitable_bot_infinity_ammo "2" 
Foxy0606 is offline
typowritter
Junior Member
Join Date: Sep 2021
Old 10-17-2022 , 15:03   Re: [L4D & L4D2] Indomitable Survivor Bot v1.3.1 [1-May-2022]
Reply With Quote #20

Quote:
Originally Posted by Foxy0606 View Post
set this to 1.0

PHP Code:
// speed rate of bot movement
indomitable_bot_movement_rate "1.0" 
I managed to get a solution, resetting the movement rate to default when a jockey or smoker attached to the bots, and restore the value after release.

Code:
public void OnPluginStart() {
...
	HookEvent("jockey_ride", SetDefaultMovementRate);
	HookEvent("tongue_grab", SetDefaultMovementRate);
	HookEvent("jockey_ride_end", RestoreMovementRate);
	HookEvent("tongue_release", RestoreMovementRate);
...
}

public void SetDefaultMovementRate(Event event, const char[] name, bool dontBroadcast) {
	int victim = GetClientOfUserId(GetEventInt(event, "victim"));
	if (isSurvivorBot(victim)) {
		SetTerrorMovement(victim, 1.0);
	}
}

public void RestoreMovementRate(Event event, const char[] name, bool dontBroadcast) {
	int victim = GetClientOfUserId(GetEventInt(event, "victim"));
	if (isSurvivorBot(victim)) {
		SetTerrorMovement(victim, movement_rate);
	}
}
Weirdly though, it seems the SetTerrorMovement was called when the hooked events happen, but the speed still remain the same. Only after manually reloading the plugin can make it works as expected.
Can't figure out why

Last edited by typowritter; 10-17-2022 at 15:10.
typowritter is offline
Reply



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 19:33.


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