First-person in Half-Life
by Stephen · in Torque Game Engine · 10/26/2005 (6:34 pm) · 13 replies
I would like to set up the weapons like any first-person shooter like Half-life. Where in first person it renders just the hands/arms and weapon. Well I started to try doing this but I ran across something else. When I have that weapon mount you can see the hands/arms... well duh... but how can I set it up where you only see the hands/arms in first person, then in thirdperson you just see the weapon.
Thanks
Thanks
#2
10/26/2005 (8:12 pm)
That doesn't really help me. How I make it where in thirdperson it uses just the rifle model and not the model for firstperson.
#3
10/26/2005 (10:06 pm)
Half-life has two sets of models, one for first person, one for third person. Torque has one set. There are some resources to change this but it is a difference between the two engines. (And they say Torque is FPS-centric. :P)
#4
10/27/2005 (6:04 am)
There's a resource called Realistic First Person or something like that. Just search for that and you should find it.
#5
10/27/2005 (2:33 pm)
I have added that resource, but I didnt see anything in that resource to set it up like Half-life where one for first person, one for third person.
#6

You can see the rifle with the arms. What can I do to make TGE use a different model for third-person and where other players sees just the rifle with no arms.
10/27/2005 (3:40 pm)
Ok, i think no one is getting what I'm trying to say. I know that I can use "renderFirstPerson = true;" but that's not what I'm going for. I trying to set it up like in Half-Life, what I mean is have two models, one with the rifle and arms, and the other with just the rifle. By using the renderFirstPerson, it shows the model (I'm using the AdamPack for my player) but by doing this its hard to get the animations right with Adam. So what I would like to do is make renderFirstPerson, false and animate the rifle with arms just like you would for a weapon. But when I mount the rifle that has the arms with it here's what happens.
You can see the rifle with the arms. What can I do to make TGE use a different model for third-person and where other players sees just the rifle with no arms.
#7
10/27/2005 (4:32 pm)
Definitely a feature that would come in handy. I believe a lot of people have tried to do this (www.garagegames.com/mg/forums/result.thread.php?qt=6702) but to not really any success.
#8
10/27/2005 (6:23 pm)
I really hope someone completes a resource to fix this. Well for right now I'm going to set up LODs for the rifle, so if you are close you can see the rifle and arms but if you are far away then you can only see the rifle. Right now I'm having problems getting the LODs to work right.
#9
Even the last resource on this problem do not fix alot www.garagegames.com/mg/forums/result.thread.php?qt=24882
I can see only the hands grabbing the gun, when I'm looking down.
Also there are some model packs for torque, but no pack includes realy necassary animations like
crouch and prone. I am not an artist, so I can include the new animations to run but who makes
the new animations into the models ?
10/28/2005 (1:43 am)
Ya this is a realy old problem with torque and it seems that nothing can help out there.Even the last resource on this problem do not fix alot www.garagegames.com/mg/forums/result.thread.php?qt=24882
I can see only the hands grabbing the gun, when I'm looking down.
Also there are some model packs for torque, but no pack includes realy necassary animations like
crouch and prone. I am not an artist, so I can include the new animations to run but who makes
the new animations into the models ?
#10
10/28/2005 (12:53 pm)
So I guess for right now I will have use the LODs for the rifle. So when are are close to the rifle you can see everything but if you are far away then you can only see the rifle. But when I do this, could another player see the animations of the rifle. So like when I am reloading and I see the rifle reloading will another player be able to see the same animation that I do in first-person?
#11
Setting a LOD model does just that, a LOD model that everyone will see at the same range.
I've fiddled around with this, it shouldn't be too advanced.. but it's enough for me to get crazy. I can get two different models, one in first person, and one in 3rd.. but they won't animate, and I don't know shit about that.
10/28/2005 (2:49 pm)
You guys are making this sound more complicated than it is.Setting a LOD model does just that, a LOD model that everyone will see at the same range.
I've fiddled around with this, it shouldn't be too advanced.. but it's enough for me to get crazy. I can get two different models, one in first person, and one in 3rd.. but they won't animate, and I don't know shit about that.
#12
Thanks
EDIT:
Well in the 3rd person, you dont need for the model to be animated? You just need for the 1st person model be animated. Right?
10/28/2005 (5:14 pm)
Well for right now I dont care about animations, but could you post how you got the two different models to load? This way I can work on other things until someone else gets this to work... I guessThanks
EDIT:
Well in the 3rd person, you dont need for the model to be animated? You just need for the 1st person model be animated. Right?
#13
10/28/2005 (5:20 pm)
Well if you want things to look good (especially with the gun flare animations), it would be very good to have both models animated.
Associate Joseph Euan