Here's my main config file (incl path):
DevilWhiskey\maps\TestMainConfig.cfg
**(edited as per Origen's suggestion to remove the '#' between the first 2 lines--so it all works now!)
Code: Select all
TestMainConfig 20 20 pics/walls/cave_floor.dat pics/walls/cave_ceil.dat NULL
maps/allwall.cfg maps/allcell.cfg maps/TestEvents.cfg maps/TESTCELLmon.cfg
SPECLITE 0.0 0.0 0.0 0.0 0.8 0.8 0.8
audio/config 1
DwarfCaves.dat 0
SPECCELL 11 11 0
RANDITEMS 0
11 10 Nwall
12 10 Nwall
10 11 Ewall
11 11 Nwall
12 11 DoorNwallE
10 12 Ewall
11 12 DoorEwallN
12 12 NEwall
DevilWhiskey\maps\allwall.cfg
DevilWhiskey\maps\allcell.cfg
DevilWhiskey\maps\TestEvents.cfg
DevilWhiskey\maps\TESTCELLmon.cfg
&
DevilWhiskey\data\scripts\TestEntry.py
DevilWhiskey\data\scripts\TestExit.py
allwall.cfg
Code: Select all
#Standard Cave Wall
CaveWall_1 pics/walls/cave1.dat 1 0 1
CaveDoor_1 pics/walls/cave_door.dat 0 0 1
CaveDoor_2 pics/walls/cave1.dat 0 1 1
Code: Select all
#<Cell name> <N Wall> <W Wall> <S Wall> <E Wall> <type> <floor> <garnish>
DEFAULT NULL NULL NULL NULL 0 NULL NULL
Nwall CaveWall_1 NULL NULL NULL 0 NULL NULL
Ewall NULL NULL NULL CaveWall_1 0 NULL NULL
NEwall CaveWall_1 NULL NULL CaveWall_1 0 NULL NULL
DoorN CaveDoor_1 NULL NULL NULL 0 NULL NULL
DoorE NULL NULL NULL CaveDoor_1 0 NULL NULL
DoorNE CaveDoor_1 NULL NULL CaveDoor_1 0 NULL NULL
DoorNwallE CaveDoor_1 NULL NULL CaveWall_1 0 NULL NULL
DoorEwallN CaveWall_1 NULL NULL CaveDoor_1 0 NULL NULL
TestEntry.py
[code]#Default Entrance
from eventAPI import *
from APIUtils import *
def fireEvent(e):
showPicture(e, "Palace")
if (poseYesNo(e,
["Will you enter through this mysterious doorway?"])):
tickGame(e, 60)
setExit(e, "maps/TestMainConfig.cfg", 11, 11, 270)
return 0
Code: Select all
#Default Exit
from eventAPI import showPicture, tickGame, setExit
from APIUtils import poseYesNo
def fireEvent(e):
showPicture(e, "Palace")
if (poseYesNo(e,
["There is a door here, leading out into Rennibister.",
"Do you leave?"])):
tickGame(e, 60)
setExit(e, "maps/renibister.cfg", 21, 28, 90)
return 0
Code: Select all
#22 28 1050 1
22 28 2000 1
21 28 90 TestEntry
(my hair's all gone & in a big pile all around me)
Be helpful if instead of simply crash-disappearing, there was some sort of error log...I caught a Very brief glimpse once of a message in one of the small windows about "error opening...such'n'such.." -prog vanishes just as I hit 'Y' in response to the entry-script question, "Will you enter through this mysterious doorway?" (got a screen shot of the error message below)