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 05:15 PM

l3th4l,

I had asked another member if they had the problem about the scrolling and gun elevation, but they never got back to me.

I hope you did not think that your mod caused the problem.

There were several of us that had the initial problem of jerkyness and arrow keys going straight up etc.

That's when I got the code for the command.cfg.

Mystifies me why some have this problem but not everyone.

Is there a way to map the gun elevation to different keys? :huh:

DirtyHarry3033 08-31-07 06:32 PM

Quote:

Originally Posted by Vorkapitän
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?

OK, just tried it out and the keypad keys won't control elevation. They will control left-right though. And now, on the map the KP2/KP8 won't scroll the map up and down, though KP4/KP6 still scroll it left and right. I'm sure that ALL the KP keys would scroll the map before, up, down, left, right :hmm: Strange, I've put a few more mods on recently, maybe one of 'em did something???

As far as gun elevation with mouse, just go to gun and left-click so cursor disappears, then you can rotate the gun with left/right mouse movement, and increase/decrease elevation by moving mouse forward/back. At least that's how it's always worked on my system ;)

DH

leovampire 08-31-07 06:36 PM

If you guys are running a changed key board mod
 
like I am it might create a problem! I am using one that brings a lot of the SHIII keyboard functions back into play and that causes a couple of problems with some camera mod's. If that helps anyone out.

Vorkapitan 08-31-07 06:44 PM

DirtyHarry3033,

Well thanks anyway Harry....at least I'm not alone ...maybe just crazy :doh:


LeoVampire.

Leo, I tested with and without the "walk the deck" mod with your mod.

Your mod did not cause this problemI'm sure. :D

DirtyHarry3033 08-31-07 06:53 PM

Quote:

Originally Posted by l3th4l
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?

I don't have a clue why some get it and some don't.

What I know is this, I had the problem of the view being rotated left/right and pitched up/down at the same time as using cursor keys to move around the deck.

I experimented, uninstalled the mod to see what the cursor keys did on the conning tower view without the mod. Well they rotated the view left/right without moving the camera, and pitched the view up/down without moving the camera.

It seemed to me that Sergbuto's mod was retaining this "rotational" aspect of the cursor keys, in addition to causing the cursor keys to "move" the camera around.

It was possible to counter the rotation by moving the mouse forward/back when using the up/down arrow keys, or moving mouse left/right when using the left/right keys. But that was driving me bat-sh*t so I tried re-mapping in commands.cfg as mentioned above. That fixed the problem 100% for me.

Why everyone doesn't get that same effect I don't know. Unless there are 2 versions of the mod, and some of us got the "bugged" one and later ones got a "fixed" one? All I know is I had the problem mentioned, and the changes I made in commands.cfg fixed it for me, so arrow keys would only move the camera without rotating the view.


As far as Cameras.dat, whenever I would use the mouse to look around it was shaky/jittery as crap. When I made the changes mentioned it was smooth as silk. Again, I don't know why some would experience a prob and others don't.

I'm not a modder, and I don't understand these things. All I know is that I'm hard-headed and if I have even a clue where to start, I'll beat my head against a wall repeatedly trying to fix a problem. And the mods I made to Cameras.dat cured the "shakes" 100% for me. Don't have any idea why others never had the "shakes" to begin with...

DH

Vorkapitan 08-31-07 07:21 PM

DirtyHarry3033,

We must be related...cause when I have a problem, I'm like a Pit Bull ...won't let go until I resolve it. A friend of mine (deceased) said that I was "tenacious". Guess he was right. :lol:

l3th4l 09-01-07 03:47 AM

Quote:

Originally Posted by DirtyHarry3033
And the mods I made to Cameras.dat cured the "shakes" 100% for me. Don't have any idea why others never had the "shakes" to begin with...

really strange. if you have any time on your hands in the next few days would you care to help me nail down the problem? i was gonna release a camera mod some time in the future but it would be great if i was able to fix that problem before so people don't have to go and start messing with their command.cfg files.

DirtyHarry3033 09-01-07 08:53 AM

Quote:

Originally Posted by l3th4l
Quote:

Originally Posted by DirtyHarry3033
And the mods I made to Cameras.dat cured the "shakes" 100% for me. Don't have any idea why others never had the "shakes" to begin with...

really strange. if you have any time on your hands in the next few days would you care to help me nail down the problem? i was gonna release a camera mod some time in the future but it would be great if i was able to fix that problem before so people don't have to go and start messing with their command.cfg files.

Which prob are you referring to, the one where the camera rotates at the same time as you're moving around with arrow keys?

Well if so I finally figured that one out! I restored Sergbuto's original Cameras.dat and undid all the changes I'd made to the arrow key mappings in Commands.cfg and started messing around with Cameras.dat to see if I could figure it out.

Well nothing I did made any difference at all :( No matter what, the camera still rotated when using the arrow keys.

Then I saw the problem - it was my own stupid damn fault. There was a "Copy of Cameras.dat" in my Data\Library folder, apparently I'd been messing with MiniTweaker back in June and forgot to delete it... :damn::damn::damn:

Soon as I deleted that, Sergbuto's mod worked perfect, without any changes to Commands.cfg. No camera rotation at all when using arrow keys :D The mouse rotation is still a bit jerky (the "shakes" are back but not nearly as bad as before) but I think that can be toned down some by tweaking RotationSpeed, RotationInertia and RotationRun a bit.

Anyway, anybody that's having the problem with arrow keys rotating camera as well as moving it should check for a "Copy of Cameras.dat" and delete it.

Don't know why, but SH4 apparently looks for any file with "Cameras.dat" in the name, and combines whatever it finds in both. So it read Sergbuto's Cameras.dat and set up all the freemove params, then read "Copy of Cameras.dat" and set up the two "AxisRotation" entries (which control rotation about the x/y axes) that Sergbuto had deleted from his Cameras.dat.

So the probs I was having were all my fault thru carelessness! Like I said, I'm not a modder ;)

DH

l3th4l 09-01-07 11:43 AM

Quote:

Originally Posted by DirtyHarry3033
Which prob are you referring to, the one where the camera rotates at the same time as you're moving around with arrow keys?

Well if so I finally figured that one out! I restored Sergbuto's original Cameras.dat and undid all the changes I'd made to the arrow key mappings in Commands.cfg and started messing around with Cameras.dat to see if I could figure it out.

Well nothing I did made any difference at all :( No matter what, the camera still rotated when using the arrow keys.

Then I saw the problem - it was my own stupid damn fault. There was a "Copy of Cameras.dat" in my Data\Library folder, apparently I'd been messing with MiniTweaker back in June and forgot to delete it... :damn::damn::damn:

Soon as I deleted that, Sergbuto's mod worked perfect, without any changes to Commands.cfg. No camera rotation at all when using arrow keys :D The mouse rotation is still a bit jerky (the "shakes" are back but not nearly as bad as before) but I think that can be toned down some by tweaking RotationSpeed, RotationInertia and RotationRun a bit.

Anyway, anybody that's having the problem with arrow keys rotating camera as well as moving it should check for a "Copy of Cameras.dat" and delete it.

Don't know why, but SH4 apparently looks for any file with "Cameras.dat" in the name, and combines whatever it finds in both. So it read Sergbuto's Cameras.dat and set up all the freemove params, then read "Copy of Cameras.dat" and set up the two "AxisRotation" entries (which control rotation about the x/y axes) that Sergbuto had deleted from his Cameras.dat.

So the probs I was having were all my fault thru carelessness! Like I said, I'm not a modder ;)

thats good to know, thanks. tbh that might have been the cause of some of the problems i was experiencing while testing, i'll check in a few hours :)

don't know if the part about the axisrotation entries is true, though. i've left them untouched in my version and it works just fine... may have something to do with the order the different nodes are in, though.

Vorkapitan 09-01-07 01:34 PM

l3th4l and DirtHarry,

Well It looks as if Harry has found a soulution. By removing copies of Cameras.dat (renamed to .xxx) the problem has been solved.

:rock: :rock: :rock: :rock: :rock: :rock: :rock: :rock: :rock:

NOTE:I did leave the "rotation" changes in the commands.cfg.

THere should be a warning included in mods about the issue of COPIES causing problems!!

Now I can relax and get back to sailing.

Thank you all for the great mods and many thanks to HARRY! :know:

DirtyHarry3033 09-01-07 01:57 PM

Quote:

Originally Posted by l3th4l
don't know if the part about the axisrotation entries is true, though. i've left them untouched in my version and it works just fine... may have something to do with the order the different nodes are in, though.

l3th4l, had you applied the changes to Commands.cfg I listed? If so did you remember to remove them before testing? If you did use those changes and they are still in place, then the cursor keys will not cause camera rotation on the conning deck no matter what you do.

I've restored all the cursor key code in Commands.cfg, restored Sergbuto's original Cameras.dat and after getting rid of the "Copy of Cameras.dat" everything works perfect.

And I can guarantee you that the two AxisRotation entries do control camera rotation on the conning deck camera when using cursor keys - just tried it, I restored both those entries to Sergbuto's Cameras.dat (used Silent 3ditor to export from original .dat then import to Sergbuto's .dat) and guess what, the camera rotation when using cursor keys was back just like before. Deleted both entries, and the cursor keys then do forward/back/left/right movement only, no rotation of camera.

So all the confusion was my fault, I found changes that "fixed" the problem and posted them, instead of finding the root cause of the problem (which was entirely my stupid mistake by having a copy of Cameras.dat!) to begin with. My apologies to all :oops:

DH

Vorkapitan 09-01-07 02:09 PM

DIRTHARRY...

Found a GLITCH... I thought all was well and it was until I installed the "Kriller' visual upgrade1.1, then the problem started again.

How is it in your end? :doh:

DirtyHarry3033 09-01-07 02:11 PM

Quote:

Originally Posted by Vorkapitän
l3th4l and DirtHarry,

Well It looks as if Harry has found a soulution. By removing copies of Cameras.dat (renamed to .xxx) the problem has been solved.

:rock: :rock: :rock: :rock: :rock: :rock: :rock: :rock: :rock:

NOTE:I did leave the "rotation" changes in the commands.cfg.

THere should be a warning included in mods about the issue of COPIES causing problems!!

Now I can relax and get back to sailing.

Thank you all for the great mods and many thanks to HARRY! :know:

Glad it worked! You might want to "undo" the changes to Commands.cfg, as mentioned here and other places the changes I listed break some other useful keyboard functions. I never noticed it when I did those changes, I use 99.9% voice/mouse control, only thing I use keyboard for is to move the external cam.

There are several warnings about "copies" causing problems in some of the MiniTweaker threads - such as warning you to delete "Copy of <Cool Mod>.dat" after tweaking and before installing. Somehow I had got a "Copy" long before installing Sergbuto's mod and totally forgot about it and that was causing 100% of the problem...

Being basically stupid, I never realized that SH4 would "merge" the contents of a "copy" with the actual file :oops: I always understood that warning to mean that if a copy existed, the mod either wouldn't install, or would install but not work at all! But in this case the mod DID work, it just didn't work RIGHT.

So it's my fault, I apologize to all for any confusion or inconvenience I've caused :roll:

DH

l3th4l 09-01-07 02:15 PM

Quote:

Originally Posted by DirtyHarry3033
And I can guarantee you that the two AxisRotation entries do control camera rotation on the conning deck camera when using cursor keys - just tried it, I restored both those entries to Sergbuto's Cameras.dat (used Silent 3ditor to export from original .dat then import to Sergbuto's .dat) and guess what, the camera rotation when using cursor keys was back just like before.

apologies for the confusion. it seems the "backup" i was looking at wasn't the original one but simply a prior version of my modified camera.dat. i just found the original and, as you said, i've removed the camerarotation nodes :oops:

DirtyHarry3033 09-01-07 02:32 PM

Quote:

Originally Posted by Vorkapitän
DIRTHARRY...

Found a GLITCH... I thought all was well and it was until I installed the "Kriller' visual upgrade1.1, then the problem started again.

How is it in your end? :doh:

I haven't installed Kriller's mod but I just D/L and looked at it. Looks like there are 2 different mods in it, Kriller's and also Sergbuto's "Walk the Decks" mod.

Kriller's mod has a modded Cameras.dat in it, Sergbuto's does also. Not sure what Kriller has done in his Cameras.dat but if you install Sergbuto's 1st, then install Kriller's (using JSGME) then Sergbuto's mod gets overwritten and you won't be able to walk the deck anymore. The readme says:

Quote:

Run the program "JSGME.exe" and choose which mod you want to install, by clicking in the left window under "available mods", then press enable to install the "Krillers visiual upgrade install". After that you can install a camera mod which let you walk around on the u-boat, by enabling the "SB_13PersonViewCameras_Mod_v1" on top of mine saying yes to owerwrite cameras.dat, warning this is his first release so there are maybe some bugs in it..
So if you installed Sergbuto's part then installed Kriller's part (or installed Kriller's part only) that will definately break being able to walk around the deck. If you install Kriller's portion, then install Sergbuto's, it should work fine (as long as you don't have any more "Copies of Cameras.dat" hanging around...)

If you've already been thru all that and it still don't work, I don't have a clue :huh:

DH


All times are GMT -5. The time now is 01:00 PM.

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.