How do I set weapon priorities for Inf?

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Breydel

New Member
I installed Inf 2.71 over UT patch 413 yesterday in a hope that my UT weapons would stay intact but unfortionately they didn't.

Now I don't care that much about it but I want to customize my weapon priorities for Inf. In UT I "lost" the flak cannon (M3) and the minigun (MP5) so now I can't customize those two Inf weapons. I don't want to change the key boundings either where it says that the flak equals the MP3 (for example) because then it would not work online or I would have crazy weapon spreading offline.

Is it possible to hard code it in one of the ini files? Thanks in advance.
 

Bad.Mojo

Commander in Chief o' the BMA
Mar 17, 2000
1,758
0
0
43
Ottawa, Ontario
The user.ini file in your UnrealTournament/System directory... should have the following lines...

[Engine.PlayerPawn]
WeaponPriority[0]=
WeaponPriority[1]=
WeaponPriority[2]=
WeaponPriority[3]=
WeaponPriority[4]=
WeaponPriority[5]=
WeaponPriority[6]=
WeaponPriority[7]=
WeaponPriority[8]=
WeaponPriority[9]=
WeaponPriority[10]=
WeaponPriority[11]=
WeaponPriority[12]=
WeaponPriority[13]=
WeaponPriority[14]=
WeaponPriority[15]=
WeaponPriority[16]=
WeaponPriority[17]=
WeaponPriority[18]=
WeaponPriority[19]=
Password=
DodgeClickTime=0.250000
Bob=0.016000
DesiredFOV=90.000000
DefaultFOV=90.000000
MyAutoAim=1.000000
Handedness=-1.000000
bLookUpStairs=False
bSnapToLevel=False
bAlwaysMouseLook=True
bKeyboardLook=True
bInvertMouse=False
bMaxMouseSmoothing=True
bNoFlash=False
bNoVoices=False
bMessageBeep=True
bNeverAutoSwitch=False
MouseSensitivity=3.000000
MouseSmoothThreshold=0.070000
MaxTimeMargin=3.000000
ngWorldSecret=
ngSecretSet=
WeaponPriority[20]=
WeaponPriority[21]=
WeaponPriority[22]=
WeaponPriority[23]=
WeaponPriority[24]=
WeaponPriority[25]=
WeaponPriority[26]=
WeaponPriority[27]=
WeaponPriority[28]=
WeaponPriority[29]=
WeaponPriority[30]=
WeaponPriority[31]=
WeaponPriority[32]=
WeaponPriority[33]=
WeaponPriority[34]=
WeaponPriority[35]=
WeaponPriority[36]=
WeaponPriority[37]=
WeaponPriority[38]=
WeaponPriority[39]=
WeaponPriority[40]=
WeaponPriority[41]=
WeaponPriority[42]=
WeaponPriority[43]=
WeaponPriority[44]=
WeaponPriority[45]=
WeaponPriority[46]=
WeaponPriority[47]=
WeaponPriority[48]=
WeaponPriority[49]=

but those weaponpriority[xx]= will all have something next to them. What I recommend is set your UT weapon priorities first, starting at 0 (lowest) to the highest, for a total of 15 weapons, slots 0 - 14 (chainsaw/translocator/impact hammer all go in slot 1 redeemer/sniper rifle in slot 0, enforcer and double enforcer in 2, and shockrifle and super shockrifle... that's why its fifteen)... then at the sixteenth weapon priority, start setting your INF weapon priorities, again from lowest to highest. This way, it'll run through the user.ini file in the page frame, come across your priorities, and boom. If you're on UT, it'll use UT. if you're running INF, it'll use the INF ones in their order, and ignore the UT weapons completely.

p.s.: here are all the weapon names, some are kinda "funny" (ie: stupid)
UT weapons in alphabetical order:

ChainSaw
DoubleEnforcer
enforcer
ImpactHammer
Minigun2
PulseGun
ripper
ShockRifle
SniperRifle
SuperShockRifle
Translocator
UT_BioRifle
UT_Eightball
UT_FlakCannon
WarheadLauncher

INF weapons in alphabetical order:

INFIL_UTAT4LAUNCHER
INFIL_UTGrenade
INFIL_UTHK69
INFIL_UTM16
INFIL_UTM9
INFIL_UTMP5
INFIL_UTPSGRifle
INFIL_UTRobar
INFIL_UTShotgun

there you have it. They all pretty much speak for themselves. Just put those (and only those, it already knows to look in the weapons actor class, so don't go adding botpack. or InfiltrationUT. before those) in the order you want them, in those lines I posted above, and you're all set.

Hope this was helpful.

edit: I misspelled enforcer =). I almost did it again in that sentence, too.

------------------
Cinema, simulated life and drama/Birthright, culture, Americana/
The change in adrenaline got you searchin' for/the thin line between entertainment and war
There be no shelter here/the front line is everywhere

[This message has been edited by Bad.Mojo (edited 04-04-2000).]
 

Breydel

New Member
Thanks for the detailed reply! I also read your previous edition with the batch file. /infopop/emoticons/icon_smile.gif

Currently I have left out the translocator, IH and chainsaw because I have the first two on shortkeys anyway and I never want them to pop up. So that means my total weapon inventory is at 20 weapons again and I should be able to use the same file in UT and Inf. Already tried in Inf and it worked great. Still have to try UT.

Here is my current list:

WeaponPriority[0]=Enforcer
WeaponPriority[1]=SniperRifle
WeaponPriority[2]=UT_Eightball
WeaponPriority[3]=DoubleEnforcer
WeaponPriority[4]=UT_BioRifle
WeaponPriority[5]=PulseGun
WeaponPriority[6]=ripper
WeaponPriority[7]=ShockRifle
WeaponPriority[8]=Minigun2
WeaponPriority[9]=UT_FlakCannon
WeaponPriority[10]=WarheadLauncher
WeaponPriority[11]=INFIL_UTGrenade
WeaponPriority[12]=INFIL_UTAT4Launcher
WeaponPriority[13]=INFIL_UTHK69
WeaponPriority[14]=INFIL_UTPSGRifle
WeaponPriority[15]=INFIL_UTRobar
WeaponPriority[16]=INFIL_UTM9
WeaponPriority[17]=INFIL_UTShotgun
WeaponPriority[18]=INFIL_UTM16
WeaponPriority[19]=INFIL_UTMP5


Thanks again for the feedback.

[This message has been edited by Breydel (edited 04-04-2000).]
 

Bad.Mojo

Commander in Chief o' the BMA
Mar 17, 2000
1,758
0
0
43
Ottawa, Ontario
Yiah, I thought you said 405 so I made a long diatribe about batch files and possibly tentacle porn too, though I'm not sure. Then you said "on top of the patch" and I realised, well hot damn, 413 has like... more weapons... but it looks good so far, though I know what you mean - infiltration ate my 8ball.

------------------
Cinema, simulated life and drama/Birthright, culture, Americana/
The change in adrenaline got you searchin' for/the thin line between entertainment and war
There be no shelter here/the front line is everywhere