Why weapon rotation in 4 ruu increments ?

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/
  • Weve updated the Tripwire Privacy Notice under our Policies to be clearer about our use of customer information to come in line with the EU General Data Protection Regulation (GDPR) rules that come into force today (25th May 2018). The following are highlights of our changes:


    We've incorporated the relevant concepts from the GDPR including joining the EU and Swiss Privacy Shield framework. We've added explanations for why and how Tripwire processes customer data and the types of data that we process, as well as information about your data protection rights.



    For more information about our privacy practices, please review the new Privacy Policy found here: https://tripwireinteractive.com/#/privacy-notice

Amizaur

FNG / Fresh Meat
Aug 18, 2006
275
3
0
44
Gdansk, Poland
I'd like to ask if someone can explain me, why the weapon rotation (or at least rotation of weapon view and rotation at which projectile starts flying) is always a multiplicity of 4 RUU ?

The weapon view seem to always rotate by 4 RUU (no smaller change possible).

he smallest possible difference between two projectile paths is also 4 RUU - if using the spread function, although it generates rotation differences of single RUU units, the resulting projectile pattern is one hole each 4 RUU - no smaller difference between two bullets possible (at least tank shells).

Also the added pitch value to tank gun takes effect only after each whole 4 RUU. Projectile impact point for 1, 2 and 3 units of added pitch is the same, and only 4 moves it up (by 4 units at once) and again 5,6 and 7 no difference, only 8 moves up by 4 units.

Why this 4 RUU resolution or "granulation" - is this determined by RO code or is it somwhere higher in Unreal classes ?

Thanks in advance.
 

Yoshiro

In Soviet Russia, Yoshiro is a cake
Staff member
Oct 10, 2005
13,013
3,902
113
Sorry, just noticed the post. Will see if I can get somebody to check tomorrow. However our coders have been busy all week both for internal testing as well as the public testing we are now doing for massive servers.
 

Amizaur

FNG / Fresh Meat
Aug 18, 2006
275
3
0
44
Gdansk, Poland
Tnanks for the answer, no problem I can wait with it. I'm just interested if it's Unreal or RO feature, and if it can be changed easily or is buried deep in Unreal code... Tried to search on my own in RO code, but didn't found anything that could cause that so far. And increasing the resolution to 1 RUU, if not causing any problems, would help with more dense pattern of projectile spread and with precise aiming with weapons (especially tanks).

edit: the effect is somewhat like a rotation grid was set to 4 in game. Rotation has to be a multiple of 4, if not it snaps to closests one below. This would be shortest description of the problem. But from I learned so far, there is no rotation grid in game, only in editor...
 
Last edited:

Amizaur

FNG / Fresh Meat
Aug 18, 2006
275
3
0
44
Gdansk, Poland
Maybe a secondary question, in the meantime. Is that this way in all Unreal games, or only in RO ? The minimum view (and probably minimum at all) rotation being 4 RUU ? Unfortynately I never seen any other game based on Unreal engine, so can someone tell me ?
 

[TW]Ramm-Jaeger

Tripwire Interactive President
Oct 11, 2005
1,884
3,097
0
www.redorchestragame.com
I'm not exactly sure what you are referring to. You can changes rotations in increments of 1 in the engine. The only issue you might run into is loss of precision of the rotations in network play, as the Unreal engine does some compression of rotations in some instances when replicating them in a network game.
 

Amizaur

FNG / Fresh Meat
Aug 18, 2006
275
3
0
44
Gdansk, Poland
Hmm good to know that... thanx. But I see this in practice mode, not in network play.

Take anything (soldier, tank turret), aim the weapon. You can't rotate it by mouse less than 4 RUU. Best visible if the zoom is set to max (FOV=1 or so) - it's easier to notice then, especially having some target of known dimensions on long distance, that the rotation is in 4 RUU increments, not 1 RUU. 1RUU is about 10cm at 1000m if I'm calculating correctly. I'm observing I can't move the aim by less than about 40cm at 1000m. (if only that, I would suspect that maybe the code handling mouse control decreases the resulution)

But also two projectiles can't be fired (spawned?) in directions varying less than 4RUU. The minimum distance between the projectile holes on a target (for example after firing a burst from MG) is also 4RUU*distance, even if spread function randomises smaller differences, they are rounded to 4RUU. The distance between holes on the test targets are not less than about 0.4m at 1000m. The hole pattern at 1000m (from moving aiming point or from random spread) is always a regular 40cm raster...

At least on my computer. Have to check if same happens for others... maybe not ??

But if you say that in network play the angle resolution is decreased anyway.... then probably the problem I see is not important - if I couldn't get 1RUU resolution in online play, then in most cases I don't need it offline too...

Thanks for the answer.