Garry's Mod

Garry's Mod

646 个评价
NPC Overshooting
2
3
2
2
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 服务器内容
文件大小
发表于
更新日期
5.874 KB
6 月 27 日 下午 1:53
8 月 2 日 上午 5:57
4 项改动说明 ( 查看 )

订阅以下载
NPC Overshooting

在 Scorp 的 1 个合集中
Scorp's Addons
9 件物品
描述
Make NPCs shoot like they mean it.

Please check out my other addon "ReadyNPCs", imo it pairs well with this addon: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3504508595

About
This addon makes NPCs shoot at the wall their enemy went behind some time after losing eyes on them.

Commands
- nos_enabled 1: Whether the addon should be enabled
- nos_max_overshoot_time 2: Maximum amount of time (in seconds) the NPCs can shoot after losing sight of their enemy
- nos_overshoot_chance 70: 0-100 chance whether the NPC will shoot at the wall
- nos_transparency_check 1: Whether the addon should run a custom visibility check (may decrease performance)
- nos_overshoot_proficiency 1: 0-4 how accurate the NPC is when shooting through a wall
- nos_do_shoot_corpse 0: Whether NPCs should shoot at corpses, disabled by default because it's a bit buggy

Changelog
- Added corpse shooting
- Fixed shotgunners shooting too fast
- Fixed chances being flipped (70% was equivelant to 30%, oops)

Misc
Inspired by Ready Or Not.
Primarily made to function alongside a bullet penetration addon.
I recommend using this one: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2977096121

No banging walls. It is very strictly not allowed. You will be aggressively asked to leave the wall alone.
118 条留言
baccabab 10 月 4 日 上午 10:31 
NPC suppression mod
stellan 9 月 11 日 下午 2:01 
@basil. shut up Clarissa is not real just stop there is no point of doing dumb stories
Gorigo 9 月 9 日 下午 1:38 
idk but do they must shot breakable glass they want to trespass?
basil. 9 月 6 日 下午 8:20 
WARNING! Carry on reading! Or you will die, even if you only looked at the word warning! Once there was a little girl called Clarissa, she was ten-years-old and she lived in a mental hospital, because she killed her mom and her dad. She got so bad she went to kill all the staff in the hospital so the More- government decided that best idea was to get rid of her so they set up a special room to kill her, as humane as possible but it went wrong the machine they were using went wrong. And she sat there in agony for hours until she died. Now every week on the day of her death she returns to the person that reads this letter, on a monday night at 12:00a.m. She creeps into your room and kills you slowly, by cutting you and watching you bleed to death. Now send this to ten other profiles on this one site, and she will haunt someone else who doesn't. This isn't fake. apparently, if u copy and paste this to ten comments in the next ten minutes u will have the best of your life.
Grilled Cheese ✞ (but spooky 9 月 5 日 下午 1:12 
@师傅 its disabled on default. plus it says in the description it says its too buggy anyway.
师傅 9 月 5 日 下午 12:57 
They don't seem to shoot at corpses? It seems like a bug.
ganzaliss 9 月 2 日 下午 3:54 
WARNING! Carry on reading! Or you will die, even if you only looked at the word warning! Once there was a little girl called Clarissa, she was ten-years-old and she lived in a mental hospital, because she killed her mom and her dad. She got so bad she went to kill all the staff in the hospital so the More- government decided that best idea was to get rid of her so they set up a special room to kill her, as humane as possible but it went wrong the machine they were using went wrong. And she sat there in agony for hours until she died. Now every week on the day of her death she returns to the person that reads this letter, on a monday night at 12:00a.m. She creeps into your room and kills you slowly, by cutting you and watching you bleed to death. Now send this to ten other profiles on this one site, and she will haunt someone else who doesn't. This isn't fake. apparently, if u copy and paste this to ten comments in the next ten minutes u will have the best of your life
Garry 9 月 1 日 上午 3:23 
@Scorp, okay, thanks for replying!
Scorp  [作者] 8 月 31 日 上午 9:07 
@Garry As @Grilled Cheese said you need to disable nos_do_shoot_corpse. I had the feature coded but unreleased for a while because I saw it as too buggy to be worth what it does but some people asked so I implemented it as an optional feature.
It's meant to make enemies target your corpse once you die, however since Garry's Mod does not create server-side ragdolls for players I had to generate an invisible ragdoll to predict where your corpse would be.
If it causes issues for you it's best to just turn it off.
Grilled Cheese ✞ (but spooky 8 月 30 日 下午 2:50 
nah, it just says in description that the command is buggy, thats how i knew, and i think i tried to use it, but that bug happened, so i knew and didn't at the same time.