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 Fri Jul 19, 2024 11:30 pm
All times are UTC + 0
How to correctly determine ZShapePointMove ?
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [7 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
wow4ik81
Soldier


Joined: 30 Nov 2023
Location: Germany

PostPosted: Wed Jan 17, 2024 3:27 pm    Post subject:  How to correctly determine ZShapePointMove ? Reply with quote  Mark this post and the followings unread

Who doesn't know this? You have a new building and it's not displayed correctly.

ZShapePointMove often helps, but how do you do it correctly?

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Wed Jan 17, 2024 4:10 pm    Post subject: Reply with quote  Mark this post and the followings unread

The Modenc page covers the tag in detail. Is there a part of it that you specifically need help with?

_________________



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
wow4ik81
Soldier


Joined: 30 Nov 2023
Location: Germany

PostPosted: Wed Jan 17, 2024 5:21 pm    Post subject: Reply with quote  Mark this post and the followings unread

no, the question is general, thank you

Back to top
View user's profile Send private message
McPwny
Cyborg Artillery


Joined: 29 Jan 2018

PostPosted: Wed Jan 17, 2024 11:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

i also often wonder how that tag works exactly

_________________
visit my moddb profile for .shp downloads and stuff

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Thu Jan 18, 2024 9:12 am    Post subject: Reply with quote  Mark this post and the followings unread

Here is an example of how the ZShape is used by [GAAIRC].

The first images shows how the game will automatically position the ZShape along the bottom of the gaairc.shp file and doesn't take into account any extra animations or bibs attached to the building that might make its footprint larger.

To fix this [GAAIRC] uses ZShapePointMove=60,30 which moves the ZShape 60 pixels to the right and 30 lower (use negative numbers to move it left and up) to make the ZShape also cover the building's bib.



zshape_auto.jpg
 Description:
GAAIRC with the ZShape automatically applied by the game
 Filesize:  46.97 KB
 Viewed:  1357 Time(s)

zshape_auto.jpg



zshape_move.jpg
 Description:
GAAIRC with ZShapePointMove=60,30
 Filesize:  54.85 KB
 Viewed:  1357 Time(s)

zshape_move.jpg



_________________



Last edited by Mig Eater on Fri Jan 19, 2024 6:15 am; edited 1 time in total

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
wow4ik81
Soldier


Joined: 30 Nov 2023
Location: Germany

PostPosted: Thu Jan 18, 2024 1:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

very nicely explained and easy to understand, thank you very much

Back to top
View user's profile Send private message
McPwny
Cyborg Artillery


Joined: 29 Jan 2018

PostPosted: Thu Jan 18, 2024 11:36 pm    Post subject: Reply with quote  Mark this post and the followings unread

great post

_________________
visit my moddb profile for .shp downloads and stuff

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [7 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.1583s ][ Queries: 15 (0.0132s) ][ Debug on ]