Auto Switch Weapon...HELP

Discussions about UT99
Post Reply
User avatar
MEAT
Adept
Posts: 299
Joined: Tue Apr 22, 2008 4:14 am
Personal rank: better then you...
Contact:

Auto Switch Weapon...HELP

Post by MEAT »

I've searched this topic but found a possible answer to be a little confusing.
In game while I'm playing, I'll run across a weapon, I pick it up and it automatically switches to that weapon.
For example: I have a pistol in hand, I'll run across a rifle...it picks it up and switches...now I have a rifle in hand.
I don't want that...in fact most of the time I don't want that weapon at all.
So, I've gone into my Menu Bar-Options-Weapons, and I've Unchecked Auto-Switch Weapons.
Now pistol stays in hand whenever I run across another weapon.
However, let's say I get killed during the game. The game now converts back to my problem.
I again have to go to Options-Weapons-Uncheck.
Question:
Where in my users.ini folder can I go and "Uncheck" this issue?
In a perfect world I want to run across/pick up a weapon and not see it until I scroll for it.
Image
User avatar
TankBeef
Masterful
Posts: 585
Joined: Tue Apr 13, 2021 12:56 am

Re: Auto Switch Weapon...HELP

Post by TankBeef »

Not at home right now, but I think is bNeverAutoSwitch=True, right?
Any mutator enabled that may be causing this?
User avatar
MEAT
Adept
Posts: 299
Joined: Tue Apr 22, 2008 4:14 am
Personal rank: better then you...
Contact:

Re: Auto Switch Weapon...HELP

Post by MEAT »

TankBeef wrote: Tue Jan 04, 2022 11:14 pm Not at home right now, but I think is bNeverAutoSwitch=True, right?
Any mutator enabled that may be causing this?
Got It !!!

[Engine.PlayerPawn]
bNeverAutoSwitch=True


[Engine.Pawn]
bNeverSwitchOnPickup=True
Image
User avatar
Que
Inhuman
Posts: 781
Joined: Mon Dec 09, 2019 5:49 am
Personal rank: ...
Contact:

Re: Auto Switch Weapon...HELP

Post by Que »

only way aside from write protecting user.ini to set this to off is..

1. exit server
2. set it through "weapons" setting. (un-tick)
3. close game
4. reopen game

should stay off now.
*Join our Discord Here.*
Our mods - MVX , SSB , SmartWFL , UTCmds , BotCommands , Smart Stats , join/leave announcer , NoSmoke , UTLogin , BrightSkins , Server Tran…
*Our Servers
User avatar
MEAT
Adept
Posts: 299
Joined: Tue Apr 22, 2008 4:14 am
Personal rank: better then you...
Contact:

Re: Auto Switch Weapon...HELP

Post by MEAT »

Que wrote: Thu Jan 06, 2022 9:08 am only way aside from write protecting user.ini to set this to off is..

1. exit server
2. set it through "weapons" setting. (un-tick)
3. close game
4. reopen game

should stay off now.
Actually, you can do the "unclicking" while playing/without exiting game or server.
The problem is if you die during the game...you have to repeat the process.
And every second counts when you're trying to save the world... :rocket2:
Image
User avatar
EvilGrins
Godlike
Posts: 9668
Joined: Thu Jun 30, 2011 8:12 pm
Personal rank: God of Fudge
Location: Palo Alto, CA
Contact:

Re: Auto Switch Weapon...HELP

Post by EvilGrins »

Weapon order switches automatically to higher numbers, but if you prefer specific weapons you can edit which ones get higher priority.

Mine currently looks like this...

[Engine.PlayerPawn]
WeaponPriority[0]=Translocator
WeaponPriority[1]=ClassKnife
WeaponPriority[2]=enforcer
WeaponPriority[3]=ut_biorifle
WeaponPriority[4]=UGSuperShockRifle
WeaponPriority[5]=PapriCannonGun
WeaponPriority[6]=UGEightBall
WeaponPriority[7]=ClassPython
WeaponPriority[8]=DispersionPistol
WeaponPriority[9]=ChainSaw
WeaponPriority[10]=goWarHeadLauncher
WeaponPriority[11]=UGBioCannon
WeaponPriority[12]=Saucier
WeaponPriority[13]=M16Silver
WeaponPriority[14]=CybotLauncher
WeaponPriority[15]=ClassGrenades
WeaponPriority[16]=ShockRifle
WeaponPriority[17]=SuperBoltRifle
WeaponPriority[18]=XidiaCarRifle
WeaponPriority[19]=SniperRifle

...that's just from playing with lots of weapons mutators, and there's a lot more than those; I usually manually edit it down to defaults every month or so.

But, if changing auto-switching to stop isn't the permanent fix you want, you could edit yours so that whatever weapons you prefer are the higher numbered ones and wouldn't be overridden by whatever else you picked up.

If you like the enforcer so much, for example, move it from [2] to [9].
http://unreal-games.livejournal.com/
Image
medor wrote:Replace Skaarj with EvilGrins :mrgreen:
Smilies · viewtopic.php?f=8&t=13758
User avatar
Que
Inhuman
Posts: 781
Joined: Mon Dec 09, 2019 5:49 am
Personal rank: ...
Contact:

Re: Auto Switch Weapon...HELP

Post by Que »

MEAT wrote: Thu Jan 06, 2022 7:57 pm
Que wrote: Thu Jan 06, 2022 9:08 am only way aside from write protecting user.ini to set this to off is..

1. exit server
2. set it through "weapons" setting. (un-tick)
3. close game
4. reopen game

should stay off now.
Actually, you can do the "unclicking" while playing/without exiting game or server.
The problem is if you die during the game...you have to repeat the process.
And every second counts when you're trying to save the world... :rocket2:
This method ensures that it stays off for good 👍😊
*Join our Discord Here.*
Our mods - MVX , SSB , SmartWFL , UTCmds , BotCommands , Smart Stats , join/leave announcer , NoSmoke , UTLogin , BrightSkins , Server Tran…
*Our Servers
User avatar
OjitroC
Godlike
Posts: 3605
Joined: Sat Sep 12, 2015 8:46 pm

Re: Auto Switch Weapon...HELP

Post by OjitroC »

An alert on setting
[Engine.Pawn]
bNeverSwitchOnPickup=True

After reading this thread I did this and in consequence weapon-holding scriptedpawns spawned with MonsterSpawn in a DM map appeared without weapons. What its wider effects are and in particular what impact it has on other gametypes I don't know. Just thought I would bring this to attention.
User avatar
TankBeef
Masterful
Posts: 585
Joined: Tue Apr 13, 2021 12:56 am

Re: Auto Switch Weapon...HELP

Post by TankBeef »

OjitroC wrote: Sun Jan 09, 2022 9:45 pm An alert on setting
[Engine.Pawn]
bNeverSwitchOnPickup=True

After reading this thread I did this and in consequence weapon-holding scriptedpawns spawned with MonsterSpawn in a DM map appeared without weapons. What its wider effects are and in particular what impact it has on other gametypes I don't know. Just thought I would bring this to attention.
Ah, so that could be why there are two options. One for just player pawns, the other for pawns in general, maybe?
User avatar
OjitroC
Godlike
Posts: 3605
Joined: Sat Sep 12, 2015 8:46 pm

Re: Auto Switch Weapon...HELP

Post by OjitroC »

TankBeef wrote: Sun Jan 09, 2022 10:02 pm
Ah, so that could be why there are two options. One for just player pawns, the other for pawns in general, maybe?
Yes, looks like it. I was rather taken aback when I saw the scriptedpawns with no weapons and it took me a while to work out the reason.
User avatar
sektor2111
Godlike
Posts: 6403
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: Auto Switch Weapon...HELP

Post by sektor2111 »

For games with Monsters I advice you to not mess with "Engine.Pawn" because monster need to switch weapon on pickup or else a SkaarjSniper in a tower goes useless (MH-Kroogar, etc.)
Post Reply