You see the numbers right here?
I finally set up a nice user.ini and made all keybinds and stuff. I want to change the number of the weapons. For example, the impact hammer and translocator slot should display "Q/E"; then the enforcer "E"; the biorifle and shock "1" etc.
I tried looking into the Engine and BotPack textures but I think these are drawn from the HUD
Where's such function and can I override it (assuming it's safe for online play)?
Change weapon slots number
- papercoffee
- Godlike
- Posts: 10448
- Joined: Wed Jul 15, 2009 11:36 am
- Personal rank: coffee addicted !!!
- Location: Cologne, the city with the big cathedral.
- Contact:
Re: Change weapon slots number
Do you mean a simple key-bind?
I use this:
Because I'm an arrow-key player, I need the weapons close to them.
I use this:
Code: Select all
NumPad0=DoubleJump|Jump
NumPad1=SwitchWeapon 1
NumPad2=SwitchWeapon 2
NumPad3=SwitchWeapon 3
NumPad4=SwitchWeapon 4
NumPad5=SwitchWeapon 5
NumPad6=SwitchWeapon 6
NumPad7=SwitchWeapon 7
NumPad8=SwitchWeapon 8
NumPad9=SwitchWeapon 9
Re: Change weapon slots number
I'm sorry, the attachment didn't work
I mean these numbers (1, 2 and 7 here, since they are the weapons I got)
I want to change the numbers displayed
ps: i'm actually switching to arrows because I think it's better
I mean these numbers (1, 2 and 7 here, since they are the weapons I got)
I want to change the numbers displayed
ps: i'm actually switching to arrows because I think it's better
der Kas... the cheesy prison supervisor...
- papercoffee
- Godlike
- Posts: 10448
- Joined: Wed Jul 15, 2009 11:36 am
- Personal rank: coffee addicted !!!
- Location: Cologne, the city with the big cathedral.
- Contact:
Re: Change weapon slots number
Oh ...ok. That's HUD related and I think that's not possible without editing the HUD.
But I'm not a coder (or engine guru) So ...I might be wrong.
But I'm not a coder (or engine guru) So ...I might be wrong.
Re: Change weapon slots number
See for example ChallengeHUD.DrawWeapons():
I'm afraid you have to change the HUD code and use some custom Textures.
Code: Select all
for ( i=1; i<11; i++ ) {
...
Canvas.DrawTile(Texture'BotPack.HUDWeapons',TexX,TexY,WeapX,WeapY,64.0,32.0);
...
Canvas.DrawTile(Texture'BotPack.HudElements1', AmmoScale, 8 * WeapScale,64,64,128.0,8.0);
...
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett