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 07-24-13, 05:07 AM   #1
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
Still pondering how to determine if contact closing/retreating from player's sub
Can't you set three volatile variables, and store in them unit ID, exact range and estimated range of the last target whose range was estimated?

- For each new range estimation compare the stored unit ID with the new unit ID;

if they are matching:

- If new exact range > stored exact range, min new estimated (random) range = stored estimated range

- If new exact range < stored exact range, max new estimated (random) range = stored estimated range

Moreover I wonder if you could implemet the below idea by Sartoris idea as an option of your patch:

http://www.subsim.com/radioroom/show...postcount=3603

Quote:
Originally Posted by TheDarkWraith View Post
v1.0.143.0 released. See post #1

Starting with v1.0.143.0 Added a new patch to the sh5.exe: Stadimeter can only be used at Attack scope or UZO (as Sextant)
gap is offline   Reply With Quote
Old 07-24-13, 09:40 AM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
Can't you set three volatile variables, and store in them unit ID, exact range and estimated range of the last target whose range was estimated?
Yes I could but everything will get screwed up if player chooses one contact, bounces over to another, comes back to first contact, etc.

That still doesn't help with contact either closing/retreating in respect to player's sub.

In order to make this 100% correct I need to add new variables to the units of the game (increase the amount of memory requested for each unit). That will be HIGHLY experimental because if I fail to find every place where a unit is created then I could be trampling on memory unrelated to the unit

It might be best just to convert that patch into returning short range, medium range, and long range.
TheDarkWraith is offline   Reply With Quote
Old 07-24-13, 12:21 PM   #3
Sartoris
Captain
 
Join Date: May 2011
Posts: 489
Downloads: 106
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
Yes I could but everything will get screwed up if player chooses one contact, bounces over to another, comes back to first contact, etc.

That still doesn't help with contact either closing/retreating in respect to player's sub.

In order to make this 100% correct I need to add new variables to the units of the game (increase the amount of memory requested for each unit). That will be HIGHLY experimental because if I fail to find every place where a unit is created then I could be trampling on memory unrelated to the unit

It might be best just to convert that patch into returning short range, medium range, and long range.
Yes, I think that would be best.
Sartoris is offline   Reply With Quote
Old 07-24-13, 01:57 PM   #4
Captain73
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by TheDarkWraith View Post
It might be best just to convert that patch into returning short range, medium range, and long range.
This is the right decision!

It is possible in the next patch to disable the command gunners - to open fire on the nearest ship?
And thus allow the player (captain) to determine which country the ship and take a decision on its destruction!
At night, the ship will not be easy to identify!


Finally, I would never see this yellow triangle!

Last edited by Captain73; 07-24-13 at 04:30 PM.
  Reply With Quote
Old 07-24-13, 02:02 PM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Captain73 View Post
This is the right decision!

It is possible in the next patch to disable the command gunners - to open fire on the nearest ship?
And thus allow the player (captain) to determine which country the ship and take a decision on its destruction!
At night, the ship will not be easy to identify!


Finally, I would never see this yellow triangle!
Are you asking if I can develop a patch to stop the automatic firing of the deckgun when you designate a target? If so, yeah that's a great idea.

Yes that yellow triangle is quite annoying
TheDarkWraith is offline   Reply With Quote
Old 07-24-13, 02:17 PM   #6
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Generic Patcher manual RUS (1.0.134 test - 1.0.143) - http://www.4sync.com/archive/NoI8UE6...l_RUS__10.html
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 07-24-13, 02:19 PM   #7
Captain73
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by TheDarkWraith View Post
Are you asking if I can develop a patch to stop the automatic firing of the deckgun when you designate a target? If so, yeah that's a great idea.

Yes that yellow triangle is quite annoying
You understood me correctly!
Yellow triangle must be destroyed!
  Reply With Quote
Old 07-24-13, 07:39 PM   #8
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,254
Downloads: 510
Uploads: 0


Default

@TDW: with latest patch activated (stadi only in attack scope), the XO can't identify target anymore.
We have to open the manual, find the right boat, and send the mast height...(well as in RL)
But clicking on officer, then on periscope icon, then left icon to identify target doesn't work anymore in either scope

EDIT: furthermore, with this patch activated i can't lock target anymore!
Tested with the patch deactivated --->all was fine again.
So it's really coming from the last patch.

Last edited by Fifi; 07-24-13 at 07:58 PM.
Fifi is offline   Reply With Quote
Old 07-24-13, 11:17 PM   #9
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Fifi View Post
@TDW: with latest patch activated (stadi only in attack scope), the XO can't identify target anymore.
We have to open the manual, find the right boat, and send the mast height...(well as in RL)
But clicking on officer, then on periscope icon, then left icon to identify target doesn't work anymore in either scope

EDIT: furthermore, with this patch activated i can't lock target anymore!
Tested with the patch deactivated --->all was fine again.
So it's really coming from the last patch.
Everything works fine for me. Looks like you corrupted your files somehow.

I can lock target at any station, and even identify the target using WEPS at any station.
TheDarkWraith is offline   Reply With Quote
Old 07-26-13, 10:37 PM   #10
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Captain73 View Post
This is the right decision!

It is possible in the next patch to disable the command gunners - to open fire on the nearest ship?
And thus allow the player (captain) to determine which country the ship and take a decision on its destruction!
At night, the ship will not be easy to identify!


Finally, I would never see this yellow triangle!
See below

Quote:
Originally Posted by gap View Post
@ TDW

... and here are the ship damage zone tweaks required by the upcoming radio damage patch:

http://www.mediafire.com/?qj37aa1fak7w39d

All the files based on the latest version of Fx Updates. Tweaks featured:


Zones.cfg
  • Added three new zonde definitions: 235=RadioRoom, 236=RadioTransmitAntenna, and 237=RadioReceiverAntenna (the latter added just in case of possible future developments of your radio damage patch); please note that included in the file are some other new zones, not pertinent to the said patch and not affecting FX update's normal functionalities, but required by the ship cargo mod proposed by Rongel which I started working on.
New zone settings (if needed, feel free to adjust them):

Code:
[RadioRoom]
Multiplier=1.000000
Flotability=0.000000
HitPoints=30
Destructible=No
Armor Level=-1
Critic Flotation=0.300000
Critical=No
Effect1=#sink_bubbles, 1
Effect2=BAZA_FX_FocFum_mic, 50
Effect3=BAZA_FX_Explozie_mica, 100
Effect4=BAZA_FX_Splinter_fire, 100
Effect5=BAZA_FX_scantei_explozie,100
FloodingTime=59.999996
CargoType=None
 
[RadioTransmitAntenna]
Multiplier=1.000000
Flotability=0.000000
HitPoints=8
Destructible=No
Armor Level=3
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None
 
[RadioReceiverAntenna]
Multiplier=1.000000
Flotability=0.000000
HitPoints=8
Destructible=No
Armor Level=3
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None

Ship *.zon files:
  • Added one RadioRoom damage box to each stock ship, and one RadioTransmitAntenna to some ships.
  • Some of the existing boxes of few ships slightly moved/resized, in order to make better space for the new boxes.
  • Added additional collision spheres to some ships, when required for the new damage boxes to take damge.
  • Added collision spheres and damage boxes to the masts of several battleships which were missing them, for making their masts destructible.
  • For most ships, mast boxes linked to the appropriate non-parent wire objects, so to make wires to be destroyed when masts are destroyed.
If you agree with the above changes, I suggest you to include them into the next FX Update's version, so to keep full compatibility among your mod and my tweaks of it.

Once your patch is ready and tested, I will start adding the needed boxes to OH's ships
v1.0.145.0 released. See post #1

Starting with v1.0.145.0 Finished the radio portion of the Carriers/Airbases spawning aircraft patch. The patch will look for 2 zones: 235 (Radio Room) and 236 (Transmit antenna). It will then check the damage to each one. If the damage is greater than the damage in the patch file (0.5 for both) then the unit was unable to radio for support (air support). This makes it paramount to place your deck gun shells on the radio room and/or it's transmit antenna! The patch also has the 237 zone enabled: receive radio antenna (max damage of 0.5). It's coded to be able to use it but currently nothing is using this feature (to be added here soon!). Added 2 new patches to the sh5.exe: remove yellow designation triangle for deck gun and disable automatic deck gun firing/man the deck gun when target designated for deck gun

@gap - I noticed that the NLL didn't have a transmit antenna zone. I know this because I was watching the code iterate over all the zones and this one never showed up. The radio room one did. I coded this radio feature in that if the zone is not found it defaults to it's ok and is undamaged. If either of the zones (radio room or transmit antenna/receive antenna) is damaged greater than the damage level in the patch file then unit was unable to transmit/receive radio. The receive part of the radio patch isn't operational yet (it's coded in but nothing is using it currently).

TheDarkWraith is offline   Reply With Quote
Old 07-27-13, 02:29 AM   #11
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,254
Downloads: 510
Uploads: 0


Default

For some reason, last patch won't let me use my new UZO (TBT_1024.dds)
Each time i load it (even directly remplacing in sh5 data!) i get old stock one
Is it again me, or?
Fifi is offline   Reply With Quote
Old 07-27-13, 08:54 AM   #12
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Fifi View Post
For some reason, last patch won't let me use my new UZO (TBT_1024.dds)
Each time i load it (even directly remplacing in sh5 data!) i get old stock one
Is it again me, or?
That would be correct. Trying to use the stock name won't work anymore with my UIs mod. You have to call it:

TBT_1024_backup.dds

if you want to see it in game
TheDarkWraith is offline   Reply With Quote
Old 07-27-13, 11:30 AM   #13
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,254
Downloads: 510
Uploads: 0


Default

Quote:
Originally Posted by TheDarkWraith View Post
That would be correct. Trying to use the stock name won't work anymore with my UIs mod. You have to call it:

TBT_1024_backup.dds

if you want to see it in game
Many thanks!
Fifi is offline   Reply With Quote
Old 07-27-13, 04:30 AM   #14
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by TheDarkWraith View Post
v1.0.145.0 released. See post #1
Thank you

Generic Patcher manual RUS (1.0.134 test - 1.0.145) - http://www.4sync.com/archive/kpIKKAs...l_RUS__10.html

Just one suggestion if I may, maybe the better place for /No yellow triangle designation on unit when designated for attack with deck gun/ patch is Render patches (Advanced users group).. and one more , maybe better to move /New hydro contact types/ to the Hydrophone group folder?

What do you think?
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 07-27-13, 08:56 AM   #15
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by volodya61 View Post
Thank you

Generic Patcher manual RUS (1.0.134 test - 1.0.145) - http://www.4sync.com/archive/kpIKKAs...l_RUS__10.html

Just one suggestion if I may, maybe the better place for /No yellow triangle designation on unit when designated for attack with deck gun/ patch is Render patches (Advanced users group).. and one more , maybe better to move /New hydro contact types/ to the Hydrophone group folder?

What do you think?
Good ideas I'm going to revise most of the render patches so as to remove the CTDs. I found a better way to 'not' render them.
TheDarkWraith 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 12:06 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.