![]() |
Having a problem
Trying to get more torpedos on the boat I changed the Gato UPC file thusley
[UserPlayerUnit 1.Compartment 1.Bunker 1] ; Stern Torpedo Room ID=SternTorpedoRoom Capacity=6 -----was 4+2 IDLinkAmmunitionIntervalDefault1= NULL, 1941-11-01, Mk14Torpedo, 6---was 4+2 IDLinkAmmunitionIntervalDefault2= 1941-11-01, 1944-06-31, Mk14Torpedo, 4, Mk18Torpedo, 3-----was 1+2 IDLinkAmmunitionIntervalDefault3= 1941-11-01, 1944-12-31, Mk14Torpedo, 3, Mk18Torpedo, 4----was 2+2 IDLinkAmmunitionIntervalDefault4= 1941-11-01, NULL, Mk14Torpedo, 2, Mk18Torpedo, 4----was 2+2, Mk27Torpedo, 1 [UserPlayerUnit 1.Compartment 5.Bunker 1] ; Forward Torpedo Room ID=BowTorpedoRoom Capacity=12-----was 10+2 IDLinkAmmunitionIntervalDefault1= NULL, 1941-11-01, Mk14Torpedo, 12----was 10 +2 IDLinkAmmunitionIntervalDefault2= 1941-11-01, 1944-06-31, Mk14Torpedo, 4, Mk18Torpedo, 4, Mk23Torpedo, 5----was 3 +2 IDLinkAmmunitionIntervalDefault3= 1941-11-01, 1944-12-31, Mk14Torpedo, 6, Mk18Torpedo, 4, Mk23Torpedo, 3----was 1 +2 IDLinkAmmunitionIntervalDefault4= 1941-11-01, NULL, Mk14Torpedo, 5, Mk18Torpedo, 8----was 6 +2 per the example given here.. for example if you want to increase reserve capacity for a Balao C:\Program Files\Ubisoft\Silent Hunter 4 Wolves of the Pacific\Data\Submarine\NSS_Balao [UserPlayerUnit 1.Compartment 1.Bunker 1] ; Stern Torpedo Room ID=SternTorpedoRoom Capacity=6<---was 4 IDLinkAmmunitionIntervalDefault1= NULL, 1943-12-31, Mk14Torpedo, 6<---was 4 IDLinkAmmunitionIntervalDefault2= 1944-01-01, 1944-06-31, Mk14Torpedo, 3, Mk18Torpedo, 3<---was 1 IDLinkAmmunitionIntervalDefault3= 1944-07-01, 1944-12-31, Mk14Torpedo, 2, Mk18Torpedo, 4<---was 2 IDLinkAmmunitionIntervalDefault4= 1945-01-01, NULL, Mk14Torpedo, 1, Mk18Torpedo, 4<---was 2, Mk27Torpedo, 1 [UserPlayerUnit 1.Compartment 5.Bunker 1] ; Forward Torpedo Room ID=BowTorpedoRoom Capacity=12<---was 10 IDLinkAmmunitionIntervalDefault1= NULL, 1943-12-31, Mk14Torpedo, 12<---was 10 IDLinkAmmunitionIntervalDefault2= 1944-01-01, 1944-06-31, Mk14Torpedo, 3, Mk18Torpedo, 4, Mk23Torpedo, 5<---was 3 IDLinkAmmunitionIntervalDefault3= 1944-07-01, 1944-12-31, Mk14Torpedo, 5, Mk18Torpedo, 4, Mk23Torpedo, 3<---was 1 IDLinkAmmunitionIntervalDefault4= 1945-01-01, NULL, Mk14Torpedo, 4, Mk18Torpedo, 8<---was 6 Start a career, pick a Balao and your off! C:\Program Files\Ubisoft\Silent Hunter 4 Wolves of the Pacific\Data\Submarine\NSS_Balao\NSS_Balao.upc tihs is what I have in my saved game folder right now. [UserPlayerUnit 1.Compartment 1.Bunker 1] ID=SternTorpedoRoom Capacity=6.000000 IDLinkAmmunitionLoaded=Mk23Torpedo,6 [UserPlayerUnit 1.Compartment 5.Bunker 1] ID=BowTorpedoRoom Capacity=12.000000 IDLinkAmmunitionLoaded=Mk23Torpedo,12 It works and puts the torpedos in but then I get the old SH4 has encountered a problem and must close,etc,etc...Can anyone help me and tell me whats wrong?:damn: |
Your default dates are overlapping and conflicting with each other.
|
Have to change the internal storage allowances in the sim file via S3D. Won't do anything but CTD until you do.
|
Quote:
Luke I will go over the dates.. Ducimus..I have been tring to figure out the S3D but not having a lot of luck.Cant find any help files or tutoriles for it...:damn: |
Im going by memory here, but....
Open up your gato sim file in S3D. Somewhere in the property tree you'll fine references to torpedo storage. Internal, and external storage. External wont have anything in it. Internal storage, if you expand the list there, you'll see a bunch of I's. There properties of what can be stored there, but anyway, click on this tree (right hand side of the tool), then right click on this list of I's., and then select "Add array item". Mimic what is already in place there. For example stern internal storage will probably have 4 array items. If you want 6 fish stored there, then you must add TWO items to this array for a total of 6. (array meaning the little tree your seeing there in the stern internal storage in laymans terms). The number in the torpedo storage bunker in the UPC file (fore or aft), must not exceed the size of the torpedo storage array (fore or aft) in the sim file. |
Quote:
|
Just search with "bunker", you should eventually find the part in the UPC files that determines how much storage space you have on the sub. Alter the .sim and upc file to same amounts (example, my 688i got 36 on forward torpedo bunker, and 36 torpedo storage on my .sim file at front torpedo space)
|
Thank you W4.....:D
|
Ok guy's I'm not getting it....I edited the UPC file with notepad like this....
[UserPlayerUnit 1.Compartment 1.Bunker 1] ; Stern Torpedo Room ID=SternTorpedoRoom Capacity=6 -----was 4+2 IDLinkAmmunitionIntervalDefault1= NULL, 1941-11-01, Mk14Torpedo, 6---was 4+2 IDLinkAmmunitionIntervalDefault2= 1941-11-01, 1944-06-31, Mk14Torpedo, 4, Mk18Torpedo, 3-----was 1+2 IDLinkAmmunitionIntervalDefault3= 1941-11-01, 1944-12-31, Mk14Torpedo, 3, Mk18Torpedo, 4----was 2+2 IDLinkAmmunitionIntervalDefault4= 1941-11-01, NULL, Mk14Torpedo, 2, Mk18Torpedo, 4----was 2+2, Mk27Torpedo, 1 [UserPlayerUnit 1.Compartment 5.Bunker 1] ; Forward Torpedo Room ID=BowTorpedoRoom Capacity=12-----was 10+2 IDLinkAmmunitionIntervalDefault1= NULL, 1941-11-01, Mk14Torpedo, 12----was 10 +2 IDLinkAmmunitionIntervalDefault2= 1941-11-01, 1944-06-31, Mk14Torpedo, 4, Mk18Torpedo, 4, Mk23Torpedo, 5----was 3 +2 IDLinkAmmunitionIntervalDefault3= 1941-11-01, 1944-12-31, Mk14Torpedo, 6, Mk18Torpedo, 4, Mk23Torpedo, 3----was 1 +2 IDLinkAmmunitionIntervalDefault4= 1941-11-01, NULL, Mk14Torpedo, 5, Mk18Torpedo, 8----was 6 +2 So it looks to me like "10" torps were added to the BOW bunker and "10" torps added to the Stern bunker...Ok so I went to the Gato SIM file in the Slient Editor and added "10" TORPS to the Bow bunker and "10" to the Stern...Its dosent work,still crashes....:damn: :damn: :damn: What the BLEEP am I doing wrong????? |
WAit a minute, you edited the Ammunition interval values? You should return their values to their standard ones and just adjust the capacity of the sub's bunkers. NOTHING Else.
Readjust the IDLinkAmmunitionIntervalDefault 1-4 back to their standard values. After that you should be good to go. If you want 10 more torpedoes, you just add +10 to the Capacity, (26 -> 36, example) And then adjust the .sim file to the corresponding amount of torpedoes that is shown on the UPC Capacity ( if .sim has 26 nodes, and UPC has 36, you add nodes into the torpedo storage bow/stern until it matches with the UPC files capacity) |
Quote:
You didn't add 10 torpedos, you added 2 and 2. Capacity=12-----was 10+2 You added 2 torpedos here ,forward bunker. Capacity=6 -----was 4+2 You added 2 here, aft bunker. The other numbers are what what topedos are available at different times during the war. Notice the different dates in the line and the different torpedos available at those dates.. So you don't add them up to get how many you added, just use how much you changed the 'Total' or "Capacity". If your frig 'Capacity' will only hold a six pack today and a six pack tomorrow and a six pack the next day. It still only holds 6 at one time. :lol: So, you can go through 2000 torpedos during the war but the 'capacity' tells you how many you can hold at one time and that is the number you need to have in the sim file. So, if your capacity changed by 2 you only need to add two to the .sim file. And one note: notice in the "Storage" part of the sim it will say for example: Storage[12] but below will be numbered 0 through 11. So make sure you stop at 11 because the numbering doesn't start with 1, it starts with 0. And for the aft: Storage[6] will be numbered 0 through 5. Peabody |
Ok I will try a couple of times again tomorrow and if it dosent work I'm gonna have to give up..I'm just not getting it for some reason and still trying to figure out the seditor...Thanks everyone for the help....:D
:damn: :damn: :damn: :damn: |
Quote:
I see mistakes with the numbers but the dates are kind of strange too, did you change them? But for the numbers: Look at the Stern bunker, you want 6 so 'capacity=6' good. Now Default1 you have MK14=6 good. Now Default2 you have MK14=4 and MK18=3 That's makes 7...too many,change one. Now Default3 you have MK14=3 and MK18=4 That's 7 get rid of one. Now Default4 you have MK14=2 and MK18=4 and MK27=1 that's 7. too many. It is the same with the forward torpedo room, 2,3,and4 all have 13 torpedos. I don't know if that's what is causing the crash or if the game ignores the extra. I'm new at this modding myself. Try changing them and if you still have a problem it is probably in the .sim with S3D and I could go in and set mine to 6 and 12 and if it works, I could post screen shots of what it should look like. Peabody |
Thanks Peabody.let me try it when I get time tomorrow after doctor appointments with this info...:D I'm on 1.4 with my own mod..I changed the dates to reflect 1941 to work with my mod...
|
Quote:
Example; Default1 1941-12-01, 1942-6-15 Default2 1942-6-16, 1942-12-25 First one ends 1942-06-15 and the next one starts the next day. This file you are editing is what is loaded on the sub if you don't select anything or if you play a single mission. If you need 1941 for your mod you could make all the dates in 1941 as long as the torpedo is available in 1941. Like, Jan to March then March to June etc. I think if they overlap like yours it just selects the first one, so the rest are really useless unless the dates are different. But it may also be causing the problem if you have a 1941 date and one torpedo isn't available until 1943. Peabody |
All times are GMT -5. The time now is 05:35 AM. |
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.