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 Thu Apr 18, 2024 12:03 am
All times are UTC + 0
Palette, building animation
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Ryuuzaki51
Vehicle Driver


Joined: 06 Feb 2022

PostPosted: Sat Feb 12, 2022 11:41 am    Post subject:  Palette, building animation
Subject description: Palette doesn't work
Reply with quote  Mark this post and the followings unread

Hello everyone. I was trying to make building animation with different palette than YR uses. I got ARES installed. On some topic I found, that it's possible to make your own palette. So I've made building animation .shp file, and .pal file. It looks like it should in SHP Builder, but I got rainbow in game. Does anyone ever got the same problem? Any solvation? What am I doing wrong?



3.jpg
 Description:
 Filesize:  58.94 KB
 Viewed:  1150 Time(s)

3.jpg



Back to top
View user's profile Send private message
Zorbung
Soldier


Joined: 04 Jun 2021

PostPosted: Sat Feb 12, 2022 12:37 pm    Post subject: Reply with quote  Mark this post and the followings unread

There is Palette=<filename> and CustomPalette=<filename> to be used in artmd.ini, not sure about the difference though, have you tried any of these?

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Sat Feb 12, 2022 2:57 pm    Post subject: Reply with quote  Mark this post and the followings unread

Palette= is used on buildings/units & CustomPalette= is used on weapon animations and projectiles.

To use a new pal on a building you need to add the tag Palette=newpal (can be named anything) to the buildings art code & then create new pal files for each of the games separate map theaters. So you'd need newpaltem.pal (for temperate), newpalsno.pal (for snow), newpalurb.pal (for urban), newpaldes.pal (for desert) & newpallun.pal (for Luna).

_________________



Last edited by Mig Eater on Mon Feb 14, 2022 3:49 pm; 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
Ryuuzaki51
Vehicle Driver


Joined: 06 Feb 2022

PostPosted: Mon Feb 14, 2022 2:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks for the reply. It's clear when it comes to buildings. The game should know that this is bulding, so you have to put its name into building list in rules.ini. But this is not a building. This is animation. Those 3 orbs are pulsing. I've made urban, snow and other palettes and use it with a building, just to test it, and the palette is working. I guess I'm missing something while creating a shp file.

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Mon Feb 14, 2022 3:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

Note that you only need to add Palette= to the building's art code, all animations attached to the building will then use that pal too.

_________________



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


Joined: 06 Feb 2022

PostPosted: Tue Feb 15, 2022 7:52 am    Post subject: Reply with quote  Mark this post and the followings unread

Wow. That was the point. Thank you. Now it lookes like close to what it should. Still, some pixels are of the wrong color, but it lookes much better. Guess I have to play around with colors and palettes. Thank you.

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