Urban Terror Forums: Assign action on extended keyboard keys. - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Assign action on extended keyboard keys. Rate Topic: -----

Scripting

#1 User is offline   campion Icon

  • Account: campion
  • Country:
  • Joined: 09-March 19
  • Posts: 7

Post icon  Posted 14 March 2019 - 08:20 PM

Is it possible to bind something on digits range?

#2 User is online   Iye Icon

  •   head moderator   
    Co-Chief Community Moderator
  • Account: iye
  • Country:
  • Joined: 07-June 11
  • Posts: 1,054

Posted 15 March 2019 - 12:04 AM

You mean keys that dont have a "name", just a hex value?

Maybe. The game does recognize bindings via bind 0xb1 +attack (to bind MOUSE1 to firing for example). I never checked whether the hex values conform to any standard, so you would have to experiment. Or maybe find documentaion on how quake3/ioquake3 handles this.
Sorry for my bad spelling - I am still asleep. :)

|=| Iye's UrT Addon |=| Firefox Personas |=| Maps |=|
http://www.mediafire...vk3a602hcfg.jpg

#3 User is offline   campion Icon

  • Account: campion
  • Country:
  • Joined: 09-March 19
  • Posts: 7

Posted 16 March 2019 - 05:56 PM

I mean 0-9 range keys on extended keyboard. Near "Num Lock", "/", "*", "-".

This post has been edited by campion: 16 March 2019 - 05:57 PM


#4 User is online   Iye Icon

  •   head moderator   
    Co-Chief Community Moderator
  • Account: iye
  • Country:
  • Joined: 07-June 11
  • Posts: 1,054

Posted 16 March 2019 - 06:12 PM

Oh. numpad keys. Sure. Here is a list. KP_UPARROW for example would be 8 button. Afaik the game will just ignore the state of numlock for keybinds.
Sorry for my bad spelling - I am still asleep. :)

|=| Iye's UrT Addon |=| Firefox Personas |=| Maps |=|
http://www.mediafire...vk3a602hcfg.jpg

#5 User is offline   campion Icon

  • Account: campion
  • Country:
  • Joined: 09-March 19
  • Posts: 7

Posted 17 March 2019 - 05:35 PM

There is missing description for keys 1,3,7,9. I would like to use them too.

bullet_loaderAdvertisement

#6 User is online   Iye Icon

  •   head moderator   
    Co-Chief Community Moderator
  • Account: iye
  • Country:
  • Joined: 07-June 11
  • Posts: 1,054

Posted 18 March 2019 - 04:04 AM

Just as KP_UPARROW is numpad 8, KP_HOME is numpad 7, just as it says on your keyboard. Same goes for the others:
KP_HOME : 1
KP_PGUP : 9
KP_PGDN : 3
KP_INS : 0
KP_DEL : ,


I suppose your keyboard may not have those printed on it though. Not an expert on no QWERTY/Z keyboards :)
Sorry for my bad spelling - I am still asleep. :)

|=| Iye's UrT Addon |=| Firefox Personas |=| Maps |=|
http://www.mediafire...vk3a602hcfg.jpg

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Sponsored link
https://www.urbanterror.info/members/donate/


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942