Weapon Sights
by Wayne Eversole · in Torque Game Engine Advanced · 10/06/2009 (7:39 am) · 3 replies
I have a question. What all would be needed to fix up a Call of Duty 4 type system so that when you aim
a gun it looks down the sights and if there is a scope it has a different type sight system?
Thanks
a gun it looks down the sights and if there is a scope it has a different type sight system?
Thanks
About the author
#2
10/06/2009 (10:13 am)
You could try - Mount your weapon on the player (no eyeoffset), and then create an animation to move the arms into a position so that the eyenode looks down the sight when you zoom. Warning, it's a real pain in the butt to keep these things lined up with the look up/down animation, so you might want to move the player camera from the eyenode to a special aim node on the weapon.
#3
Both of those sounds like great options. I am going to look
into this a little more and may give them both a shot and see
what happens.
Thanks again.
10/06/2009 (11:01 pm)
Sweet guys thanks.Both of those sounds like great options. I am going to look
into this a little more and may give them both a shot and see
what happens.
Thanks again.
Torque Owner Richard Hebblewhite
RareBit Interactive
http://www.ubiqvisuals.com/index.php?option=com_content&view=article&id=65
And combine it with a custom camera zoom, and FPS weapon pose (the character animation and zoom could be handled via scripts).
Alternatively, you could simply forget about the Depth of Field stuff, and simply make use of a custom "Scope" overlay image in your play GUI in conjunction with the camera zoom.