How to fix NPC Hitbox direction
2 Attachment(s)
From the video, we can see that the bone is always facing the East!
https://www.bilibili.com/video/BV1zg...ec8db0f0acf2c5 So, we can't accurately hit the model by observing its movements. But the player's Hitbox is in the right direction Is there a property that can control the direction of Hitbox? |
Re: How to fix NPC Hitbox direction
1 Attachment(s)
https://www.bilibili.com/video/BV1fG411G7rX/
Another comparative video.. I know how to use pev_angles can fix the coordinates of bones However, it is not helpful for traceline to hit Hitbox |
Re: How to fix NPC Hitbox direction
EngFunc_Getattachment and GetBonePlacement functions have been broken in CS1.6 you might want to try this one out first
https://gamebanana.com/mods/39759 Edit: You could also try pev_v_angle and set the modelindex to see if it solve the problem |
Re: How to fix NPC Hitbox direction
Quote:
|
Re: How to fix NPC Hitbox direction
Do you have any base code for testing it?
Just create entity and set model? |
Re: How to fix NPC Hitbox direction
Quote:
|
Re: How to fix NPC Hitbox direction
maybe it is the same situation as this? "The Entity rotate but the hullsize/hitbox does not change and you have to manually change it"
https://forums.alliedmods.net/showthread.php?t=292594 |
Re: How to fix NPC Hitbox direction
You can do it if only the NPC model have it's hands positioned attachments
|
Re: How to fix NPC Hitbox direction
2 Attachment(s)
Quote:
I changed the zombie.mdl model, which can really hinder players' movement like tentacle2.mdl But Hitbox does not rotate with the entity So, maybe there is no way to rotate Hitbox. I can only rotate traceline |
Re: How to fix NPC Hitbox direction
Yeah goldsrc sucks it has alot of missing code and unfinished functions...
|
| All times are GMT -4. The time now is 15:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.