Weird gun rendering issues
-
- Posts: 50
- Joined: Sun Oct 13, 2013 7:53 pm
Weird gun rendering issues
OK, so this is more of a general question more then a coding question. Basically when I get in game the guns that I made seem to render in the middle of the screen. It's not where they're positioned because if I drag them back I only see the very front of the barrel of the gun in the middle of the screen. I have been looking at the render functions all over. I have not found where it actually tells the engine to render the gun. I don't know what to do. :?
Re: Weird gun rendering issues
If you search for r_drawviewmodel it should lead you to some clues.
Your own gun models should be placed below the 0,0,0 origin, not directly in it (in the modeling program that is). It'd be in your face for it and be worse for the lower viewsize weapon nudging.
Your own gun models should be placed below the 0,0,0 origin, not directly in it (in the modeling program that is). It'd be in your face for it and be worse for the lower viewsize weapon nudging.
i should not be here
-
- Posts: 50
- Joined: Sun Oct 13, 2013 7:53 pm
Re: Weird gun rendering issues
Ahh, this opened up so many doors for me! I got into r_alias.c and it looks promising! Thanks!!leileilol wrote:If you search for r_drawviewmodel it should lead you to some clues.
Your own gun models should be placed below the 0,0,0 origin, not directly in it (in the modeling program that is). It'd be in your face for it and be worse for the lower viewsize weapon nudging.