.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dungeon Odyssey (http://forum.shrapnelgames.com/forumdisplay.php?f=44)
-   -   lightswitch trigger (http://forum.shrapnelgames.com/showthread.php?t=15091)

henk brouwer May 7th, 2003 11:50 PM

lightswitch trigger
 
Here is a working terraindescription for a lightswitch for those dark dungeon levels. (in this case a torch that can be lit or unlit by rightclicking the terrain in-game, simmillar to opening a door) The zip has the two images used by the terrain_file (these should go into the XX\pictures\terrain directory) and the description of the unlit and lit torch, (torches_terrain.txt) that Last file should be copy-pasted into the terrain-file that should use the torches..)

1052344011.zip

When changing the terrain's ID you should make sure that the "next terrain action ID 1" refers to the correct new ID's #.

Feel free to use/modify this for any module, and have fun!

Henk

[ May 08, 2003, 09:41: Message edited by: henk brouwer ]

Rollo May 8th, 2003 12:37 AM

Re: lightswitch trigger
 
I like that. Nice job, Henk.


All times are GMT -4. The time now is 12:49 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.