BOTs stand and jump on 1 spot while attacking, where is this action defined ? |
BOTs stand and jump on 1 spot while attacking, where is this action defined ? |
Salvax |
May 1 2007, 12:52 AM
Post
#1
|
Advanced Member Group: Members Posts: 75 Joined: 14-February 07 Member No.: 1,034 |
Captain, new problem .
i'v searched all the codes , but in vain. it seems that bot thinks himself as being stuck, and do the [checkstuck] code ??? if i wanna change the action to randomly crouching and don't let the bot jump while crouching, what should i do ? |
terminator_2 |
May 1 2007, 07:55 PM
Post
#2
|
Member Group: Members Posts: 13 Joined: 26-February 07 Member No.: 1,057 |
salvax,
We tested the code today on one of the maps that I have waypointed recently (dm_slammer) and the bots now use the ladders! Great work m8. How did the exams go? Server still crashes when clients leave the game and we get a few random crashes..... but we can put up with that! Terminator_2 |
Cheeseh |
May 3 2007, 05:13 PM
Post
#3
|
Admin Group: Admin Posts: 3,062 Joined: 11-September 03 From: uk Member No.: 1 |
Captain, new problem . i'v searched all the codes , but in vain. it seems that bot thinks himself as being stuck, and do the [checkstuck] code ??? if i wanna change the action to randomly crouching and don't let the bot jump while crouching, what should i do ? use check stuck time, m_fCheckStuckTime = gpGlobals->time + <time> <time> can be 1.0f seconds for example |
Salvax |
May 4 2007, 01:47 AM
Post
#4
|
Advanced Member Group: Members Posts: 75 Joined: 14-February 07 Member No.: 1,034 |
Awesome! That works ! as <time> is bigger, Bots seldomly do the check stuck code thank you very much Captain !
@terminator_2: thx, and i replied here: 2007-04-30 Yeah, ladders and more ... |
Lo-Fi Version | Time is now: 16th May 2024 - 04:12 PM |