SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 08-28-07, 07:10 PM   #1
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default [TEC] Adding new sensors

Is adding a new sensor as easy as cloning (copying one already there, and pasting it in as a new node, assuming that is "cloning") a sensor node in AI_Sensors.dat?

I can see the stuff in there with S3D, but I'm unclear on if it will work, and how to do it.

I had an idea which was to make a new visual sensor, AI_Visual_Naval, and that would replace AI_Visual on most warships. It would be set where AI_Visual is now, and the old AI_Visual would then be dropped to a lower sensitivity, range, etc. The difference would be the number of crew, and their training. One goal would be to make it so that if you managed to get past the escorts, the merchants would have a lesser ability to detect you, ideally making night surface attacks possible where they are not currently.

tater
tater is offline   Reply With Quote
Old 08-28-07, 07:36 PM   #2
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
Default

Yes, you can. Export the nodes and reimport them back (use insert). Change the id's/parent id's so you have an exact copy (no clone function yet in S3D), but differently identified. You'll have to clone all related nodes too (in this case 4 total). Then, once you've got the copy, rename the label to AI_Visual_Naval. Then, edit the ships .sns file (with notepad) and modify the O01 node section.

Be advised, this is based on my insights, not on actual tests :P
skwasjer is offline   Reply With Quote
Old 08-28-07, 07:43 PM   #3
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default

I might try this tonight.

tater
tater is offline   Reply With Quote
Old 08-28-07, 10:18 PM   #4
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default

Should I change the IDs, THEN export it (without saving), then open the original copy again and import?

I have to admit, this confuses me, lol

I can change the IDs on 2 nodes, but the stuff below belongs to them, and I only have a link, nothing I can edit.
tater is offline   Reply With Quote
Old 08-28-07, 10:36 PM   #5
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default

Ah ha!

export them.

change IDs in working version for new sensor.

import them, since they have old IDs, they nest

The trick is you need to switch from tree to list for it to show!

tater
tater is offline   Reply With Quote
Old 08-29-07, 04:01 AM   #6
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
Default

With id's shown as links, use CTRL + click on link to switch to edit mode.

I know the export/import procedure is a bit wonky but it should work.
skwasjer is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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