Page 1 of 1

[CS:GO] AcceptEntityInput

Posted: Thu Nov 08, 2018 5:05 pm
by velocity
What is the equvivalent to AcceptEntityInput in Sourcepython?

Im trying to replicate this post in SourceMod
https://forums.alliedmods.net/showthread.php?t=146554

I dont know how to do this one in SP:
AcceptEntityInput(iEnt, "SetParentAttachmentMaintainOffset");

Re: [CS:GO] AcceptEntityInput

Posted: Thu Nov 08, 2018 7:59 pm
by L'In20Cible
velocity wrote:What is the equvivalent to AcceptEntityInput in Sourcepython?


Entity.call_input(name, value=None, caller=None, activator=None)

velocity wrote:I dont know how to do this one in SP:
AcceptEntityInput(iEnt, "SetParentAttachmentMaintainOffset");


That one is wrapped in the data files, so you can call it directly with Entity.set_parent_attachment_maintain_offset.

Re: [CS:GO] AcceptEntityInput

Posted: Thu Nov 08, 2018 9:19 pm
by velocity
Thanks and also:

I'm trying to disable the landing animation in CS:GO, is this possible? When you jump and land in CS:GO it shakes ur screen a little (your legs bend), I want to prevent this: any ideas?

Re: [CS:GO] AcceptEntityInput

Posted: Fri Nov 16, 2018 2:40 am
by L'In20Cible
velocity wrote:Thanks and also:

I'm trying to disable the landing animation in CS:GO, is this possible? When you jump and land in CS:GO it shakes ur screen a little (your legs bend), I want to prevent this: any ideas?

Unless there is a networked property or ConVar that disable that animation, I don't think you can prevent it from a server-side plugin as it is most likely predicted by the physics client-side.

Re: [CS:GO] AcceptEntityInput

Posted: Fri Nov 16, 2018 12:44 pm
by velocity
I heard someone said that you could create a prop_dynamic_overwrite and parent it to the player. After that you set the view entity to the prop. This should remove it, but there are a lot of bugs doing this. For example, you cannot see your hands anymore aswell turning your aim is difficult.

Re: [CS:GO] AcceptEntityInput

Posted: Sun Nov 18, 2018 1:09 am
by L'In20Cible
velocity wrote:I heard someone said that you could create a prop_dynamic_overwrite and parent it to the player. After that you set the view entity to the prop. This should remove it, but there are a lot of bugs doing this. For example, you cannot see your hands anymore aswell turning your aim is difficult.

Yeah, this is more of a cheap way to pretend it doesn't exists. :tongue: