cölr question

Hi,can someone give me a FULL explanation of the cölr resource? Because I don't know what all the fields are for.

I'm trying to redo the main nova intreface screen. So I was looking at the interface screen , and the cölr resource. But I don't really know how the cölr resource works. I get things like : " Main Buttons X1 and Y1" and stuff. How does this all work? And how do you determine where the buttons are located? Please help,

Entarus,

------------------
(url="http://"http://www.apple.com")iMac, Therefore, I am(/url)
(url="http://"http://www.ariossoftware.com/upcoming/")EVONE 1.0.0, the plugin editor for EV/EVO/EVN(/url)
(url="http://"http://www.AmbrosiaSW.com/webboard/Forum26/HTML/007795.html")Star Trek : Frontiers ( An EVN Tc)(/url)
Somewhere out there life is bound to exist...

* The cölr resource

	The cölr resource allows you to customize some game-wide interface
options.

ButtonUp          Normal button text color
ButtonDown        Pressed button text color
ButtonGrey        Greyed-out button text color

MenuFont          Main menu font name
MenuFontSize      Size of main menu font
MenuColor1 & 2    Bright & dim colors for main menu

GridDim           Shipyard/outfit dialog grid color
GridBright        Shipyard/outfit dialog selection square color

ProgressBar       Position and shape of the loading progress bar, relative to
                   the center of the window
                   
ProgBright        Bright progress bar color
ProgDim           Dim progress bar color
ProgOutline       Progress bar outline color

Button1x & y      Position of the six main menu buttons, relative to the
  through          top left corner of a 1024x768 main menu background
Button6x & y

FloatingMap       Floating hyperspace map / escort menu border color
ListText          List text color
ListBkgnd         List background color
ListHilite        List hilite color
EscortHilite      Escort menu item hilite color

ButtonFont        Button font name
ButtonFontSz      Size of button font

LogoX & Y         Logo animation x/y position
RolloverX & Y     Rollover animation x/y position
Slide1x & y       Sliding button x/y positions
  through
Slide3x & y

	The various interface buttons that appear are drawn on the fly. Nova
uses PICT resources 7500-7502 for the left, center, and right pieces of the
"up" buttons, PICT resources 7503-7505 for the "down" button pieces, and PICT
resources 7506-7508 for the greyed-out button pieces. Corresponding mask images
are stored in PICTs 7600-7608. STR# resource 150 is used to store the text that
appears on each button type.

Note that all color fields in the cölr resource are encoded the same as
HTML colors, and that only the first cölr resource is loaded.

------------------
Eww! Troll bogies!
Let the fun begin!

Colr resources are for all the color thingies, buttons, status bars, etc. NovaTools is makes it really easy to make em, you just make a new colr resource and edit the colors by clicking the colored in field.

You reposition your buttons through more testing than it's worth, but the outcome is cool. Make a photoshop (or AppleWorks, whatever) file the same size as the main menu, place your buttons wherever you want them, then count the pixels from the side of the screen and the bottom of the screen.

This file will count as your mockup. Then you just type in the numerical pixel values into NovaTools's X and Y fields (whichever one you're editing) and presto!

------------------
÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷
++++++++++++++++++

(This message has been edited by Mantaray (edited 10-16-2002).)

Quote

Originally posted by Mantaray:
**Colr resources are for all the color thingies, buttons, status bars, etc. NovaTools is makes it really easy to make em, you just make a new colr resource and edit the colors by clicking the colored in field.

You reposition your buttons through more testing than it's worth, but the outcome is cool. Make a photoshop (or AppleWorks, whatever) file the same size as the main menu, place your buttons wherever you want them, then count the pixels from the side of the screen and the bottom of the screen.

This file will count as your mockup. Then you just type in the numerical pixel values into NovaTools's X and Y fields (whichever one you're editing) and presto!

**

Actually, you count pixels from the top left corner, not the bottom right corner.

------------------
Eww! Troll bogies!
Let the fun begin!

Quote

Originally posted by Entarus:
Hi,can someone give me a FULL explanation of the cölr resource? Because I don't know what all the fields are for.

Not to sound bitchy, which I may very well end up sounding like, but why not just copy the existing cölr resources into a plugin and change them in random ways? This why, you can see exactly what does what, and will learn better than someone just telling you how it works.

shrug That's just how I prefer to learn things, personally, and I realize that not everyone else is the same. 🙂

------------------
(url="http://"http://www.evula.com/")EVula,(/url) your friendly (url="http://"http://www.evula.com/")self-promoting(/url) EV & EVO Boards/Addon/Newswire/Chronicles moderator
(url="http://"http://www.evula.com/")evula.com(/url) | (url="http://"http://www.evula.net/")evula.net(/url) | (url="http://"http://www.evula.org/")evula.org(/url) | (url="http://"http://www.ev-nova.net/")ev-nova.net(/url) :: (url="http://"http://forums.evula.com/")Lair Forums(/url)
(url="http://"http://pftn.evula.net")pftn(/url) | (url="http://"http://dreamwave.evula.net")dreamwave(/url) | (url="http://"http://davidarthur.evula.net")davidarthur(/url) | (url="http://"http://ucplugs.evula.net")ucplugs(/url) | (url="http://"http://jager.evula.net")jager(/url) | (url="http://"http://stark.evula.net")stark(/url)

Quote

Originally posted by EVula:
**Not to sound bitchy, which I may very well end up sounding like, but why not just copy the existing cölr resources into a plugin and change them in random ways? This why, you can see exactly what does what, and will learn better than someone just telling you how it works.

shrug That's just how I prefer to learn things, personally, and I realize that not everyone else is the same. 🙂

**

Agreed.

------------------
Eww! Troll bogies!
Let the fun begin!

Quote

Originally posted by EVula:
** <shnippers>

**

Meh. I learned how to develop plugins whilst editing the EV data files to put in my better buttons. I never really understood the EV resource bible much before then.

------------------
Shameless promotion: (url="http://"http://www.evula.org/monster/Plugins/c.html")Caribbean(/url) - The most resourceful TC plug in development! + (url="http://"http://www.evula.org/monster/")monster(/url) ÷ (url="http://"http://bigbrain.xepher.net/")big {*} brain(/url)