Urban Terror Forums: Mac Key Bindinds - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Mac Key Bindinds Rate Topic: -----

Weird behavior

#1 User is offline   Kolossus Icon

  • Account: kolossus
  • Joined: 28-September 10
  • Posts: 386

Posted 19 January 2014 - 02:37 PM

I've modified my q3config.cfg file, and the first time I load the game after the edit, they work all fine.

However if I close the game/restart my computer (not sure which one is the factor), they stop working. The configuration file is still the way I left it so... What's wrong?

By the way, some commands keep working, for example, pressing X on my keyboard switches to knife, and H opens the console, but the numbers above the keyboard won't work anymore (I want to use them for radio binds).

Any help is appreciated!

#2 User is offline   Iye Icon

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

Posted 21 January 2014 - 08:49 AM

hm.
might be that you did something like IN CONSOLE, if put into a cfg this does not apply.
[code]
bind X "vstr troll";
settroll "say ima troll";
[\code]
the fact that you used set will tell the game NOT to save the cvar into your q3config.
this is usefull when you got many of such cvars and dont want to spam your q3config, so you put them all into a different cfg file and exec it (either via console or autoexec.cfg)
Alternatively you could use seta.


btw. dont mod your q3config (except for ingame settings)
i'd do all other binds into a different cfg

but somehow i think that this is not your problem here :)
still trying ro manually exec your q3config (exec q3config) might be worth a try.

i also could imagine that your keyboard layout was changed......
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   Kolossus Icon

  • Account: kolossus
  • Joined: 28-September 10
  • Posts: 386

Posted 21 January 2014 - 11:56 AM

Hi Iye, thanks for the reply.

My layout has not been changed, I think, but I can say that when I have a clean UrT installation, the numbers over my letters (not numpad) will work except the number 1 for the knife. Since I don't use the other ones anyway, I decided to use them for radio commands, but it only works the first time (sometimes) and then it stops...

I bind them by writing (some examples)

bind 1 "ut_radio 3 3 MEDIC!"
bind 2 "ut_radio 1 1 Got it!"
bind 3 "ut_radio 1 2 Nope!"


But also, why the autoexec file is not... autoexecuting? :P

#4 User is offline   ObScUrE Icon

  •   head moderator   
    Co-Chief Community Moderator
  • Account: obscure
  • Country:
  • Joined: 28-February 10
  • Posts: 2,192

Posted 21 January 2014 - 12:12 PM

Maybe you have to rename it from autoexec_example.cfg to autoexec.cfg

Quote

BenQ-XL2420T|Filco-Ninja-TKL-MXRed|Logitech-G403|AKG-K70201000010 01101100 01110101 01110100 01010010 01100001 01110101 00100100 01100011 01101000~The quieter you become, the more you are able to hear.~

#5 User is offline   Iye Icon

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

Posted 21 January 2014 - 12:17 PM

yeah in 4.2 there is no autoexec created by default.
you could just create one (a simple .txt file renamed to .cfg)
Sorry for my bad spelling - I am still asleep. :)

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

bullet_loaderAdvertisement

#6 User is offline   Kolossus Icon

  • Account: kolossus
  • Joined: 28-September 10
  • Posts: 386

Posted 21 January 2014 - 12:23 PM

View PostObScUrE, on 21 January 2014 - 12:12 PM, said:

Maybe you have to rename it from autoexec_example.cfg to autoexec.cfg


Hi Obscure, yes I did rename it and that's also why I'm kind of confused. :( By the way, I exclude a problem concerning the extension, since it's correctly categorized as "configuration file" and not just a plain text file.

#7 User is offline   Kolossus Icon

  • Account: kolossus
  • Joined: 28-September 10
  • Posts: 386

Posted 22 January 2014 - 06:57 PM

I have some news: I tried using the radio normally with no particular reason behind it... Well, when I press U I get the radio window, but pressing the numbers won't work! I think that's why.

The cfg is correct, Urban Terror is not recognizing my keyboard correctly somehow. What can I do? Anyone had this problem before?

#8 User is offline   Iye Icon

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

Posted 22 January 2014 - 10:03 PM

hm. now thats a mac problem. cant help you there :)

you could try binding the hex values of the keys

Tried out some stuff with that some time ago IN 4.1 (dont see a reason why this should not work in 4.2)
I think i even have a list of all hex values somewhere, but here are the number keys:

bind 0x31 "echo Key1;"; //Numberkey '1';
bind 0x32 "echo Key2;"; 
bind 0x33 "echo Key3;";
bind 0x34 "echo Key4;";
bind 0x35 "echo Key5;";


so binding your stuff to these wont fix your radio menu, but the keys might work for normal gameplay.

Tested on Windows though....

This post has been edited by Iye: 22 January 2014 - 10:04 PM

Sorry for my bad spelling - I am still asleep. :)

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

#9 User is offline   ObScUrE Icon

  •   head moderator   
    Co-Chief Community Moderator
  • Account: obscure
  • Country:
  • Joined: 28-February 10
  • Posts: 2,192

Posted 23 January 2014 - 05:43 AM

When you set your binds over the controls menu will they get correctly displayed?

Quote

BenQ-XL2420T|Filco-Ninja-TKL-MXRed|Logitech-G403|AKG-K70201000010 01101100 01110101 01110100 01010010 01100001 01110101 00100100 01100011 01101000~The quieter you become, the more you are able to hear.~

#10 User is offline   Kolossus Icon

  • Account: kolossus
  • Joined: 28-September 10
  • Posts: 386

Posted 23 January 2014 - 11:31 AM

View PostObScUrE, on 23 January 2014 - 05:43 AM, said:

When you set your binds over the controls menu will they get correctly displayed?


Well, everything except the "W", on the controls it says "Z". So I think Urt sees my layout as QZERTY and not QWERTY. I say UrT because the W is a W when I type.

By the way, I had thought that it could be a problem of recognizing keys, so I tried changing my input layout to UK, US, and International US but no luck... I don't know what to do now.

This post has been edited by Kolossus: 23 January 2014 - 11:39 AM


  • (2 Pages)
  • +
  • 1
  • 2
  • 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