Urban Terror Forums: unexpected weapon autoswitch - 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

unexpected weapon autoswitch Rate Topic: -----

#1 User is offline   smoothshot Icon

  • Account: smoothshot
  • Joined: 04-September 12
  • Posts: 15

Posted 11 December 2013 - 08:35 PM

Hi people,

I dont' know what it's happening... but I notice a strange behaviour when engage a fight with an opponent... for example, I'm with the primary arm (ie. Psg, AK whatever else..) the fight start and if we go to be close,, suddenly my weapon change to knife :-\ ...but, not for my choice... simply auto switch... Other example I'm with my primary weapon behind a corner... an opponent come out suddenly close to me and my weapon autoswith to knife... I don't know wtf it's happening, but it's really annoying...

I dont' think to have a particular config... I use an autoexec.cfg with some bind as :

// WEAPON BIND
bind g "ut_weaptoggle Knife"
bind f "ut_weaptoggle grenade"
bind AUX1 "ut_weaptoggle primary sidearm"


thx in advance

#2 User is offline   iynque Icon

  •   verified user   
  • Account: iynque
  • Main tag:
  • Country:
  • Joined: 11-August 13
  • Posts: 140

Posted 11 December 2013 - 09:37 PM

The only thing that comes to mind would be MWHEELUP and/or MWHEELDOWN is bound to weapnext and/or weapprev

I used to randomly switch weapons until I realized the game was set to change them on "mouse wheel" and my touch-scrolling mouse was frequently sending tiny scroll commands to UrT.

…but since you always seem to land on knife, if might be useful to search all of your configs for weapon 1 and then for ut_weaptoggle knife. Both of those should switch directly to the knife, so check to see if there's anything odd that might be triggering it.
|FA|iynque 😈 Fallin-Angels

#3 User is offline   smoothshot Icon

  • Account: smoothshot
  • Joined: 04-September 12
  • Posts: 15

Posted 11 December 2013 - 10:42 PM

View Postiynque, on 11 December 2013 - 09:37 PM, said:

The only thing that comes to mind would be MWHEELUP and/or MWHEELDOWN is bound to weapnext and/or weapprev

I used to randomly switch weapons until I realized the game was set to change them on "mouse wheel" and my touch-scrolling mouse was frequently sending tiny scroll commands to UrT.

…but since you always seem to land on knife, if might be useful to search all of your configs for weapon 1 and then for ut_weaptoggle knife. Both of those should switch directly to the knife, so check to see if there's anything odd that might be triggering it.



thx for ur advices...

btw... the MWHEELUP and MWHEELDOWN are set for the zoom... nevertheless in autoexec.cfg I have a bind for knife on key 'g'

bind g "ut_weaptoggle Knife"

now, I'll try to disable it and test it...

thx

#4 User is offline   smoothshot Icon

  • Account: smoothshot
  • Joined: 04-September 12
  • Posts: 15

Posted 13 December 2013 - 08:59 AM

View Postiynque, on 11 December 2013 - 09:37 PM, said:

The only thing that comes to mind would be MWHEELUP and/or MWHEELDOWN is bound to weapnext and/or weapprev

I used to randomly switch weapons until I realized the game was set to change them on "mouse wheel" and my touch-scrolling mouse was frequently sending tiny scroll commands to UrT.

…but since you always seem to land on knife, if might be useful to search all of your configs for weapon 1 and then for ut_weaptoggle knife. Both of those should switch directly to the knife, so check to see if there's anything odd that might be triggering it.



Hi,

just for update this post... as wrote above, I tried to comment that bind, but unexpectedly that bind still work ?! :O

looking more in deep, I looked into q3config.cfg and I found that bind still alive there... ?!? and also another same bind to other key 'x' ... :|

..but isn't the q3config.cfg always rewrite ?!? btw I del every bind on knife, I let it only on '1' ... and know I'll test if happen such beaviour...

#5 User is offline   rastablaster Icon

  • Account: rastablaster
  • Country:
  • Joined: 08-April 10
  • Posts: 118

Posted 13 December 2013 - 11:00 AM

just for update this post... as wrote above, I tried to comment that bind, but unexpectedly that bind still work ?! :O


it may be that your cfg.file is marked as "read only"

bullet_loaderAdvertisement

#6 User is offline   smoothshot Icon

  • Account: smoothshot
  • Joined: 04-September 12
  • Posts: 15

Posted 13 December 2013 - 01:00 PM

View Postrastablaster, on 13 December 2013 - 11:00 AM, said:

just for update this post... as wrote above, I tried to comment that bind, but unexpectedly that bind still work ?! :O


it may be that your cfg.file is marked as "read only"



it no seems, it is 600 (rw - - ) ?! now I changed it to 666 ...I'll see...

#7 User is offline   JRandomNoob Icon

  •   moderator   
    Community Moderator

Posted 13 December 2013 - 02:08 PM

When you start the game q3onfig.cfg is loaded first and autoexec.cfg second. If any of the entries differ the one in autoexec.cfg takes precedence. Note the wording: “entries differ”. If you delete or comment out a bind in your autoexec.cfg it will still be loaded from the q3config.cfg because there’s nothing in the autoexec.cfg to overwrite it; if a bind is loaded on startup it will of course be written back on shutdown. If you want to ensure that a key is definitely unbound by your autoexec.cfg you should bind it to empty value (bind x ""). It’s a good idea to go through your q3config.cfg every now and then and delete old garbage that inevitably accumulates if you try out new things.
dswp.de
Beginner’s Guide to Urban Terror (woefully out of date)
Daily Deadnade (Last updated September 9, 2016)

#8 User is offline   smoothshot Icon

  • Account: smoothshot
  • Joined: 04-September 12
  • Posts: 15

Posted 14 December 2013 - 10:44 PM

View PostJRandomNoob, on 13 December 2013 - 02:08 PM, said:

When you start the game q3onfig.cfg is loaded first and autoexec.cfg second. If any of the entries differ the one in autoexec.cfg takes precedence. Note the wording: “entries differ”. If you delete or comment out a bind in your autoexec.cfg it will still be loaded from the q3config.cfg because there’s nothing in the autoexec.cfg to overwrite it; if a bind is loaded on startup it will of course be written back on shutdown. If you want to ensure that a key is definitely unbound by your autoexec.cfg you should bind it to empty value (bind x ""). It’s a good idea to go through your q3config.cfg every now and then and delete old garbage that inevitably accumulates if you try out new things.


completely agree with you... thx to point out this...

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

Advertisement


Copyright © 1999-2025 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