FrozenSand / UrbanTerror4

Official bug tracker for the game Urban Terror 4.x - www.urbanterror.info
76 stars 18 forks source link

Wrong 1st person weapon rotation (bad aiming point) #312

Open Chameleonhider opened 8 years ago

Chameleonhider commented 8 years ago

EDIT: This issue does not affect 4.3 RC5 only, unnecessary tag removed. Well no surprise that weapons point in a bit wrong direction as this was true with old UrT too. Just FYI and if not for 4.3 or 4.3.1 I'd hope it would be fixed in UrT HD. P90: red lines point "too close", as if the gun was pointing at something 5 metres away. bd87dun Benelli M4: red lines cross above crosshair, which means that the gun is pointing to something far away, but a bit too high ilhyyue Magnum: red line shows that the gun is pointing too low and from model itself it is evident that the gun is also pointing too close. zucowrt imgur link just in case

Chameleonhider commented 8 years ago

I know it might sound strange, but what would help to make changes faster to all guns: 1) make attachment like silencer that all weapons can posess and make sure all weapons have it aligned with their barrels correctly. 2) Make model for the attachment extremely long. 3) Make weapon position and rotation adjustable from game (like cg_fov - just name it like d_x, d_y, d_z, d for debug). So in code it would be like weap.orientation.x = weap.default.orientation.x + (int)d_x; 4) Go trough all weapons, find good x y z values so the very long attachment would have it's end where the crosshair is and simply write down all values on paper. 5) Replace (int)d_x with correct value and recompile + disable the new attachment so it's simply not selectable from gear menu (or cvars).

It would take a day to go trough all the stuff, but I believe it's worth it. Even if I have a drawhands script that hides weapon when firing/sprinting and shows it when I'm reloading/healing. EDIT: you could hand out this to testers who would go trough all the weapons for you. I am not sure about myself (busy week inc), but hell knows, I could do that.

IyeOnline commented 8 years ago

i just noticed this as well.

additionally goes for the FS Tod 50 in instagib as well.

Chameleonhider commented 8 years ago

And for FRF1 too. And for AK103. I believe most guns weren't aligned 100%, they look like devs threw in them together, because some point more to the left, some point downwards, some point upwards... This doesn't ruin the game, but it makes the game feel like it's kinda holding together with duct tape. Which you don't want, ever.

To make it easier to notice, grab a laser and jump into water. You have 15 seconds to figure it out :)

senposage commented 8 years ago

using small guns shows it more