Choosing which weapon has to be used after another one has..

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
Post Reply
User avatar
Pinky's ass
Posts: 507
Joined: Wed Sep 05, 2007 2:17 am
Location: ZDoom Forums

Choosing which weapon has to be used after another one has..

Post by Pinky's ass »

...no more ammo. It's a long title but the concept is clear. :P
When I fire a certain weapon (ex: shotgun) and shells end, the plasma gun is automatically selected. Since I hate using it because it steals ammo to the BFG, is there a way to choose which weapon has to be used after another one has no more ammo? Don't say "change it pressing a number" because during fightings every second precious. :P
User avatar
Project Shadowcat
Posts: 9369
Joined: Thu Jul 14, 2005 8:33 pm
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Blacksburg, SC USA
Contact:

Re: Choosing which weapon has to be used after another one has..

Post by Project Shadowcat »

I think this can be changed in DECORATE. The Priority number is what dictates what gets selected first automatically. The Plasma Gun, by default, has a very low priority number, so it's picked first. The rocket launcher's number is very high, and you will only select it automatically if you don't have the chainsaw (which is lower than the RL). The lower the number, the more important the weapon is.
If DECORATE is not a viable solution, you're kind of SOL. I know both ZDaemon and Skulltag did have weapon priority menus, but vanilla ZDoom does not.
User avatar
Ceeb
Posts: 5125
Joined: Wed Jun 11, 2008 4:07 pm
Location: Castle Wut

Re: Choosing which weapon has to be used after another one has..

Post by Ceeb »

You could slap together a WAD where you only modify those numbers.
User avatar
Unknown_Assassin
Posts: 2468
Joined: Wed Apr 12, 2006 5:17 pm
Location: Where dead carcasses lie
Contact:

Re: Choosing which weapon has to be used after another one has..

Post by Unknown_Assassin »

The "Weapon.SelectionOrder" is what you want to adjust using DECORATE, in case you are still having trouble.
User avatar
phi108
Posts: 976
Joined: Sat Dec 01, 2007 6:28 pm

Re: Choosing which weapon has to be used after another one has..

Post by phi108 »

Weird, I hate using the BFG because it steals ammo from the plasma rifle.
User avatar
Unknown_Assassin
Posts: 2468
Joined: Wed Apr 12, 2006 5:17 pm
Location: Where dead carcasses lie
Contact:

Re: Choosing which weapon has to be used after another one has..

Post by Unknown_Assassin »

phi108 wrote:Weird, I hate using the BFG because it steals ammo from the plasma rifle.
You have to hit them dead on. :wink:
User avatar
phi108
Posts: 976
Joined: Sat Dec 01, 2007 6:28 pm

Re: Choosing which weapon has to be used after another one has..

Post by phi108 »

...which usually kills them instantly. Which isn't fun. Unlike many doomers, I don't like the BFG because it just makes the game too easy.
I only use it when there's just a big dude with way too much health, or an army of enemies in a boring combat area, situations where spending a lot of time fighting them would be boring.
User avatar
Pinky's ass
Posts: 507
Joined: Wed Sep 05, 2007 2:17 am
Location: ZDoom Forums

Re: Choosing which weapon has to be used after another one has..

Post by Pinky's ass »

Project Dark Fox wrote:I know both ZDaemon and Skulltag did have weapon priority menus, but vanilla ZDoom does not.
Can this be a good feature suggestion?
User avatar
Project Shadowcat
Posts: 9369
Joined: Thu Jul 14, 2005 8:33 pm
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Blacksburg, SC USA
Contact:

Re: Choosing which weapon has to be used after another one has..

Post by Project Shadowcat »

It'd actually be pretty pointless.
User avatar
Pinky's ass
Posts: 507
Joined: Wed Sep 05, 2007 2:17 am
Location: ZDoom Forums

Re: Choosing which weapon has to be used after another one has..

Post by Pinky's ass »

Really? :|
User avatar
Enjay
 
 
Posts: 26517
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Choosing which weapon has to be used after another one has..

Post by Enjay »

Project Dark Fox wrote:The rocket launcher's number is very high, and you will only select it automatically if you don't have the chainsaw (which is lower than the RL).
The +WEAPON.NOAUTOFIRE flag is worth mentioning. It stops the weapon firing if you autochange to it and happen to have the fire button pressed. Not too surprisingly, the RL has it.
User avatar
Project Shadowcat
Posts: 9369
Joined: Thu Jul 14, 2005 8:33 pm
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Blacksburg, SC USA
Contact:

Re: Choosing which weapon has to be used after another one has..

Post by Project Shadowcat »

Pinky's ass wrote:Really? :|
With all of the custom weapons mods and TCs coming out, which add or replace a plethora of new weapons, it'd make a restricting weapon selection set... useless.
In addition, consider the other games ZDoom has to support, and all of their weapons, plus the fact that the same weapons can be used again in other games, such as the Shotgun in Strife or what have you...
Wagi
Posts: 98
Joined: Sat Mar 01, 2008 2:12 pm

Re: Choosing which weapon has to be used after another one has..

Post by Wagi »

You can set the slot for each weapon, can't you? Why not just make it so you can define WEAPON.SELECTIONORDER in the .ini in each Weaponsection?
User avatar
Pinky's ass
Posts: 507
Joined: Wed Sep 05, 2007 2:17 am
Location: ZDoom Forums

Re: Choosing which weapon has to be used after another one has..

Post by Pinky's ass »

Wagi wrote:You can set the slot for each weapon, can't you? Why not just make it so you can define WEAPON.SELECTIONORDER in the .ini in each Weaponsection?
Chaos will follow. :wink:
Post Reply

Return to “General”