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 > Silent Hunter 4: Wolves of the Pacific > SH4 ATO Mods
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 11-07-21, 04:50 PM   #11
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,245
Downloads: 466
Uploads: 4


Default

You usually have to run Hebe's tool multiple times to clear issues. You might fix what his tool found, but there is another lurking behind that one. But yes, the internal names have to match throughout. Take just a stock asset though, and copy its naming conventions, other than, do NOT use Conte Verde or the Porpoise, and some merchant that I can see, but cannot remember... but if you use the Kate for an airplane example, it has errors in the loadouts - in the Stock game... even the devs had issues with load-outs...

But anyway, the Kate is "ADB_B5N2_Kate" folder name. "ADB_B5N2_Kate.cfg" in that folder (think of a single mission file, that has the file matching the folder name). Inside that config is "ClassName=B5N2Kate * 3DModelFileName=data/Air/ADB_B5N2_Kate/ADB_B5N2_Kate * UnitType=303". Now, in the Roster Air folder for Japan is "TB_B5N2_Kate.cfg" and in it is "ClassName=B5N2Kate * UnitType=303" So they name it "DB" for "DiveBomber" in the Air folder, yet number it 303 for "Torpedo Bomber", and name it that in the Roster folder... sigh - but it does work like that.

in the Air cfg file is
[Loadout 1]
Name=3x500Kg Bombs
Type=3

[Loadout 2]
Name=4x250Kg Bombs ** no matching entry in the eqp file
Type=2

[Loadout 3]
Name=Torpedo
Type=4
and the eqp file has
;Basic Loadout values
All OK, seemingly
;3x500Kg Bombs loadout definition
All OK, seemingly
;5x250Kg loadout definition
All OK, seemingly, other than no matching cfg listing...
;Torpedo
Seemingly OK also
... and then list all of the "pilots" at the end, outside the other "loadout" definitions... not confusing. But notice that the cfg file names do not match, but the ClassName and Type must, of course... Probably what happened with this plane, is Bob was working on the plane, while Pete was working on the configuration for the Roster and Air folders, based on Bob's plane. Bob quits, and Steve takes over. He looks at the plane and goes "it be nice to have another bomb mount on this" and adds a B5 node, changing the Air folder, yet neglects to tell Pete for changes to the Roster. whatever - it actually only has four mounts, so it might just be someone got their finger in the wrong hole when typing a number four, and got "5" instead...
__________________

"...and bollocks to the naysayers" - Jimbuna

Last edited by propbeanie; 11-07-21 at 04:59 PM. Reason: TYPO ALERT!!!
propbeanie is offline   Reply With Quote
 


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


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.