General > Discussion
Line of sight Vs Line of Fire
BTAxis:
--- Quote from: CapnKill on February 18, 2009, 02:37:01 am ---Please excuse my ignorance in advance, since I know very little of code, but what if you made the hit box for a player to always be the head? So when you target a bad guy you basically are aiming at their head....
--- End quote ---
Hit box? There's no hit box. Or, if you will, the model is the hit box. The accuracy percentage is calculated based on a statistical probability of hitting the model given a gaussian random spread.
CapnKill:
--- Quote from: BTAxis on February 18, 2009, 03:29:57 am ---Hit box? There's no hit box. Or, if you will, the model is the hit box. The accuracy percentage is calculated based on a statistical probability of hitting the model given a gaussian random spread.
--- End quote ---
But how is Line of fire worked out. The OP said that line of fire went to the models torso... is that correct?
SO couldn't it be changed so the models torso is really the models head?
CapnKill:
--- Quote from: BTAxis on February 18, 2009, 01:59:28 am ---I already answered this. Yes, it is possible, it's a matter of changing a value somewhere in the code. The reason why we're not doing this is, as stated, that the point of origin should match up with the model. It's not a strict necessity, but it's a hard requirement we're making, take it or leave it. Ergo, we are going to need a character animation that shows the soldier firing from the shoulder. Provide us with this, and you shall have your fix.
--- End quote ---
So what would need to be done for this... you guys want the animation and you can take care of the code part separately? And how many levels of animation do you need and so on and so forth? My roomate is a good artist and all that nad he's interested in helping with this, but that's where our knowledge starts. What 3d rendering app should we use etc...etc... Basically I'm saying that we'd like to take a crack at it (as long as no coding is required) and if that's the case, what do we need to have?
vedrit:
Im willing to help, I just need to know what file type the models are in, and the raw models
BTAxis:
--- Quote from: CapnKill on February 18, 2009, 04:54:53 am ---But how is Line of fire worked out. The OP said that line of fire went to the models torso... is that correct?
SO couldn't it be changed so the models torso is really the models head?
--- End quote ---
If you had a weapon with no accuracy penalties, the line would go to the torso, yes. You can change this with the SHIFT button to go to the head or feet. However, weapons do have accuracy penalties, and this results in spread. So basically you're aiming at the center of a disc (oval really) of hit probability. If you shift the center of this disc to the model's head, more of it will fall in empty space, lowering the overall chance to hit.
Not to mention that not all models HAVE a head...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version