![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
|
Thread Tools | Display Modes |
![]() |
#1 |
Watch
![]() Join Date: Jun 2007
Posts: 26
Downloads: 21
Uploads: 0
|
![]()
I'm trying to figure out how to add submarines to the game using the same method that was done in RSRD for the Tench and Narwhal.
I'm trying to add in the Type XXI submarine as its own sub instead of replacing the Type XVIII with it. I thought I had it down, but I hit a roadblock. Whenever I click the U-boat Campaign button in the main menu, I now get a CTD. Obviously I did something wrong or I'm missing some changes somewhere. If you can give me a hand, I'd appreciate it. Thanks. ![]()
__________________
U-Boat Snorkel Beta 2b - http://www.megaupload.com/?d=OIBS3J5R (With optional Type XVIII to Type XXI conversion) |
![]() |
![]() |
![]() |
#2 |
Rear Admiral
![]() |
![]()
For me to explain that......
I'd have to be at home and not at work, cause its a whole lot of typing. SHort of it is, - cloning. Theres two ways to clone. Remap ID's of a the data files of a sub, and rename it, so it becomes unique (and hence a new sub), and you can apply its own unique statistics or Inheirt the data files from a sub, and instantiate it as a new object, but in this method, you have two subs that share a dependancy on the same files. So they both will have the same statistics - just a different name, crew, sensor and equipment loadout, or even a different nationality. Many units are borrowed in the game like this. Tug boat for example, every country has one, and they're all inheirted from the same set of files. |
![]() |
![]() |
![]() |
#3 |
Watch
![]() Join Date: Jun 2007
Posts: 26
Downloads: 21
Uploads: 0
|
![]()
Heh, yeah. Figured it would be a lot of typing.
I started off with the inherit method, but wasn't sure if it would work or not so I ended up going through and making unique IDs and cloning the files over from the XVIII. I thought I'd tied up all the loose ends but like I said, I missed something. Let me see if I can come up with a list of the files I've added/altered. In the meantime, I may start from scratch but go straight for the cloning process. Since I sorta combined the two in my efforts, I probably borked something.
__________________
U-Boat Snorkel Beta 2b - http://www.megaupload.com/?d=OIBS3J5R (With optional Type XVIII to Type XXI conversion) |
![]() |
![]() |
![]() |
#4 |
Rear Admiral
![]() |
![]()
Best way to figure it out.
Reverse engineer the tench mod, and compare it to the balao. Line by line, in every file. Dont forget the unitparts.upc in the UPC directory either. |
![]() |
![]() |
![]() |
#5 |
Watch
![]() Join Date: Jun 2007
Posts: 26
Downloads: 21
Uploads: 0
|
![]()
Still no luck. Starting over has given me the same end results.
I'm curious about a few parameters and what they reference to: - IDUserLinkPlayerUnits - UpgradeClass (In the .upc and .upcge files) And when you create the UnitPartsXTypeXXI file (or whatever sub you are adding), does the X need to be a specific number, or can it just be the next in line following the previous files?
__________________
U-Boat Snorkel Beta 2b - http://www.megaupload.com/?d=OIBS3J5R (With optional Type XVIII to Type XXI conversion) |
![]() |
![]() |
![]() |
#6 |
Rear Admiral
![]() |
![]()
I think these files have to be in numerical sequence, in other words, if the sequence number ends in 5, then your new file should be 6.
|
![]() |
![]() |
![]() |
#7 |
Watch
![]() Join Date: Jun 2007
Posts: 26
Downloads: 21
Uploads: 0
|
![]()
I think I've figured out the problem now. I completely missed the IDs that needed changing in a number of files within the Data/Submarine folder.
Time to hit the sack now but tomorrow hopefully I can get this settled for good. Thanks for the help. ![]()
__________________
U-Boat Snorkel Beta 2b - http://www.megaupload.com/?d=OIBS3J5R (With optional Type XVIII to Type XXI conversion) |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|