SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   Need Help modding a working snorkel for the Jyunsen B/ type AM (https://www.subsim.com/radioroom/showthread.php?t=143601)

peabody 11-01-08 11:41 AM

Keltos,

I will look at it, but I know you are going to need it added to equipment.upc. (like Mikhayl noted above) and I think the 'externallinkname' links to the library/gersubparts/senzori_uboot.dat name which I think is 'NSS_Uboat21_SCHNORCHEL'

Peabody

keltos01 11-01-08 02:23 PM

equipemtn file
 
;Snorkel

[Equipment 10]
NodeName=SNK
LinkName=NSS_Uboattype9d2_SNK_mask
StartDate=19380101
EndDate=19451231

[Equipment 11]
NodeName=SNK
LinkName=NSS_Uboattype9d2_SNK
StartDate=19380101
EndDate=19440930

[Equipment 12]
NodeName=SNK
LinkName=NSS_Uboattype9d2_1_SNK
StartDate=19381001
EndDate=19451231

in upgrade apcks :
[UpgradePack 44]
ID= UpackXXI_Snorkel
NameDisplayable=Snorkel
Info=With a snorkel you sub will be able to use the diesels on periscope depth for recharging batteries
Notes=
FunctionalType= UpFTypeSnorkel
UpgradePackSlotType= XVIIISnorkel
Type=NULL
UnitUpgradePackIntervalOptionCurrent= NULL, NULL, 0
UnitUpgradePackIntervalOptions1=1938-01-01, 1944-10-01, 0
UnitUpgradePackIntervalOptions2=1942-10-01, 1944-11-01, 0
UnitUpgradePackIntervalOptions3=1944-11-01, 1944-12-01, 0
UnitUpgradePackIntervalOptions4=1944-12-01, 1945-01-01, 0
UnitUpgradePackIntervalOptions5=1945-01-01, 1945-02-01, 0
UnitUpgradePackIntervalOptions6=1945-02-01, 1945-03-01, 0
UnitUpgradePackIntervalOptions7=1945-03-01, 1945-04-01, 0
UnitUpgradePackIntervalOptions8=1945-04-01, 1945-05-01, 0
UnitUpgradePackIntervalOptions9=1945-05-01, 1945-06-01, 0
UnitUpgradePackIntervalOptions10=1945-06-01, 1945-07-01, 0
UnitUpgradePackIntervalOptions11=1945-07-01, 1945-08-01, 0
UnitUpgradePackIntervalOptions12=1945-08-01, 1945-09-01, 0
IDLinkUpgradePackElements= XXI_Snorkel

keltos01 11-01-08 02:46 PM

This mod is mainly Peabody's work :

lowered :

http://img135.imageshack.us/img135/3...lkeltosol1.jpg
http://img135.imageshack.us/img135/s...pg/1/w1024.png

extended (max height=5 in .sim) :

http://img84.imageshack.us/img84/6369/extension5gu9.jpg
http://img84.imageshack.us/img84/ext...pg/1/w1024.png

to snorkel depth :

http://img521.imageshack.us/img521/9...ldepth1tp9.jpg
http://img521.imageshack.us/img521/s...pg/1/w1024.png

at snorkel depth :

http://img254.imageshack.us/img254/7...ldepth2lo7.jpg


still is going too slow underwater : 8 knots ???

keltos01 11-01-08 02:54 PM

extension 4 :

http://img201.imageshack.us/img201/9...ension4ga2.jpg
http://img201.imageshack.us/img201/e...pg/1/w1024.png

Sledgehammer427 11-01-08 03:03 PM

:o :up:

peabody 11-01-08 03:21 PM

I told you it only gave 2 knots, I don't know what it is suppose to do? If you go flank which is 8 knots it only goes to 10. I upped the engine power a little and got you 11 and kept the surface the same.

Peabody

peabody 11-01-08 04:52 PM

Keltos,

Check the PMs
Put your cfg#snk back in version 2.9, there are two snorkels, one from you one from me, and the MOD just happened to activate it because I used version 2.8.

Peabody

keltos01 11-01-08 06:31 PM

I left the working node :cfg#SNK_NSS_Jyunsen_B

but it still doesn't give air to the engines ???

peabody 11-01-08 08:22 PM

Quote:

Originally Posted by keltos01
I left the working node :cfg#SNK_NSS_Jyunsen_B

but it still doesn't give air to the engines ???

You took out the obj_snorkel in the sim file. That controller includes and obj_extensible so you can set it for height and time.


1.Delete the obj_extensible for the snorkel
2.Append chunk a controller (type 10/-1)
3.append chunk Properties (type 6/0) /sh4/SHsim/obj_snorkel (open and set height and time)
4 Link properties to controller (in the box for <empty> type 'o' and select obj_snorkel from the list.
5. Link Obj_snorkel to the snorkel in .dat file.

You will now gain 2 knots in speed. You are suppose to be able to recharge batteries without surfacing IRL. I don't know if it works in game.

Edit: something else is wrong, it isn't working anymore.

On the First page in the equipment.upc, I believe the ExternalLinkName3D= should link to the file name in the library.

Edit:
Here is the

Equipment.upc

[Equipment 42]
ID=jbSnorkel
NameDisplayable= Snorkel
FunctionalType= EqFTypeSnorkel
EquipmentInterval= NULL, NULL
EquipmentSlotType=SnorkelSlot
ExternalLinkName3D= NSS_Uboat21_SCHNORCHEL
Hitpoints= 100
DamageDescription1= NULL, 0, 0.2, 0, 1, 1, small malfunction, 0, 0, NULL, 0.3, 0.4, 4
DamageDescription2= NULL, 0.2, 0.6, 0, 1, 1, Misaligned Axis, 0, 0, NULL, 0.5, 0.4, 10
DamageDescription3= NULL, 0.6, 1, 0, 1, 1, fuse blown, 0, 0, NULL, 1, 0.2, 15
DamageDescription4= NULL, 0.9, 1, 0, 1, 1, Sonar Head broken, 0, 0, NULL, 1, 1, 15

That links from your UnitParts3Jyunsen_B with jbSnorkel and the equipent.upc links to the snorkel in the library with NSS_Uboat21_SCHNORCHEL. I think.

UnitParts3Jyunsen_B.upc

[UnitPart 1.Compartment 1.EquipmentSlot 6]
ID= SnorkelSlot
NameDisplayable= Snorkel
Type=NULL
AcceptedTypes= NULL
UserCustomizable=No
IDLinkEquipmentIntervalDefault1= 1941-01-01, 1945-12-31, jbSnorkel
ExternalNodeName3D= SNK
ExternalDamageZoneTypeID3D= -1

I commented out the upgrade in the subs.upc

It is on the boat and shows in the list, but it will not work.

Peabody

keltos01 11-02-08 07:42 AM

http://img58.imageshack.us/img58/8002/snorkelhe0.jpg
http://img58.imageshack.us/img58/sno...pg/1/w1024.png


I didn't change the . dat so both snorkels were in yours. there is one (#1) away to starboard, and the one you placed in the node 142. in my modificatino of your mod, I just removed node 142 and moved 141 to 142 's coordinates, as 142 was a double.

http://img377.imageshack.us/img377/6192/simdz0.jpg
http://img377.imageshack.us/img377/s...pg/1/w1024.png


I edited the .sim, linked the last obj extensible to the node 141 snorkel, changed its value from radio antenna to snorkel, and saved.

it raises and lowers but doesn't work as air intake ?

I downloaded Xantro's and will look at it tonight.

keltos

keltos01 11-02-08 08:57 AM

xantro's way :

http://img142.imageshack.us/img142/6...lxantroah6.jpg
http://img142.imageshack.us/img142/s...pg/1/w1024.png

keltos

peabody 11-02-08 12:34 PM

Quote:

Originally Posted by keltos01
I didn't change the . dat so both snorkels were in yours. there is one (#1) away to starboard, and the one you placed in the node 142. in my modificatino of your mod, I just removed node 142 and moved 141 to 142 's coordinates, as 142 was a double.
keltos

What I meant is that it has always been in the eqp file from the XVIII ever since you started it. But it never showed until you started to add the necessary files to the unitparts and upgradepacks and then it appeared. I linked to the eqp file then realized the other stuff was not there, so I did it the 'easy' (wrong) way just to quickly test to see if it would work as a snorkel and then when you started adding stuff the right way it appeared. That is why I said one was yours one was mine. You added the files that were not there.

This is the eqp file from the XVIII:

[Equipment 9]
NodeName=SNK
LinkName=NSS_Uboattype9d2_SNK_mask
StartDate=19380101
EndDate=19431231

[Equipment 10]
NodeName=SNK
LinkName=NSS_Uboattype9d2_SNK
StartDate=19440101
EndDate=19440930

[Equipment 11]
NodeName=SNK
LinkName=NSS_Uboattype9d2_1_SNK
StartDate=19441001
EndDate=19451231

keltos01 11-02-08 12:41 PM

so what are we missing here ???

peabody 11-02-08 01:00 PM

Quote:

Originally Posted by keltos01
so what are we missing here ???

Right at the moment I do not know.

Edit: You have two UnitPart3 one is Jyunsen_B the other is Jyunsen_B1. We had problems with that before with someone that was added a sub but already had MODS installed. And could we be changing the wrong one? If not then one has to go.
Peabody

keltos01 11-02-08 01:21 PM

removed the unitsparts3Jyunsen_B1


All times are GMT -5. The time now is 12:25 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.