![]() |
https://s19.postimg.org/fojjzh6n7/SH...0_10.52.45.png
https://s19.postimg.org/c4xm9mlwz/SH...0_10.52.07.png Good news is things are progressing :) Bad news is due to inexperience I made a fundamental mistake right at the very begining, which means doing everything again from scratch. :hmmm: |
Must be gutting to have to start again if necessary, but just as some encouragement the screenshots look incredible! :Kaleun_Cheers:
|
https://s19.postimg.org/mi01j2v1v/SH...1_17.31.37.png
ok needed a break from bones and meshes, and Brest! so I renamed all my 7c41 files to IXB, did roster names flotillas etc, and loaded it with mod enabler. problem 1....still no conning tower on the sub, even tried putting it in the objects folder and linking to that....still no joy:hmmm: problem 2 ...why is it screwing up my ui, on the face of it there is nothing in there that should do this, it must be a script thing, on a positive note, it did not crash the engine, so not a complete disaster disable the mod, all is back to normal. on a stock game just get the no conning tower thing. |
This must be a minor mistake in some file , I'm sure of it...
At the beginning of submarine upcge file you'll find few lines which defines stock and other available conning towers. Did you see them? I can't copy paste parts of code. sorry, posting from phone... |
Quote:
as a 7c41 the ct loads fine as you have already seen, but as a ix using the same files no ct, I get the hull in the bunker and a messed up ui instead. no time for it now, shower and bed, up at 5am for the start of nother glorious work week:har: |
@ Vecko
[UnitPart 1] ID= VIIC41Tower1 Type= VIIC41ConningTower ;Can only placed on unit parts slot of this type NameDisplayable= VIIC41c1-Conning-Name Info=VIIC41c1-Conning-Info Notes=VIIC41c1-Conning-Notes UnitPartInterval=NULL, NULL ExternalLinkName3D= Conning_7c41_01,data\Submarine\NSS_Uboat7c41\Subma rine Parts\Conning_7C41_01 HullTextureNameOverride=NULL HullLightmapTextureNameOverride=NULL HullNormalmapTextureNameOverride= NULL MenuSilhouetteTextureNameOverride= data\Textures\TNormal\tex\7C.dds ImageIndex=2 TrackingID=103 each sub has its own numbered unitspart file 7c41 is unitparts3VIIC41 I made a new file called unitparts6IXB (next number in sequence after last sub in list) my changes for IXB [UnitPart 1] ID= IXBTower1 Type= IXBConningTower ;Can only placed on unit parts slot of this type NameDisplayable= IXB-Conning-Name Info= Notes= UnitPartInterval=NULL, NULL ExternalLinkName3D= Conning_IXB_01,Data\submarine\NSS_UboatIXB\Submari ne Parts\Conning_IXB_01 HullTextureNameOverride=NULL HullLightmapTextureNameOverride=NULL HullNormalmapTextureNameOverride= NULL MenuSilhouetteTextureNameOverride= NULL ImageIndex=2 TrackingID=103............I ALSO TRIED WITH THE LAST 2 ENTRIES DELETED, MADE NO DIFFERENCE I loaded SH5 and if it CTD, I just went and looked through all the files again for any I had missed, until it loaded. FYI....even 1 wrong/missed entry in a single file would cause CTD going to run file access monitor when sh5 loads, see if it throws any light on the situation, |
Don't remember much but [UnitPart 1] sounds like trouble. I seem to recall the IDs have to be unique.
Edit: nvm this is inside a different file. ExternalLinkName3D= Conning_IXB_01,Data\submarine\NSS_UboatIXB\Submari ne Parts\Conning_IXB_01 You sure this node is correct? Has to exist in dat/zon i think. |
Mkii, I'm afraid I wont be able to Involve actively for next 10 days or so because I'll use only my phone for internet access. After that I'll ask you to upload the files so we can start digging together...
|
Quote:
|
Quote:
the node is Z01. its defined in another file, that is just the file link, actually moved z01 around in the mesh to position the tower on the new hull better, don`t think thats an issue. |
Quote:
also need to figure out how to debug script files, because the default hud py file is reading something in the IX files, that is making it load what looks like the sh4 interface and freezing all the other parts on screen. |
well I knew there was a lot of sh4 stuff left in all the folders, but going through the file listings sh5.exe is actually looking for data/library/ sh4 guns and radars. (it can`t find it coz its not there, but its still in the code to look for it)
|
There's liable to be leftovers from SH3 in there also, if it's anything like SH4... :o
|
Python files can be viewed with a text editor.
Note pad or whatever you prefer. I use SweetScape 010 myself. I scanned all the files in SH5 with 010 and can find no calls to the data/library/sh4 stuff you mention. Granted it could be coded so a hex scan does not see it but it's easy to test. Just put the called file in place and do a few edits to test it. |
Quote:
its reading everything in the data folder Jeff, if it needs it or not, probably gets flushed further along in the code. |
All times are GMT -5. The time now is 08:05 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.