Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

Conning Tower Hotkey Possible?
Goto page 1, 2  Next
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop
View previous topic :: View next topic  
Author Message
product



Joined: 06 Mar 2005
Posts: 100

PostPosted: Fri Apr 22, 2005 8:40 am    Post subject: Conning Tower Hotkey Possible? Reply with quote

I seem to recall a thread on this a while back, but can't seem to find it. Is it possible to assign a hotkey to get into the conning tower- or better yet, standing in front of the attack scope?

Very annoying to have to go there "manually"

Thanks,

Joel
Back to top
View user's profile Send private message
timetraveller



Joined: 23 Dec 2004
Posts: 967
Location: Atlantic Shipping Lanes

PostPosted: Fri Apr 22, 2005 9:06 am    Post subject: Reply with quote

I think that was my thread. Something like this will work.

[Cmd13]
Name=Conning_tower_camera
Ctxt=1
Key0=0x71,c,"Ctrl+F2"
Page=0x33000000,3715
GoBack=Interior_fore_camera

[Cmd14]
Name=Conning_tower_periscope
Ctxt=1
Key0=0x72,c,"Ctrl+F3"
Page=0x33000000,3716
GoBack=Conning_tower_camera

-timetraveller


Last edited by timetraveller on Fri Apr 22, 2005 10:34 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Quillan



Joined: 20 Apr 2005
Posts: 299

PostPosted: Fri Apr 22, 2005 9:52 am    Post subject: Reply with quote

timetraveller wrote:
I[Cmd13]
Name=Conning_tower_camera
Ctxt=1
Key0=0x71,,"Ctrl+F2"
Page=0x33000000,3715
GoBack=Interior_fore_camera


You'll need to put a lowercase letter c between the two commas, like this:

Name=Conning_tower_camera
Ctxt=1
Key0=0x71,c,"Ctrl+F2"
Page=0x33000000,3715
GoBack=Interior_fore_camera


The 0x71 is the hex code for the F2 key, and the lowercase c tells it to use that with the CTRL key. I tried this without the c, and it didn't work.
Back to top
View user's profile Send private message
timetraveller



Joined: 23 Dec 2004
Posts: 967
Location: Atlantic Shipping Lanes

PostPosted: Fri Apr 22, 2005 10:35 am    Post subject: Reply with quote

Quillan wrote:

You'll need to put a lowercase letter c between the two commas, like this:

Name=Conning_tower_camera
Ctxt=1
Key0=0x71,c,"Ctrl+F2"
Page=0x33000000,3715
GoBack=Interior_fore_camera


The 0x71 is the hex code for the F2 key, and the lowercase c tells it to use that with the CTRL key. I tried this without the c, and it didn't work.


Right you are. Sorry, left that little "c" out. Thanks Quillan. I fixed the above example so as not to confuse.

-timetraveller
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mongoose



Joined: 04 Apr 2005
Posts: 375
Location: West Australia

PostPosted: Fri Apr 22, 2005 11:12 am    Post subject: Reply with quote

Another workaround is to make a hotkey for this command...

[Cmd7]
Name=Go_back_to_prev_cam
Ctxt=1
Key0=0x6B,,"Numpad +"

I used the number pad plus key after moving the time compression controls elsewhere.

This lets you back out of any cam, so when using the attack scope this puts you just behind the scope in the conning tower. Simply left-click on the scope to return to the scope view.

Also handy for backing out of the uzo to the bridge, or the obs periscope to the command room.

Cheers. Thumbs Up
Back to top
View user's profile Send private message
product



Joined: 06 Mar 2005
Posts: 100

PostPosted: Fri Apr 22, 2005 11:44 am    Post subject: Reply with quote

Thanks, great info!

Joel
Back to top
View user's profile Send private message
Fidd



Joined: 20 Apr 2005
Posts: 22

PostPosted: Fri Apr 22, 2005 1:04 pm    Post subject: Reply with quote

Do these mods permit backing out to a point where the various clickable items such as tube doors, conning tower tdc etc actually work - and the attack periscope view (exterior) can be reached in 1 click?
Back to top
View user's profile Send private message
Fidd



Joined: 20 Apr 2005
Posts: 22

PostPosted: Fri Apr 22, 2005 1:06 pm    Post subject: Reply with quote

Sorry - bit of a noob here, please - where would these commands be placed - and how?

Mongoose wrote:
Another workaround is to make a hotkey for this command...

[Cmd7]
Name=Go_back_to_prev_cam
Ctxt=1
Key0=0x6B,,"Numpad +"

I used the number pad plus key after moving the time compression controls elsewhere.

This lets you back out of any cam, so when using the attack scope this puts you just behind the scope in the conning tower. Simply left-click on the scope to return to the scope view.

Also handy for backing out of the uzo to the bridge, or the obs periscope to the command room.

Cheers. Thumbs Up
Back to top
View user's profile Send private message
Mongoose



Joined: 04 Apr 2005
Posts: 375
Location: West Australia

PostPosted: Fri Apr 22, 2005 2:11 pm    Post subject: Reply with quote

Fidd wrote:
Sorry - bit of a noob here, please - where would these commands be placed - and how?


No problem Fidd, I am also a bit of a noob. Laughing

First, check out this thread to get a nifty tool made by Timetraveller. It will help you set up your new hotkey, and even create the line of text you will need to add to the appropriate files.

Next, the file you will edit needs to be copied and kept separate so that you can restore the original when the next patch is released.

Go through folders...

SilentHunterIII/ data/ Cfg

And locate these files...

Commands_en
Commands_de

If you use an English-language keyboard, you will edit Commands_en.

After making your backup, open the file and scroll down to command No 7. You will find it looks like this...

[Cmd7]
Name=Go_back_to_prev_cam
Ctxt=1

You need to decide on a keyboard key to activate this command and add the appropriate line of text to it. The tool Timetraveller made will create the line of text complete with your chosen hotkey.

In this example, I chose the number pad plus key....

Key0=0x6B,,"Numpad +"

...to make the edited command...

[Cmd7]
Name=Go_back_to_prev_cam
Ctxt=1
Key0=0x6B,,"Numpad +"

If you paste in the line of text, be careful not to add any extra spaces.

The name of the key inside the quotation marks is simply for easy identification later. The space inside the two commas...,, is for adding further factors to the command. For example, if you wanted a qualifier key, such as control or shift, you would add it between the commas...lower-case c for control, or lower-case s for shift.

In this same file you will find the commands mentioned at the start of this thread if you want to make those changes.


Last edited by Mongoose on Sat Apr 30, 2005 7:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
Fidd



Joined: 20 Apr 2005
Posts: 22

PostPosted: Fri Apr 22, 2005 8:33 pm    Post subject: Reply with quote

Many thanks indeed sir.
Back to top
View user's profile Send private message
clive bradbury



Joined: 05 Jun 2004
Posts: 510
Location: stoke-on-trent, UK

PostPosted: Sat Apr 23, 2005 6:37 am    Post subject: Reply with quote

Gentlemen,

can you help? I can't seem to get this keymapping to work. I use German voices, so edited the commands_de file. I tried copying and pasting the commands in this thread, but they don't work? Am I doing something really basic wrong?
Back to top
View user's profile Send private message
timetraveller



Joined: 23 Dec 2004
Posts: 967
Location: Atlantic Shipping Lanes

PostPosted: Sat Apr 23, 2005 6:58 am    Post subject: Reply with quote

clive bradbury wrote:
Gentlemen,

can you help? I can't seem to get this keymapping to work. I use German voices, so edited the commands_de file. I tried copying and pasting the commands in this thread, but they don't work? Am I doing something really basic wrong?


Hi Clive,

First make sure there are no extra characters at the end of each line. Copying and pasting from these forums seem to do that sometimes. It's been problems for others in the past.

If that doesn't do it, post what you have changed here and someone will take a look.

Good luck

-timetraveller
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mongoose



Joined: 04 Apr 2005
Posts: 375
Location: West Australia

PostPosted: Sat Apr 23, 2005 7:00 am    Post subject: Reply with quote

clive bradbury wrote:
Gentlemen,

can you help? I can't seem to get this keymapping to work. I use German voices, so edited the commands_de file. I tried copying and pasting the commands in this thread, but they don't work? Am I doing something really basic wrong?


Hi there. I am just about to try out your mod for the G7e. Thanks.

Now to your question. I experienced this problem when I started to modify the commands by pasting in to the commands. In my case it was due to extra spaces in the line of text. Perhaps you could check those lines again?
Back to top
View user's profile Send private message
clive bradbury



Joined: 05 Jun 2004
Posts: 510
Location: stoke-on-trent, UK

PostPosted: Sat Apr 23, 2005 7:51 am    Post subject: Reply with quote

I have just tried again, with no success. This is the text i put in the 'de' file:

[Cmd13]
Name=Conning_tower_camera
Ctxt=1
Key0=0x24,,"Home"
Page=0x33000000,3715
GoBack=Interior_fore_camera

I used Timetraveller's program for the key information.
Back to top
View user's profile Send private message
timetraveller



Joined: 23 Dec 2004
Posts: 967
Location: Atlantic Shipping Lanes

PostPosted: Sat Apr 23, 2005 1:55 pm    Post subject: Reply with quote

clive bradbury wrote:
I have just tried again, with no success. This is the text i put in the 'de' file:

[Cmd13]
Name=Conning_tower_camera
Ctxt=1
Key0=0x24,,"Home"
Page=0x33000000,3715
GoBack=Interior_fore_camera

I used Timetraveller's program for the key information.


Clive, try a different key. The home button is used for a couple of those "Strafe" commands.

Be sure to do a search through the Commands_en file to make sure the one you're using isn't used by another function-

[Cmd100]
Name=Strafe_up
Ctxt=1,2,3,5,9
Key0=0x24,R,"Home"
Key1=0x24,Rc,""
Key2=0x67,R,""
Key3=0x67,Rc,""

[Cmd101]
Name=Strafe_up_fast
Ctxt=1,2,3,5,9
Key0=0x24,Rs,""
Key1=0x24,Rsc,""
Key2=0x67,Rs,""
Key3=0x67,Rcs,""

-timetraveller
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group