[Won't fix] The crosshair position is off
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
-
- Posts: 60
- Joined: Sun Jul 20, 2003 6:35 pm
The crosshair position is off
the crosshair is always too high
-
- Site Admin
- Posts: 7749
- Joined: Wed Jul 09, 2003 10:30 pm
-
- Posts: 60
- Joined: Sun Jul 20, 2003 6:35 pm
-
- Posts: 10002
- Joined: Fri Jul 18, 2003 6:18 pm
- Location: Idaho Falls, ID
Most games that use a crosshair use a stationary crosshair and shoot towards the center of the screen, regardless of where they pretend to shoot from. Doom is unique in that the bullet emerges from the gun and then proceeds to climb towards the center of the screen. The trajectory is not parallel to the ground like in most FPS games.
What you're suggesting is that either A) The trajectory be changed, which would change Doom mechanics, or B) Every frame the crosshair position should be recalculated based on whatever is currently behind it.
In my opinion, A is unacceptable, and B would look like crap AND require a good deal of code to implement.
I'll live with the crosshair being too high when my nose is against the wall.
What you're suggesting is that either A) The trajectory be changed, which would change Doom mechanics, or B) Every frame the crosshair position should be recalculated based on whatever is currently behind it.
In my opinion, A is unacceptable, and B would look like crap AND require a good deal of code to implement.
I'll live with the crosshair being too high when my nose is against the wall.
-
- Posts: 4019
- Joined: Fri Aug 15, 2003 8:15 pm
- Location: ferret ~/C/ZDL $
-
- Posts: 2033
- Joined: Sat Jul 19, 2003 6:15 am
- Operating System Version (Optional): Tumbleweed x64
- Graphics Processor: Intel with Vulkan/Metal Support
- Location: Central Germany
-
- Posts: 2109
- Joined: Tue Jul 15, 2003 5:29 pm
- Location: Industrial Zone
-
-
- Posts: 10773
- Joined: Sun Jul 20, 2003 12:15 pm
Yeah, FireRailgunRight and FireRailgunLeft are very strange. I made a railgun that fires from the right, and sometimes a baddie is right on the crosshair, but the shot completely misses. As a result, I'm going to change the sprites and such to make it center-fired, which will be a real drag.The Ultimate DooMer wrote:I found this with the railgun, too. When firing from the right (which my railgun does) the crosshair (and the red dot I put on it myself) are way off to the left when up against a wall. But it's understandable and I'm not too bothered anyway, as the railgun is meant to be a sniper weapon.
-
- Posts: 10002
- Joined: Fri Jul 18, 2003 6:18 pm
- Location: Idaho Falls, ID
It IS positioned at the center of the screen. At any distance, the difference between the center of the screen and where the bullet impacts is negligible. When you're right up against a wall or other solid object, the bullet impacts low because the trajectory of the bullet is NOT parallel to the ground as in most FPS games.Hirogen2 wrote:Heh, but the correct way is to position the center of the crosshair at the center of the screen. (This doesnot hold true for the F like crosshair)
Observe: (Go go MS Paint!)
-
- Posts: 2109
- Joined: Tue Jul 15, 2003 5:29 pm
- Location: Industrial Zone
You probably won't be able to get a decent firing frame, then. I tried to make a centred railgun and it didn't really look right, so I made a right-sided one instead.Xaser wrote:Yeah, FireRailgunRight and FireRailgunLeft are very strange. I made a railgun that fires from the right, and sometimes a baddie is right on the crosshair, but the shot completely misses. As a result, I'm going to change the sprites and such to make it center-fired, which will be a real drag.The Ultimate DooMer wrote:I found this with the railgun, too. When firing from the right (which my railgun does) the crosshair (and the red dot I put on it myself) are way off to the left when up against a wall. But it's understandable and I'm not too bothered anyway, as the railgun is meant to be a sniper weapon.
-
- Posts: 2033
- Joined: Sat Jul 19, 2003 6:15 am
- Operating System Version (Optional): Tumbleweed x64
- Graphics Processor: Intel with Vulkan/Metal Support
- Location: Central Germany
-
- Posts: 10002
- Joined: Fri Jul 18, 2003 6:18 pm
- Location: Idaho Falls, ID
-
- Posts: 2033
- Joined: Sat Jul 19, 2003 6:15 am
- Operating System Version (Optional): Tumbleweed x64
- Graphics Processor: Intel with Vulkan/Metal Support
- Location: Central Germany
-
- Posts: 21706
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
-
- Posts: 10002
- Joined: Fri Jul 18, 2003 6:18 pm
- Location: Idaho Falls, ID
Doom has never had position-based damage, and neither does ZDoom, nor any other port that I know of. Also, you have to keep in mind that the crosshair IS for the most part accurate. After about 10 feet, the bullet will be within a pixel of the center of the screen when it impacts. The only way you'd be shooting an enemy low is if that enemy was in your face, and the only way you'd miss because of it is if you were staring almost straight at the ground, which you can't even do in the software engine. Hence, the only time this really affects you is when shooting a wall at extremely close range, and I fail to see how that's a problem. If it *really* bothers someone, they can just turn off crosshairs and it'll be just like shooting in Doom. The bullet position will STILL be variable based on distance to the target, they just won't have a crosshair showing them exactly how variable it is.Hirogen2 wrote:Yes, I mean any other part below the crosshair, if there is any. I cannot exactly tell if this is true but I think Doom (ZDoom?) does not do per-body-part damage identification (that means a head shot would account for more pain and a quicker death than a shot in an armor-protected area.)