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");
[CS:GO] AcceptEntityInput
- L'In20Cible
- Project Leader
- Posts: 1536
- Joined: Sat Jul 14, 2012 9:29 pm
- Location: Québec
Re: [CS:GO] AcceptEntityInput
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
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?
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?
- L'In20Cible
- Project Leader
- Posts: 1536
- Joined: Sat Jul 14, 2012 9:29 pm
- Location: Québec
Re: [CS:GO] AcceptEntityInput
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
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.
- L'In20Cible
- Project Leader
- Posts: 1536
- Joined: Sat Jul 14, 2012 9:29 pm
- Location: Québec
Re: [CS:GO] AcceptEntityInput
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.

Return to “Plugin Development Support”
Who is online
Users browsing this forum: No registered users and 92 guests