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 Wed Apr 24, 2024 11:07 pm
All times are UTC + 0
What's the rule on centering a rock?
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
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Sat Jan 16, 2016 11:42 pm    Post subject:  What's the rule on centering a rock? Reply with quote  Mark this post and the followings unread

It's not right when using 1x1 building grid, and doesn't seem to be right dead center, soooo what is it?



centeredrocks.jpg
 Description:
 Filesize:  79.3 KB
 Viewed:  741 Time(s)

centeredrocks.jpg



rockcenters.jpg
 Description:
 Filesize:  439.18 KB
 Viewed:  741 Time(s)

rockcenters.jpg



Back to top
View user's profile Send private message
OmegaBolt
President


Joined: 21 Mar 2005
Location: York, England

PostPosted: Sun Jan 17, 2016 1:57 am    Post subject: Reply with quote  Mark this post and the followings unread

But I wouldn't say those rocks are centred there. Surely you'd want to centre at the "footprint" of the rock, rather than literally in the middle of the sprite. That's why they look too low ingame IMO.

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


Joined: 09 Feb 2015

PostPosted: Sun Jan 17, 2016 3:16 am    Post subject: Reply with quote  Mark this post and the followings unread

So really just try to center what would be the notional bottom surface and tweak until happy...

_________________
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: Sun Jan 17, 2016 7:08 am    Post subject: Reply with quote  Mark this post and the followings unread

Centre them within the 1x1 cell then move it up 15 pixels.

FA2 uses the building gird by default but overlays & terrain objects use the exact center of the ship file instead.

_________________



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
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.1711s ][ Queries: 15 (0.0106s) ][ Debug on ]