Page 1 of 1

[Engine.PlayerPawn] weapons editing

Posted: Tue Feb 13, 2024 8:07 pm
by EvilGrins
Part of the contents of User.ini, that file which governs much of what you do in-game, is this which manages the impact (among other things) of the priority of weapons. Like how you have a minigun but when you pick up the rocket launcher it then switched to it automatically... because it has a higher priority than the minigun.

Thing is though if you use a lot of weapon mutators, in your own games or playing on other people's servers, more weapons are added to it and it rearranges the priority of the weapons.

Like so:
[Engine.PlayerPawn]
WeaponPriority[0]=Translocator
WeaponPriority[1]=ChainSaw
WeaponPriority[2]=ImpactHammer
WeaponPriority[3]=enforcer
WeaponPriority[4]=doubleenforcer
WeaponPriority[5]=ut_biorifle
WeaponPriority[6]=ShockRifle
WeaponPriority[7]=PulseGun
WeaponPriority[8]=SniperRifle
WeaponPriority[9]=ripper
WeaponPriority[10]=minigun2
WeaponPriority[11]=UT_FlakCannon
WeaponPriority[12]=UT_Eightball
WeaponPriority[13]=WarheadLauncher
WeaponPriority[14]=SuperShockRifle
WeaponPriority[15]=fireworks
WeaponPriority[16]=BRipper
WeaponPriority[17]=UT_Eightball
WeaponPriority[18]=bMinigun
WeaponPriority[19]=WarheadLauncher
WeaponPriority[20]=BFlakCannon
WeaponPriority[21]=sniper2
WeaponPriority[22]=GalticLauncher
WeaponPriority[23]=lsaber
WeaponPriority[24]=DispersionPistol
WeaponPriority[25]=Flak2
WeaponPriority[26]=CUTSG
WeaponPriority[27]=ClassKnife
WeaponPriority[28]=DualShockRifle
WeaponPriority[29]=BuniDuster2
WeaponPriority[30]=Flak2Grenade
WeaponPriority[31]=ch_WarheadLauncher
WeaponPriority[32]=CherryBomb
WeaponPriority[33]=M16Silver
WeaponPriority[34]=RozzRifle
WeaponPriority[35]=M16Sniper
WeaponPriority[36]=sledge
WeaponPriority[37]=uzi
WeaponPriority[38]=BlossoMatic2
WeaponPriority[39]=ClassPython
WeaponPriority[40]=SWShockRifle
WeaponPriority[41]=ChainSaw
WeaponPriority[42]=FixGun
WeaponPriority[43]=ImpactHammer
WeaponPriority[44]=enforcer
WeaponPriority[45]=ClassGrenades
WeaponPriority[46]=UGBioCannon
WeaponPriority[47]=doubleenforcer
WeaponPriority[48]=ut_biorifle
WeaponPriority[49]=SuperShockRifle

That was my User.ini about 5 minutes ago.

Because of this I made a backup file called "Weapons Fun" which has my preferred priorities in it. So I open that, copy and past the section (there's a few in there I saved for different gametypes) I want, delete the extras that exceed my preferred, and I'm good to go.

This is my usual default:
[Engine.PlayerPawn]
WeaponPriority[0]=Translocator
WeaponPriority[1]=ChainSaw
WeaponPriority[2]=ImpactHammer
WeaponPriority[3]=enforcer
WeaponPriority[4]=doubleenforcer
WeaponPriority[5]=ut_biorifle
WeaponPriority[6]=ShockRifle
WeaponPriority[7]=PulseGun
WeaponPriority[8]=SniperRifle
WeaponPriority[9]=ripper
WeaponPriority[10]=minigun2
WeaponPriority[11]=UT_FlakCannon
WeaponPriority[12]=UT_Eightball
WeaponPriority[13]=WarheadLauncher
WeaponPriority[14]=SuperShockRifle
WeaponPriority[15]=fireworks

How do you other players handle this? Same as me?

Re: [Engine.PlayerPawn] weapons editing

Posted: Tue Feb 13, 2024 11:25 pm
by OjitroC
I ignore the Priority - there's a setting under [Engine.PlayerPawn] bNeverAutoSwitch and I have that set to True. That way I don't have to mess with the WeaponPriority list which, for me, contains many Translocator entries - possibly as I use some weapons that aren't 'recognised'.

I used to alter the Priority List but gave up because of the hassle and the realisation that I didn't need to use it.

Re: [Engine.PlayerPawn] weapons editing

Posted: Wed Feb 14, 2024 2:16 am
by papercoffee
OjitroC wrote: Tue Feb 13, 2024 11:25 pm I used to alter the Priority List but gave up because of the hassle and the realisation that I didn't need to use it.
Same.

I think 2 weeks after I had UT on my first PC running I disabled auto switch on pick up.
And never turned it back on.