Garry's Mod

Garry's Mod

ATP's NPC Cover System
 此主题已被置顶,因此可能具有重要性
ATP  [开发者] 2024 年 7 月 11 日 下午 9:18
FAQ
Q: does this support mod
A: try it for yourself and document the results, so far, VJ Base has been marked as semi-supported

Q: will you add thing
A: idk, maybe, is it worth adding??

Q: u should totally make idea
A: if i want to, sure
最后由 ATP 编辑于; 9 月 9 日 上午 6:53
< >
正在显示第 1 - 15 条,共 25 条留言
Hypernought 2024 年 7 月 13 日 下午 12:22 
you should add crouching, it would make battles feel so much better
Hell Kaiser 2024 年 7 月 14 日 上午 11:24 
I don't know if it's possible but can you add the cover animations from the beta?
Hell Kaiser 2024 年 7 月 14 日 上午 11:28 
So basically something like this: https://youtu.be/Q3KtFeI6u9U?feature=shared
ATP  [开发者] 2024 年 7 月 14 日 下午 12:31 
i will give that a shot in the future, releasing an update very soon which contains the following:
npcs taking into account all enemies they know of (implemented)
taking cover behind props more (wip)
animations (wip but works well enough)
better ai from source engine using an ai_goal_standoff (implemented, works fine)
>Dron44< 2024 年 7 月 15 日 下午 2:27 
引用自 Hell Kaiser
So basically something like this: https://youtu.be/Q3KtFeI6u9U?feature=shared

Agree, gonna be wild
ATP  [开发者] 2024 年 7 月 15 日 下午 2:34 
引用自 >Dron44<
引用自 Hell Kaiser
So basically something like this: https://youtu.be/Q3KtFeI6u9U?feature=shared

Agree, gonna be wild

after an analysis, i came up with the conclusion that it will be something a bit hard to implement
and after implementation, i will need to modify a lot of stuff, which will break support for things and yadda yadda

so unfortunately cant add that, if you have any more examples of better npc ai which i might be able to implement, reply to this with the idea/link
CreepyBlocks 2024 年 7 月 16 日 下午 6:55 
So hunters have the capacity to shoot while moving, but only if they are assigned to guard a strider.

An example being the white forest defense segment from episode 2. So would it be feasible to disable the guard strider restriction, and allow the the hunter to fire while on the move.

Either as an update to this addon, or a separate one.
ATP  [开发者] 2024 年 7 月 17 日 上午 3:52 
@creepyblocks
if you know what flag can be changed in order to achieve that i can implement it

i made a function that makes them force shoot a bullet but its just not gonna look great in certain situations

not only that but i also dont have hl2ep2 so i cant test it myself
CreepyBlocks 2024 年 7 月 17 日 上午 6:15 
When did i say i knew what flag it was. It was just an observation i know from playing.
ATP  [开发者] 2024 年 7 月 17 日 上午 9:06 
@creepyblocks
and when did i say that you do know what flag it is?
i clearly stated a conditional with that big old "IF" there
anyway, the problem might be just from the npc itself deciding to go to the position and not strafe along, and i cant make it guard itself (doesnt do anything) to trigger this behavior more often
ATP  [开发者] 2024 年 7 月 19 日 下午 3:27 
@creepyblocks
check out the update, maybe it'll work now lol
Industrial_Idiot 2024 年 7 月 21 日 下午 12:34 
If i may ask how does the suppression system work?
ATP  [开发者] 2024 年 7 月 21 日 下午 7:18 
you can check out the code, basically, bullet whizzes by? Npc gets scared, code gives higher tendency to play cower animation ( it has a cooldown cuz eventually they would ♥♥♥♥ themselves and not shoot at all )
ATP  [开发者] 2024 年 7 月 21 日 下午 7:19 
use gm publisher to view it
ATP  [开发者] 2024 年 7 月 23 日 下午 11:09 
took a look into it, maybe it IS possible but will require a lot of time to polish so it doesnt ruin the entire npc ai
< >
正在显示第 1 - 15 条,共 25 条留言
每页显示数: 1530 50