SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   Realism- and gameplay-related hardcode fixes for SH3.EXE (https://www.subsim.com/radioroom/showthread.php?t=174225)

LGN1 06-02-11 01:19 PM

Hi h.sie,

sounds great :up: I will look whether I can find some additional messages.

There is just one thing I don't understand. It is the statement:

'If none of the above conditions is true: You get one of 8 random BDU-responses.'

I think one of the conditions must be true. Either I have sunk something or I haven't sunk anything or I sunk something neutral. What else could be :hmmm:

So, my question is: If I have sunk an enemy ship and my fuel and damage is fine, do I always get congratulations from the BDU? I think this would be quite annoying because getting congratulations more than once for the same thing would be boring.

Anyway, I think this is great work that allows player to mod a more variable radio traffic! Thanks a lot!

Cheers, LGN1

h.sie 06-02-11 02:53 PM

@LGN1: Ok, my fault - inexact explaination.

Lets assume you sunk 20000t and send a status report. For that you get a congratulation once.

Now lets assume you send a second status report but didn't sink any ship in the meantime. The fix prevents from a second congratulation for the same tonnage (the next step for a new congratulation is 30000t).

If now hull integrity, diesel and torpedoes are okay, a randomly chosen ear-candy message will be sent.

h.sie

h.sie 06-02-11 06:39 PM

@LGN1: The algorithm for BDU responses to status report is as follows:

If ((Hull Integrity < 50%) OR (Fuel < 33%) OR (Torpedoes <= 4)) THEN
  • with a chance of 50% a "Return to base" - Message is sent.


Otherwise:

If (Tonnage sunk < 0) THEN:
  • with a chance of 75%: a warning ("sink no neutrals") is sent.
  • with a chance of 25%: one of 8 random ear-candy messages is sent

If (Tonnage sunk = 0) THEN:
  • with a chance of 50%: one of 4 random motivation messages (e.g. be more aggressive) is sent
  • with a chance of 50%: one of 8 random ear-candy messages is sent

If ((Tonnage sunk > 0) AND No_Congratulation_so_far) THEN:
  • with a chance of 75%: a congratulation according to tonnage is sent
  • with a chance of 25%: one of 8 random ear-candy messages is sent
ELSE: one of 8 random ear-candy messages is sent

LGN1 06-02-11 11:52 PM

Excellent, h.sie!

Just one thing I noticed: the 'return home' message because of torpedoes might be problematic for the type II and XXIII which have only a few torpedoes.

Cheers, LGN1

h.sie 06-03-11 03:08 AM

@LGN1: Thanks. I forgot about that point. I cannot differ between a Type XXI and a XXIII from code perspective in an easy way, since the XXIII is a XXI from code view, so I think I use the test for torpedoes only for types VII and IX (which are the most important ones).

Aces 06-03-11 03:28 AM

Hi mate,

Yes, thank you, for some reason better known to its self it worked when I tried it again with v15f and, although I'll probably never get to experience many of the new features as I don't actually play the game, the mod is excellent!.

Kind regards

Aces

h.sie 06-03-11 09:30 AM

I (hopefully) had a good idea: To program a certain chance (5% to 10%?) that a status report coudn't be received (completely) by the BDU. That would cause the BDU to response with "Transmission error, please repeat last status report!" or similar.

Arguments pro/contra this idea?

NGT 06-03-11 10:08 AM

10 % - 5 % x 4 ~7 # $ %^&*
 
Quote:

Originally Posted by h.sie (Post 1676576)
I (hopefully) had a good idea: To program a certain chance (5% to 10%?) that a status report coudn't be received (completely) by the BDU. That would cause the BDU to response with "Transmission error, please repeat last status report!" or similar.

Arguments pro/contra this idea?

Don't complicate your life. . . :lol:

...but if you like...

Wolfstriked 06-03-11 04:49 PM

H.sie,any chance to make the view instantly move when you move to new view.What I mean is that right now say you Rclick into the command room and now have to move cursor around to find a spot that doesn't highlight/then press Lmouse and you now have control of the view.Seems backwards to me....when I click to look thru the binos I do not want to then have to click the Lmouse to move the view around....and then when I R,mouse out I have to then make sure I am not highlighting anything and then have to press Lmouse.

h.sie 06-04-11 03:08 AM

@Wolfstriked: Sorry to say, but I wuldn't even know how to start modding that. Graphical stuff is very hard for me in Assembler. Maybe Interior-Modders like DivingDuck can help?

h.sie 06-04-11 03:35 AM

Now I need some suggestions for:

1) Some random Motivation messages like "be more aggressive".

2) Some random "ear-candy" messages that suits to almost all situations.

Thanks!

If there are many ideas, it would be very easy to expand the random "ear-candy" messages to ,say, 16 instead of currrently 8.

Hitman 06-04-11 05:35 AM

Are the messages stored in an external file, or is there still a need to edit one own's SH3 text files to add them?

SquareSteelBar 06-04-11 05:46 AM

You have to edit en_menu.txt or de_menu.txt

It's no big deal - you only have to append h.sie's messages to the end of file...

Have a look into 'Supplement to V15F3 (JSGME).7z'...

h.sie 06-04-11 07:50 AM

yup, all messages will be in en_menu.txt, so that everybody can change them to fit personal taste.

Kaleun Cook 06-04-11 08:31 AM

edit: nvm.


All times are GMT -5. The time now is 02:47 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.