Made a new Ossuary, but it crashes Crawl


If you are interested in helping with tiles, vaults, patches or documentation, this is the place for that.

Halls Hopper

Posts: 79

Joined: Sunday, 24th November 2013, 04:12

Post Wednesday, 18th December 2013, 16:15

Made a new Ossuary, but it crashes Crawl

Hey, so I took a shot at vault making after that thread discussing adding demons into the early game. I decided a cool way to do that would be to make an Ossuary where shadow imps are busy mummifying corpses in a back room. Unfortunately, I can't even test my map, because it crashes crawl on start up. The splash image shows for a split second and then it crashes to the desktop. The map is here:

  Code:
AME:    ossuary_monty_demons
WEIGHT:  40
ORIENT:  encompass
TAGS:    no_item_gen no_monster_gen
KFEAT:   ^ = dart trap w:1 / arrow trap w:1 / nothing w:15
KITEM:   " = any scroll w:2 / any scroll q:2 w:3 / \
         any potion w:4 / any potion q:2 w:6
: dgn.delayed_decay(_G, '%', 'human corpse')
MONS:    mummy
KMONS:   z = kobold zombie w:2 / human zombie w:1 / nothing w:6
KMONS:   ? = shadow imp / nothing
: ossuary_setup_features(_G)
MAP
xxxxxxxxxxxxxxxxxxxxxx
x.........<A.........x
x....................x
x^^^cccccccccccccc^^^x
x^^^ccc""""""""ccc^^^x
xzzzcccccc++cccccczzzx
xzzzc%...????...%czzzx
x^^^cccc.????.cccc^^^x
x.z^c%..........%c^z^x
x^z^cccccc++cccccc^z^x
x^z^c1..........1c^z^x
x^^^cccc......cccc^^^x
xzzzc1..........1czzzx
xzzzcccccc++cccccczzzx
x^^^c1..........1c^^^x
x^^^cccc......cccc^^^x
xzzzc1..........1czzzx
x^^^cccccc++cccccc^^^x
x.....zzzzzzzzzz.....x
x.....zzzzzzzzzz.....x
x....................x
xxxxxxxxxxxxxxxxxxxxxx
ENDMAP


I originally suspected I was using the delayed decay function wrong, but removing that line doesn't fix the problem. Do you see any obvious flaws here?

Ziggurat Zagger

Posts: 3163

Joined: Friday, 6th January 2012, 18:45

Post Wednesday, 18th December 2013, 16:26

Re: Made a new Ossuary, but it crashes Crawl

If you start crawl from a command line you'll see the reason for the crash:
  Code:
C:/msysgit/git/crawl/crawl-ref/source/dat/des/portals/ossuary.des:1043: no features matching "nothing w:15"


I looked through the rest of that file and it appears you can only use "nothing" for item and mons lines. Based on the other kfeat lines, you want to replace "nothing" with "floor".

For this message the author BlackSheep has received thanks:
monty

Halls Hopper

Posts: 79

Joined: Sunday, 24th November 2013, 04:12

Post Wednesday, 18th December 2013, 17:06

Re: Made a new Ossuary, but it crashes Crawl

Ah thanks! That got it working. It works pretty well, except the imps raise those corpses before you can actually see them. I'll have to rework that last room to be a little more flavorful. Also not enough traps.

Temple Termagant

Posts: 11

Joined: Saturday, 14th December 2013, 21:46

Post Thursday, 19th December 2013, 00:13

Re: Made a new Ossuary, but it crashes Crawl

monty wrote:Ah thanks! That got it working. It works pretty well, except the imps raise those corpses before you can actually see them. I'll have to rework that last room to be a little more flavorful. Also not enough traps.


Glad to hear. Could you maybe post it at some point? I'd like to play test it.

EDIT: When your more finished, I mean.

Return to Contributions

Who is online

Users browsing this forum: No registered users and 2 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.