![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Electrician's Mate
![]() Join Date: Dec 2008
Posts: 133
Downloads: 132
Uploads: 0
|
![]()
Currently I'm compiling a bunch of surface ships together. I ran into an issue I could use your help for. I'm working on making the guns interchangeable but what happens is only the player controlled turret changes. I know it's possible to have them all changed. So far I've been working through the UPC files but I have a feeling there's more to it than that.
I've seen it done in SH3 with the Scharnhorst by ChineseU-47. You could switch from 11 inch triples to Bismarck's 14.96 duals. Any help would be appreciated. |
![]() |
![]() |
![]() |
#2 |
Electrician's Mate
![]() Join Date: Dec 2008
Posts: 133
Downloads: 132
Uploads: 0
|
![]()
*Bump*
|
![]() |
![]() |
![]() |
#3 |
Sailor Man
![]() Join Date: Oct 2009
Location: Dieser verdammte Platz
Posts: 239
Downloads: 43
Uploads: 0
|
![]()
I've only done a tiny bit of modding myself, nothing worth releasing, so I'm not sure how much help I can be. However, to change a sub's standard deck gun to one of your choosing does require more than just modding the UPC file. If I recall correctly, (and I probably don't) you need to add the gun you want to the "USSupParts" file (modify and re-map the gun's .dat and .sim file.). Then add that gun to the "Weapons.upc"file, as well as the "UpgradePacks.upc" After that, you can add the gun to the sub's UPC file. Also, AA guns are tied to the conning tower in the "Objects" folder.
I'm sure that I'm making no sense, since I've barely got the hang of this myself, but ETR3(SS) did a very good and thorough tutorial on adding and modifying guns in SH4. I'll see if I can find a link for it. That should help you more than my sensless ramblings. ![]() EDIT: Here it is (I hope) : http://www.subsim.com/radioroom/showthread.php?t=162021 Good luck, hope that helps ![]() |
![]() |
![]() |
![]() |
#4 |
Electrician's Mate
![]() Join Date: Dec 2008
Posts: 133
Downloads: 132
Uploads: 0
|
![]()
Well I'm trying to do this for surface ships but it looks like ubi hard coded all this crap in. You have to use a different gun for the "player" turret and another type for everything else. I think they actually went through more work than it's worth to make it like this. I'm convinced it's impossible to make the IJN Ise's 6 gun turrets upgrade from the interface. Oh well...
![]() 12 hours and nothing accomplished. Yay. |
![]() |
![]() |
![]() |
#5 |
Electrician's Mate
![]() Join Date: Dec 2008
Posts: 133
Downloads: 132
Uploads: 0
|
![]()
"The guns for Ships are in the shipname.eqp file with dates."
I tried that. The "A" turret doesn't change. Plus it's really not what I was going for. I wanted to have these upgrades in game at the expense of renown for ease of use of the player. My next question is there a way that I can disable the "player turret" and allow the ship to use all the same gun data from the library/shipparts file? If possible while still having a gun crew and being able to assign targets? It appears there's no way I can make every gun use the gun files in library/(ger/us)subparts. I hope someone can prove me wrong though. If I can overcome this I'm releasing a really fun mod. So far I've done a lot but I'm stuck here. Imagine using a Ise/Fuso and having the Kriegsmarine 11 inch triples on them for commerce raiding. ![]() |
![]() |
![]() |
![]() |
#6 | |||
Admiral
![]() Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
|
![]() Quote:
To answer the other part of the question, for "ease of use of the player" it would be much easier to make a change in the eqp file by date so all the guns change than to try to make them all a renown purchase. If that is possible, since I never tried it I can't comment on that. And if it did work, there are 34 guns on the Ise. If by 'A' turret you mean the playable gun, then the entry in the Ship.upc or upcge file will take priority over the entry in the .eqp file. So if you want the same gun, you need to make the change in the upc. And as Vonhesse pointed out there is more to it. Quote:
Quote:
I am not trying to discourage you from your project. Just to keep in mind that your 'ship' once it is made playable becomes a sub and you will have to deal with the 'sub' files which are not designed by default to do what you want to do. So there is some work to be done. And you are trying to mix and match Fleet boat guns with Uboat guns, which means some may have to be moved, cloned and renamed and then deal with the fact that they are not in the upgradepacks.upc or the weapons.upc. Another thing that makes a difference is what sub was used to build the Ise/Fuso that you want to MOD. So there are some missing details to give you a specific answer. Peabody
__________________
System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2. |
|||
![]() |
![]() |
![]() |
#7 | |
Admiral
![]() Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
|
![]() Quote:
Peabody
__________________
System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2. |
|
![]() |
![]() |
![]() |
|
|