Tripwire Interactive Forums

Go Back   Tripwire Interactive Forums > Red Orchestra 2 / Rising Storm Forums > Technical Support > RO2/RS Support

Reply
 
Thread Tools Display Modes
  #1  
Old 01-14-2012, 02:35 AM
Divinehammer's Avatar
Divinehammer Divinehammer is offline
Senior Member
 
Join Date: Mar 2006
Location: Sunny, Obamalot
Posts: 1,391
Default How to bind Sry and NP to keyboard key

I would like to bind sorry and NP to a keyboard key how do i go about that? Further i have typed Np but I dont see where i forgave someone what channel does that need to be typed on will team suffice? I never talk on the global chat.
__________________
People sleep peaceably in their beds at night only because rough men stand ready to do violence on their behalf. -George Orwell
Maps: Dubrava, Pavlov's House
Shared Links
Reply With Quote
  #2  
Old 01-14-2012, 09:32 AM
Fisher's Avatar
Fisher Fisher is offline
Senior Member
 
Join Date: Sep 2011
Location: Crawley, England
Posts: 408
Default

I doubt there is a way to do it.
Reply With Quote
  #3  
Old 01-14-2012, 09:42 AM
swatx's Avatar
swatx swatx is offline
Member
 
Join Date: Jul 2011
Location: Vilnius, Lithuania
Posts: 42
Default

"Sorry" and "NP" are just simple chat commands:

Code:
say Sorry
say NP
you can no doubt test in this in the console. I could be poking in the dark here but theoretically all you need to do is bind a key to this command. Something like:

Code:
Bindings=(Name="L",Command="say Sorry")
This should be bind the command to the L key. I haven't tested this so I'm not sure it will work but it's worth a try. You probably need to put this somewhere in ROInput.ini.

P.S. You will probably want to use team chat instead of global chat. I don't know the exact command for that but it should be something like say_t or similar. I'm sure someone will correct me on this one.

Last edited by swatx; 01-14-2012 at 09:44 AM.
Reply With Quote
  #4  
Old 01-14-2012, 06:10 PM
Tummel Tummel is offline
Senior Member
 
Join Date: Sep 2011
Posts: 149
Default

teamsay np

1st time you type it into console, it displays nothing. Quoting meself from similar thread:

Quote:
Originally Posted by Tummel View Post
It shows up if you repeatedly type it 5-6 times in console. I usually hit np, <enter> followed by <up-arrow><enter> as many times as neede to show up np.

Frustrating? Hell yes. Could be done better? Absolutely.
Reply With Quote
  #5  
Old 01-14-2012, 06:56 PM
Divinehammer's Avatar
Divinehammer Divinehammer is offline
Senior Member
 
Join Date: Mar 2006
Location: Sunny, Obamalot
Posts: 1,391
Default

Ok so on what level do you need to type np is it global chat or team chat?
__________________
People sleep peaceably in their beds at night only because rough men stand ready to do violence on their behalf. -George Orwell
Maps: Dubrava, Pavlov's House
Shared Links
Reply With Quote
  #6  
Old 01-14-2012, 07:17 PM
Major_Day's Avatar
Major_Day Major_Day is offline
Senior Member
 
Join Date: Feb 2007
Location: Glasgow, Scotland
Posts: 2,548
Default

Quote:
Originally Posted by Divinehammer View Post
I would like to bind sorry and NP to a keyboard key how do i go about that? Further i have typed Np but I dont see where i forgave someone what channel does that need to be typed on will team suffice? I never talk on the global chat.
Add this to ROInput/[ROGame.ROPlayerInput]

Bindings=(Name="NumPadZero",Command="TeamSay NP,Control=False,Shift=False,Alt=False,bIgnoreCtrl =False,bIgnoreShift=False,bIgnoreAlt=False)

Bindings=(Name="NumPadOne",Command="TeamSay Sorry,Control=False,Shift=False,Alt=False,bIgnoreC trl=False,bIgnoreShift=False,bIgnoreAlt=False)

I've used NumPadZero and NumPadOne as examples, but you can choose whatever you want.
__________________

Last edited by Major_Day; 01-14-2012 at 07:21 PM.
Reply With Quote
  #7  
Old 01-15-2012, 07:21 AM
The Beast (nl)'s Avatar
The Beast (nl) The Beast (nl) is offline
Senior Member
 
Join Date: Jul 2006
Location: The Netherlands
Posts: 2,433
Default

This is a good post. I will try it later.
__________________
Intel I7-920 - 2,67ghz, 6 gb ram, nvidia gtx 560 TI twin fan 2gb, win7 64bit - Creative X-FI Xtreme soundcard.
Reply With Quote
  #8  
Old 01-16-2012, 07:45 AM
Zetsumei's Avatar
Zetsumei Zetsumei is offline
Rising Storm Team
 
Join Date: Nov 2005
Location: Amsterdam, Netherlands
Posts: 11,620
Default

setbind p say np

in the console.
__________________
Unless specifically stated otherwise, anything I say reflects only my personal opinion and not that of Rising Storm.
Reply With Quote
  #9  
Old 01-16-2012, 04:48 PM
El_Swine El_Swine is offline
Senior Member
 
Join Date: Jul 2006
Location: Oslo Norway
Posts: 186
Default

Quote:
Originally Posted by Zetsumei View Post
setbind p say np

in the console.
Well Mr.Uber Helper.

Can you solve this one.. Alternate two fire modes with just one key.

I've trid something like this and it works but one way only.
Bindings=(Name="K",Command=" SetBind LeftMouseButton AltFire",Control=False,Shift=False,Alt=False,bIgno reCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="L",Command=" SetBind ThumbMouseButton Fire",Control=False,Shift=False,Alt=False,bIgnoreC trl=False,bIgnoreShift=False,bIgnoreAlt=False)
__________________
Rack'em Up
**********
My Projects
GPL 2004 Demo.
http://www.bhmotorsports.com/download/6447
RBR Audio v2.3
http://www.bhmotorsports.com/download/8479
Norwegian Pacenotes for RBR.
http://www.bhmotorsports.com/download/7516
Reply With Quote
  #10  
Old 01-17-2012, 02:39 PM
Zetsumei's Avatar
Zetsumei Zetsumei is offline
Rising Storm Team
 
Join Date: Nov 2005
Location: Amsterdam, Netherlands
Posts: 11,620
Default

What do you exactly want in the form of you pressing a button and then what happening?

You can bind multiple functions to one key by using the pipe character |
like setbind p "say miow | teamsay go to the next objective"

using that knowledge you can make a rotation between functions
example:

Bindings=(Name="Gunsetup1",Command="setbind Leftmousebutton Fire | setbind ThumbMouseButton Altfire | setbind key1 Gunsetup2")
Bindings=(Name="Gunsetup2",Command="setbind Leftmousebutton Altfire | setbind ThumbMouseButton Fire | setbind key1 Gunsetup1")
Bindings=(Name="key1",Command="Gunsetup1")

This way pressing key1 would rotate the function of the left mouse button between fire and alt fire, and similar for the thumb mouse button. Sometimes the pipe character | doesn't work in that case you need to save the corresponding .ini file in a different utf file format.

In general another useful feature would be the onrelease command using that will execute a command after you release the key.

setbind p "say np | onrelease say No problem mate you are forgiven for your teamkill!"

pressing p would forgive someone (which doesn't show up in the text), while releasing p then give an additional message that does show up for everybody to see.
__________________
Unless specifically stated otherwise, anything I say reflects only my personal opinion and not that of Rising Storm.

Last edited by Zetsumei; 01-17-2012 at 02:58 PM.
Reply With Quote
  #11  
Old 01-17-2012, 06:36 PM
El_Swine El_Swine is offline
Senior Member
 
Join Date: Jul 2006
Location: Oslo Norway
Posts: 186
Default

Thank you for trying Zetsumei

Quote:
Originally Posted by Zetsumei View Post
What do you exactly want in the form of you pressing a button and then what happening?

Bindings=(Name="Gunsetup1",Command="setbind Leftmousebutton Fire | setbind ThumbMouseButton Altfire | setbind key1 Gunsetup2")
Bindings=(Name="Gunsetup2",Command="setbind Leftmousebutton Altfire | setbind ThumbMouseButton Fire | setbind key1 Gunsetup1")
Bindings=(Name="key1",Command="Gunsetup1")

This way pressing key1 would rotate the function of the left mouse button between fire and alt fire, and similar for the thumb mouse button. .
Yes that is Exactly what I want.

I'm a craftsman and my thumbs are stiff as Nails and usless for "tap dancing"
So a bind like this has been on my wishlist since 2006.

I added your keybind suggestion into the ROInput.ini file but sorry to say it didn't work.

So do I need to create a UTF file? Or can it be made without the Pipe command?

Thanks for helping

EDIT: Yiipi.. Got it working now. But I still need two keys to toggle it back and forth

Bindings=(Name="K",Command=" SetBind LeftMouseButton AltFire | setbind ThumbMouseButton Fire",Control=False,Shift=False,Alt=False,bIgnoreC trl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="L",Command=" SetBind LeftMouseButton Fire | setbind ThumbMouseButton Altfire",Control=False,Shift=False,Alt=False,bIgno reCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
__________________
Rack'em Up
**********
My Projects
GPL 2004 Demo.
http://www.bhmotorsports.com/download/6447
RBR Audio v2.3
http://www.bhmotorsports.com/download/8479
Norwegian Pacenotes for RBR.
http://www.bhmotorsports.com/download/7516

Last edited by El_Swine; 01-18-2012 at 03:17 AM.
Reply With Quote
  #12  
Old 01-18-2012, 04:54 AM
Zetsumei's Avatar
Zetsumei Zetsumei is offline
Rising Storm Team
 
Join Date: Nov 2005
Location: Amsterdam, Netherlands
Posts: 11,620
Default

it should be possible to basically bind a fake key as i did in my example and continue to bind the function of a key differently. I might have made some typos but I think with some messing around (perhaps first with a more simple function) you should be able to figure it out.
__________________
Unless specifically stated otherwise, anything I say reflects only my personal opinion and not that of Rising Storm.
Reply With Quote
  #13  
Old 01-18-2012, 06:43 AM
El_Swine El_Swine is offline
Senior Member
 
Join Date: Jul 2006
Location: Oslo Norway
Posts: 186
Default

Quote:
Originally Posted by Zetsumei View Post
it should be possible to basically bind a fake key as i did in my example and continue to bind the function of a key differently. I might have made some typos but I think with some messing around (perhaps first with a more simple function) you should be able to figure it out.
I don't understand what you mean by "fake key" Anyway I tried your bind with K and Key1. Didn't work.

Well thanks for your help Zetsumei. I'm glad I finaly got it working.
I would like to simplify the Bind I have working to one line if its possible.
Perhaps I can add an ONrelease cmd? Or toggle.
__________________
Rack'em Up
**********
My Projects
GPL 2004 Demo.
http://www.bhmotorsports.com/download/6447
RBR Audio v2.3
http://www.bhmotorsports.com/download/8479
Norwegian Pacenotes for RBR.
http://www.bhmotorsports.com/download/7516
Reply With Quote
  #14  
Old 01-18-2012, 02:20 PM
Zetsumei's Avatar
Zetsumei Zetsumei is offline
Rising Storm Team
 
Join Date: Nov 2005
Location: Amsterdam, Netherlands
Posts: 11,620
Default

try this

ingame open the console with ~

type in there

setbind key1 say hello

and then type

setbind p key1

-------------

when I then press p i get hello try if that works for you. Otherwise try messing around with the utf functions in saving.
__________________
Unless specifically stated otherwise, anything I say reflects only my personal opinion and not that of Rising Storm.
Reply With Quote
  #15  
Old 01-18-2012, 02:40 PM
El_Swine El_Swine is offline
Senior Member
 
Join Date: Jul 2006
Location: Oslo Norway
Posts: 186
Default

Aha, I got it now
__________________
Rack'em Up
**********
My Projects
GPL 2004 Demo.
http://www.bhmotorsports.com/download/6447
RBR Audio v2.3
http://www.bhmotorsports.com/download/8479
Norwegian Pacenotes for RBR.
http://www.bhmotorsports.com/download/7516
Reply With Quote
  #16  
Old 01-18-2012, 02:42 PM
Divinehammer's Avatar
Divinehammer Divinehammer is offline
Senior Member
 
Join Date: Mar 2006
Location: Sunny, Obamalot
Posts: 1,391
Default

Quote:
Originally Posted by Zetsumei View Post
try this

ingame open the console with ~

type in there

setbind key1 say hello

and then type

setbind p key1

-------------

when I then press p i get hello try if that works for you. Otherwise try messing around with the utf functions in saving.
Do you have to do this each time you play though? I set a macro on my Nostromo to do this instead. I found another difference in RO1 I had a macro that allowed me call for Ammo. With the new comm widget I dont see how that can be done does anyone else?
__________________
People sleep peaceably in their beds at night only because rough men stand ready to do violence on their behalf. -George Orwell
Maps: Dubrava, Pavlov's House
Shared Links
Reply With Quote
  #17  
Old 01-18-2012, 06:19 PM
Zetsumei's Avatar
Zetsumei Zetsumei is offline
Rising Storm Team
 
Join Date: Nov 2005
Location: Amsterdam, Netherlands
Posts: 11,620
Default

Quote:
Originally Posted by Divinehammer View Post
Do you have to do this each time you play though? I set a macro on my Nostromo to do this instead. I found another difference in RO1 I had a macro that allowed me call for Ammo. With the new comm widget I dont see how that can be done does anyone else?
Bindings typed in the console stay its just that for big binds using the ini is probably more clean. Ask someone with the sdk to look up the call commands for the individual voice commands.
__________________
Unless specifically stated otherwise, anything I say reflects only my personal opinion and not that of Rising Storm.
Reply With Quote
  #18  
Old 01-19-2012, 10:36 AM
Deadbolt's Avatar
Deadbolt Deadbolt is offline
Senior Member
 
Join Date: Jul 2008
Posts: 670
Default

Do these commands work the same for if I wanted it to type in console instead of chat. For example I want to bind a key to log into admin. Do you guys know how to do this/if it's possible?

Thanks.
__________________
Deadbolt

You gotta decide whether you're a wolf, or a sheep.
Reply With Quote
  #19  
Old 01-19-2012, 11:08 AM
Zetsumei's Avatar
Zetsumei Zetsumei is offline
Rising Storm Team
 
Join Date: Nov 2005
Location: Amsterdam, Netherlands
Posts: 11,620
Default

type this in console

setbind p adminlogin username password

or in case you don't use multiadmin

setbind p adminlogin password


pressing p will make you log in. You could make a rotary button as well

setbind chicken "adminlogin username password | setbind p cow"
setbind cow "adminlogout | setbind p chicken"
setbind p chicken

pressing p will then make you login in and pressing it again will make you logout.
__________________
Unless specifically stated otherwise, anything I say reflects only my personal opinion and not that of Rising Storm.
Reply With Quote
  #20  
Old 01-19-2012, 12:03 PM
Deadbolt's Avatar
Deadbolt Deadbolt is offline
Senior Member
 
Join Date: Jul 2008
Posts: 670
Default

Thanks Zets, will test it out.

EDIT: The login works great, thanks. How can I unbind a key though?
__________________
Deadbolt

You gotta decide whether you're a wolf, or a sheep.

Last edited by Deadbolt; 01-19-2012 at 12:12 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT -4. The time now is 02:14 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2005 - 2013, Tripwire Interactive, LLC