Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Tue Apr 16, 2024 7:33 pm
All times are UTC + 0
Need help determining the turret's location.
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [4 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
chr0nicz420
Jumpjet Infantry


Joined: 10 Feb 2016

PostPosted: Wed May 23, 2018 3:09 pm    Post subject:  Need help determining the turret's location. Reply with quote  Mark this post and the followings unread

I really want to put that Sentry Gun turret on that circled part however I'm confused on determining the correct values of TurretAnimX, TurretAnimY, TurretAnimZAdjust as no matter what values I change, I still couldn't get close to that circled part. This is more confusing to me than determining FLH values for a primary/secondary weapon.



Untitled.png
 Description:
 Filesize:  542.62 KB
 Viewed:  664 Time(s)

Untitled.png



Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Wed May 23, 2018 3:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

EDIT: I don't remember if it starts at the center of the building (like docking offset) or the top corner. I'm looking at NALASR and it's adjusting only vertical... so it should be the same as the muzzle flash locations, plus the ZAdjust value to bring it above the rest of the building, that's probably where you're gonna have issues, the Z...

Try making the man building invisible except the location of the turret and see if you can nail the X/Y first, then play with the Z.

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Wed May 23, 2018 5:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

TurretAnimX/Y starts at the top corner of the building (center of the shp file) & is measured in pixels, so you just need to open the file in an image editor & count how many pixels it is from the center of the image.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
chr0nicz420
Jumpjet Infantry


Joined: 10 Feb 2016

PostPosted: Sat May 26, 2018 4:03 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks! Finally got it right.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot 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

[ Time: 0.1505s ][ Queries: 14 (0.0120s) ][ Debug on ]