Author Topic: Priority lines.  (Read 3141 times)

0 Members and 1 Guest are viewing this topic.

Joey

  • Guest
Priority lines.
« on: January 05, 2003, 05:22:41 PM »
can someone tell me what each priority line does? like what each color does. i may need it later on.



Offline Eigen

Re:Priority lines.
« Reply #1 on: January 06, 2003, 09:45:42 AM »
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
Artificial Intelligence Competition

Offline Patrick

Re:Priority lines.
« Reply #2 on: January 06, 2003, 09:59:34 AM »
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

  • Guest
Re:Priority lines.
« Reply #3 on: January 06, 2003, 11:14:11 AM »
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

  • Guest
Re:Priority lines.
« Reply #4 on: January 06, 2003, 02:46:39 PM »
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?

Offline Eigen

Re:Priority lines.
« Reply #5 on: January 06, 2003, 02:50:13 PM »
You can use one color many times. You can use it long as there's room on pic.  ;)



-Eigen
Artificial Intelligence Competition

Joey

  • Guest
Re:Priority lines.
« Reply #6 on: January 06, 2003, 02:53:01 PM »
k thanks. but i can draw a diagonal green line and still have it so if ego touches it it sets f3 right?

Offline Patrick

Re:Priority lines.
« Reply #7 on: January 06, 2003, 03:00:37 PM »
or if(obj.in.box) then set flag whatever to be true too...


Joey

  • Guest
Re:Priority lines.
« Reply #8 on: January 06, 2003, 03:02:22 PM »
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

  • Guest
Re:Priority lines.
« Reply #9 on: January 06, 2003, 04:22:00 PM »
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-

Offline Andrew_Baker

Re:Priority lines.
« Reply #10 on: January 07, 2003, 02:43:58 AM »
Actually, an object can ignore black priority lines if its priority is set to 15.
I hope you realize that one day I will devour the Earth.

Joey

  • Guest
Re:Priority lines.
« Reply #11 on: January 07, 2003, 06:20:52 AM »
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

  • Guest
Re:Priority lines.
« Reply #12 on: January 07, 2003, 10:03:44 AM »
Dark blue. The special priorities're the first colours in Picedit (0,1 and 2)

-Kon-Tiki-

Joey

  • Guest
Re:Priority lines.
« Reply #13 on: January 07, 2003, 02:49:57 PM »
k thanks. that should do it.

Offline Allen

Re:Priority lines.
« Reply #14 on: January 16, 2003, 03:27:40 AM »
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-
Instead of filling the room, the better thing to use would be
Code: [Select]
if(previous_room_no(x))
{set(f255)}
where x is the previous room and f255 is the flag being set.
http://www.mizpro.co.uk
The new home of Mizar Productions.

It is a sign!


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.056 seconds with 21 queries.