Author Topic: Walk around scenery (priority color issue)  (Read 5792 times)

0 Members and 1 Guest are viewing this topic.

Offline gumby

Walk around scenery (priority color issue)
« on: December 26, 2012, 08:20:20 AM »
I have a scenario where I need the ego to be able to completely walk around a scenery object.  If the ego is behind it, the object should 'hide' part of the ego, but if the ego is in front of it the ego should 'hide' part of the object.

I attempted to use priority colors, which solved half of the problem (walking behind), but now the ego cannot be 'in front' of the object.

EDIT:  Is the only solution here to use a view (even though it's static scenery)?
« Last Edit: December 26, 2012, 12:50:13 PM by gumby »


In the Great Underground Empire (Zork port in development)
Winter Break 2012 Rope Prop Competition

Offline Cloudee1

Re: Walk around scenery (priority color issue)
« Reply #1 on: December 27, 2012, 12:16:44 AM »
No, drawing it staticly should be fine, placement of the object as well as a couple of control lines should help solve your issues.

One thing that I try to do whenever I have that situation is to try and keep the southern edge of the object at the bottom edge of a priority band, or at least use a control line to prevent the ego from being in the same band at the same time while he is in front of the object. That seems to be when things get a little iffy.
Halloween Competition Brass Lantern Prop Competition Groundhog Day Competition

Offline gumby

Re: Walk around scenery (priority color issue)
« Reply #2 on: December 27, 2012, 10:59:09 AM »
I just got a hell of an education in priority colors.  I'm sorting it out now, thanks for the help.  The priority band display in Companion's pic editor is invaluable.

There doesn't seem to be any tutorial covering priority colors, or I cannot find them.  Is this a documentation gap?
In the Great Underground Empire (Zork port in development)
Winter Break 2012 Rope Prop Competition

Offline Cloudee1

Re: Walk around scenery (priority color issue)
« Reply #3 on: December 27, 2012, 07:08:28 PM »
About the area where Brian starts drawing the box in the middle of the room, this tutorial talks about them a little bit.

http://sciprogramming.com/tutor.php?id=6
Halloween Competition Brass Lantern Prop Competition Groundhog Day Competition

Offline gumby

Re: Walk around scenery (priority color issue)
« Reply #4 on: December 27, 2012, 07:38:39 PM »
I recognize this.  Why couldn't I find this earlier?  Quite helpful, thank you.

EDIT:  I see, I was focused on the section regarding props and views, 10 sections ahead in the tutorial.  Go figure.
« Last Edit: December 27, 2012, 07:49:22 PM by gumby »
In the Great Underground Empire (Zork port in development)
Winter Break 2012 Rope Prop Competition


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

Page created in 0.065 seconds with 22 queries.