make weapons/ammo respawn in coop/deathmatch?

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
MWTab
Posts: 11
Joined: Wed Nov 01, 2023 3:25 am
Operating System Version (Optional): Void Linux Rolling
Graphics Processor: nVidia with Vulkan support
Location: Salem, Or, USA

make weapons/ammo respawn in coop/deathmatch?

Post by MWTab »

Hiya,

Is it possible to pass a flag to gzdoom to make ammo or weapons to respawn, in coop and deathmatch? I've been trying to play some coop on the toby doom levels with my friends, and the problem we've had is we'll end up running out of ammo and become stuck.

Thanks,

-Michael.
User avatar
Player701
 
 
Posts: 1684
Joined: Wed May 13, 2009 3:15 am
Graphics Processor: nVidia with Vulkan support

Re: make weapons/ammo respawn in coop/deathmatch?

Post by Player701 »

+sv_itemrespawn 1 turns on item respawning. This includes weapons, but does not incude certain powerups (invulnerability and invisibility), use +sv_respawnsuper 1 to also make them respawn.

You can also turn those on via the console, by typing sv_itemrespawn 1 and sv_respawnsuper 1 respectively. Regardless of the way you choose, only the host (i.e. the player who starts GZDoom with -host) needs to perform this setup.
MWTab
Posts: 11
Joined: Wed Nov 01, 2023 3:25 am
Operating System Version (Optional): Void Linux Rolling
Graphics Processor: nVidia with Vulkan support
Location: Salem, Or, USA

Re: make weapons/ammo respawn in coop/deathmatch?

Post by MWTab »

Thanks. The toby doom mod seems to crash with itemrespawn turned on, I'll contact him about that.

-Michael.

Return to “General”