Left 4 Dead 2

Left 4 Dead 2

Cruel Bots
 This topic has been pinned, so it's probably important
kurochama  [developer] 12 Apr, 2024 @ 10:01am
Cruel Bots Suggestions
If you have any ideas about bot-related features, feel free to tell me here, as long as they're not complicated enough.

Just for early reminder for suggestions, I probably won't add these following features on this mods, with certain reasons:
  1. Bots Use Defib: Other mods also already have this feature. Just combine this mod with either one of those mods instead.

  2. Bots Avoid Acid: There are already some mods with this feature. One of them is my own mod here: Bot's Acid Evasion.

  3. Switch Items with Bots: Some mods already have this feature. Even there's one of my mods with this feature: Survivor's Item Swap & Drop

Other than those listed above, you're free to tell me any ideas or suggestions you'd like to add to this mod, as long as they're related to bots.
Last edited by kurochama; 23 Sep, 2024 @ 12:33pm
< >
Showing 1-15 of 52 comments
dylanthefurry 12 Apr, 2024 @ 3:52pm 
Bots Throw Grenade/ Throwable
kurochama  [developer] 13 Apr, 2024 @ 2:23am 
Originally posted by basednewb:
Bots Throw Grenade/ Throwable
There are already some mods for that. You can combine this mod with either one of those mods instead, as this mod should be able to work together with other bot mods.
Trunten 13 Apr, 2024 @ 11:06am 
Originally posted by kurochama:
Originally posted by basednewb:
Bots Throw Grenade/ Throwable
There are already some mods for that. You can combine this mod with either one of those mods instead, as this mod should be able to work together with other bot mods.
how would that even work... logically, considering what it is they'd throw
you'd think something would need reprogrammed or recoded
at least i can't remember seeing this before, probably a reason for it
kurochama  [developer] 13 Apr, 2024 @ 11:40am 
Originally posted by Trunten:
Originally posted by kurochama:
There are already some mods for that. You can combine this mod with either one of those mods instead, as this mod should be able to work together with other bot mods.
how would that even work... logically, considering what it is they'd throw
you'd think something would need reprogrammed or recoded
at least i can't remember seeing this before, probably a reason for it
The script functions & netprops of L4D2 made it possible to work, actually. The steps actually look simple, but they need some coding & scripts, like:
  1. Making bots detect certain items & pick them: This can use "Entities.FindBy......" variants to detect item in certain radius, & then "DoEntFire" to force them to pick those items.

  2. Forcing bots to switch items: There's a script function "SwitchToItem" for this. & "Traceline" can be used to detect what bots see & decide what conditions needed for bots to switch item to throwable.

  3. Forcing bots to throw throwable: This needs combined functions, like netprops "m_afButtonForced" to turn bot's fire button on-off & some bot commands like "BOT_CMD_MOVE" to temporarily prevent bots from switching item back to primary/ secondary & "BOT_CMD_RESET" to reset command after throwing a throwable

But as I said above, because there are already some mods that have this feature, I think it would be better just to use this mod together with either one of those mods instead.
Last edited by kurochama; 13 Apr, 2024 @ 11:42am
Trunten 13 Apr, 2024 @ 11:45am 
Right, I know it's been done one way or another
I meant I haven't seen it too common
Maybe because it doesn't work too well
kurochama  [developer] 13 Apr, 2024 @ 12:57pm 
Originally posted by Trunten:
Right, I know it's been done one way or another
I meant I haven't seen it too common
Maybe because it doesn't work too well
Yeah, I think some bugs are still unavoidable, because it's basically just a player-made feature. It would be different if Valve officially made this feature. For example, there's a small bug like, on some mods, bots throw molotov just under other survivor's feet or their own feet, or pretty close in a closed area & that causes a serious problem on expert as the fire damage is high on expert. Unlike players, bots can't detect the conditions of their surroundings whether it's safe to throw a throwable or not. So, so far some bot mods that I ever tried usually only make bots throw throwable with only some adjustments that are still simple enough. I also haven't found a bot mod that can make some advanced conditions on bots when throwing throwable yet, to make them very close to real players.
DEMOMAN 26 May, 2024 @ 2:57pm 
Making them go trougth the map automaticly instead of always following you, kinda like a real player
kurochama  [developer] 26 May, 2024 @ 3:53pm 
Originally posted by ロンペクロス:
Making them go trougth the map automaticly instead of always following you, kinda like a real player
That sounds like a good idea. Probably I can add some bot's auto-leading feature next time.
DEMOMAN 27 May, 2024 @ 12:36pm 
Originally posted by kurochama:
Originally posted by ロンペクロス:
Making them go trougth the map automaticly instead of always following you, kinda like a real player
That sounds like a good idea. Probably I can add some bot's auto-leading feature next time.
kay:steamthumbsup:
Excuse me, can this Cruel Robot be used in combination with the Angry Robot?
kurochama  [developer] 20 Apr @ 4:26am 
Originally posted by 君を三年待つ.:
Excuse me, can this Cruel Robot be used in combination with the Angry Robot?
Yes, it can, but probably there are some features that you might need to disable as they have similar functions, like "Cruel Level" is similar to the feature on "Angry Bots" that controls angry level so disable either one of them.
Which attack is stronger, cruelty or anger? Excuse me, why does the frame rate drop quickly when I hit a special infected person with an angry robot, and then the frame rate will be restored after the death of the special infected person?
kurochama  [developer] 4 May @ 12:31pm 
Originally posted by 君を三年待つ.:
Which attack is stronger, cruelty or anger? Excuse me, why does the frame rate drop quickly when I hit a special infected person with an angry robot, and then the frame rate will be restored after the death of the special infected person?
It's probably almost the same. On "Cruel Bots" mod, the bot's cruelty is controlled by "Cruel Level", "Berserk Mode", & "Threat Detection Range".

As for frame rate problem on special infected, I have no idea, as that never happened to me before.
Last edited by kurochama; 4 May @ 12:33pm
Will these two modules conflict with this [Advanced Bot AI]
Especially when you play witch, Are the threats of cruel robots and angry robots the same code? Do you want to turn off one of them?
< >
Showing 1-15 of 52 comments
Per page: 1530 50