Weapon Priority

Are you experiencing a problem? Maybe you can't get your scripts to do what you need, or are frustrated by a feature you just can't seem to get working? Let us know about it here and we will try our best to help you out!
Post Reply
Doomsdayninja84
Posts: 2
Joined: Sat Feb 10, 2018 11:47 pm

Weapon Priority

Post by Doomsdayninja84 »

Can someone explain to me exactly how weapon priority works in 3DGE? I looked around for info on it and couldn't find much. Perhaps I overlooked something in the wiki or the old docs. From what I understand, the higher the priority is, the more likely you are to switch to that weapon after running out of ammo for your current weapon. This also seems to affect the order when using "next weapon" and "previous weapon." But what about weapons using the same slot with different or equal priority? And what does a zero priority mean? I'm sure this is pretty basic, but I am having trouble figuring it out through experimentation. That is how I tend to learn things and I am a noob at Doom editing, so please excuse me for asking such a basic question.

User avatar
Corbachu
Site Admin
Posts: 778
Joined: Fri Jun 08, 2012 11:22 am
Gender:
Contact:

Re: Weapon Priority

Post by Corbachu »

Let's see:
PRIORITY [integer]
This is used for selecting another weapon when the current weapon runs out of ammo. When this happens, the weapon with the highest
priority value that has enough ammo to shoot will be selected. (-1 means that you will need to manually select the weapon)
It works pretty much the way described. If I remember right, the "PRIORITY" system was inherited from BOOM, and it isn't particularily
"intuitive". I haven't tested weapons with multiple numbers of the "same" priority -- might be worth looking into =)
\(סּںסּَ` )/ۜ

Doomsdayninja84
Posts: 2
Joined: Sat Feb 10, 2018 11:47 pm

Re: Weapon Priority

Post by Doomsdayninja84 »

Thanks for the info, I didn't know it came from BOOM. I was hoping this feature was tested further and more intuitive, but that's ok. I still prefer 3DGE over Doomsday Engine for editing as ddf files allow you to do more and in many ways are easier to edit than def files. I suppose I will further test the priority system myself and report the results here in this thread in case anyone else is interested in my findings.

Return to “Support and Help”