Unreal Playground  

Go Back   Unreal Playground > Games > Unreal Tournament > UT Mods/Mutators

UT Mods/Mutators UT - Mods and Mutators Discussion

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-31-2005, 10:35 AM   #1
Mulsiphix
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:
Fast PlayerSetup
<key>=menucmd 2 1
This brings up the player setup menu for faster team switching.
The only way I know how to change teams is to go into the Player Setup area and to change your color once the game has started. By using the Fast PlayerSetup key bind I am able to get to the screen nice and quickly but still have to hit the Escape key twice to return to my game.

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.
Mulsiphix is offline   Reply With Quote
Old 07-31-2005, 10:51 AM   #2
Scourgem
Public Urinator
 
Scourgem's Avatar
 
Join Date: Oct 2002
Posts: 2,405
Downloads: 13

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
Scourgem is offline   Reply With Quote
Old 07-31-2005, 01:19 PM   #3
King Mango
don't worry about it
 
King Mango's Avatar
 
Join Date: Feb 2003
Location: Just another lost Angyul
Posts: 7,424
Downloads: 37

Send a message via Yahoo to King Mango
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
King Mango is offline   Reply With Quote
Old 07-31-2005, 04:31 PM   #4
Mulsiphix
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.
Mulsiphix is offline   Reply With Quote
Old 07-31-2005, 04:55 PM   #5
King Mango
don't worry about it
 
King Mango's Avatar
 
Join Date: Feb 2003
Location: Just another lost Angyul
Posts: 7,424
Downloads: 37

Send a message via Yahoo to King Mango
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
King Mango is offline   Reply With Quote
Old 07-31-2005, 05:16 PM   #6
Mulsiphix
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:
Aliases[26]=(Command="menucmd 2 1 | Onrelease ESC | ESC",Alias=QuickTeamSwitch)

Q=QuickTeamSwitch
EDIT
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.
Mulsiphix is offline   Reply With Quote
Old 07-31-2005, 05:53 PM   #7
King Mango
don't worry about it
 
King Mango's Avatar
 
Join Date: Feb 2003
Location: Just another lost Angyul
Posts: 7,424
Downloads: 37

Send a message via Yahoo to King Mango
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
King Mango is offline   Reply With Quote
Old 07-31-2005, 06:21 PM   #8
Mulsiphix
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.
Mulsiphix is offline   Reply With Quote
Old 07-31-2005, 06:44 PM   #9
HortonsWho
Aiming at Creeper
 
HortonsWho's Avatar
 
Join Date: Jun 2001
Posts: 12,321
Downloads: 26

Quote:
Originally Posted by Mulsiphix
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 =)

"reconnect"
HortonsWho is offline   Reply With Quote
Old 07-31-2005, 06:47 PM   #10
Mulsiphix
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.
Mulsiphix is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -5. The time now is 06:54 PM.


Powered by: vBulletin Version 3 something...
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Style and Content © 2001-2009 Unreal Playground