Colour = ID values

Help Topics, Bug Reports, Feature Requests, etc.
Post Reply
User avatar
dlcs18
Rainbow MegaStar
Posts: 3282
Joined: Sun Jul 09, 2006 9:44 pm

Colour = ID values

Post by dlcs18 » Fri Feb 08, 2008 5:18 pm

Midnight Synergy wrote:Advanced Note: ID #s and Colours are matched by the following formula:
ID = 500 + Colour *5 + Subcolour
E.g. a Yellow Gate (colour 2) with subcolour 3 could also be accessed by referring to objects with ID 500+2*5+3 = 513.
These are the ID values for Colours, I kept adding 5 to each colour to get the information.

(The "+ Subcolour" is saying the colours ID plus the subcolour ID e.g. Red gate with subcolour 1 is 501 because it's the Colour ID PLUS the subcolour value.)

Red - 500 + Subcolour (NOTE: 500 also opens some house doors, from what I heard from somewhere else...)
Orange - 505 + Subcolour
Yellow - 510 + Subcolour
Green - 515 + Subcolour
Light Blue - 520 + Subcolour
Dark Blue - 525 + Subcolour
Pink - 530 + Subcolour
White - 535 + Subcolour
Rainbow - 540 + Subcolour
Textured Brown - 545 + Subcolour
Textured Greenish - 550 + Subcolour
Textured Blue/Metal - 555 + Subcolour
Textured Orange/Fire - 560 + Subcolour
Red with White Spots/Mushroom - 565 + Subcolour
Transparent Colour - 570 + Subcolour
Black - 575 + Subcolour

(Yes the last two are internal but at the moment they don't seem to have any big difference between the other colours so I included them)

Now you don't have to do the maths with Colours and IDs when making an adventure. :P Cuz you can just look at this.
dlcs18
Post Reply