View Single Post
Old 08-18-19, 07:00 AM   #12481
DasBootSim
Swabbie
 
Join Date: Jul 2019
Posts: 11
Downloads: 10
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