PDA

View Full Version : [REL] Colored Hull Integrity Indicator


h.sie
01-04-10, 03:16 AM
< Updated first post - original first post deleted >


Colored Hull Integrity Indicator
------------------------------

Up to now there are only two options for SH3:
To hide or to show the hull integrity percentage numbers.
A compromise was not possible.

But now I found a way to display the hull integrity in 4 colors:

green: Integrity 90% - 100% (no or minor damage)
yellow: Integrity 60% - 89% (damage)
orange: Integrity 30% - 59% (heavy damage)
red: Integrity 0% - 29% (critical damage)

which at least for me is a good compromise and hopefully
a step into more realism for SH3.

Screenshot: (the transparency appears in the image only, not in game).
Screenie shows Hull Integrity: Orange (= Heavily damaged, 30-59%)

http://img508.imageshack.us/img508/3714/hull.jpg (http://img508.imageshack.us/i/hull.jpg/)


The main principle of this mod is simple:
I created a new Font type which shows color flags instead of numbers.
Only the middle of the three percentage numbers is important.
If it's a 9 or 0 (9x% - 100%) => a green flag is shown.
If it's a 6,7 or 8 (6x% - 8x%) => a yellow flag is shown.
And so on. The other two numbers are covered by a black mask image.


Unfortunately, this mod needs some changes in the menu_1024_768.ini
and the three xx_menu.txt files. But because there are hundreds of
different versions of these files (many GUI mods available),
it's easier for me to write a DIY-manual than to make hundreds of
compatibility patches for all these GUIs.

The DIY-manual is part of the DIY-Kit, which can be found on my mediafire page.

--------------------------------------------------------------------------------
I also uploaded a ready-to-use demo version for those people who want to see
how the mod looks like and works. It's only for GWX3 and it's not compatible to any GUI-mod.
----------------------------------------------------------------------------------


Optional stuff (in folder "Optional"):
--------------------------------------

1) Disabler-Mod. Re-activates the Hull Integrity output in percent.
So that the user can decide which output he gets (colors or numbers).
The Disabler-Mod only makes sense, if my Colored Hull Integrity Mod
is irreversibly integrated into a GUI.

2) Optional colors for color blind people. The font "HullInteg1.tga"
must be overwritten by that one from the Optional folder.



Compatibility with SH3-Commander
--------------------------------

Unfortunately, this mod is not compatible to the "Show/Hide Hull Integrity"
Option of SH3-Commander.

If you use SH3-Commander, you have to choose "Show Hull Integrity"
to make this mod work correctly.

The "Hide Hull Integrity" option of SH3-Commander does not work.
(A red flag remains all the time that indicates a critical hull
damage regardless of the actual hull condition).


TO COMPLETELY HIDE the Hull Integrity information, 2 steps are necessary
------------------------------------------------------------------------

First: Disable the Colored Hull Integrity mod.
Second: Use the "Hide Hull Integrity" option of SH3-Commander.


Credits to:
-----------
GWX-Team: For GWX.
JScones: JSGME, Sh3Cmdr.
SkWasjer: S3D.
Rubini: Optional colors for color blind people.

Hope you like it,
h.sie

h.sie
02-08-10, 03:25 AM
In the meantime, while working on my edition of ACM-GUI-Reloaded, I found a solution to restrict the hull integrity information to only six values:

100%, 80%, 50%, 30%, 10% and 0%.

For me that's a good compromise between the present solutions: fully show or hide the hull integrity percentage.

It's not hard to do.

1) First you have to create a new font by copying an existing one. Then you have to edit the .off file of your new font (using S3D) in order to make the numbers (0 to 9) have a FIXED WIDTH.

2) Use the new font for ItemID=0x67000404 in menu.ini. Don't forget to register the new font in the beginning of menu.ini.

3) Make the hull percentage output string right-aligned by setting TextFlags=0x1A for the above-mentioned Item.

Because of step 2) and 3) the last digit of the hull percentage now has a fixed position regardless of the percentage number shown.

4) Create an intransparent tga-image and paint a "0 %" on it and hide the last digit of the percentage number by that image. Now only 10%-steps are shown: 100%, 90%, ... 10%, 0%.

5) Edit the .tga file of the new font and overwrite the 9 and 7 by an 8. Then overwrite the 6 by a 5 and the 4 by a 3 and the 2 by a 1.

Now only the values 100%, 80%, 50%, 30%, 10% and 0% can be shown.

I'll include this in my next version of ACM-Reloaded-h.sie's Edition.

h.sie

Uber Gruber
02-08-10, 08:34 AM
Thats an excellent idea h.sie :up:

I imagine the same procedure would also work for WO range estimates ? If so then we should be able to get ranges in multiples of 1000 meters instead of the amazingly accurate ranges we get now.

As Beery once said - it's all about uncertainty:yep:

:salute:

Hitman
02-08-10, 08:42 AM
I imagine the same procedure would also work for WO range estimates ? If so then we should be able to get ranges in multiples of 1000 meters instead of the amazingly accurate ranges we get now.

Ha ha first thing I too thought about when reading the post :haha:

But no, I think it won't work with range because it appears in the message bar and in different positions, always using the same font as the rest of teh messages, so you can't apply the trick :damn:

h.sie
02-08-10, 10:44 AM
As Hitman already said: This trick won't work for the WO range.

The only possibility I see is to add escape sequences (e.g. something like '0x08' for backspaces) into the output string "Current range: %4.0f"

Using the backspaces one could maybe overwrite the output

from 13500m to 13000m or similar.

But I don't know how to add these control sequences. Maybe it's impossible.

Stiebler
02-08-10, 12:34 PM
The idea of introducing back-spaces into the pseudo-C line for the watch-officer's ranges was suggested some time ago.

Unfortunately, it doesn't work. I tried it.

Stiebler.

makman94
02-08-10, 12:36 PM
thats very nice idea H.Sie ,especially for the wo! :up:

you mean that with these changes (if you manage to import it into the game) the wo will give ranges of 500m ?

i think that Uber is involved at the past with this subject and ,maybe, you two together can figure out what is going on !

all the best to this effort :up:

Rubini
02-08-10, 12:51 PM
In the meantime, while working on my edition of ACM-GUI-Reloaded, I found a solution to restrict the hull integrity information to only six values:

100%, 80%, 50%, 30%, 10% and 0%.

For me that's a good compromise between the present solutions: fully show or hide the hull integrity percentage.

It's not hard to do.

1) First you have to create a new font by copying an existing one. Then you have to edit the .off file of your new font (using S3D) in order to make the numbers (0 to 9) have a FIXED WIDTH.

2) Use the new font for Item-Id 0x67xxxxxx (exact number will follow) in menu.ini. Don't forget to register the new font in the beginning of menu.ini.

3) Make the hull percentage output string right-aligned by setting TextFmt=0x1A for the above-mentioned Item.

Because of step 2) and 3) the last digit of the hull percentage now has a fixed position regardless of the percentage number shown.

4) Create an intransparent tga-image and paint a "0 %" on it and hide the last digit of the percentage number by that image. Now only 10%-steps are shown: 100%, 90%, ... 10%, 0%.

5) Edit the .tga file of the new font and overwrite the 9 and 7 by an 8. Then overwrite the 6 by a 5 and the 4 by a 3 and the 2 by a 1.

Now only the values 100%, 80%, 50%, 30%, 10% and 0% can be shown.

I'll include this in my next version of ACM-Reloaded-h.sie's Edition.

h.sie
This is great. I also already have looked to this issue some years ago but didn't achieve any good result.

Your solution is very good, it will be enough as a mid range option (much better than the actual nothing or all) and please make it also GWX 3.0 compatible.:up:

LGN1
02-08-10, 01:23 PM
Hi h.sie,

nice idea. However, I am wondering whether a more simple solution is to use SH3 Commander's crush depth randomization option. With a randomization of the crush depth by approx. 10%, I think the hull integrity number is also not too accurate. I use the full text version in combination with the SH3Commander feature and I think it is just fine.

Anyway, a solution for the WO would be really great!

Cheers, LGN1

h.sie
02-09-10, 02:33 PM
Thanks, for your replies, guys, I'll answer tomorrow. Currently I'm testing very interesting things. It's getting better and better. Playing with the .off files of the Fonts, I'm now able to display self-made little color flags instead of numbers or characters.

Only the middle digit of the three hull integrity percentage digits is relevant for us.

If 0 (100%) or 9 (90%) -> a green flag is shown.

If 5 (50%) or 6 (60%) -> a yellow flag is shown. and so on.

So hull integrity can be shown in 5 color steps, the same as the stealth-meter works: green, lightgreen, yellow, orange, red.

In my opinion it's better than the numbers.
Or what do you think?

Sailor Steve
02-09-10, 03:23 PM
I think words would be the best, if possible.

Excellent

Good

Fair

Poor

We're In Trouble

Barring that, the flags sound like a great idea.

h.sie
02-09-10, 03:35 PM
Hi Sailor,

words are not possible.

h.sie

tonschk
02-09-10, 03:53 PM
The % Hull integrity is just the information about how many Hit Points are still available , therefore the % Hull integrity have nothing to do with the hull of the sub, I just installed SH3 Commander to have my % Hull integrity , because unfortunately GWX Gold remove this very needed information , I need The % Hull integrity and I want The exact information about how many hit points are still available

Uber Gruber
02-09-10, 04:56 PM
Curses to them and their lot:03:

h.sie
02-10-10, 03:58 AM
Hi tomschk,

I try to make the game as "realistic" as possible, and I think a real kaleun did not know how many "hitpoints" are left for his sub. Or was there a gauge showing "hitpoints: 75,5%"?? So I try to reduce the detail of the information given to get a historical feeling, but I do not force anyone to use my idea.

h.sie


@makman: sorry, but the WO range cannot be modded this way.

piri_reis
02-10-10, 04:11 AM
I had the Hull Integrity disabled for obvious reasons, this mod with it's average values will be nice to have. Either flags or percentages will work for me, though I'm leaning towards percentages.
And I must say pretty creative modding tecnique here h.sie :up:

tonschk
02-10-10, 04:35 AM
Hello there , everybody have a different point of view and taste about the Silent Hunter game , the developers need to add a option in the realism interface to switch ON/OFF the % Hull integrity , in this way everybody will be happy :salute:

Rubini
02-10-10, 06:09 AM
Thanks, for your replies, guys, I'll answer tomorrow. Currently I'm testing very interesting things. It's getting better and better. Playing with the .off files of the Fonts, I'm now able to display self-made little color flags instead of numbers or characters.

Only the middle digit of the three hull integrity percentage digits is relevant for us.

If 0 (100%) or 9 (90%) -> a green flag is shown.

If 5 (50%) or 6 (60%) -> a yellow flag is shown. and so on.

So hull integrity can be shown in 5 color steps, the same as the stealth-meter works: green, lightgreen, yellow, orange, red.

In my opinion it's better than the numbers.
Or what do you think?
Excellent! A huge improvement IMO. I think that this flag color approach is the best one, knowing that SSteve suggestion (words) is not possible. Looking foward for this mod mate.:up:

h.sie
02-10-10, 06:29 AM
Thanks, Rubini. I also like the 5-color approch more than the numbers.

To answer your former question regarding compatibility: This mod will unfortunately affect the menu.ini (because some images have to be placed in order to hide unwanted numbers), so that it will conflict with every GUI mod. Instead of making compatibility patches for all these countless GUI-combinations, I will release a do-it-yourself manual so that GUI modders will easily be able to implement these changes if they want. in case of problems I'll help them of course.


@makman: sorry, but the WO range cannot be modded this way.

@LGN: I think the crush depth randomization can be used additionally. My intention was to remove this arcade-like percentage numbers. But the other option (fully remove the hull integrity information) was too hard in my optinion.

sabretwo
02-10-10, 06:53 AM
Personally, I have never been a fan of the percentage thing...seems too unrealistic to me. However, I think a better idea (now that some modders seem to have found new magic in manipulating states and animations) might be to have certain animated damage effects remain constant after reaching a certain damage level. For example, if your uboat hull suffers 60% damage, you have constant drips that wont stop. If you reach 40% level, the spray from busted seals remains constant and can't be stopped through repair.

I don't know if we have achieved that level of capability yet, but it seems like that would be a more realistic indicator that your uboat is in grave danger of critical hull failure than using the percentage on the damage control screen.

Just a thought...

Sailor Steve
02-10-10, 11:34 AM
Hello there , everybody have a different point of view and taste about the Silent Hunter game , the developers need to add a option in the realism interface to switch ON/OFF the % Hull integrity , in this way everybody will be happy :salute:
SH3 Commander lets you do just that.

I think the flag idea is the best, also.

h.sie
02-11-10, 03:03 AM
The mod is getting better and better. Now I need to discuss about fine-tuning. Because in the damage-screen there is a 4-color-coding of the damage amount like:

grey or no color = undamaged
yellow = damaged
orange = heavily damaged
red = critical or destroyed

I think it is a good idea to also use the same 4-color-coding for the hull integrity in order to have uniformity.

Now I need to assign the colors to the integrity percentage. My thoughts:

100-90%: grey (or green?) = no or light damage
70-89%: yellow = damage
40-69%: orange = heavy damage
0-39%: red = critical.

The most important one is the red color, because here you very much have to take the hull integrity into consideration when making tactical decisions, e.g. to dive or not to dive, to attack or not. So I chose a wide area from 0 to 39% in order to hopefully simulate the same amount of uncertainty about the exact condition of your hull as I think it might have been in real life.

maybe 0-29% is better?

what are your opinions?

h.sie

Rubini
02-11-10, 08:07 AM
The mod is getting better and better. Now I need to discuss about fine-tuning. Because in the damage-screen there is a 4-color-coding of the damage amount like:

grey or no color = undamaged
yellow = damaged
orange = heavily damaged
red = critical or destroyed

I think it is a good idea to also use the same 4-color-coding for the hull integrity in order to have uniformity.

Now I need to assign the colors to the integrity percentage. My thoughts:

100-90%: grey (or green?) = no or light damage
70-89%: yellow = damage
40-69%: orange = heavy damage
0-39%: red = critical.

The most important one is the red color, because here you very much have to take the hull integrity into consideration when making tactical decisions, e.g. to dive or not to dive, to attack or not. So I chose a wide area from 0 to 39% in order to hopefully simulate the same amount of uncertainty about the exact condition of your hull as I think it might have been in real life.

maybe 0-29% is better?

what are your opinions?

h.sie
Good news mate! It's going better and better. I will like any decison at the end, because all them will be must better than default. But here my suggestion, i guess that this way even at heavy damage you already have to pay attention to your sub

100-90 no or light damaged
89-60 damaged
59-30 heavy damaged
29-0 critical

h.sie
02-11-10, 09:43 AM
Ok, thanks, Rubini,

I think, I'll continue with your values.

h.sie

Sailor Steve
02-11-10, 11:51 AM
I disagree. I like your original values better. My thinking is that when you have 40% left it's time to head for home. Leaving it to 20% is an unnecessary risk to my mind.

h.sie
02-11-10, 12:24 PM
Hi SS,

it's not 20, it's 29, almost 30%

h.sie

piri_reis
02-11-10, 01:08 PM
100-90 no or light damaged
89-60 damaged
59-30 heavy damaged
29-0 critical

These are pretty good numbers I think. If heavily damaged, head home, and even after that if you are still taking damage you'll realize you are on the brink when the light goes red.

h.sie
02-12-10, 04:22 PM
Hello SS, the numbers can easily and individually be changed in the .off files of the used font.

First beta version ready (Yeah, yeah, yeah!!). Will upload it this weekend.

Since it conflicts with menu.ini and the menu.txt files, I have to combine it with a commonly used GUI. This will be GWX-Integrated Orders.

But a DIY-Manual will follow to easily integrate it in all possible GUIs.

h.sie

Sailor Steve
02-12-10, 06:16 PM
Hello there , everybody have a different point of view and taste about the Silent Hunter game , the developers need to add a option in the realism interface to switch ON/OFF the % Hull integrity , in this way everybody will be happy :salute:
The developers haven't touched the game in more than four years, and never will again.

SH3 Commander lets you turn it on and off at will.

Hi SS,

it's not 20, it's 29, almost 30%
You're right, I misread it.:oops:

h.sie
02-13-10, 12:46 PM
Done. Screenie see below. The transparency appears in the image only, not in game.

Screenie shows Hull Integrity: Orange (= Heavily damaged, 30-59%)

The black mask is necessary to hide the other two digits of the percentage.

http://img508.imageshack.us/img508/3714/hull.jpg (http://img508.imageshack.us/i/hull.jpg/)

Rubini
02-13-10, 04:07 PM
Hi h.sie,

Any possibility to have only this mod to start testing it? I donīt use integrated orders...:up:

h.sie
02-13-10, 04:11 PM
hello rubini,

what gui do you use?

the default one from gwx3?

Rubini
02-13-10, 04:41 PM
in truth a heavy modded gwx3.0...just a moment...I'm justing extracting it and will test. Results in some minutes...If needed then any help will be good.:up:

Rubini
02-13-10, 06:00 PM
Itsīdone! I extracted and itīs working flawless!:up:

In time: many thanks, itīs much better now, itīs the way it must be since stock game!

Rubini
02-13-10, 07:17 PM
h.sie,

Me again!

Working flawless as I said.:up:
Iīm daltonic (color blind) and i modified the yellow to some purple (what I see in truth more a blue):DL

So, here my suggestion (as it is easy to do): make also a version for color blind guys, 20% of our mates here. Any color that brake the Green-Yellow-Orange sequence is enough. The Green-Yellow sequence is the worst. If you want my modified .tga font file just ask.:up:

JScones
02-13-10, 11:54 PM
Watching this development with interest. :up:

h.sie
02-14-10, 05:37 AM
Hi JScones,

in the last days I often thougt about your tool SH3Cmdr. My mod is not 100% compatible to the hull integrity option of Sh3Cmdr, but I took care that at least it does not conflict with it.

In Sh3Cmdr you must have Hull Integrity enabled to make my mod work. But if you disable the option in SH3Cmdr, the Hull integrity is always red, even if no damage. For this reason I built an disabler mod which hides all images and color flags and fonts from my mod and makes hull integrity invisible.

h.sie

h.sie
02-14-10, 05:41 AM
Hello Rubini,

thanks. Happy you like it. Since I'm not colorblind it's hard for me to decide which color is good and which is not. So it would be better if you send me your font file.

h.sie

verte
02-14-10, 05:47 AM
Hi h.sie,

Any possibility to have only this mod to start testing it? I donīt use integrated orders...:up:
Yes, it would be good to have a standalone mod, without the integrated orders.

h.sie
02-14-10, 05:53 AM
Okay, in the next hours or days I'll create a version for GWX without Integrated Orders. Also, I'll integrate this mod into ACM-GUI-Reloaded, h.sie's Edition.

But I cannot make versions for all the thousands of different menu.ini versions of all available GUIs. So, for all other GUIs, I'll make a DoItYourself-Manual.

h.sie

verte
02-14-10, 05:58 AM
So for all other GUIs, I'll make a DoItYourself-Manual.

:yeah: It would be even better.

h.sie
02-14-10, 06:27 AM
Uploaded a version for GWX3 without Integrated Orders.

h.sie
02-14-10, 06:46 AM
I also made a Disabler Mod, so that users can easily re-activate the default behaviour of the GUI: output the hull integrity in percent.

Magic1111
02-14-10, 07:11 AM
So, for all other GUIs, I'll make a DoItYourself-Manual.

h.sie

Hello h.sie !

Thatīs a very good idea ! I use in GWX for example the WAC GUI made bei Raffael for GWX!

Best regards,
Magic

Rubini
02-14-10, 10:21 AM
Hello Rubini,

thanks. Happy you like it. Since I'm not colorblind it's hard for me to decide which color is good and which is not. So it would be better if you send me your font file.

h.sie

PM on the way!

h.sie
02-14-10, 12:57 PM
Thanks Rubini. Your font will be included as "Optional" in my mod.

h.sie
02-14-10, 01:11 PM
I just uploaded the V1.0 of my new "Colored Hull Integrity Mod". As mentioned some posts above, it's NOT a ready-to-use mod. It's a DIY-Kit, containing a DIY-Manual for experienced GUI modders who want to integrate Colored Hull Integrity Mod in their GUI.

I also uploaded a ready-to-use demo version for those people who want to see how the mod looks like and works. It's only for GWX3 and it's not compatible to any GUI-mod.

Hope you like it!!

Maybe a moderator could rename this Thread to

[REL] Colored Hull Integrity Indicator

(or something similar). Thanks.

Magic1111
02-15-10, 06:14 AM
I just uploaded the V1.0 of my new "Colored Hull Integrity Mod". As mentioned some posts above, it's NOT a ready-to-use mod. It's a DIY-Kit, containing a DIY-Manual for experienced GUI modders who want to integrate Colored Hull Integrity Mod in their GUI.

I also uploaded a ready-to-use demo version for those people who want to see how the mod looks like and works. It's only for GWX3 and it's not compatible to any GUI-mod.

Hope you like it!!

Maybe a moderator could rename this Thread to

[REL] Colored Hull Integrity Indicator

(or something similar). Thanks.

Thank you h.sie !!! :rock:

Best regards,
Magic:salute:

h.sie
02-15-10, 07:31 AM
You're welcome. Are you planning to integrate it into your GUI?
If so, I'm curious for your report.

Gruß nach Hessen
H.

Magic1111
02-15-10, 08:12 AM
You're welcome. Are you planning to integrate it into your GUI?
If so, I'm curious for your report.

Gruß nach Hessen
H.

Yes, of course ! But it may take a few days, since I currently do not have much time. I will definitely give feedback here! :up:

Best regards,
Magic

Hitman
02-16-10, 01:23 PM
Maybe a moderator could rename this Thread to

[REL] Colored Hull Integrity Indicator

(or something similar). Thanks.

Done :up:

Rubini
02-16-10, 01:57 PM
Iīm here just to say that this is a must have mod for all. It adds realism in the right level for hull damage information, a feature that SH3 (and any other subsim) should have since itīs release. I know that a lot of ppl (including myself) already tried to mod this without success...so, all kudos to h.sie who cracked it and in a absolutelly correct and usefull way!

Cheers h.sie!:up::up:

h.sie
02-16-10, 05:47 PM
Hey, thanks a lot, Rubini, for your kind words.

I got so much help, information, mods and fun from this forum and the people here, so that it is a must and a pleasure for me to give a little bit back to the community - or at least some people here.

h.sie

JCWolf
02-16-10, 06:13 PM
I just uploaded the V1.0 of my new "Colored Hull Integrity Mod". As mentioned some posts above, it's NOT a ready-to-use mod. It's a DIY-Kit, containing a DIY-Manual for experienced GUI modders who want to integrate Colored Hull Integrity Mod in their GUI.

I also uploaded a ready-to-use demo version for those people who want to see how the mod looks like and works. It's only for GWX3 and it's not compatible to any GUI-mod.

Hope you like it!!

Maybe a moderator could rename this Thread to

[REL] Colored Hull Integrity Indicator

(or something similar). Thanks.

Sorry mate I see it haves a menu-ini, so have to ask a question, is it compat with GWX Gold?:yeah:

FIREWALL
02-16-10, 06:17 PM
Hello h.sie !

Thatīs a very good idea ! I use in GWX for example the WAC GUI made bei Raffael for GWX!

Best regards,
Magic

I use the same and can't find the dl link.

If someone could point me in the right direction Thx.

h.sie
02-17-10, 02:59 AM
@JCWolf: the so called "demo" on my mediafire page is the standard GUI from GWX3 Gold, combined with my Colored Hull Integrity mod.

@FIREWALL: What exactly are you looking for?

h.sie

FIREWALL
02-17-10, 03:06 AM
Just the colored hull integrity mod for GWX 3 Gold.

I also use Rafaels GUI.

h.sie
02-17-10, 03:09 AM
@FIREWALL: The so called "demo" can be found on my mediafire page in the folder "Colored Hull integrity". It can be used with GWX3, but it is not compatible to your "Rafaels GUI", unless a person integrates it. I think, Magic1111 wants to do that, and I'll help him in the case of problems.

sergei
02-17-10, 04:35 AM
This looks very interesting h.sie.
I'll give it a go, thanks :up:

Stiebler
02-17-10, 09:57 AM
I downloaded Hsie's mod-pack from MediaFire safely (see 1st post- Thanks Hsie).

However, other users might like to be aware that part of the 'advertising' that (presumably) pays for Mediafire resulted, during the download process, in a large, noisy advertisement for a porn site, which persisted on my computer after closing the MediaFire web-site.

Luckily, a double sweep with anti-spware and anti-virus software immediately after closing down the porn site resulted in nothing nasty being detected.

Stiebler.

[Edited, spelling error.]

h.sie
02-17-10, 11:19 AM
Hi Stiebler,

hope you like it. I often download mods from mediafire and have never seen porn sites. Obviously I did something wrong.

h.sie

piri_reis
02-17-10, 03:56 PM
Hello h.sie,
I'm trying to implement this using your DIY kit, can you please upload a copy of this MenuIniRenumber-Tool, can't find a download link for it anywhere, would come in very handy.

Thank you :up:

FIREWALL
02-18-10, 01:15 AM
Thx h.sie :salute:

h.sie
02-18-10, 03:31 AM
Hello piri_reis,

Renumber Tool V0.6 can be found on my mediafire page. V0.4 is buggy.

What GUI do you use?

h.sie

h.sie
02-18-10, 03:32 AM
Hello FIREWALL, thanks for your reply! Does it work for you?

Magic1111
02-18-10, 04:41 AM
[QUOTE=h.sie;1270408. I think, Magic1111 wants to do that, and I'll help him in the case of problems.[/QUOTE]

Hello h.sie !

Yesterday I read the manual of your MODs. Puuuhh, many english words...:-?

Itīs hard for me to do your MOD manually, because my english itīs not perfect...:oops:

My Question: Is there a chance to become a Manual in german words for me and the many german users ?

Best regards,
Magic

piri_reis
02-18-10, 06:37 AM
What GUI do you use?

Thanks for the link to the tool h.sie.

I've created a new mod, and implemented your changes to menu_1024_768.ini and en_menu.txt. Did the renumbering.
And enabled it ontop of ACM_GUI_reloaded v1.05 by you :up:

And enabled "Show Hull Integrity" in Commander.
The problem is as you mention in the first page:

For some reason I have the Red Block in the middle showing and no hull damage effects this display. I'll go over my modifications and see if I did a typo;

h.sie
02-18-10, 07:03 AM
hello piri_reis,

I'll release a new version V1.10 of ACMGUI with Colored Hull Integrity in the next days,
so be lazy and let me do the job.....

Oh no, I forgot: it's already done. I just have to upload it. Please wait until weekend......

Greetings,
h.sie

makman94
02-18-10, 07:18 AM
very nice job H.sie ! congratulations ! :up:

if you have some free time for wasting it will be nice to have a look at wo's outputs again. i think that you are very 'close' to manage this also! maybe is impossible ,at last , but you are more 'close' than anyone else to understand the way of these outputs !
if you have the willness ,give it a try , i think its worth the effort !

bye

h.sie
02-18-10, 07:34 AM
Hey makman,

thank you. I often think about to change the WO range, but this cannot be done in the same way I solved the hull integrity problem.

The only way I see is to add escape-sequences (e.g. '0x08' for backspace) to the pseudo-C line in en_menu.txt in order to overwrite some numbers, but SH3 seems to ignore them. Stiebler and me already tried that without success. I'm pessimistic

h.sie

piri_reis
02-18-10, 09:03 AM
hello piri_reis,
I'll release a new version V1.10 of ACMGUI with Colored Hull Integrity in the next days, so be lazy and let me do the job.....

:haha: It was me, I overlooked to put in the lines for the fonts.
It works perfectly now.


Guys, once again, this is truly a must have mod.

Allows you to be aware of how close you are to total destruction, and make decisions considiring the situation, without giving up on realism. Hat's off to h.sie :salute:

verte
02-18-10, 09:11 AM
I'm using it and I like it very much, thank you H.sie!

Plissken_04
02-18-10, 09:23 AM
Hello piri_reis,

Renumber Tool V0.6 can be found on my mediafire page. V0.4 is buggy.

h.sie


Sorry,I didn't know that Version 0.6 exist,i upload the newer Version on my Mediafire Site too.


Maik

h.sie
02-18-10, 09:26 AM
Hi piri_reis,

nice to know you like it. how did you do the remumbering? By hand or using the Renumber-tool?

h.sie
02-18-10, 09:28 AM
By the way: I am not responsible for destructed menu.ini files !!!

piri_reis
02-18-10, 09:39 AM
Hi piri_reis,

nice to know you like it. how did you do the remumbering? By hand or using the Renumber-tool?

No way I would try manually, too many lines to modify.
I used the tool, pretty easy to use.

Just worked on a copied menu.ini as h.sie suggests in his DIY kit.

h.sie
02-19-10, 03:03 AM
@Magic1111: What about using an Online translator:

http://www.online-translator.com/?prmtlang=de

h.sie

Magic1111
02-19-10, 06:49 AM
@Magic1111: What about using an Online translator:

http://www.online-translator.com/?prmtlang=de

h.sie

Hi h.sie !

Yes, I`ll do so this weekend ! I do not have to translate everything, but a few!

Best regards,
Magic

h.sie
02-19-10, 07:06 AM
Hi Magic,

if you have probs, contact me in german via PM.

h.sie

h.sie
02-19-10, 07:28 AM
I forgot to mention, that this mod is absolutely free - for a 30 days test period.

After that time you have to connect to the h.sie-server in order to make the mod work. Licenses can be obtained via UBIsoft. First 20 customers get a special discounted offer.

h.sie

JCWolf
02-19-10, 08:19 AM
I forgot to mention, that this mod is absolutely free - for a 30 days test period.

After that time you have to connect to the h.sie-server in order to make the mod work. Licenses can be obtained via UBIsoft. First 20 customers get a special discounted offer.

h.sie


What????:hmmm:

Is this a pay Mod????:timeout:

Magic1111
02-19-10, 02:04 PM
Hi Magic,

if you have probs, contact me in german via PM.

h.sie

Hi !

Many thanks for the offer ! Iīll do so, if I need help ! :up:

Best regards to Hamburg from Kassel
Magic:salute:

Stiebler
02-20-10, 05:41 AM
@H.sie:

I've finally managed to try your mod with NYGM.

Unfortunately, it doesn't quite give the required result (see below, after my fitting instructions).

I made the changes in your 'DIY toolkit', adjusted for NYGM:
Number of fonts changed from 18 to 20 in menu_1024_768.ini with your two inserts as Font18=... and Font19=... at the end of the FONTS list).
Inserted by cut-and paste your items [G67 I683] to [G67 I686] (and renumbered all the remainder), and changed your example Font=19 to Font=18 and the Font=20 to Font=19. (The original [G67 I683] entry was identical to that also found with GWX3, which I think is what you are using for your DIY example instructions.)
Checked en_menu.txt has entry 589 correct (cut-and-pasted from your DIY kit). Added as new your entry 4999, again cut-and-pasted from your DIY kit.

Installed both these files into the menu folder of your original JSGME-ready took-kit, and installed them with JSGME.

After running SH3, starting from base with 100% hull integrity, I get the following on top right of the crew menu:
black rectangle - red rectangle - black rectangle.
The label 'hull integrity' (item 4999) does not appear.

As a test, I changed your file 'rota.tga' from red to blue colour, and re-tested.
Now I get the following:
black rectangle - blue rectangle - black rectangle.

After sustaining increasing hull damage in depth-charge attacks, the blue rectangle never changed colour.

It seems that the NYGM menu_1024_768.ini file does not register the figures for % hull integrity for some reason (maybe due to stretched screen monitor size, on 20 inch monitor?), nor does it register entry 4999.

If you can think of an explanation, please let me know, because this mod is obviously an excellent idea.

If you want to try this out for yourself, you can easily download NYGM from my signature. Be sure to install NYGM2.5, NYGM 3.2, NYGM 3.3C in that order, to ensure you have the latest files. If you want only to examine the most recent menu_1024_768.ini file, just download NYGM 3.2.

Stiebler.

h.sie
02-20-10, 06:43 AM
Hi Stiebler,

if you changed the font numbers in the [Font] section, did you also change the references to these fonts accordingly? See Readme:

* The font number for ItemID=0x67000404 (here: 19) must refer to
the Font Number of HullInteg1.tga in the font list.

* The font number for ItemID=0x67FFFFFD (here: 20) must refer to
the Font Number of HullInteg2.tga in the font list.

If that doesn't help, I'll look into it. I have NYGM always installed as alternative to GWX - still cannot decide what to use....

h.sie

h.sie
02-20-10, 07:11 AM
Hi Stiebler,

out of curiosity I made a Mod based on NYGM2.5/3.2/3.3C and it works well.

Can be downloaded from my mediafire page. Added a better color font which shows grey instaed of green for no damage.

h.sie

Stiebler
02-20-10, 09:35 AM
Hi H.sie,

Thanks very much for your quick reply.

I have downloaded your NYGM version from Mediafire (this time with a free advert from Betfair.com fouling my computer - what is Filefront like these days?), but I have not yet had the chance to test it.

if you changed the font numbers in the [Font] section, did you also change the references to these fonts accordingly? See Readme:

* The font number for ItemID=0x67000404 (here: 19) must refer to
the Font Number of HullInteg1.tga in the font list.

* The font number for ItemID=0x67FFFFFD (here: 20) must refer to
the Font Number of HullInteg2.tga in the font list.Yes, I did make these changes (for NYGM, to 18 and 19 respectively).

Thanks again, I'll let you know how it works out.

Stiebler.

Stiebler
02-20-10, 11:27 AM
@H.sie:

Right, I have now confirmed that your adaption of files for NYGM gives the expected result.
So, great work again, H.sie!

By file swapping between your version of the mod and mine, it became apparent that the problem was caused by my menu_1024_768.ini file.
So I made a file comparison between the two menu_1024_768.ini files, yours and mine.

The ONLY differences were that I had put comments on some lines.
The problem was that I had used these lines:

Fonts=20;; 18 Hsie change
...
Font18=DATA/Menu/Fonts/HullInteg1.tga ;; Hsie
Font19=DATA/Menu/Fonts/HullInteg2.tga ;; Hsie

whereas you had used:

Fonts=20
...
Font18=DATA/Menu/Fonts/HullInteg1.tga
Font19=DATA/Menu/Fonts/HullInteg2.tga

Removing the comments solved the problem completely.

That is the first time I have encountered an SH3 file where adding comments caused a difference.
Other users of H.sie's DIY toolkit should note this.

Stiebler.

h.sie
02-20-10, 11:39 AM
Hi Stiebler,

I will report about your problems in an update of the DIY manual.

Nice to know it works for you.

By the way: If you plan to use my mod in NYGM as an OPTION for the user,
then I recommend to use my optional Remover Mod to remove the Colored Indicator
instead of making an optional mod to add the Colored Indicator.

Reason: The Remover Mod does not need a menu.ini, only some Fonts.

So only one version of menu.ini exists.

h.sie

Stiebler
02-20-10, 12:33 PM
@H.sie:
By the way: If you plan to use my mod in NYGM as an OPTION for the user, then I recommend to use my optional Remover Mod to remove the Colored Indicator instead of making an optional mod to add the Colored Indicator.OK, acknowledged with thanks.

Stiebler.

Magic1111
02-20-10, 02:53 PM
Hi Magic,

if you have probs, contact me in german via PM.

h.sie

Hello h.sie !

Please check PM, thank you ! :03:

Best regards,
Magic:salute:

Magic1111
02-21-10, 04:38 PM
Hello h.sie !

Iīve tested your MOD and it works (see pictures, CLICK to enlarge) !!! :yeah:

But one question:

The Color-Indicator of a undamaged Submarine shows the color "white" and not "green", please see picture one !

On page 1 of this Thread you write this:
"But now I found a way to display the hull integrity in 4 colors:
green: Integrity 90% - 100% (no or minor damage)"

Why I have white ? Is this a mistake ?


http://img44.imagevenue.com/loc234/th_88023_Bild159_122_234lo.jpg (http://img44.imagevenue.com/img.php?image=88023_Bild159_122_234lo.jpg)http://img223.imagevenue.com/loc977/th_88025_Bild160_122_977lo.jpg (http://img223.imagevenue.com/img.php?image=88025_Bild160_122_977lo.jpg)http://img204.imagevenue.com/loc530/th_88026_Bild161_122_530lo.jpg (http://img204.imagevenue.com/img.php?image=88026_Bild161_122_530lo.jpg)

Thank you very much for answer and help ! :up:

Best regards,
Magic:salute:

h.sie
02-21-10, 04:47 PM
Hello Magic,

it is no mistake. I installed for you my new colored font which I also used for ACM-GUI reloaded, because it uses the same color coding as the rest of the damage screen: grey (instead of green) for no damage. if you like green more, look into the Fonts folder, rename HullInteg1.tga to xxx.tga and rename HullInteg1_opt.tga to HullInteg1.tga.

You can also adjust the 4 colors of HullInteg1.tga by yourself using a paint program.

h.sie

h.sie
02-22-10, 03:43 AM
Helllo Stiebler,

you may also like the new color coding GRAY for NO DAMAGE more than GREEN, because then it's the same color coding as the rest of the damage screen. If so, let me know, but it's also easy to DIY in the HullInteg1.tga.

Playing around in the Fonts .off files, it's also possible to change the total number of color steps from actually 4 up to maximum 11.

And one can also change the percentage values when the colors change e.g. at 30% integrity from orange to red.

Feel free to contact me for help.
h.sie

Magic1111
02-22-10, 04:13 AM
Hello Magic,

it is no mistake. I installed for you my new colored font which I also used for ACM-GUI reloaded, because it uses the same color coding as the rest of the damage screen: grey (instead of green) for no damage. if you like green more, look into the Fonts folder, rename HullInteg1.tga to xxx.tga and rename HullInteg1_opt.tga to HullInteg1.tga.

You can also adjust the 4 colors of HullInteg1.tga by yourself using a paint program.

h.sie

Heyho h.sie !

Aaaah, okay I understand that, many thanks for all, especially for the wonderful MOD ! :yeah:

Best regards,
Magic:salute:

jahsavage
06-09-10, 12:00 AM
Hello h.sie !

Iīve tested your MOD and it works (see pictures, CLICK to enlarge) !!! :yeah:

But one question:

The Color-Indicator of a undamaged Submarine shows the color "white" and not "green", please see picture one !

On page 1 of this Thread you write this:
"But now I found a way to display the hull integrity in 4 colors:
green: Integrity 90% - 100% (no or minor damage)"

Why I have white ? Is this a mistake ?


http://img44.imagevenue.com/loc234/th_88023_Bild159_122_234lo.jpg (http://img44.imagevenue.com/img.php?image=88023_Bild159_122_234lo.jpg)http://img223.imagevenue.com/loc977/th_88025_Bild160_122_977lo.jpg (http://img223.imagevenue.com/img.php?image=88025_Bild160_122_977lo.jpg)http://img204.imagevenue.com/loc530/th_88026_Bild161_122_530lo.jpg (http://img204.imagevenue.com/img.php?image=88026_Bild161_122_530lo.jpg)

Thank you very much for answer and help ! :up:

Best regards,
Magic:salute:

Hi Magic

I like those officer icons you have used in the above images can you please let me know who's mod this is.

Thanks

Magic1111
06-09-10, 01:13 PM
Hi Magic

I like those officer icons you have used in the above images can you please let me know who's mod this is.

Thanks

Hi !

Iīve taken the "green" Officer Icons from WAC4.1, but that what you see on the pictures is not the Standard WAC GUI, because Iīve merged with a lot of work two GUIs into one for my personal use !

Best regards,
Magic

chrysanthos
08-24-11, 12:42 PM
please help me i cant enable the mod:/ what should i do first?

Wolfstriked
08-24-11, 01:00 PM
Ahhhhh now I see what is happening in my game. I seen this and thought it was a bug.Great idea Hsie and thanks again for more immersion based mod.