![]() |
Quote:
Code:
[UserPlayerUnit 1.Compartment 7.Bunker 1] ; Forward Torpedo Room Regarding deck gun, did you use U-flak upcge file as a base for type IX? maybe there is a problem since U-flan doesn't have one (I removed it's deckg gun upgrade pack in upcge file). |
already done the bunker entries vecko, I think know what the problem is, another play in the menu editor will either fix it or break the menu again :doh:
the deck gun was my fault, the upgrade pack was there so I just skipped over it, after a proper look and replacing NULL with a date and a gun we have https://s19.postimg.org/48dxb35xf/SH...3_14.13.16.png off to break my game again now. its no problem though, a complete copy of everything restores a shiny new twos in about 3 mins |
1...Reserve torpedos not showing= fixed
2...No stern tubes= Not fixed all the sub controls, teleporting, gun stations, and all the other sub functions seem to be ok. EXCEPT FOR THIS https://s19.postimg.org/v0i199y8z/SH...4_18.11.03.png So why do I get 3 crew and the captain and nothing else. it is turning into a proper headache. |
Quote:
All crew is "defined" in this file if I'm not mistaken, but there are also a ton unused lines of code which are just a leftover from SH3/SH4 era...:hmmm: |
I think its the pages themselves vecko, been having a look at the menu editor, and some things are just missing, ie the stern tubes, and the crew, I think renaming the files to type9 or ix changes things. everything in the hud is tied to type 7 nothing else. I am going to make a new page for the 9 and see if that works in game,
there are a few tuts on the forums, for the menu editor, all the images are long gone, but there is enough in the text to get a good idea how it works. as for the upcge file for the sub, tried leaving all the crew entries as VIIC41 and the result is the same. seems that renaming the file does a lot more than just rename the file. same as renaming the ct model bone is ok. but renaming the hull model bone just causes an immediate ctd. it was never going to be easy, otherwise we would have had new subs ages ago |
Been poking around with the menu editor, and other ingame tools.
if I load the game with menu debug info turned on and go to the choose torpedo page I get this https://s19.postimg.org/9hp134i2b/SH...5_19.20.19.png which shows that the extra torps are all ok, and the stern tubes have been added, so I can assume that the upcge file is ok. The problem is without menu debug turned on, the choose upgrades and choose torpedo lines are greyed out. start mission and check torpedos on board and we get this https://s19.postimg.org/vgvfqdomr/SH...5_19.22.29.png all the extras are here but the stern tubes have been moved to the Bow. and the crew is still AWOL. So making a new torps page and crew page will possibly sort the problem out. |
Quote:
:subsim: |
new menu made no difference at all, so i am at a loss what to do,
|
Wait a tic, the type IX had 4 fore tubes, yeah? Not 6?
|
Quote:
but in the bunker gamestate it has 4, in the mission gamestate 6. now if you could solve the problem, you would be at the top of my xmas card list. |
I don't know much about those pages or how they're constructed but it might be worth running with the script debugger enabled so you can see if any scripts are outputting warnings or experiencing fatal errors).
|
Quote:
|
In mission shot of torps page VIIA, Altered sim file, and altered menu page to allow extra torps to show on screen.
https://s19.postimg.org/b5xewu57n/SH...9_21.23.30.png these are the exact same adjustments I made for the IXB, the only difference is all the tubes are in the right places, and the crew is present and correct, the periscope page is set up for the new stern tube automatically, https://s19.postimg.org/7rf8gnccz/SH...9_22.48.18.png as soon as I rename files and bones, all this goes bye bye, I have tried every way I can think of to get around it but nothing works. |
Could you send me your files?
That would help me to try to help you. |
Quote:
but tbh I don`t think the files are the problem. I think its the sim itself, its what goes on behind the scenes during mission load, when the gamestate changes from bunker to mission. involving script manager native,dll/script manager wrappers.dll. (I think) I had a look at the menu pages in sh4 (which is essentially the same so far as the file system is concerned) all the different subs VII, IXD2, XVIII used variations of the same page. but but if the menu page had to be specifically for 1 class. there could be 3 different material id entries 0, 1, 2 each with a .dds file for whatever sub class was being used. if a listbox or bitmap array was not needed it was simply made invisible. sh5 only has 1 sub class, so this functionality is not being used, but I think it is still in the files , |
All times are GMT -5. The time now is 01:13 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.