Preset Cow Level

Post here for all aspects of map making and level design. Click here to visit the Keep's official map site, Diabolic Cartography.

Moderator: Paul Siramy

gcc
Junior Member
Paladin
Posts: 125
Joined: Thu Apr 14, 2011 6:03 am
Austria

Preset Cow Level

Post by gcc » Tue May 10, 2011 4:38 am

Hi :)

I made a preset Cow Level. When I try to open the portal in town, the game crashes:
Halt
Location : , line #2239
Expression : Unrecoverable internal error 6fd5c664
What I did was the following:
- Copied tristram ds1, renamed it, resized to 200*200, deleted everything and added my stuff
- Saved the ds1 in Act1/New/CowLevel.ds1
- Added a line in lvlprest.txt: DEF 1091, levelid 39, size 200*200, 1 File (Act1/New/CowLevel.ds1)
- Changed cow level entry in levels.txt: dlgrtype 2, 200*200 size, offset 1500/500

I added a Map Entry (#76) tile in the ds1. There is nothing that could block walking near the entry, and the floor tile I used allows walking.
I also tried Vis 6 (#44) instead of Map Entry.

That's my 1st selfmade map and I used this guide: https://d2mods.info/index.php?ind=revie ... w&iden=315

Is there a special tile I have to use for the red portal or could that be another error?

thanks

User avatar
Volf
Retired Admin
Dominion
Posts: 5396
Joined: Thu Jul 31, 2003 8:19 am
Finland

Hand-picked

Re: Preset Cow Level

Post by Volf » Tue May 10, 2011 8:10 am

Error means your ds1 size does not match the size you entered in levels.txt

When resizing with the editor the actual size will be -1 so if you put in 200 x 200 the actual size of the resized ds1 is 199 x 199

gcc
Junior Member
Paladin
Posts: 125
Joined: Thu Apr 14, 2011 6:03 am
Austria

Re: Preset Cow Level

Post by gcc » Tue May 10, 2011 3:40 pm

Thanks, it's working now :D
Already noticed that the highest x/y in the map editor was 199/199, but there is also 0/0 so I assumed that 200*200 would be the correct size to enter in the levels.txt and lvlprest.txt file.

Return to “Map Editing”