Urban Terror Forums: (SCRIPTS) Layering problems? - 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

(SCRIPTS) Layering problems? Rate Topic: -----

#1 User is offline   Xcl4m4t10n Icon

  • Account: xcl4m4t10n
  • Joined: 21-July 12
  • Posts: 62

Posted 29 September 2013 - 02:47 PM

As i post some days ago, i was making a turn script. The thing is that i have another script for zoom and another for normal turn (not walk turn):

//ZOOM
bind MOUSE2 "+vstr zoom_on zoom_off"
set zoom_on "ut_zoomin;bind f ut_zoomin"
set zoom_off "ut_zoomreset;bind f +button3;wait 2"


//TURN
bind MOUSE4 "vstr turn"
set turn "cl_yawspeed 22500; +left; wait 2; -left; cl_yawspeed 140"


//WALK TURN
bind CTRL "+vstr walk_on walk_off"
set walk_on "+speed;bind MOUSE4 vstr turn_walk"
set turn_walk "cl_yawspeed 45000; +left; wait 2; -left; cl_yawspeed 140"
set walk_off "-speed;bind MOUSE4 vstr turn;wait 2"

Im having the next problem:

If I press both zoom and walk scripts and release one of them, the other one doesn't finish. For example, I press control to walk, then i press MOUSE2 for zoom. Then i release zoom and, after release zoom, i release CTRL then, my character continues walking instead stop and beign normal walk (run, not sprint).

#2 User is online   Iye Icon

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

Posted 29 September 2013 - 10:53 PM

well. this is Q3A scripting. its awesome but not Autohotkey.

You cant get this fixed imo. (cant imagine a solution. Might be because you cant have to +vstr running at a time.

Best thing i can imagine:


//deactivate everything key
bind KEY "-attack;-button5;-button8;-button3;-speed;ut_zoomreset";


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   Runamok Icon

  • Account: runamok
  • Main tag: -WAR-
  • Country:
  • Joined: 01-March 10
  • Posts: 472

Posted 30 September 2013 - 02:16 AM

stuck +vstr scripts has been an issue in Urt for a while, unfortunately :s
I made an "off key" to fix mine..

e.g bind H "vstr zoom_off;vstr walk_off"
-WAR-Runamok`

cyrus: "Camping" is a non-issue for a player that uses his/her head.

#4 User is online   Iye Icon

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

Posted 30 September 2013 - 10:22 AM

View PostRunamok, on 30 September 2013 - 02:16 AM, said:


e.g bind H "vstr zoom_off;vstr walk_off"


this is actually the better solution, since it does not only disable the +/- action but also resets other vars changed in the stuck binds (like cl_yawspeed)
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

Advertisement


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