SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   [PROB] Walking the deck problem continues. (https://www.subsim.com/radioroom/showthread.php?t=121412)

Vorkapitan 08-31-07 02:12 PM

[PROB] Walking the deck problem (RESOLVED).
 
Hi People,


Just wondering if you had the same problems as I do.

Walking the deck is great, but I no longer can use the arrow keys for the deck gun elev. or scroll the map.

I have used the original command.cfg and carefully made the changes to "Open all torps" and "Walk the deck" mods.

Before these changes, everything is ok, but after these changes I lose elevation of the deck gun with the arrow keys and also the scroll map feature.

How about anyone that made the "walk the deck" mod? Are you having this problem?

Need help!

l3th4l 08-31-07 02:31 PM

that's strange... I've tinkered with the camera file myself and made a "walking the deck mod" adjusted for my personal tastes and my command.cfg hasn't been altered in any way... i'll try using the arrow keys for the purposes you mentioned in a few minutes but i don't see how their function could have been changed by the modifications i made.
unless that other mod uses a completely different approach or does something else i'm not aware of...

i can upload my mod for you to use if you want to, but you'll have to tell me which other modifications your are using since there are few others that modify the camera.dat. i built it upon the one provided by TM1.6 but it shouldn't be too hard to make the same modifications to another version.

Vorkapitan 08-31-07 02:44 PM

l3th4l

I have no mods using camera.dat. (if you, do send send me the link as I have had problems clicking a link ...won't get me there.

Yes, if you could upload your mod for me that would be a good starting place.

Thanks for looking into this...it's been driving me crazy. :damn: :damn: :damn:

l3th4l 08-31-07 03:04 PM

Quote:

Originally Posted by Vorkapitän
l3th4l

I have no mods using camera.dat. (if you, do send send me the link as I have had problems clicking a link ...won't get me there.

Yes, if you could upload your mod for me that would be a good starting place.

Thanks for looking into this...it's been driving me crazy. :damn: :damn: :damn:

edit: stupid me - somehow i overread you said you're not using any modified camera.dat :oops:

anyways - i'm currently trying to make that "walking-the-deck-cam" feel more organic meaning have it sway slightly so you're really feeling like your're watching out of someones eyes standing on the ship instead of the feeling you get by having the camera tightly fixed at some point around the ship. this might not be everyones taste since i mainly started doing this for myself although if others finds this worth a look i'll gladly share :)

btw. i just checked. i can still use all my keys as before... dunno how that mod you're trying to use works but for me the keys stay the same.

Vorkapitan 08-31-07 03:12 PM

Can you upload anything for me to try?

Can there be any mod that could cause this? Weird....

Digital_Trucker 08-31-07 03:23 PM

Try using a stock commands.cfg and see if the arrow key functionality comes back. If it does, then some change to commands.cfg has caused the problem. I'm betting that's the case.

l3th4l 08-31-07 03:26 PM

sure. here: http://files.filefront.com/Cameramod.../fileinfo.html

be aware that this is only for test purposes. it's not finished in any way and no documentation is included.

now did you say the problem occurs once you install the "walking-the-decks-mod" or has it been there even if you uninstalled it? if the second is the case, i suspect there's something wrong in your sh4 install and my dat file won't help you.

Vorkapitan 08-31-07 03:31 PM

Well originally, I made changes to the command.chg then modified it with "walking the deck" and the problem occured.

I removed the mod and every thing worked as it should but when I re-installed the mod and the problems started again.

Digital_Trucker 08-31-07 03:32 PM

Quote:

Originally Posted by Vorkapitän

I have used the original command.cfg and carefully made the changes to "Open all torps" and "Walk the deck" mods.

Unless we're talking about a walk the decks mod other than Sergbuto's, there weren't any changes to commands.cfg for walking the deck, only the camera.dat change.

Vorkapitan 08-31-07 03:49 PM

Thease are the changes I made to the command.cfg

Left:

Key0=0x64,Rn,"" (Normal)
Key0=0x64,Rsn,"" (Fast)
Key0=0x64,Rcn,"" (Slow)

Right:

Key0=0x66,Rn,"" (Normal)
Key0=0x66,Rsn,"" (Fast)
Key0=0x66,Rcn,"" (Slow)

Up:

Key0=0x69,Rn,"" (Normal)
Key0=0x69,Rsn,"" (Fast)
Key0=0x69,Rcn,"" (Slow)

Down:

Key0=0x63,Rn,"" (Normal)
Key0=0x63,Rsn,"" (Fast)
Key0=0x63,Rcn,"" (Slow)


Goes without saying, make a backup of Commands.cfg before you do this!

This completely fixed the problem of the camera rotating when moving, on my system. I can now move forward/back/left/right and the camera doesn't rotate at all.


OK, the problem of the "jerky" mouse views I fixed by editing Cameras.dat. I used skwasjer's awesome Silent 3ditor for this. Maybe you could also use SH3 MiniTweaker, I didn't try so I can't say...

Naturally, back up your Cameras.dat before you start!

Run Silent 3ditor and load C:\Program Files\Ubisoft\Silent Hunter Wolves of the Pacific\Data\Library\Cameras.dat.

Open the node "_Dummy_Cam_ConningDeck", then open "FreeMove" under that node. Click "Properties". In the right-hand pane, expand the "FreeMove" branch if it's not already expanded.

You want to change 3 values. The original values are:


RotationSpeed=120 mine was 60
RotationInertia=0.05 mine was 0.2
RotationRun=2

Change all 3 of these values to 0:

RotationSpeed=0
RotationInertia=0
RotationRun=0



l3th4l 08-31-07 04:13 PM

Quote:

Originally Posted by Vorkapitän


You want to change 3 values. The original values are:


RotationSpeed=120 mine was 60
RotationInertia=0.05 mine was 0.2
RotationRun=2

Change all 3 of these values to 0:

RotationSpeed=0
RotationInertia=0
RotationRun=0



huh??? i've been messing with EXACTLY those values before. nothing to do with jerkyness here though. it just does what it says in my experience:

Rotationspeed = how fast can you turn?
Rotationinertia = the higher that value the more inertia plays a part in the speed of the rotation i.e. no instant acceleration but a smoother movement
rotationrun = by how much gets rotationspeed multiplied when you press the "run" key (shift here)

and those keys? i have no idea why they are recommended to be changed. i simply press the mouse as if i wanted to look around but instead of rotating the view the arrow keys automatically initiate movement.

Digital_Trucker 08-31-07 04:14 PM

Ok, I understand now. I never had the rotating camera problem with the mod, so I never had to do anything to commands.cfg.

DirtyHarry3033 08-31-07 04:18 PM

Quote:

Originally Posted by Vorkapitän
Thease are the changes I made to the command.cfg

Left:

Key0=0x64,Rn,"" (Normal)
Key0=0x64,Rsn,"" (Fast)
Key0=0x64,Rcn,"" (Slow)

Right:

Key0=0x66,Rn,"" (Normal)
Key0=0x66,Rsn,"" (Fast)
Key0=0x66,Rcn,"" (Slow)

Up:

Key0=0x69,Rn,"" (Normal)
Key0=0x69,Rsn,"" (Fast)
Key0=0x69,Rcn,"" (Slow)

Down:

Key0=0x63,Rn,"" (Normal)
Key0=0x63,Rsn,"" (Fast)
Key0=0x63,Rcn,"" (Slow)


Goes without saying, make a backup of Commands.cfg before you do this!

This completely fixed the problem of the camera rotating when moving, on my system. I can now move forward/back/left/right and the camera doesn't rotate at all.


OK, the problem of the "jerky" mouse views I fixed by editing Cameras.dat. I used skwasjer's awesome Silent 3ditor for this. Maybe you could also use SH3 MiniTweaker, I didn't try so I can't say...

Naturally, back up your Cameras.dat before you start!

Run Silent 3ditor and load C:\Program Files\Ubisoft\Silent Hunter Wolves of the Pacific\Data\Library\Cameras.dat.

Open the node "_Dummy_Cam_ConningDeck", then open "FreeMove" under that node. Click "Properties". In the right-hand pane, expand the "FreeMove" branch if it's not already expanded.

You want to change 3 values. The original values are:


RotationSpeed=120 mine was 60
RotationInertia=0.05 mine was 0.2
RotationRun=2

Change all 3 of these values to 0:

RotationSpeed=0
RotationInertia=0
RotationRun=0



Joe, looks like you're quoting a post I made a few weeks ago regarding Sergbuto's mod that allows walking the deck of your sub. Those command.cfg changes are not part of Sergbuto's mod, it's something I came up with to fix a prob I was having where using the cursor keys to move around the deck also caused the view to pitch up/down/left/right.

What I posted does break a few things involving cursor keys and scrolling the map is one of them. I never used cursor keys for that, only mouse. Also I never used cursor keys for deck gun elevation, again only used mouse. So I didn't notice something was broken until someone pointed out to me the prob with scrolling the map.

It is quite possible that deck gun elevation/rotation was bound to cursor keys as well, if so then my changes you quoted will break that also. Never tried it so I don't know ;)

What I do know is, after making changes to commands.cfg that I gave, you can scroll the map using KP2, KP4, KP6 and KP8. If deck gun elevation was originally bound to cursor up/down, you should be able to use KP2/KP8 with my changes, to do the same thing.

DH

l3th4l 08-31-07 05:05 PM

Quote:

Originally Posted by DirtyHarry3033
it's something I came up with to fix a prob I was having where using the cursor keys to move around the deck also caused the view to pitch up/down/left/right.

did you or anyone else ever find out what caused you (and maybe others) to encounter this while others didn't?

Vorkapitan 08-31-07 05:08 PM

DirtyHarry3033
I do remember now.... yes I had the up-down problem....jerkyness.

The scrool keys only work left and right ..not all directions.

The gun elevation will not work with arrow or keypad keys.

You mentioned that you only use the mouse for "gun elevation". How?


All times are GMT -5. The time now is 03:38 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.