Garry's Mod

Garry's Mod

RagKnockdown
 This topic has been pinned, so it's probably important
Savee14702  [developer] 12 Feb, 2024 @ 9:39pm
Bugs&Suggestions&Sth about development
Bugs: My brain doesn't work anymore

Current working on: Other stuff so... yea
Last edited by Savee14702; 18 Jun, 2024 @ 9:20pm
< >
Showing 1-15 of 39 comments
MERCY_ALL 17 Feb, 2024 @ 1:05pm 
Bug:Zeta players when knocked down (I assume it's zeta players) crashes my game, please fix that.
Savee14702  [developer] 17 Feb, 2024 @ 6:10pm 
Not supporting nextbot for now(sry)
Savee14702  [developer] 17 Feb, 2024 @ 6:51pm 
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
Last edited by Savee14702; 17 Feb, 2024 @ 6:52pm
Dopey 18 Feb, 2024 @ 4:49am 
[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!!
Last edited by Dopey; 18 Feb, 2024 @ 4:50am
Savee14702  [developer] 18 Feb, 2024 @ 6:07am 
Originally posted by 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  [developer] 19 Feb, 2024 @ 2:57am 
Done,thx for the advice
Savee14702  [developer] 19 Feb, 2024 @ 3:02am 
Originally posted by 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)
Last edited by Savee14702; 19 Feb, 2024 @ 3:02am
Dopey 20 Feb, 2024 @ 10:45am 
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  [developer] 20 Feb, 2024 @ 6:20pm 
Gonna check it later
Savee14702  [developer] 20 Feb, 2024 @ 8:36pm 
Forget to remove max value lol
gonna update it later,sry
Last edited by Savee14702; 20 Feb, 2024 @ 8:36pm
Savee14702  [developer] 20 Feb, 2024 @ 8:43pm 
(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
Last edited by Savee14702; 20 Feb, 2024 @ 8:44pm
Dopey 20 Feb, 2024 @ 11:02pm 
@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  [developer] 20 Feb, 2024 @ 11:35pm 
ent.RagKnockdown_KnockDownEnt for npc/ply,
ent.RagKnockdown_RelatedController for ragdolls
controller.Owner related to npcs
Savee14702  [developer] 20 Feb, 2024 @ 11:36pm 
Only way to check that is to use IsValid(ent.RagKnockdown_KnockDownEnt)
(or sth like that)
Last edited by Savee14702; 20 Feb, 2024 @ 11:36pm
Dopey 23 Feb, 2024 @ 3:42pm 
Just wanted to let you know it occasionally crashes your game cause of the ragdolls sticking in the ground.
< >
Showing 1-15 of 39 comments
Per page: 1530 50