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 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 12-02-18, 04:13 PM   #76
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,319
Downloads: 130
Uploads: 0


Default

So. I dug out some old DVDs and found my Delphi stuff and installed it.
Since ref gave me his source code for the SH3 to SH4 converter?
I'm going to ATTEMPT to adjust that to just search the SH3 files and whack the dynamic shadow stuff. The converter has that ability so I hope to remove the fluff and just scrub SH3 dats in one click.
Freaking Delphi programmers! C or C++ is SO much easier for me!
__________________
I don't do Stupid. So don't ask.
Jeff-Groves is offline   Reply With Quote
Old 12-02-18, 04:54 PM   #77
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 9,735
Downloads: 439
Uploads: 2


Default

Ah yesh... good ole Pascal... glad I forgot ya...
__________________

"...and bollocks to the naysayer/s" - Jimbuna
propbeanie is offline   Reply With Quote
Old 12-02-18, 05:32 PM   #78
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,319
Downloads: 130
Uploads: 0


Default

Quote:
Originally Posted by propbeanie View Post
Ah yesh... good ole Pascal... glad I forgot ya...
Been YEARS since I played with Pascal. If I can cut out the interface stuff and such? I'd be happy. Tell it to whack all files in a folder structure and we should be good.
__________________
I don't do Stupid. So don't ask.
Jeff-Groves is offline   Reply With Quote
Old 12-02-18, 07:33 PM   #79
ArnoldR
Medic
 
Join Date: Jul 2018
Posts: 159
Downloads: 22
Uploads: 0


Default

Quote:
Originally Posted by Jeff-Groves View Post
How to duplicate Units in SH3 the SH4 way:

Look at the BBNevada in SH4
ClassName=BBNevada
3DModelFileName=data/Sea/NBB_Colorado/NBB_Colorado

This type setting works in SH3 also!
Follow the files.
Quote:
Originally Posted by Jeff-Groves View Post
In SH4 it works fine.
I know damned well I had it working in SH3 at one point!
I'm still looking at what I had working and trying to duplicate.
If I can't get it working I don't have a problem saying.....
"Oh Crap!! I was wrong!"
So, we still don't know if this is working for SH3...????
ArnoldR is offline   Reply With Quote
Old 12-02-18, 08:26 PM   #80
ETR3(SS)
Ocean Warrior
 
Join Date: Dec 2007
Location: Between test depth and periscope depth
Posts: 3,021
Downloads: 175
Uploads: 16
Default

Quote:
Originally Posted by ArnoldR View Post
Thank you for the reply! So,you mean that both ships (original and cloned) are exactly the same (AA guns, hitpoints.....), except for the texture?
I don't have SH4, could you send me the files, or show me a screenshot?
So, the file structure for SH4 is different than it was for SH3 despite being the same game engine. The Colorado is the base model for several of the US battleships utilizing the same 3d model, texture, and damage model. Each individual entry differs in it equipment and sensors to provide it with the appropriate main, secondary, and AA weapons and sensors for the particular class of battleship. For example the Colorado had 8 16" guns while the Nevada had 10 14" guns.

From the Colorado:
[Equipment 1]
NodeName=M01
LinkName=16in_Double_base_US
StartDate=19380101
EndDate=19451231

From the Nevada:
[Equipment 1]
NodeName=M01
LinkName=14in_Triple_base_US
StartDate=19380101
EndDate=19451231
__________________


USS Kentucky SSBN 737 (G)
Comms Div 2003-2006
Qualified 19 November 03

Yes I was really on a submarine.
ETR3(SS) is offline   Reply With Quote
Old 12-03-18, 02:19 PM   #81
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,319
Downloads: 130
Uploads: 0


Default

One thing I do know.
I did get the SH4 way working at one time in SH3!
There is a difference I need to check out. I was running the original release with the No-StarForce patch at the time.

Maybe the newer version with no StarForce is the reason?
Would not surprise me if Ubi jacked that ability or the patch allowed it.

On the program to clean files of the Damages stuff?
I asked for help from a member here at Subsim who works with Delphi.
I did cut some stuff in Studio 2006 and it seems it should all work but it is so different from what I know that help is needed.
I'm not giving up. Just asking for help.
Jeff-Groves is offline   Reply With Quote
Old 12-03-18, 02:39 PM   #82
bigboywooly
Rear Admiral
 
Join Date: Apr 2006
Location: Swindon, England
Posts: 10,151
Downloads: 35
Uploads: 0
Default

Nothing wrong with asking for help. You can't know everything
__________________


My mediafire page http://www.mediafire.com/?11eoq19bq9r41
bigboywooly is offline   Reply With Quote
Old 12-03-18, 02:48 PM   #83
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,319
Downloads: 130
Uploads: 0


Default

What was it Jim use to say?
None of us are as smart as all of us?
Or something like that.
Jeff-Groves is offline   Reply With Quote
Old 12-03-18, 04:32 PM   #84
bigboywooly
Rear Admiral
 
Join Date: Apr 2006
Location: Swindon, England
Posts: 10,151
Downloads: 35
Uploads: 0
Default

Indeed he did and he was right
__________________


My mediafire page http://www.mediafire.com/?11eoq19bq9r41
bigboywooly is offline   Reply With Quote
Old 12-03-18, 05:06 PM   #85
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,319
Downloads: 130
Uploads: 0


Default

Quote:
Originally Posted by bigboywooly View Post
Indeed he did and he was right
Like we need to help his head grow larger!!

Jeff-Groves is offline   Reply With Quote
Old 12-04-18, 07:55 AM   #86
Jimbuna
Chief of the Boat
 
Jimbuna's Avatar
 
Join Date: Feb 2006
Location: 250 metres below the surface
Posts: 180,992
Downloads: 63
Uploads: 13


Default

Quote:
Originally Posted by Jeff-Groves View Post
What was it Jim use to say?
None of us are as smart as all of us?
Or something like that.
Just one word short " None of us are as clever as all of us?
__________________
Wise men speak because they have something to say; Fools because they have to say something.
Oh my God, not again!!


GWX3.0 Download Page - Donation/instant access to GWX (Help SubSim)
Jimbuna is offline   Reply With Quote
Old 12-04-18, 03:31 PM   #87
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,319
Downloads: 130
Uploads: 0


Default

Quote:
Originally Posted by Jimbuna View Post
Just one word short " None of us are as clever as all of us?
Then I didn't do to bad for a Colonist!
Jeff-Groves is offline   Reply With Quote
Old 12-05-18, 09:04 AM   #88
Jimbuna
Chief of the Boat
 
Jimbuna's Avatar
 
Join Date: Feb 2006
Location: 250 metres below the surface
Posts: 180,992
Downloads: 63
Uploads: 13


Default

Quote:
Originally Posted by Jeff-Groves View Post
Then I didn't do to bad for a Colonist!
Rgr that matey
__________________
Wise men speak because they have something to say; Fools because they have to say something.
Oh my God, not again!!


GWX3.0 Download Page - Donation/instant access to GWX (Help SubSim)
Jimbuna is offline   Reply With Quote
Old 12-05-18, 11:02 AM   #89
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Interesting thread Jeff, I am following it

Quote:
Originally Posted by ArnoldR View Post
Thank you for the reply! So,you mean that both ships (original and cloned) are exactly the same (AA guns, hitpoints.....), except for the texture?
I don't have SH4, could you send me the files, or show me a screenshot?
This is an example taken from SH5, but it works the same in SHIV and probably also in SHIII (never tried in the latter game but I trust what Jeff says )

File: data\Sea\NAMC_Patroclus\NAMC_Patroclus.cfg:


Code:
[Unit]
ClassName=AMCPatroclus
3DModelFileName=data/Sea/NAMC_Rawalpindi/NAMC_Rawalpindi
UnitType=13
MaxSpeed=15
Length=165.89
Width=21.39
Mast=39.69
Draft=9.00
Displacement=11198
DisplacementVariation=10
RenownAwarded=220
CrewComplement=40
SurvivalRate=70
SurvivalPercentage=40
RecManualCategory=TroopTransport
BowShape=Plumb
Funnels=2
ShowInRecognitionManual=No;it is a clone. the player will identify it as another single ship
;*********** THE END ************
Note the line marked in orange: the Patroclus has not 3D model of her own, but her cfg file is pointing to Rawalpindi 3D model (dat file, or gr2 file in this case, since we are talking about SH5).

Other files found in the same folder (besides the above cfg file):

NAMC_Patroclus_sil.dds
NAMC_Patroclus.eqp
NAMC_Patroclus.sns

All other (sim, zon, val, dsd, etc.) files are shared with the Rawalpindi. The two ships have most features in common, but textures, armaments and sensor outfits can be customized.

The external look of two ships having the same 3D model can be customized as well, to some extent: all you need to do is removing parts you want to customize from the main model, edit them in two or more variants, and storing them in an external library file whose content can be linked to the units sharing the said model through equipemnt nodes/bones and .eqp files. There are not examples of this type of advanced technique in stock SH5, but there is at least one in SHIV.

In general, this method is very useful for dealing with sister ships, similar ship classes and aircraft variants. We refer to it as "proxy-cloning" as opposed to simple "cloning" where you duplicate an unit with all her binary files
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 12-05-18, 04:59 PM   #90
ArnoldR
Medic
 
Join Date: Jul 2018
Posts: 159
Downloads: 22
Uploads: 0


Default

@gap: thankx for the detailed explain!!

A question: do the proxy-cloned unit have a dat file?? If no, how can you call the new texture, you must have a different name, or not?????????
ArnoldR is offline   Reply With Quote
Reply


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:14 PM.


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