Weapons problem

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.
User avatar
MrBlaskovitz
Posts: 14
Joined: Tue Apr 20, 2021 5:31 am
Discord: Vlada#7974
Graphics Processor: nVidia with Vulkan support

Weapons problem

Post by MrBlaskovitz »

So, While I was testing out my WAD I found out that you keep the Weapons from the previous level, Is there any way that I can prevent that from happening in my WAD? :|
User avatar
ramon.dexter
Posts: 1254
Joined: Tue Oct 20, 2015 12:50 pm
Graphics Processor: nVidia with Vulkan support
Location: Kozolupy, Bohemia

Re: Weapons problem

Post by ramon.dexter »

Zdoom wiki is yout great friend.

https://zdoom.org/wiki/MAPINFO/Map_definition

For this case, it's 'ResetInventory' flag/property.
User avatar
MrBlaskovitz
Posts: 14
Joined: Tue Apr 20, 2021 5:31 am
Discord: Vlada#7974
Graphics Processor: nVidia with Vulkan support

Re: Weapons problem

Post by MrBlaskovitz »

ramon.dexter wrote:Zdoom wiki is yout great friend.

https://zdoom.org/wiki/MAPINFO/Map_definition

For this case, it's 'ResetInventory' flag/property.
thank you but, how can add this command myself and save it so people playing the WAD don't have to put it in?
User avatar
Enjay
 
 
Posts: 26403
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: Weapons problem

Post by Enjay »

It's something that you add to the MAPINFO lump - the same lump that I mentioned when you asked about the name of music files. So, if you are making a MAPINFO for the music definitions of your maps, then you can add this command to your map definitions too.

The page that ramon.dexter linked to shows how to write a map definition, explains what all the various options are and has some examples at the bottom.
User avatar
MrBlaskovitz
Posts: 14
Joined: Tue Apr 20, 2021 5:31 am
Discord: Vlada#7974
Graphics Processor: nVidia with Vulkan support

Re: Weapons problem

Post by MrBlaskovitz »

Enjay wrote:It's something that you add to the MAPINFO lump - the same lump that I mentioned when you asked about the name of music files. So, if you are making a MAPINFO for the music definitions of your maps, then you can add this command to your map definitions too.

The page that ramon.dexter linked to shows how to write a map definition, explains what all the various options are and has some examples at the bottom.
aight, bout' to do some work

Return to “Mapping”