Roadmap?

Discuss anything to do with Nexuiz here.

Moderators: Nexuiz Moderators, Moderators

Postby SavageX » Mon Jun 11, 2007 2:13 pm

Irritant wrote:That doesn't really seem to make sense. The aim point shouldn't move depending on the target unless there was some auto aiming thing going on. The aim point should be an infinite point in space that only changes when you change your viewangle. Whether a target is close or not it would not matter.


The hitscan weapons do a trace to find the position that'd be hit by shooting directly through the crosshair. The beam gets redirected to have this position as endpoint.

This was done in response to claims that the nexgun would be "inaccurate" and not shooting at what the crosshair points to - e.g. when standing close to a wall you'd see the impact being right of the crosshair. In close combat this was a problem as well.
SavageX
Site Admin
 
Posts: 442
Joined: Wed Mar 01, 2006 9:34 am

Postby Irritant » Mon Jun 11, 2007 3:41 pm

Ok I guess I am not understanding. The way I envision it is like this:

You are aiming at point A, and the beam is coming from point B. Anything that falls in between would be hit, and the beam shouldn't change angles if it hits something along the way of your aim point. If the game is actualy changing the angle of your aim point to hit something that is off to the side(and I'm sure that's not the intention), then the angle would change. The crosshair doesn't move relative position(or it shouldn't anyway) so I really am just failin to comprehend how the beam would be "adjusting" it's angle on the screen. I mean, it's always firing from the end of the muzzle to the crosshair, correct? And the gun is always firing from the same point, and the crosshair i always in the middle.

Maybe I'm just not understanding something, so forgive me if I am. It really just looks to me like the nex weapon model is just positioned at an angle that doesn't match the way the beam is being fired. It doesn't seem to matter how near or far the target is when I fire it.

edit - I see what I'm trying to say really - the Nexgun is just not pointing at the crosshair, and that is the problem.
Equal opportunity fragger
Irritant
Advanced member
 
Posts: 88
Joined: Mon Sep 11, 2006 3:22 pm

Postby KadaverJack » Mon Jun 11, 2007 5:33 pm

Irritant wrote:I mean, it's always firing from the end of the muzzle to the crosshair, correct? And the gun is always firing from the same point, and the crosshair i always in the middle.

Wrong, you're thinking in 2D, but everthing actually happens in 3D ;)
The shot doesn't go from the muzzle to the crosshair, that'd be pretty strange, you would only be able to shoot yourself in that case ;)
When you fire the nex, the server draws a line from your eye, through the crosshair to the closest wall or player you are pointing at. Now the server knows where your shot hits the first obstacle and it draws a second (the visible) line from the muzzle, through that end point, until the beam hits the first solid wall.
So the angle depends on the distance to your target, not on where the crosshair in your hud is.
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm

Postby Irritant » Mon Jun 11, 2007 6:04 pm

I should have said "what the crosshair is pointing on" rather than the crosshair itself.
I can see it extreme closeup cases where the angle would appear to change slightly.

The beam isfine, that's not the problem.

The issue is really just that the Nex weapon model is not aiming at the crosshair(it's pointing wide to the right of it), either when idle or in firing mode, and that is the problem and the reason that the beam appears to come out at a strange angle. Should be easy to fix.
Equal opportunity fragger
Irritant
Advanced member
 
Posts: 88
Joined: Mon Sep 11, 2006 3:22 pm

Previous

Return to Nexuiz - General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron