Welcome, Guest. Please login or register.
February 12, 2012, 04:50:17 AM
Home Help Search Login Register
News: All registrations must be approved because of spam, please contact support with your member name: http://www.chroniclogic.com/contact_form.php?section=feedback

+  Chronic Logic Forums
|-+  Gish
| |-+  Gish Editor
| | |-+  moving wall-open area?
« previous next »
Pages: [1] Print
Author Topic: moving wall-open area?  (Read 1140 times)
zeldalover123
Jr. Member
**
Posts: 30



View Profile
« on: January 07, 2008, 06:11:14 PM »

in some levels, when you pass through a space, a wall closes behind you. how do you do that?
Logged

you will all bow before me!!!! you'll see!!! YOU'LL SEE!!!!!!!!!!!!!!!!!!!! PM me if you want to be my slave! (or to get my attention)
Jonathan_NL
Sr. Member
****
Posts: 488


View Profile
« Reply #1 on: January 07, 2008, 08:13:59 PM »

It's really an object falling through the ceiling, connected to something above it with push pistons (it should also be possible to use pull pistons from below, but that's less stable). The gap in the ceiling is hidden by tiles in the front layer. The object (usually an anchor) from which the pistons were connected has red/amplitude=distance to move, green/cycle time=2*closing time, blue/duration=0.5. Example screenshot showing hell3's mechanism. The green anchor is what I selected. You can observe its 'color'. Another object, a one-time area switch, is highlighted in red by Gish because that's what the green object is linked to. When there is such a link any pistons connected from the green object won't do anything at first, until the red object is 'activated' (if it's a switch, when it's pressed (or entered in case of an area switch), and if it's a one-time switch it will only activate once). Every time it activates the pistons will move as specified in the green object's 'color'.
Logged

I rarely check this forum anymore. Feel free to send me a PM if you want my attention.
zeldalover123
Jr. Member
**
Posts: 30



View Profile
« Reply #2 on: January 07, 2008, 08:32:03 PM »

so the area swich is located in the object editor, or somewhere else?
Logged

you will all bow before me!!!! you'll see!!! YOU'LL SEE!!!!!!!!!!!!!!!!!!!! PM me if you want to be my slave! (or to get my attention)
Jonathan_NL
Sr. Member
****
Posts: 488


View Profile
« Reply #3 on: January 07, 2008, 08:42:33 PM »

The one-time area switch is object type 16, as described in gisheditor.txt.
Logged

I rarely check this forum anymore. Feel free to send me a PM if you want my attention.
zeldalover123
Jr. Member
**
Posts: 30



View Profile
« Reply #4 on: January 07, 2008, 11:06:48 PM »

thx
Logged

you will all bow before me!!!! you'll see!!! YOU'LL SEE!!!!!!!!!!!!!!!!!!!! PM me if you want to be my slave! (or to get my attention)
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!