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 05-27-13, 10:51 PM   #1
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,254
Downloads: 510
Uploads: 0


Default

Test will begin very soon
Great, but i guess game will remember those marks each save/load?
Fifi is offline   Reply With Quote
Old 05-27-13, 10:55 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Fifi View Post
Test will begin very soon
Great, but i guess game will remember those marks each save/load?
In campaign only. Campaign writes all destroyed units to a file in the campaign folder. The mod reads this file to build the destroyed units when in a campaign game. If you have ever used my Generic Patcher then it has automatically updated your SH5.exe to fix the problem with the writing of the destroyed units to this file. It has also added some new entries to each destroyed unit in this file.

In single mission games the mod will display the destroyed units but they will not be saved.

I'm coding in the ability to show all destroyed marks, only current game session's destroyed marks, or none. There will be some kind of UI for this. I might even add the ability to show destroyed marks by type (i.e. land, air, sea, or submarine).

I'm also thinking about color coding the destroyed marks to side of unit: i.e. blue for friendly, red for enemy, green for neutral. I'll make user options if I do this so that you can define the color of each one.

Any other ideas let me know

Last edited by TheDarkWraith; 05-27-13 at 11:21 PM.
TheDarkWraith is offline   Reply With Quote
Old 05-27-13, 11:29 PM   #3
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
Test version 7.5.0 available here:
Great!

Quote:
Originally Posted by TheDarkWraith View Post
Your anti-virus software may complain about the TDWDestroyedMarks.dll. I have to read/write process memory for this to work and thus some anti-virus software will not like some of the code it sees in that file.


Quote:
Originally Posted by TheDarkWraith View Post
In campaign only. Campaign writes all destroyed units to a file in the campaign folder. The mod reads this file to build the destroyed units when in a campaign game.
I hope only sub-campaign.. or whole career campaign?

Quote:
Originally Posted by TheDarkWraith View Post
I'm coding in the ability to show all destroyed marks, only current game session's destroyed marks, or none. There will be some kind of UI for this. I might even add the ability to show destroyed marks by type (i.e. land, air, sea, or submarine).
I think it's a good idea, sub-campaign or game session or none.. as for marks by type, maybe it's not needed because not much other targets than sea targets

Quote:
Originally Posted by TheDarkWraith View Post
I'm also thinking about color coding the destroyed marks to side of unit: i.e. blue for friendly, red for enemy, green for neutral. I'll make user options if I do this so that you can define the color of each one.
These colors (blue, green, red) already present in the game, and the other colors filter is not necessary.. I think so

Quote:
Originally Posted by TheDarkWraith View Post
Any other ideas let me know
Yes, sir
__________________
.
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 05-28-13, 12:54 AM   #4
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,254
Downloads: 510
Uploads: 0


Default

Quote:
Originally Posted by volodya61 View Post
These colors (blue, green, red) already present in the game, and the other colors filter is not necessary.. I think so
I think he is talking about his own NewUIs destroyed marks (different from stock) because for the moment they all appear in red color

I tested new patch and new NewUIs with destroyed marks ---> perfect!
Has to test new destroyed marks in campaign now
Fifi is offline   Reply With Quote
Old 05-28-13, 01:22 AM   #5
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,254
Downloads: 510
Uploads: 0


Default

Found a minor bug with destroyed marks...
Had a single mission where i destroyed 3 ships (all DM fine) and then loaded my ongoing campaign (in bunker) ---> the 3 DM of single mission were there!
Had to exit game, reload campaign save in bunker, and they disappeared...

So when destroying boats in single mission, best is to exit game before loading campaign
Fifi is offline   Reply With Quote
Old 05-28-13, 01:36 AM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Fifi View Post
I think he is talking about his own NewUIs destroyed marks (different from stock) because for the moment they all appear in red color
yes, that is correct. Since I have control of what is being placed on the map in regards to the destroyed marks I can control what they look like and what color they are.

Quote:
Originally Posted by Fifi View Post
Found a minor bug with destroyed marks...
Had a single mission where i destroyed 3 ships (all DM fine) and then loaded my ongoing campaign (in bunker) ---> the 3 DM of single mission were there!
Had to exit game, reload campaign save in bunker, and they disappeared...
good bug report. I'll fix it
TheDarkWraith is offline   Reply With Quote
Old 05-28-13, 01:29 AM   #7
divingbluefrog
Medic
 
Join Date: Jan 2006
Posts: 164
Downloads: 63
Uploads: 1
Default Request

It is a minor annoyance I didn't point out, but as there is a new version in test, may I ask that the Nav Map Options window to be a little bit shorter in height?
With my screen resolution (1366*768) I can't see what I suppose to be the last entrance.
divingbluefrog is offline   Reply With Quote
Old 05-28-13, 01:37 AM   #8
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by divingbluefrog View Post
It is a minor annoyance I didn't point out, but as there is a new version in test, may I ask that the Nav Map Options window to be a little bit shorter in height?
With my screen resolution (1366*768) I can't see what I suppose to be the last entrance.
I'll see what I can do
TheDarkWraith is offline   Reply With Quote
Old 05-28-13, 02:13 AM   #9
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,254
Downloads: 510
Uploads: 0


Default

Other report

DM are not kept/remembered in campaign each save/exit game/load...
They are displaying very fine on exact place of sinking, but even with my journal enabled in main screen, and exiting game with journal saving ---> marks disappeared next load

On side note, when the window ask me for journal saves, DM aren't present with check box anymore. Only journal entries/supermarks/navmarks...
Fifi is offline   Reply With Quote
Old 05-28-13, 11:02 AM   #10
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by divingbluefrog View Post
It is a minor annoyance I didn't point out, but as there is a new version in test, may I ask that the Nav Map Options window to be a little bit shorter in height?
With my screen resolution (1366*768) I can't see what I suppose to be the last entrance.
Instead of making that window smaller I made the whole left side of the window draggable. That way you can drag it up and down to view everything:
TheDarkWraith is offline   Reply With Quote
Old 05-28-13, 11:38 AM   #11
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

v7.5.0 Test version 2 available here: http://www.mediafire.com/?pbjafcr5j7h7xwi

This test version is testing the new destroyed marks code. The mod will be able to show destroyed marks for land, sea, air, and submarine units. The destroyed mark will show the date the unit was killed, the unit's name (i.e. Liberty Cargo), whether it was enemy, neutral, or friendly, tonnage, latitude and longitude and some other items that aren't coming to me currently.

In order to test this you need this test version and minimum v1.0.107.0 of my Generic Patcher with the new Destroyed Marks patch enabled for the SH5.exe.

What you are testing:
- game does not CTD when unit is destroyed
- a proper destroyed mark is placed on the nav map (air, land, sea, or submarine)
- destroyed marks are shown on the nav map when the unit is destroyed for both single missions and campaigns
- for campaigns: when you load a campaign that had units destroyed the destroyed units are shown properly on the nav map (if you have never used my Generic Patcher then this will not work - you simply just need to run my Generic Patcher for this to be enabled)
- when you mouse into the destroyed mark a box is shown with all the pertinent data for the destroyed unit
- the destroyed mark is placed in the correct position on the nav map (exactly where the unit was destroyed)

Your anti-virus software may complain about the TDWDestroyedMarks.dll. I have to read/write process memory for this to work and thus some anti-virus software will not like some of the code it sees in that file.

Run the DbgView app found in \data\Applications before starting the game. If you encounter any errors/bugs please save the DbgView output and post it along with what the error/bug was.

I've fixed all the errors reported so far and made the NavMap features window's whole left side draggable so those users with small screen resolutions can drag the window up/down.
TheDarkWraith is offline   Reply With Quote
Reply

Tags
dbrn, favorite, new ui

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 08:31 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.