Giter VIP home page Giter VIP logo

Comments (4)

smilz0 avatar smilz0 commented on July 19, 2024 1

I think i fixed it. Now the current order is automatically paused as soon as the bot is pinned by a special infected and the wait order automatically terminates if the wait location is on a nav area with an elevator.

from left4bots.

smilz0 avatar smilz0 commented on July 19, 2024

Actually i spent some time trying to find the best way to do it. I also tried with different m_fFlags values. The movetype approach seemed the best one to me because the bots don't teleport and you don't have to bother changing sb_unstick. Also because sb_unstick affects all the bots but the new wait order can be given to a single bot. You would have the other bots not teleporting if they get stuck.
Btw they still shoot and shove, only their locomotion is stopped.

from left4bots.

4512369781 avatar 4512369781 commented on July 19, 2024

Actually i spent some time trying to find the best way to do it. I also tried with different m_fFlags values. The movetype approach seemed the best one to me because the bots don't teleport and you don't have to bother changing sb_unstick. Also because sb_unstick affects all the bots but the new wait order can be given to a single bot. You would have the other bots not teleporting if they get stuck. Btw they still shoot and shove, only their locomotion is stopped.

Sorry, I misremembered, the bots does shoot and shove.
but there are two problems:

  1. bot float when they taking the elevator.
  2. bot will not being dragged by a tongue.

oh, there is another problem, the following code should be moved to the top, otherwise if you execute "return Left4Bots.Settings.bot_think_interval;" in advance, it will not modify "FuncI ", which could result in multiple bots having the same "FuncI".

if (++FuncI > 5)
	FuncI = 1;

from left4bots.

smilz0 avatar smilz0 commented on July 19, 2024

Actually i spent some time trying to find the best way to do it. I also tried with different m_fFlags values. The movetype approach seemed the best one to me because the bots don't teleport and you don't have to bother changing sb_unstick. Also because sb_unstick affects all the bots but the new wait order can be given to a single bot. You would have the other bots not teleporting if they get stuck. Btw they still shoot and shove, only their locomotion is stopped.

Sorry, I misremembered, the bots does shoot and shove. but there are two problems:

1. bot float when they taking the elevator.

2. bot will not being dragged by a tongue.

oh, there is another problem, the following code should be moved to the top, otherwise if you execute "return Left4Bots.Settings.bot_think_interval;" in advance, it will not modify "FuncI ", which could result in multiple bots having the same "FuncI".

if (++FuncI > 5)
	FuncI = 1;

Lol you are right
20230820170310_1
These are definitely bugs. I will see what i can do to fix them.
Thanks.

from left4bots.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.