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 Sat Nov 09, 2024 3:47 pm
All times are UTC + 0
a problem to Buildup SHP
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [8 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
SmlNob
Vehicle Driver


Joined: 06 Apr 2022

PostPosted: Sun Sep 01, 2024 7:54 am    Post subject:  a problem to Buildup SHP
Subject description: Buildup SHP problem
Reply with quote  Mark this post and the followings unread

what happen? that thing a partially blocked by the ground



GIF 2024-9-1 15-48-44.gif
 Description:
 Filesize:  1.19 MB
 Viewed:  373 Time(s)

GIF 2024-9-1 15-48-44.gif



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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Sun Sep 01, 2024 1:15 pm    Post subject: Reply with quote  Mark this post and the followings unread


_________________



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
SmlNob
Vehicle Driver


Joined: 06 Apr 2022

PostPosted: Mon Sep 02, 2024 12:11 am    Post subject: Reply with quote  Mark this post and the followings unread

Mig Eater wrote:
You need to edit/add ZShapePointMove= on the buildings art code.


it seem not work,Buildup anim still blocked by the ground

Back to top
View user's profile Send private message
McPwny
Chem Warrior


Joined: 29 Jan 2018

PostPosted: Mon Sep 02, 2024 1:02 am    Post subject: Reply with quote  Mark this post and the followings unread

wow i have never seen a buildup animation so big that it bugs out the depth and makes the animation clip.

usually you can fix that kind of problem by playing with the z adjust entries of an animation in art.ini, but
buildup anims have oldschool (hardcoded) handling hence them not having art code nor entries in the rules
animlist.

you could try and manually declare the buildup anim in rules and then write an art entry for it with an adjusted
zadjust and see if that works. otherwise, it cant be fixed in code.

zshapepointmove= is used when the building image itself clips, usually as a result of a building bib shifting the
actual building drawpoint down a few cells.

_________________
visit my moddb profile for .shp downloads and stuff

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Mon Sep 02, 2024 1:25 am    Post subject: Reply with quote  Mark this post and the followings unread

Did you try pushing the canvas a little up by using SHP Builder, that is, leave some empty space at the bottom?

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


Joined: 09 Feb 2015

PostPosted: Mon Sep 02, 2024 4:00 am    Post subject: Reply with quote  Mark this post and the followings unread

Mig Eater wrote:
You need to edit/add ZShapePointMove= on the buildings art code.

Doesn't apply to anims.

Also if he didn't have whitespace below the buildup it wouldn't be centered correctly, so it's not that.

I think this is just a case where the anim canvas is just too large for buildingz.sha? The solution may be to download one of the enlarged versions.

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

Back to top
View user's profile Send private message
McPwny
Chem Warrior


Joined: 29 Jan 2018

PostPosted: Mon Sep 02, 2024 5:32 am    Post subject: Reply with quote  Mark this post and the followings unread

no the building will stay centered correctly if you enlarge the canvas on the y axis as long as you
enlarge the canvas proportionately in the up and down direction, which is no object to do if he is
rendering with blender.

but the game draws the shp starting not at the canvas bottom but at the bottommost visible
pixel, so enlarging it and then placing a single pixel at the bottom of the canvas is a potential
solution though a bit inelegant of a fix.

_________________
visit my moddb profile for .shp downloads and stuff

Back to top
View user's profile Send private message
SmlNob
Vehicle Driver


Joined: 06 Apr 2022

PostPosted: Mon Sep 02, 2024 8:49 am    Post subject: Reply with quote  Mark this post and the followings unread

ok , i try all i can do , it seem can't be fix it . poor old engine

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