Serious Problem with Maps

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Post Reply
User avatar
assortedkingdede
Posts: 10
Joined: Thu Jul 16, 2020 11:21 am
Graphics Processor: nVidia (Modern GZDoom)

Serious Problem with Maps

Post by assortedkingdede »

Whenever I put a BEHAVOR lump in a map using SLADE, the map get corrupted. Any info will help.
User avatar
ramon.dexter
Posts: 1529
Joined: Tue Oct 20, 2015 12:50 pm
Graphics Processor: nVidia with Vulkan support
Location: Kozolupy, Bohemia

Re: Serious Problem with Maps

Post 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.
Last edited by ramon.dexter on Thu Nov 12, 2020 10:36 am, edited 1 time in total.
User avatar
Jimmy
 
 
Posts: 4720
Joined: Mon Apr 10, 2006 1:49 pm
Preferred Pronouns: He/Him
Contact:

Re: Serious Problem with Maps

Post 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.
User avatar
assortedkingdede
Posts: 10
Joined: Thu Jul 16, 2020 11:21 am
Graphics Processor: nVidia (Modern GZDoom)

Re: Serious Problem with Maps

Post 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.
User avatar
assortedkingdede
Posts: 10
Joined: Thu Jul 16, 2020 11:21 am
Graphics Processor: nVidia (Modern GZDoom)

Re: Serious Problem with Maps

Post 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.
User avatar
Kappes Buur
 
 
Posts: 4120
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: Serious Problem with Maps

Post 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
Post Reply

Return to “Mapping”