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)
-   -   [REL] Mini Tweaker Sensor file (https://www.subsim.com/radioroom/showthread.php?t=109069)

ref 03-25-07 06:00 PM

[REL] Mini Tweaker Sensor file
 
Copy the following text and save it as SH4_Sub_sensors_sim.txt (or whatever you like :D )

Ref


// Game version for these changes.
Version=SH4 v1.1

// Path to the file we are changing.
Path=data\Library\USSubParts\Sensors_sub_US.sim

[1]
DropDownName=NSS_EarlySD
absolute,integer,84D,SensorType
absolute,single,862,PreciseRange
absolute,single,873,MaxRange
absolute,single,885,MinHeight
absolute,single,897,MaxHeight
absolute,single,8AF,MinSensorHeight
absolute,single,8C7,MaxSensorHeight
absolute,single,8D7,Surface
absolute,single,8FF,SweepPeriod
absolute,single,910,SweepArc
absolute,single,926,ProbInsideArc
absolute,byte,938,Revolving
absolute,byte,947,SkipSweep
absolute,single,967,BearingMin
absolute,single,97A,BearingMax
[2]
DropDownName=NSS_EarlySJ_Balao
absolute,integer,A20,SensorType
absolute,single,A35,PreciseRange
absolute,single,A46,MaxRange
absolute,single,A58,MinHeight
absolute,single,A6A,MaxHeight
absolute,single,A82,MinSensorHeight
absolute,single,A9A,MaxSensorHeight
absolute,single,AAA,Surface
absolute,single,AD2,SweepPeriod
absolute,single,AE3,SweepArc
absolute,single,AF9,ProbInsideArc
absolute,byte,B0B,Revolving
absolute,byte,B1A,SkipSweep
absolute,single,B3A,BearingMin
absolute,single,B4D,BearingMax
[3]
DropDownName=NSS_LateSD
absolute,integer,BF3,SensorType
absolute,single,C08,PreciseRange
absolute,single,C19,MaxRange
absolute,single,C2B,MinHeight
absolute,single,C3D,MaxHeight
absolute,single,C55,MinSensorHeight
absolute,single,C6D,MaxSensorHeight
absolute,single,C7D,Surface
absolute,single,CA5,SweepPeriod
absolute,single,CB6,SweepArc
absolute,single,CCC,ProbInsideArc
absolute,byte,CDE,Revolving
absolute,byte,CED,SkipSweep
absolute,single,D0D,BearingMin
absolute,single,D20,BearingMax
[4]
DropDownName=NSS_LateSJ_Balao
absolute,integer,DC6,SensorType
absolute,single,DDB,PreciseRange
absolute,single,DEC,MaxRange
absolute,single,DFE,MinHeight
absolute,single,E10,MaxHeight
absolute,single,E28,MinSensorHeight
absolute,single,E40,MaxSensorHeight
absolute,single,E50,Surface
absolute,single,E78,SweepPeriod
absolute,single,E89,SweepArc
absolute,single,E9F,ProbInsideArc
absolute,byte,EB1,Revolving
absolute,byte,EC0,SkipSweep
absolute,single,EE0,BearingMin
absolute,single,EF3,BearingMax
[5]
DropDownName=NSS_atack_periscope
absolute,integer,F99,SensorType
absolute,single,FAE,PreciseRange
absolute,single,FBF,MaxRange
absolute,single,FD1,MinHeight
absolute,single,FE3,MaxHeight
absolute,single,FFB,MinSensorHeight
absolute,single,1013,MaxSensorHeight
absolute,single,1023,Surface
absolute,single,104B,SweepPeriod
absolute,single,105C,SweepArc
absolute,single,1072,ProbInsideArc
absolute,byte,1084,Revolving
absolute,byte,1093,SkipSweep
absolute,single,10B3,BearingMin
absolute,single,10C6,BearingMax
[6]
DropDownName=NSS_obs_periscop
absolute,integer,116C,SensorType
absolute,single,1181,PreciseRange
absolute,single,1192,MaxRange
absolute,single,11A4,MinHeight
absolute,single,11B6,MaxHeight
absolute,single,11CE,MinSensorHeight
absolute,single,11E6,MaxSensorHeight
absolute,single,11F6,Surface
absolute,single,121E,SweepPeriod
absolute,single,122F,SweepArc
absolute,single,1245,ProbInsideArc
absolute,byte,1257,Revolving
absolute,byte,1266,SkipSweep
absolute,single,1286,BearingMin
absolute,single,1299,BearingMax
[7]
DropDownName=periscop_radar
absolute,integer,133F,SensorType
absolute,single,1354,PreciseRange
absolute,single,1365,MaxRange
absolute,single,1377,MinHeight
absolute,single,1389,MaxHeight
absolute,single,13A1,MinSensorHeight
absolute,single,13B9,MaxSensorHeight
absolute,single,13C9,Surface
absolute,single,13F1,SweepPeriod
absolute,single,1402,SweepArc
absolute,single,1418,ProbInsideArc
absolute,byte,142A,Revolving
absolute,byte,1439,SkipSweep
absolute,single,1459,BearingMin
absolute,single,146C,BearingMax
[8]
DropDownName=NSS_SS
absolute,integer,1512,SensorType
absolute,single,1527,PreciseRange
absolute,single,1538,MaxRange
absolute,single,154A,MinHeight
absolute,single,155C,MaxHeight
absolute,single,1574,MinSensorHeight
absolute,single,158C,MaxSensorHeight
absolute,single,159C,Surface
absolute,single,15C4,SweepPeriod
absolute,single,15D5,SweepArc
absolute,single,15EB,ProbInsideArc
absolute,byte,15FD,Revolving
absolute,byte,160C,SkipSweep
absolute,single,162C,BearingMin
absolute,single,163F,BearingMax
[9]
DropDownName=NSS_EarlySJ_Antena
absolute,integer,16E5,SensorType
absolute,single,16FA,PreciseRange
absolute,single,170B,MaxRange
absolute,single,171D,MinHeight
absolute,single,172F,MaxHeight
absolute,single,1747,MinSensorHeight
absolute,single,175F,MaxSensorHeight
absolute,single,176F,Surface
absolute,single,1797,SweepPeriod
absolute,single,17A8,SweepArc
absolute,single,17BE,ProbInsideArc
absolute,byte,17D0,Revolving
absolute,byte,17DF,SkipSweep
absolute,single,17FF,BearingMin
absolute,single,1812,BearingMax
[10]
DropDownName=NSS_EarlySJ_PClass_Antena
absolute,integer,18B8,SensorType
absolute,single,18CD,PreciseRange
absolute,single,18DE,MaxRange
absolute,single,18F0,MinHeight
absolute,single,1902,MaxHeight
absolute,single,191A,MinSensorHeight
absolute,single,1932,MaxSensorHeight
absolute,single,1942,Surface
absolute,single,196A,SweepPeriod
absolute,single,197B,SweepArc
absolute,single,1991,ProbInsideArc
absolute,byte,19A3,Revolving
absolute,byte,19B2,SkipSweep
absolute,single,19D2,BearingMin
absolute,single,19E5,BearingMax
[11]
DropDownName=NSS_EarlySJ_PClass01_Antena
absolute,integer,1A8B,SensorType
absolute,single,1AA0,PreciseRange
absolute,single,1AB1,MaxRange
absolute,single,1AC3,MinHeight
absolute,single,1AD5,MaxHeight
absolute,single,1AED,MinSensorHeight
absolute,single,1B05,MaxSensorHeight
absolute,single,1B15,Surface
absolute,single,1B3D,SweepPeriod
absolute,single,1B4E,SweepArc
absolute,single,1B64,ProbInsideArc
absolute,byte,1B76,Revolving
absolute,byte,1B85,SkipSweep
absolute,single,1BA5,BearingMin
absolute,single,1BB8,BearingMax
[12]
DropDownName=NSS_EarlySJ_SClass_Antena
absolute,integer,1C5E,SensorType
absolute,single,1C73,PreciseRange
absolute,single,1C84,MaxRange
absolute,single,1C96,MinHeight
absolute,single,1CA8,MaxHeight
absolute,single,1CC0,MinSensorHeight
absolute,single,1CD8,MaxSensorHeight
absolute,single,1CE8,Surface
absolute,single,1D10,SweepPeriod
absolute,single,1D21,SweepArc
absolute,single,1D37,ProbInsideArc
absolute,byte,1D49,Revolving
absolute,byte,1D58,SkipSweep
absolute,single,1D78,BearingMin
absolute,single,1D8B,BearingMax
[13]
DropDownName=NSS_Hydrophone_Ball
absolute,integer,1E31,SensorType
absolute,single,1E46,PreciseRange
absolute,single,1E57,MaxRange
absolute,single,1E69,MinHeight
absolute,single,1E7B,MaxHeight
absolute,single,1E93,MinSensorHeight
absolute,single,1EAB,MaxSensorHeight
absolute,single,1EBB,Surface
absolute,single,1EE3,SweepPeriod
absolute,single,1EF4,SweepArc
absolute,single,1F0A,ProbInsideArc
absolute,byte,1F1C,Revolving
absolute,byte,1F2B,SkipSweep
absolute,single,1F4B,BearingMin
absolute,single,1F5E,BearingMax
absolute,single,1F75,BearingMin
absolute,single,1F88,BearingMax
[14]
DropDownName=NSS_Hydrophone_Ball_02
absolute,integer,202E,SensorType
absolute,single,2043,PreciseRange
absolute,single,2054,MaxRange
absolute,single,2066,MinHeight
absolute,single,2078,MaxHeight
absolute,single,2090,MinSensorHeight
absolute,single,20A8,MaxSensorHeight
absolute,single,20B8,Surface
absolute,single,20E0,SweepPeriod
absolute,single,20F1,SweepArc
absolute,single,2107,ProbInsideArc
absolute,byte,2119,Revolving
absolute,byte,2128,SkipSweep
absolute,single,2148,BearingMin
absolute,single,215B,BearingMax
absolute,single,2172,BearingMin
absolute,single,2185,BearingMax
[15]
DropDownName=NSS_Hydrophone_Head
absolute,integer,222B,SensorType
absolute,single,2240,PreciseRange
absolute,single,2251,MaxRange
absolute,single,2263,MinHeight
absolute,single,2275,MaxHeight
absolute,single,228D,MinSensorHeight
absolute,single,22A5,MaxSensorHeight
absolute,single,22B5,Surface
absolute,single,22DD,SweepPeriod
absolute,single,22EE,SweepArc
absolute,single,2304,ProbInsideArc
absolute,byte,2316,Revolving
absolute,byte,2325,SkipSweep
absolute,single,2345,BearingMin
absolute,single,2358,BearingMax
absolute,single,236F,BearingMin
absolute,single,2382,BearingMax
[16]
DropDownName=NSS_LateSJ_Antenna
absolute,integer,2428,SensorType
absolute,single,243D,PreciseRange
absolute,single,244E,MaxRange
absolute,single,2460,MinHeight
absolute,single,2472,MaxHeight
absolute,single,248A,MinSensorHeight
absolute,single,24A2,MaxSensorHeight
absolute,single,24B2,Surface
absolute,single,24DA,SweepPeriod
absolute,single,24EB,SweepArc
absolute,single,2501,ProbInsideArc
absolute,byte,2513,Revolving
absolute,byte,2522,SkipSweep
absolute,single,2542,BearingMin
absolute,single,2555,BearingMax
[17]
DropDownName=NSS_LateSJ_Balao
absolute,integer,25FB,SensorType
absolute,single,2610,PreciseRange
absolute,single,2621,MaxRange
absolute,single,2633,MinHeight
absolute,single,2645,MaxHeight
absolute,single,265D,MinSensorHeight
absolute,single,2675,MaxSensorHeight
absolute,single,2685,Surface
absolute,single,26AD,SweepPeriod
absolute,single,26BE,SweepArc
absolute,single,26D4,ProbInsideArc
absolute,byte,26E6,Revolving
absolute,byte,26F5,SkipSweep
absolute,single,2715,BearingMin
absolute,single,2728,BearingMax
[18]
DropDownName=NSS_LateSJ_PClass_Antena
absolute,integer,27CE,SensorType
absolute,single,27E3,PreciseRange
absolute,single,27F4,MaxRange
absolute,single,2806,MinHeight
absolute,single,2818,MaxHeight
absolute,single,2830,MinSensorHeight
absolute,single,2848,MaxSensorHeight
absolute,single,2858,Surface
absolute,single,2880,SweepPeriod
absolute,single,2891,SweepArc
absolute,single,28A7,ProbInsideArc
absolute,byte,28B9,Revolving
absolute,byte,28C8,SkipSweep
absolute,single,28E8,BearingMin
absolute,single,28FB,BearingMax
[19]
DropDownName=NSS_LateSJ_Pclass01_Antena
absolute,integer,29A1,SensorType
absolute,single,29B6,PreciseRange
absolute,single,29C7,MaxRange
absolute,single,29D9,MinHeight
absolute,single,29EB,MaxHeight
absolute,single,2A03,MinSensorHeight
absolute,single,2A1B,MaxSensorHeight
absolute,single,2A2B,Surface
absolute,single,2A53,SweepPeriod
absolute,single,2A64,SweepArc
absolute,single,2A7A,ProbInsideArc
absolute,byte,2A8C,Revolving
absolute,byte,2A9B,SkipSweep
absolute,single,2ABB,BearingMin
absolute,single,2ACE,BearingMax
[20]
DropDownName=NSS_LateSJ_Sclass_Antena
absolute,integer,2B74,SensorType
absolute,single,2B89,PreciseRange
absolute,single,2B9A,MaxRange
absolute,single,2BAC,MinHeight
absolute,single,2BBE,MaxHeight
absolute,single,2BD6,MinSensorHeight
absolute,single,2BEE,MaxSensorHeight
absolute,single,2BFE,Surface
absolute,single,2C26,SweepPeriod
absolute,single,2C37,SweepArc
absolute,single,2C4D,ProbInsideArc
absolute,byte,2C5F,Revolving
absolute,byte,2C6E,SkipSweep
absolute,single,2C8E,BearingMin
absolute,single,2CA1,BearingMax

Alex 03-25-07 06:08 PM

Could you give us some informations about this mod, please, Ref ? :cool:

Kaolla 03-25-07 07:05 PM

Looks like a Mini Tweaker tweak file for US sensors. Thanks! ^_^

CCIP 03-25-07 07:08 PM

Wonderful, thank you!

Could you by chance do the same for Torpedoes_US.sim?
I'm not experienced enough with this sort of editing to build a file from scratch like that :hmm:

Redwine 03-25-07 07:14 PM

Wonderful ! Many thanks, will be so useful when the sim falls in my hands. :up:

ref 03-25-07 07:27 PM

Quote:

Originally Posted by CCIP
Wonderful, thank you!

Could you by chance do the same for Torpedoes_US.sim?
I'm not experienced enough with this sort of editing to build a file from scratch like that :hmm:

I've an automated program for the sensors (too many changes during GWX development), I'll try to do something like that for torpedoes.

Ref

Madox58 03-25-07 07:28 PM

Go Ref!! :rock:
I'll be working on a few to aid ship transfers as soon as I figure out all that is
needed to get them working right.
Also Analyzer rules!

But, if we write them using the search function instead of absolute addressing,
any changes down the road would not require new tweak files.
How do you feel about that?

Here is an example:

search,min_height,1,single,>2,min_height
search,mass,1,single,>2,mass
search,gc_height,1,single,>2,gc_height
search,fr_ratio,1,single,>2,fr_ratio
search,put_on_water,1,byte,>2,put_on_water
search,displacement,1,single,>2,displacementSurfac ed
search,draught,1,single,>2,draughtSurfaced
search,drag,1,long,>2,dragSurfaced
search,displacement,2,single,>2,displacementSubmer ged
search,draught,2,single,>2,draughtSubmerged
search,drag,2,long,>2,dragSubmerged
search,max_speed,1,single,>2,max_speed
search,max_force,1,single,>2,max_force
search,eng_power,1,single,>2,eng_power
search,eng_rpm,1,single,>2,eng_rpm
search,drag,3,single,>2,dragSmallWing
search,prop_fact,1,single,>2,prop_fact
search,drag,4,single,>2,dragWings

ref 03-25-07 08:11 PM

I was just testing some tools I've wrote for GW and with minor changes they work with SH4, in fact I never use the minitweaker, I do 90% of the work directly with the hex editor, but as I'm too lazy to work on the sensors (trial and error isn't for me :D ), I post the MT values so someone else can do the work :rotfl: .

Ref

Madox58 03-25-07 08:23 PM

Ya, since I learned what I needed, I hex everything also.
(Thanks for the guidence by the way!! :up: )
If I get the time maybe I'll take your file and switch it to search.
That way if any changes come down the road it's still good.
And everyone can be Happy. :rock:

I hope you don't mind?

lurker_hlb3 03-25-07 10:18 PM

Would one you guys genrate a AI_sensor.txt for SH4, Thanks in advance :hmm:

Madox58 03-25-07 10:24 PM

Is it different from SH3?
I have not looked at it yet.
But I should as I put the River up against the Maxim Gorsky 4 times
and the River won EVERYTIME!?
Need to do some adjustments!!!

castorp345 03-25-07 11:40 PM

thanks ref!

the more people we can get working on "trial and error" the better... ;)

cheers
hc

kakemann 03-26-07 09:37 AM

Quote:

Originally Posted by lurker_hlb3
Would one you guys genrate a AI_sensor.txt for SH4, Thanks in advance :hmm:

Yeah! please! ;)

I think the AI sensors are too weak. They barely hear me. I tried a mod for making the sensor more sensitive- but it didn't seem to change it much! Still those nearly deaf DD's

Redwine 03-26-07 10:00 AM

Quote:

Originally Posted by kakemann
Quote:

Originally Posted by lurker_hlb3
Would one you guys genrate a AI_sensor.txt for SH4, Thanks in advance :hmm:

Yeah! please! ;)

I think the AI sensors are too weak. They barely hear me. I tried a mod for making the sensor more sensitive- but it didn't seem to change it much! Still those nearly deaf DD's

The AI sensors template is needed... :up:


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