Page 1 of 1

Serious Problem with Maps

Posted: Thu Nov 12, 2020 9:42 am
by assortedkingdede
Whenever I put a BEHAVOR lump in a map using SLADE, the map get corrupted. Any info will help.

Re: Serious Problem with Maps

Posted: Thu Nov 12, 2020 10:31 am
by ramon.dexter
Check your spelling. The lump is actually called BEHAVIOR ;)
Also, if I correctly understand wiki's page regarding this lump, you dont provide it. You have to use editor, write the scripts and the lump is created when the scripts are being compiled. So it correctly breaks your map.

Also, which format is your map? Only hexen format and UDMF allow thid lump.

Re: Serious Problem with Maps

Posted: Thu Nov 12, 2020 10:35 am
by Jimmy
You don't need to "put" this lump in manually. It gets auto-generated when you compile your map's scripts. After that you don't need to touch it at all.

Simply write your map scripts, hit compile, done.

Re: Serious Problem with Maps

Posted: Thu Nov 12, 2020 1:00 pm
by assortedkingdede
Jimmy wrote:You don't need to "put" this lump in manually. It gets auto-generated when you compile your map's scripts. After that you don't need to touch it at all.

Simply write your map scripts, hit compile, done.
My method involves directly compiling the script in the command line because it never generates on in SLADE after I compile it, given what everyone is saying my method could be the cause.

Re: Serious Problem with Maps

Posted: Thu Nov 12, 2020 1:01 pm
by assortedkingdede
ramon.dexter wrote:Check your spelling. The lump is actually called BEHAVIOR ;)
Also, if I correctly understand wiki's page regarding this lump, you dont provide it. You have to use editor, write the scripts and the lump is created when the scripts are being compiled. So it correctly breaks your map.

Also, which format is your map? Only hexen format and UDMF allow thid lump.
My map is in Hexen format. The lump never gets created automatically because my scripts refuse to compile in SLADE even after showing the status window after compilation.

Re: Serious Problem with Maps

Posted: Thu Nov 12, 2020 5:05 pm
by Kappes Buur
I do not use Slade3 to create maps. Being used to UDB, the interface feels alien to me. Maybe if there were a config setup to emulate the UDB keys, the Slade3 map editor would be more popular.

Anyways,
As mentioned before by others, the BEHAVIOR lump is generated automatically for G/ZDoom maps in Hexen format or UDMF.

There is no problem with Slade3 to create such a map. Just follow the steps properly.

[imgur]https://i.imgur.com/leyNGFX[/imgur]

[imgur]https://i.imgur.com/3eFnmMb[/imgur]

[imgur]https://i.imgur.com/6rHj26g[/imgur]

[imgur]https://i.imgur.com/9KNkj5b[/imgur]

[imgur]https://i.imgur.com/hG3hV25[/imgur]

[imgur]https://i.imgur.com/vB3ywvV[/imgur]

At this point create a new entry SCRIPTS and enter your scripts

[imgur]https://i.imgur.com/oK3z0TN[/imgur]

Save, then rightclick on SCRIPTS to open these options

[imgur]https://i.imgur.com/s76luPR[/imgur]

Compile the scripts and save the map.

But, before you can compile scripts with Slade3, Slade3 needs to be set up to point to the compiler ACC.EXE in the advanced settings.

[imgur]https://i.imgur.com/2lrqdgV[/imgur]

Download the compiler from https://zdoom.org/files/utils/acc/acc158win.zip