Garry's Mod

Garry's Mod

击倒系统
 此主题已被置顶,因此可能具有重要性
Savee14702  [开发者] 2024 年 2 月 12 日 下午 9:39
Bugs&Suggestions&Sth about development
Bugs: My brain doesn't work anymore

Current working on: Other stuff so... yea
最后由 Savee14702 编辑于; 2024 年 6 月 18 日 下午 9:20
< >
正在显示第 1 - 15 条,共 41 条留言
MERCY_ALL 2024 年 2 月 17 日 下午 1:05 
Bug:Zeta players when knocked down (I assume it's zeta players) crashes my game, please fix that.
Savee14702  [开发者] 2024 年 2 月 17 日 下午 6:10 
Not supporting nextbot for now(sry)
Savee14702  [开发者] 2024 年 2 月 17 日 下午 6:51 
Known crash trigger: Sub TFA-CSO pack,then get a FNP-45 and shoot at Grigori's head 2 times
then kick him(mighty foot engaged,maybe 35 dmg?)
Maybe his hp too low or sth caused that
最后由 Savee14702 编辑于; 2024 年 2 月 17 日 下午 6:52
Dopey 2024 年 2 月 18 日 上午 4:49 
[RagKnockdown] lua/autorun/ragknockdown_knockdown.lua:137: attempt to index local 'dinfo' (a nil value) 1. DoKnockdown - lua/autorun/ragknockdown_knockdown.lua:137 2. unknown - lua/entities/sent_ragknockdown_knockdown.lua:468

Suggestion:
Is there a way to keep them knocked out longer under certain conditions?
For example if I were to shoot them with a weapon that has a damage high enough to exceed the minimum threshold, it would just knock them down for them to get up almost immediately after.

However if I were to inflict that damage with DMG_CLUB for melee damage or DMG_NERVEGAS, it would be nice to knock them out for longer periods of time. Just food for thought, love the mod!!
最后由 Dopey 编辑于; 2024 年 2 月 18 日 上午 4:50
Savee14702  [开发者] 2024 年 2 月 18 日 上午 6:07 
引用自 Dopey
[RagKnockdown] lua/autorun/ragknockdown_knockdown.lua:137: attempt to index local 'dinfo' (a nil value) 1. DoKnockdown - lua/autorun/ragknockdown_knockdown.lua:137 2. unknown - lua/entities/sent_ragknockdown_knockdown.lua:468

Suggestion:
Is there a way to keep them knocked out longer under certain conditions?
For example if I were to shoot them with a weapon that has a damage high enough to exceed the minimum threshold, it would just knock them down for them to get up almost immediately after.

However if I were to inflict that damage with DMG_CLUB for melee damage or DMG_NERVEGAS, it would be nice to knock them out for longer periods of time. Just food for thought, love the mod!!
Finally a lua error
Currently the only way to make knockdown time longer is more damage(from 2s(1s?)-5s by default)
(also that's a good idea,I'll try to add them in the next update)
Savee14702  [开发者] 2024 年 2 月 19 日 上午 2:57 
Done,thx for the advice
Savee14702  [开发者] 2024 年 2 月 19 日 上午 3:02 
引用自 Savee14702
Known crash trigger: Sub TFA-CSO pack,then get a FNP-45 and shoot at Grigori's head 2 times
then kick him(mighty foot engaged,maybe 35 dmg?)
Maybe his hp too low or sth caused that
This is caused by damage(npc knockdowned->ragdoll take the same damage->npc take damage for some idiotic reason and get knockdowned(increase the timer) and make the ragdoll take damage AGAIN and repeat this until ur game crash,this happened in less than 1 second)
最后由 Savee14702 编辑于; 2024 年 2 月 19 日 上午 3:02
Dopey 2024 年 2 月 20 日 上午 10:45 
Hey! I don't know if I'm doing this wrong, I set savee_knockdown_knockdowndmgtypemult_time_club to 60 and it seems to not have any effect.

Also is it possible fix the bug where killing characters that are on the ground will either cause their ragdolls to spawn lodged halfway through the ground or disappear completely?
Savee14702  [开发者] 2024 年 2 月 20 日 下午 6:20 
Gonna check it later
Savee14702  [开发者] 2024 年 2 月 20 日 下午 8:36 
Forget to remove max value lol
gonna update it later,sry
最后由 Savee14702 编辑于; 2024 年 2 月 20 日 下午 8:36
Savee14702  [开发者] 2024 年 2 月 20 日 下午 8:43 
(Also if you really did that NPCs will get knockdowned for 60-300 secs wtf)
Need to notice that NPCs should see you and report your position when they are knockdowned
最后由 Savee14702 编辑于; 2024 年 2 月 20 日 下午 8:44
Dopey 2024 年 2 月 20 日 下午 11:02 
@Savee14702 I'm honestly fine with that, I might make a local edit to the Stealth Mod code.
Is there a variable you set for the NPC when it's knocked down? Such as self.IsKnockedDown?
Savee14702  [开发者] 2024 年 2 月 20 日 下午 11:35 
ent.RagKnockdown_KnockDownEnt for npc/ply,
ent.RagKnockdown_RelatedController for ragdolls
controller.Owner related to npcs
Savee14702  [开发者] 2024 年 2 月 20 日 下午 11:36 
Only way to check that is to use IsValid(ent.RagKnockdown_KnockDownEnt)
(or sth like that)
最后由 Savee14702 编辑于; 2024 年 2 月 20 日 下午 11:36
Dopey 2024 年 2 月 23 日 下午 3:42 
Just wanted to let you know it occasionally crashes your game cause of the ragdolls sticking in the ground.
< >
正在显示第 1 - 15 条,共 41 条留言
每页显示数: 1530 50