Need help with player.mdl Created 4 years ago2020-05-28 04:34:49 UTC by Alexis_of_Steel Alexis_of_Steel

Created 4 years ago2020-05-28 04:34:49 UTC by Alexis_of_Steel Alexis_of_Steel

Posted 4 years ago2020-05-28 04:34:49 UTC Post #344313
Hello guys. I need your help again: When I'm implementing player.mdl (through monster_generic entity) into my map, it gets its lower half of the body under the floor, as you can see in the picture below:
player.mdl getting its lower half of the body under the floorplayer.mdl getting its lower half of the body under the floor
If you know how to fix that issue, you'd have helped me a lot. Because I coudn't fix it yet!
Alexis.
Posted 4 years ago2020-05-28 09:18:17 UTC Post #344314
Player models have their origin in the middle instead of at their feet. If the entity is falling to the ground you can use an invisible brush or maybe a clip brush to prop it up.
Posted 4 years ago2020-05-28 13:52:46 UTC Post #344315
Can also try using cycler_sprite (yes, it can use models!) to place the model instead, unless you specifically need monster_generic's features.
Posted 4 years ago2020-05-29 22:14:58 UTC Post #344321
SLOW version: Decompile. Import smd files. Take Bip01 in Milkshape3D (Trial version, you´ll have 30 days to do so) and raise it 35 units on each keyframe. Export (reference and sequences), re compile. Voilá.
FAST: Take HLMV, decompile, edit QC file. In ORIGIN modify its values bit by bit (I can not remember but it is like 0.00000 0.00000 0.00000 for X,Y and Z), recompile, and, again, voilá. :) Use the latest compile/decompile executables to avoid the feared UV displacement, but there´s a fix somewhere in moddb...
Posted 4 years ago2020-05-30 00:35:23 UTC Post #344325
Thank you guys for your responses. I tried what abbadon said and it worked (about changing model's origin on QC file).
You're the best!
Problem solved!Problem solved!
Posted 4 years ago2020-05-30 09:31:15 UTC Post #344329
You´re welcome! :glad:
You must be logged in to post a response.