Joey | can someone tell me what each priority line does? like what each color does. i may need it later on. |
Eigen |
Black and blue are for preventing objects for moving certain places. Black can't be ignored by objects, blue priority line can be ignored by any object by using ignore.blocks(object); Rest of the colors are used for walk behinds depending on the Y pos. White is color where all objects are hidden behind. White doesn't use any Y pos so it can be put anywhere on the picture. -Eigen |
smartguy240 |
so when making a cave like in kings quest 3 does that mean that you put the lowest prioroty to walk on as the walking (red or darkgreen?) and the use white to make it look like you are dissappearing into the dark? Is there a prioroty line for the statement ego_on_water or whatever it is? |
Kon-Tiki |
Dark green lines (nr 2) will set f3 when ego walks over it. That's used for ego_on_water and such. -Kon-Tiki- |
Joey |
oh. so all colors besides black, blue, and green, are for hiding an object behind it, like when you walk behind a tree it doesnt show you? i thought there were more colors that did different things. and also, if i use light blue to hide ego for one spot, can i use it again on another spot in that picture? or i can only use that color for one filling of an area? |
Eigen |
You can use one color many times. You can use it long as there's room on pic. ;) -Eigen |
Joey | k thanks. but i can draw a diagonal green line and still have it so if ego touches it it sets f3 right? |
smartguy240 | or if(obj.in.box) then set flag whatever to be true too... |
Joey | yah you told me that smg. i was just wondering about the green line. i think it should work, but i would still like to know. thanks though smg. |
Kon-Tiki |
F3 is set when a green pixel is touched, so it doesn't matter if it is a diagonal line, a square, some circles, or one big filled room (which wouldn't be handy ;D ) -Kon-Tiki- |
Andrew_Baker | Actually, an object can ignore black priority lines if its priority is set to 15. |
Joey | ok thanks guys. so black,blue, and dark green are the ones that are mroe handy. they block or set a flag. all the others just hide objects. thats it right? oh and is it dark or light blue that is for doors. |
Kon-Tiki |
Dark blue. The special priorities're the first colours in Picedit (0,1 and 2) -Kon-Tiki- |
Joey | k thanks. that should do it. |
rwfromxenon |
Kon-Tiki wrote: Instead of filling the room, the better thing to use would be if(previous_room_no(x)) where x is the previous room and f255 is the flag being set. |
Kon-Tiki |
That was just an example. If you'd try it, it'd be one mayor bug. -Kon-Tiki- |
rwfromxenon | i know... |