![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
07-16-26, 06:29 PM
|
#1 |
|
Engineer
![]() Join Date: Sep 2014
Location: Land of Corn
Posts: 210
Downloads: 63
Uploads: 0
|
Hi this is mainly geared towards people who work on subs I guess but I've been at this for awhile today but I finally started on making playable ships. Right now my issue is I can't seem to get my crew to give me any vision outside of using binoculars or uzo. I don't know if my hierarchy is wrong or something or a sensors.dat issue. Same thing with radar I don't know how to set it up
Edit: I was messing with some things and found that cfg#O01 is what controls the vision but I don't know where thats referenced from or how to activate it Edit 2: So I currently have radar on my ship but it does absolutely nothing and I don't know how to get it to spin once I activate it. I don't know if this is because I'm adding sensordata into VDguns and then having it overwrite the one thats being interfaced inside the game on GWX KC This is what I've done so far ![]() ![]()
Last edited by Bladekill1298; 07-21-26 at 09:05 PM. Reason: New Title for different needs |
|
|
07-18-26, 04:18 AM
|
#2 |
|
Chief
![]() Join Date: Jul 2005
Location: AM93
Posts: 319
Downloads: 99
Uploads: 0
|
"O" is an optical/visual sensor (i.e. it simulates a lookout crewman)
"01" is the number of that O sensor on the unit The sensor is listed in the unit's .sns file, which references a sensor with the listed name in a library file. |
|
|
07-18-26, 04:33 PM
|
#3 | |
|
Engineer
![]() Join Date: Sep 2014
Location: Land of Corn
Posts: 210
Downloads: 63
Uploads: 0
|
Quote:
Thank you very much, does this also apply to R01 for radar? because whenever i try adding that into .dat it crashes my game or makes the radar disappear and without it the radar does nothing but the buttons will show up.
Last edited by Bladekill1298; 07-18-26 at 05:17 PM. |
|
|
|
07-23-26, 04:15 AM
|
#4 | |
|
Chief
![]() Join Date: Jul 2005
Location: AM93
Posts: 319
Downloads: 99
Uploads: 0
|
Quote:
All types of sensors are set up in basically the same way, from what I understand: a placement node in the unit's dat file, a corresponding reference for that node in the .sns file (which specifies the library node name of the sensor and its start & end dates), and the named sensor (with its controller) in a library file. Regarding crashes,I would suspect something is missing / mismatched in that standard set-up chain. Maybe there's already a R01 node in the dat file? Although I wouldn't expect that to crash the game. Or maybe the library node you're linking to is the wrong type of sensor (not radar type), or it's linking to an AI sensor when you need a player boat sensor (or vice versa). |
|
|
|
07-27-26, 01:11 PM
|
#5 | |
|
Engineer
![]() Join Date: Sep 2014
Location: Land of Corn
Posts: 210
Downloads: 63
Uploads: 0
|
Quote:
"or it's linking to an AI sensor when you need a player boat sensor" The sensor is an ai sensor but I just added SensorData to it but even then I don't get how to just add a player radar instead because when I look at the .sns file for subs it says R01 is set to NULL and then theres nothing in the .eqp file aside from only a R01 node on the conning tower. I looked at the basic.cfg for the radar section but that doesn't seem to make a difference since I'm using a basic.cfg from Surface Mod 2.7 and the ship I swapped out already has radar attached to it in the basic.cfg so idk why its not working Last edited by Bladekill1298; 07-27-26 at 01:25 PM. |
|
|
|
07-31-26, 04:57 AM
|
#6 |
|
Chief
![]() Join Date: Jul 2005
Location: AM93
Posts: 319
Downloads: 99
Uploads: 0
|
An "X" call is generic and basically used to add a model from a library file. I don't think it can affect how a sensors works, or prevent it from working.
R01 set to null in .sns will result in no radar being linked on an AI unit. With a player unit, there are setting in basic.cfg which control default equipment and sensor loadouts. I haven't yet needed to tweak those settings much, so don't have much experience with them. You'll need to familiarise yourself with "NameIdx[X]" identifiers and the Radar_[XX] settings, and check all the dates align. |
|
|
![]() |
|
|
