SUBSIM Radio Room Forums


SUBSIM: The Web's #1 BBS for all submarine and 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 08-18-2019, 07:00 AM   #12481
DasBootSim
Swabbie
 
Join Date: Jul 2019
Posts: 11
Downloads: 8
Uploads: 0
Default

Quote:
Originally Posted by Wzh View Post
I am from china,my english not very good please help me for my only problem "after I installed The Wolves of Steel v2.2.14, my recognition manual can be opened, but it.No ship information available, What's wrong with that?"
Thank you very much!
This is from scripts
currentshipfolder = GetSH5InstallPath() + "\\data\\Sea\\" + currentship
# change the sil picture
newsil = currentshipfolder + "\\" + currentship + "_sil.dds"
#ScriptManagerManaged.Trace( "newsil=" + newsil )
TDWFileUtils.ChangeMITexture( Pagelayout_SOAN_Unit_Profile, newsil, GetSH5InstallPath() + "\\data\\Menu\\Gui\\Layout\\CurrentSOAN.dds", True )
#ScriptManagerManaged.Trace( "sil texture changed successfully" )
# get the ship info
Pagelayout_SOAN_Unit_Name.Text = tdwsoan.GetCurrentShipInCategory()[ 0 ].ToUpper()
cfgfile = currentshipfolder + "\\" + currentship + ".cfg"
aitfile = currentshipfolder + "\\" + currentship + ".ait"

This way data is taken from files in ships-folders in \data\sea
*_sil.dds is ship pictures
*.cfg and *.ait is ship data
Check this folder if exist files and correct data.

Files may be from other mods
DasBootSim 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:59 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright © 1995- 2019 Subsim