:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::
Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Wed Sep 20, 2017 5:48 am
All times are UTC + 0
 Forum index » Modding Central » OpenRA Editing Forums
Turret is not facing the target correct
Moderators: Global Moderators, OpenRA Moderators
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Tue Aug 09, 2016 8:13 am    Post subject:   Turret is not facing the target correct Reply with quote

When aiming at a close target, the turrets facing is not correct.
As you can see on the screenshot, the turrets use all the same rotation, which is calculated from the units center point, not the point of the turrets location.

This is very prominent on the 16 inch turrets that are far away from the units center.

In RA1 the cruiser didn't have the problem IIRC and was aiming correct with both turrets towards the target.


TurretBug.png
 Description:
 Filesize:  40.01 KB
 Viewed:  594 Time(s)

TurretBug.png



_________________
SHP Artist of Twisted Insurrection. Main Nod building SHP creator.

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant unit, 1 Scrin unit, 1 GDI building

Tools
TMP Shop
C&C Executable Modifier

Back to top
View user's profile Send private message
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyörgy, Hungary

PostPosted: Tue Aug 09, 2016 8:23 am    Post subject: Reply with quote

TLDR: Yes, only that the Cruiser is also affected, it's just that due to your unit's size it's completely visible on that.

In details though: the AttackTurreted trait lets all it's turrets fire if one already faces the target - and since the side turrets do already, they are all fine. To add insult to injury, the current system would mean that multiple AttackTurreted traits would try to control all turrets.

The solution for this would be to separate the distinct turrets into separate AttackTurreted traits and fix so that AttackTurreted would only control the turrets it's Armaments are associated with.

While I've put a half week to fix this bug a while ago, so far the technical solution to resolve step 2 breaks the turret code and I couldn't find out why so far.
_________________



AS Discord server: https://discord.gg/7aM7Hm2

Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
 Forum index » Modding Central » OpenRA Editing Forums
Jump to:  
Quick Reply
Username:


If you are visually impaired or cannot otherwise play the game below please contact the Administrator for help.


 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

Wildcard SSL Certificates
[ Time: 0.2565s ][ Queries: 15 (0.1017s) ][ Debug on ]