Unable to enable infinite ammo (Brutal Doom)
Unable to enable infinite ammo (Brutal Doom)
When attempting to create a cooperative multiplayer game using Brutal Doom v21 and Doom 2 on The Sentinel's Playground, I am having trouble enabling infinite ammo.
I tried using sv_infiniteammo = 1 and also tried enabling infinite ammo in the server settings (Flags > DM Flags > Infinite Ammo). Either way, ammo still runs out as normal.
Here is a screenshot of my server settings (click to enlarge):
Any help would be appreciated. Thank you.
I tried using sv_infiniteammo = 1 and also tried enabling infinite ammo in the server settings (Flags > DM Flags > Infinite Ammo). Either way, ammo still runs out as normal.
Here is a screenshot of my server settings (click to enlarge):
Any help would be appreciated. Thank you.
Re: Unable to enable infinite ammo (Brutal Doom)
sv_infiniteammo has no effect because brutal doom uses A_Takeinventory to reduce ammunition.
Re: Unable to enable infinite ammo (Brutal Doom)
As a solution, you could bind your fire key to fire, and then give full ammo.
Otherwise you will have to ask Mark for an item that can replicate the effect, so the weapons can check for it and determine if it has to remove ammo.
Otherwise you will have to ask Mark for an item that can replicate the effect, so the weapons can check for it and determine if it has to remove ammo.
Re: Unable to enable infinite ammo (Brutal Doom)
Actually, Zandronum has a built-in flag in A_TakeInventory for that: TIF_NOTAKEINFINITE
So there's no need to hack around with items and such.
One thing I have asked from the Lord, that I shall seek: That I may dwell in the house of the Lord all the days of my life, to behold the beauty of the Lord and to meditate in His temple. (Psalm 27:4, NASB)
My Discord tag is @tdrr, and it's my preferred contact method. I also check PMs here from time to time.
My Discord tag is @tdrr, and it's my preferred contact method. I also check PMs here from time to time.
Re: Unable to enable infinite ammo (Brutal Doom)
But it's easier to keep adding ammo than to replace the code.
Re: Unable to enable infinite ammo (Brutal Doom)
I don't think that flag is compatible with Zandronum. Even then, it would require to be added to the mod. So the best solution is to just bind an extra command.
Re: Unable to enable infinite ammo (Brutal Doom)
It is indeed compatible with Zandronum (And has been since 2.0, if not a bit earlier), but yes you are right in that it's easier to bind an extra command. Might be worth taking into account for the next update (That is, if Mark decides to actually implement it ).
One thing I have asked from the Lord, that I shall seek: That I may dwell in the house of the Lord all the days of my life, to behold the beauty of the Lord and to meditate in His temple. (Psalm 27:4, NASB)
My Discord tag is @tdrr, and it's my preferred contact method. I also check PMs here from time to time.
My Discord tag is @tdrr, and it's my preferred contact method. I also check PMs here from time to time.