SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 12-13-13, 11:35 AM   #1
Silent Steel
Sea Lord
 
Join Date: Jun 2008
Location: Noch dabei
Posts: 1,732
Downloads: 618
Uploads: 0
Default @ Nippelspanner

I have seen this before

You must be running one of the EQuaTool addons, aren't you?

Right now I cant tell exactly which one it was that caused this but I'm sure it was one of the the EQuaTool 'Base' mods + one of the addons.

Is there anyone else around who knows more about this?

Silent Steel is offline   Reply With Quote
Old 12-13-13, 05:54 PM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Silent Steel View Post
I have seen this before

You must be running one of the EQuaTool addons, aren't you?

Right now I cant tell exactly which one it was that caused this but I'm sure it was one of the the EQuaTool 'Base' mods + one of the addons.

Is there anyone else around who knows more about this?

yes and no. I haven't ever noticed anything wrong with EQuaTool, but checking its settings is quite easy: you must open data\Manu\MouseCurs\Mouse.cfg, and look for the section relative to the off-center tool. For each tool\cursor there are two values: XO is offset of tool's center (in pixels) from the left of its corresponding dds or tga file; YO is the vertical offset from top to bottom. Texture files are located in the same folder as the cfg file
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 12-14-13, 02:08 AM   #3
Silent Steel
Sea Lord
 
Join Date: Jun 2008
Location: Noch dabei
Posts: 1,732
Downloads: 618
Uploads: 0
Default

Quote:
Originally Posted by gap View Post
For each tool\cursor there are two values: XO is offset of tool's center (in pixels) from the left of its corresponding dds or tga file; YO is the vertical offset from top to bottom. Texture files are located in the same folder as the cfg file
Thanks Gap,

This surely makes sense to most mates around here and is probably quite simple but for a simple soul like myself I once again have to realize - I've come to that point where I've found myself so many times before, that one that's all too familiar to me and won't leave me alone, ever. I have to send a distress call. Again

When I open the .cfg files of a certain set of tools up there are several values for multiple objects like Square, Compass, Course, Eraser, Highlight and so on.
Then I open the various .tga files of each set of tools just to find most of them look the same...

So - how to know which one of them values in the .cfg I should adjust to get the e.g. compass to move to a certain place where I want a it to sit on the map...?

And - by how much...?

But this maybe is a trial and error thing.

Last edited by Silent Steel; 12-14-13 at 02:25 AM.
Silent Steel is offline   Reply With Quote
Old 12-14-13, 08:07 AM   #4
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Silent Steel View Post
When I open the .cfg files of a certain set of tools up there are several values for multiple objects like Square, Compass, Course, Eraser, Highlight and so on.
Then I open the various .tga files of each set of tools just to find most of them look the same...
Sorry Silent Steel, I should have mentioned that most of the 'extended' map tools are identical. To fully understand their texture files you should enable their alpha channel, which contains all the detail: markings, crosshair, etc.

Quote:
Originally Posted by Silent Steel View Post
So - how to know which one of them values in the .cfg I should adjust to get the e.g. compass to move to a certain place where I want a it to sit on the map...?
Think of the XO/YO values in the cfg file as the horizontal/vertical offset of each tool's origin (from where lines start being drawn), respective to top left corner of its own texture. Let's say that we have a 512 x 512 pixels texture. Setting its offsets to 0,0, would mean that the origin will be located at the top left corner; 512,512, on turn, means "start drawing from the bottom right corner"; finally, 256,256 places the origin at the center of the texture (note that this is not necessarily the exact crosshair's center, but it should get close)
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 12-14-13, 08:14 AM   #5
Silent Steel
Sea Lord
 
Join Date: Jun 2008
Location: Noch dabei
Posts: 1,732
Downloads: 618
Uploads: 0
Default

Quote:
Originally Posted by gap View Post
Let's say that we have a 512 x 512 pixels texture... 256,256 places the origin at the center of the texture (note that this is not necessarily the exact crosshair's center, but it should get close)
Thanks Gap

I'll try this and hopefully restore some of my self-esteem.
Silent Steel is offline   Reply With Quote
Old 12-14-13, 08:54 AM   #6
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Silent Steel View Post
Thanks Gap

I'll try this and hopefully restore some of my self-esteem.
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 12-14-13, 09:05 AM   #7
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

@ Silent Steel:

one last note: don't introduce new semicolons in Mouse.cfg.

In the said file, semicolons are not used for marking comment strings, but for denoting a range of "active" pixels (only useful for pointers).
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 12-16-13, 08:54 PM   #8
skol101
Nub
 
Join Date: Dec 2011
Posts: 4
Downloads: 48
Uploads: 0
Default

I've tried playing with all these mods enabled. I must say it's way too hard, especially with no contacts on map. I mean I understand you strive for realism, but really trying to fill several shoes (and plotting every object on the map becomes primary job), takes away fun -- there's just not enough time to do everything in real time.

Why is my subs position removed after 10 seconds when I try dead-bearing position? Very strange.
skol101 is offline   Reply With Quote
Old 12-17-13, 03:25 AM   #9
Aktungbby
Gefallen Engel U-666
 
Aktungbby's Avatar
 
Join Date: Jul 2013
Location: On a tilted, overheated, overpopulated spinning mudball on Collision course with Andromeda Galaxy
Posts: 17,658
Downloads: 24
Uploads: 0


Default

Welcome aboard Gummi
__________________

"The world is too rediculous to even live in!"- Little Big Man
Aktungbby is offline   Reply With Quote
Old 12-17-13, 05:14 AM   #10
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

Quote:
Originally Posted by skol101 View Post
I've tried playing with all these mods enabled. I must say it's way too hard, especially with no contacts on map. I mean I understand you strive for realism, but really trying to fill several shoes (and plotting every object on the map becomes primary job), takes away fun -- there's just not enough time to do everything in real time.

Why is my subs position removed after 10 seconds when I try dead-bearing position? Very strange.
What do you mean plotting everything on the map ?
THE_MASK is offline   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 -5. The time now is 05:09 AM.


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