Is it possible to turn respawn items on by default when you start a custom wad file without having to go into game settings every time you load the wad? I tried looking into dmflags 540672 but dont know how to actually enable it using the code.
Thanks in advance, this is for a single player level by the way
Respawning Items
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.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
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.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
-
- Posts: 5039
- Joined: Sun Nov 14, 2010 12:59 am
Re: Respawning Items
Put this in a text file and save it in your GZDoom directory as autoexec.cfg:
Now each time GZDoom runs, it'll enable that option for you.
For reference: [wiki=CCMDs#AutoExec]AutoExec[/wiki]
Code: Select all
sv_itemrespawn true
For reference: [wiki=CCMDs#AutoExec]AutoExec[/wiki]
-
- Posts: 60
- Joined: Mon Jan 08, 2018 5:54 pm
Re: Respawning Items
Thanks for the reply, is it possible to create this file inside a wad file? And if so how? Lol
-
- Posts: 5039
- Joined: Sun Nov 14, 2010 12:59 am
Re: Respawning Items
No, it isn't.Dudweiser wrote:is it possible to create this file inside a wad file?
-
- Posts: 60
- Joined: Mon Jan 08, 2018 5:54 pm
Re: Respawning Items
Ok, it works perfectly like this anyway thanks a lot mate