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 3:50 am
All times are UTC + 0
Update
Moderators: Community Tools Developpers
Post new topic   Reply to topic Page 1 of 1 [9 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
stucuk
Geek


Joined: 27 Aug 2002

PostPosted: Tue Dec 30, 2003 3:44 pm    Post subject:  Update Reply with quote  Mark this post and the followings unread

Im posting this mainly cos Banshee ain't on msn.... anyway.

Iv been working on BS Palette Editor its current features are as follows:

Quote:
1.0
- revisions by Stucuk:
- Added: New/Load/Save TS/RA2 Pal Files and JASC-PAL
- Added: Gradient Tool


The gradient tool can be used to do nice gradient effects, like in the TS/RA2 palettes. Select the start and end colour, then where on the palette to do the gradient effect hit ok and bang, it does it in miliseconds.

SHP_Engine's Palette.pas has grown, it has the following procedures/functions:

Quote:
procedure LoadPaletteFromFile(Filename : string);
procedure SavePaletteToFile(Filename : string);
procedure GetPaletteFromFile(var Palette:TPalette; Filename : string);
Procedure CreateBlankPalette; // does a gradient effect
Procedure CreateBlankPalette_True; // Makes all 0
procedure LoadJASCPaletteFromFile(Filename : string);
procedure SavePaletteToJASCFile(Filename : string);
procedure PaletteGradient(StartNum,EndNum :byte; StartColour,EndColour : TColor);
Function LoadAPaletteFromFile(Filename:String) : integer;


Screenshots Below:



bs_palette_editor.jpg
 Description:
The Main Screen
 Filesize:  41.37 KB
 Viewed:  3335 Time(s)

bs_palette_editor.jpg



bs_palette_editor_gt.jpg
 Description:
The Gradient Tool
 Filesize:  35.07 KB
 Viewed:  3334 Time(s)

bs_palette_editor_gt.jpg



bs_palette_editor_gt2.jpg
 Description:
After Gradient is applyed
 Filesize:  35.82 KB
 Viewed:  3332 Time(s)

bs_palette_editor_gt2.jpg



_________________
Free Map Editor - Game Requirements - Stucuk.Net

Back to top
View user's profile Send private message Visit poster's website
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Tue Dec 30, 2003 4:28 pm    Post subject: Reply with quote  Mark this post and the followings unread

Very nice job. But you have to remember that by using 6bit values for red, green and blue, TS palettes values are always multiple of 4 Wink. So, 199 is an invalid value which would become 196 if it follows my conversion methods.

Back to top
View user's profile Send private message Visit poster's website Skype Account
stucuk
Geek


Joined: 27 Aug 2002

PostPosted: Tue Dec 30, 2003 9:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

Banshee, the program is correct, the SHPPalette is a TColour, thus it uses 256 for RGB. JASC-PAL also uses 256 for RGB. Only TS Palettes use 64, which going by Banshee you take the SHPPalette RGB and divide by 4.

It all works... (64*4=256, 256/4=64)

Anyway you can look at the source when you get back.

Quote:
Very nice job.
THX Rolling Eyes

_________________
Free Map Editor - Game Requirements - Stucuk.Net

Back to top
View user's profile Send private message Visit poster's website
Kravvitz
Commander


Joined: 25 Mar 2003
Location: USA

PostPosted: Tue Jan 06, 2004 2:18 am    Post subject: Reply with quote  Mark this post and the followings unread

lookin' good! Very Happy Cool

_________________
Check out my FAQ and Modding Info Page.
Community Links Page
http://www.dynamicsitesolutions.com/

Back to top
View user's profile Send private message Visit poster's website Skype Account Yahoo Messenger Account AIM Address
The DvD
TiberiumWeb.com Webmaster


Joined: 30 Dec 2002
Location: Netherlands

PostPosted: Tue Jan 06, 2004 1:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

This could GREATLY help me...lookin forward to release (shouldn't be too long, only missing feature would be to import colours from another palette..

Back to top
View user's profile Send private message Visit poster's website Skype Account
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Tue Jan 06, 2004 4:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

You can already import colours from other palette... Just load then palette you wish and when importing select "None" in the Optimize settings...

Back to top
View user's profile Send private message Visit poster's website Skype Account
stucuk
Geek


Joined: 27 Aug 2002

PostPosted: Tue Jan 06, 2004 7:06 pm    Post subject: Reply with quote  Mark this post and the followings unread

I think he was talking about the Palette Editor Banshee.......

_________________
Free Map Editor - Game Requirements - Stucuk.Net

Back to top
View user's profile Send private message Visit poster's website
Kravvitz
Commander


Joined: 25 Mar 2003
Location: USA

PostPosted: Tue Jan 06, 2004 7:45 pm    Post subject: Reply with quote  Mark this post and the followings unread

The DvD wrote:
This could GREATLY help me...lookin forward to release (shouldn't be too long, only missing feature would be to import colours from another palette..


well you could add the rgb values manually, but for several colors that could take a while.

_________________
Check out my FAQ and Modding Info Page.
Community Links Page
http://www.dynamicsitesolutions.com/

Back to top
View user's profile Send private message Visit poster's website Skype Account Yahoo Messenger Account AIM Address
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Wed Jan 07, 2004 2:05 am    Post subject: Reply with quote  Mark this post and the followings unread

stucuk wrote:
I think he was talking about the Palette Editor Banshee.......


Ops #Tongue

Back to top
View user's profile Send private message Visit poster's website Skype Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [9 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
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can 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.1672s ][ Queries: 16 (0.0128s) ][ Debug on ]