Weird gun rendering issues
Moderator: InsideQC Admins
3 posts
• Page 1 of 1
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.

-

ScatterBox - Posts: 50
- Joined: Sun Oct 13, 2013 7:53 pm
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
- leileilol
- Posts: 2783
- Joined: Fri Oct 15, 2004 3:23 am
Re: Weird gun rendering issues
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.
Ahh, this opened up so many doors for me! I got into r_alias.c and it looks promising! Thanks!!
-

ScatterBox - Posts: 50
- Joined: Sun Oct 13, 2013 7:53 pm
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest