|
|
|||||||
| UT Mods/Mutators UT - Mods and Mutators Discussion |
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
#1 | |
|
Registered User
Join Date: Jul 2005
Posts: 11
|
Key Binding - Can This Be Done?
I have been looking for a way to easily change teams, while a game is in progress, for several days. To my knowledge there are no mutators available that accomplish this task for all game types. Eavy's Assault Bonus Pack actually does this perfectly but only for Assault mode and I generally spend most of my time playing CTF and Domination maps. I came across this little bit of information in The BIG Unnoficial Unreal Tournament FAQ
Quote:
The Question Is it possible to bind a key to press other keys? For example: By pressing the Q key the escape button is pressed twice, which for my case would return me to the game when I finish changing teams in the PlayerSetup window. FYI: Eavy does note that there used to be a console command for switching teams but Epic removed it to discourage people from doing so. He said the code still exists in UT which is how he was able to impliment it into his Assault pack. |
|
|
|
|
|
|
#2 |
|
Public Urinator
|
You can bind the UTPure command 'nextteam' for easy team switching. This is somewhat limited in that you can only switch to a team with fewer players than your own.
__________________
all your darkest fears |
|
|
|
|
|
#3 |
|
don't worry about it
|
Most servers are running pure so nextteam should work.
however you can set a key to hit escape twice by using MyKey=Whatever Command ESC Is | OnRelease Whatever Command ESC Is
__________________
It was on my fifth birthday that Papa put his hand on my shoulder and said, 'Remember, my son, if you ever need a helping hand, you'll find one at the end of your arm. -Sam Levenson |
|
|
|
|
|
#4 |
|
Registered User
Join Date: Jul 2005
Posts: 11
|
The only time I play my game is with my friends on a LAN and the teams are always even so I don't think pure would work for me.
What I want to be able to do is: 1. Press down the Q key which takes me to the player setup screen (using <key>=menucmd 2 1) 2. While the key is still held down I change my team color from one to the next 3. I release the Q key 4. When released the escape key is hit twice, returning me to my game. Looking at the code you gave me I am not sure if the escape key setup will work as a command needs to trigger it. Is there anyway to replace the command portion with onrelease or something similar? Also since the escape would be triggered using the onrelease command is there a way to have the key pressed twice? EDIT Would it be possible to create an alias that would run two other alias', each one pressing the escape key on the release of the Q key, to achive the double escape key effect? Last edited by Mulsiphix; 07-31-2005 at 04:41 PM. |
|
|
|
|
|
#5 |
|
don't worry about it
|
You need to write up an alias then if you want all that on one key punch.
You would need a line something like: Aliases[##]=(Command="menucmd 2 1| Onrelease ESC | ESC",Alias=QuickTeamSwitch) Then where you bind your keys Q=QuickTeamSwitch
__________________
It was on my fifth birthday that Papa put his hand on my shoulder and said, 'Remember, my son, if you ever need a helping hand, you'll find one at the end of your arm. -Sam Levenson |
|
|
|
|
|
#6 | |
|
Registered User
Join Date: Jul 2005
Posts: 11
|
Upon releasing the Q key nothing happens. I've never actually made an alias before so I am not to sure how I would tweak this to work. Any other ideas? I first tried doing it through the preferences menu and when I had no luck I edited the user.ini directly. Just to make sure I have this right here is what I have entered:
Quote:
I wasn't sure if tehre should be a space after the 1 and | in the menucmd section so I tried it with and without a space and had no luck either way. If I need to change it back to 1| just let me know. Thanks for your help with this, I appreciate it. Last edited by Mulsiphix; 07-31-2005 at 05:19 PM. |
|
|
|
|
|
|
#7 |
|
don't worry about it
|
instead of ESC try 'showmenu'
__________________
It was on my fifth birthday that Papa put his hand on my shoulder and said, 'Remember, my son, if you ever need a helping hand, you'll find one at the end of your arm. -Sam Levenson |
|
|
|
|
|
#8 |
|
Registered User
Join Date: Jul 2005
Posts: 11
|
At first it appeared showmenu did nothing but after trying to move I noticed it completely disabled my ability to move or fire until I started a new match. Any chance there is a menucmd that returns you to the game =)
Last edited by Mulsiphix; 07-31-2005 at 06:24 PM. |
|
|
|
|
|
#9 | |
|
Aiming at Creeper
|
Quote:
"reconnect" |
|
|
|
|
|
|
#10 |
|
Registered User
Join Date: Jul 2005
Posts: 11
|
I really don't need reconnect as showmenu didn't do anything but freeze my game. Not to mention any team changes I made would have to be reapplied.
![]() Any other idea's guys? Last edited by Mulsiphix; 07-31-2005 at 08:33 PM. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|