Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

How to Disable Auto Identify
Goto page 1, 2  Next
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop
View previous topic :: View next topic  
Author Message
Heretic



Joined: 26 Mar 2005
Posts: 26

PostPosted: Sat Mar 26, 2005 10:14 pm    Post subject: How to Disable Auto Identify Reply with quote

I found out how to disable the 'Cargo', 'Warship', etc type ID when pointing the UZO or periscope at an unidentified (or unseen for that matter) target. Unlike the other text in the game, it doesn't use a text string from en_menu.txt . It seems to be hardcoded. After much searching, I found the entry in menu_1024_768.ini (data\menu folder) that sets it. It can be disabled. The downside is the ship text will never show up even after it's identified. For those who hate the auto-id, I doubt that will be a big downside.

for the attack periscope, find the following entry:

[G26 I109]
Name=Ship val
Type=1029;Static text
ItemID=0x26040051
ParentID=0x26040000
Pos=95,-42,165,41
Color=0x111111FF
Font=5
Text=0
TextFlags=0x12

Comment out the last four lines with semi-colons, thusly:

[G26 I109]
Name=Ship val
Type=1029;Static text
ItemID=0x26040051
ParentID=0x26040000
Pos=95,-42,165,41
;Color=0x111111FF
;Font=5
;Text=0
;TextFlags=0x12


do the same for [G28 I84] for the UZU and [G2B I109] for the observation periscope.

You can still click the "SHIP:" text to bring up the Rec Manual page after it's ID'd if you need a reminder.

I tried to disable the binocular crosshairs, but they appear hardcoded as well.
Back to top
View user's profile Send private message
Ridgeback



Joined: 19 Mar 2005
Posts: 11

PostPosted: Sun Mar 27, 2005 2:05 am    Post subject: Reply with quote

I forget who it was, but some other posters found a text-based mod to do the same thing. The credit for this belongs to them!!

Go to the "SilentHunterIII\data\Roster" folder and open the English.cfg file.

Then look for the following entries:

;Warships
Type0=Patrol Craft
Type1=Corvette
Type2=Frigate
Type3=Destroyer Escort
Type4=Destroyer
Type5=Minesweeper
Type6=Light Cruiser
Type7=Heavy Cruiser
Type8=Escort Carrier
Type9=Fleet Carrier
Type10=Battlecruiser
Type11=Battleship
Type12=Minelayer
Type13=Auxiliary Cruiser

;Merchant ships
Type100=Replenishment
Type101=Tanker
Type102=Cargo
Type103=Troop Transport
Type104=Coastal Vessel
Type105=Environmental

If you replace the ship names with "Unknown" all contacts will show as "Unknown" in the periscope/UZO notepad when the reticle passes over them..

Better still if you replace the names with a dash "-" (which is the default in the UZO/periscope notepad), nothing changes when you sweep your periscope/UZO over the target.

With this mod, the actual names of the relevant ship types will *still* display after you have ticked the box in the Recog Manual

Hope I've explained this clearly enough!!

As always, remember to back up the original files. I made a copy of the entire "data" folder after a fresh install & patch and I go back to that if I have to replace the original values for any reason.
Back to top
View user's profile Send private message
Heretic



Joined: 26 Mar 2005
Posts: 26

PostPosted: Sun Mar 27, 2005 3:08 am    Post subject: Reply with quote

Hey, that's a much better way to do it! I wonder how I missed seeing that mod? I wasn't sold til I saw your comment about using '-' as the name to prevent sighting 'help'.


Thanks!
Back to top
View user's profile Send private message
poopdeck



Joined: 15 Mar 2005
Posts: 218

PostPosted: Sun Mar 27, 2005 6:03 am    Post subject: Reply with quote

Now if you folks can just figure out how to get rid of that popup panel that gives away that you are approaching a hostile ship instead of a neutral, and I'll love you. Well, admire the heck out of you anyway. Smug

Dad-blasted "Engage Target" piece of garbage ruining my "is it friendly???" moment!!! :hulk:

I'll try these ideas. Will the second alternative get rid of the "Warship" and "Merchant" give away? I'll check it out.
Back to top
View user's profile Send private message
Aviar



Joined: 17 Mar 2005
Posts: 186
Location: New Jersey, USA

PostPosted: Sun Mar 27, 2005 6:46 am    Post subject: Reply with quote

Possibly if we can find the graphic for that panel and remove it....
:hmm:

Aviar
Back to top
View user's profile Send private message
Justin Prince



Joined: 27 Mar 2002
Posts: 280
Location: Oklahoma, USA

PostPosted: Sun Mar 27, 2005 11:11 am    Post subject: Reply with quote

Just out of curiosity, did anyone notice under submarine types the missile submarine? Do we get to hunt Commie Hotel I's in our Type XXIs? Rotfl
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Sheppard



Joined: 17 Mar 2005
Posts: 369

PostPosted: Mon Mar 28, 2005 12:58 am    Post subject: Reply with quote

Justin Prince wrote:
Just out of curiosity, did anyone notice under submarine types the missile submarine? Do we get to hunt Commie Hotel I's in our Type XXIs? Rotfl


Possibly because there were experiments carried out in WWII
for firing modified Nebelwerfers from a VII boat's deck...
Back to top
View user's profile Send private message AIM Address
wolfh20



Joined: 01 Mar 2005
Posts: 209
Location: Arizona

PostPosted: Mon Mar 28, 2005 2:00 am    Post subject: Reply with quote

I saw that too. Was wondering what the hell that was lol Joking
Back to top
View user's profile Send private message
Woof1701



Joined: 10 Jan 2002
Posts: 299
Location: Munich, Germany, Home of U-96

PostPosted: Mon Mar 28, 2005 2:26 am    Post subject: Reply with quote

Hi Ridgeback,

That mod sounded too good to true, and it seems to be Sad Just tried it out (got the German version) and to make sure edited both the German.cfg and the English.cfg and started the game. Unfortunately the notepad still shows the ID of the ship I'm locking on. It does not only show the type (i.e. tanker), but the correct designation (i.e. C2 Tanker).

In case I misunderstood something please enlighten me. Thanks very much.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Hobnail



Joined: 27 Feb 2005
Posts: 245
Location: Sydney, Australia

PostPosted: Mon Mar 28, 2005 2:46 am    Post subject: Reply with quote

Sheppard wrote:
Justin Prince wrote:
Just out of curiosity, did anyone notice under submarine types the missile submarine? Do we get to hunt Commie Hotel I's in our Type XXIs? Rotfl


Possibly because there were experiments carried out in WWII
for firing modified Nebelwerfers from a VII boat's deck...
More likely was the V1 launching experiments. The Germans had even designed a floating cannister arrangement for launching V2s and later ballistic rockets.
Back to top
View user's profile Send private message
Weird Guy



Joined: 23 Mar 2005
Posts: 161

PostPosted: Mon Mar 28, 2005 8:10 am    Post subject: Reply with quote

Woof 1701, does it show the generic name before you use the book and identify the target as a C2 cargo ship?

This is what the mod stops from happening.

Before you identify the target, it is called a generic name, like Destroyer, or Battleship. This mod has changed it to be whatever you wrote in the Roster\English.cfg (or in your case the Roster\German.cfg file). So if you changed it to be the "Unknown" name, or the even more purist name of just "-" so you cannot even tell that you moved the crosshairs over something that is all you see.....

....until you use the Target Identification Book and say that you are looking at a V & W Destroyer. From then on whenever you run the periscope or UWZ binoculars over the ship, it is still called a V & W Destroyer.

The game is doing you a favor of NOT having to repeatedly identify the same target over and over.....and over..........and over. That would be bad. That would be frustrating. I don't want to open the book to tell my crew they should already know.

After you indentify a target as something, it will stay there. You can look at other ships and lower the periscope, but when you come back and look at that first ship again, it will still be identified for you because you already did it.

I am not sure what is needed for this memory feature to become erased. Perhaps after you sail out of visual range of the ship and then come back it resets back to the less informative generic name or Unknown, or even just the "-" from the English.cfg or German.cfg files.

If that is not what is happening, then you did it wrong, or the German version of the game is different (but I doubt it).
Back to top
View user's profile Send private message
Ridgeback



Joined: 19 Mar 2005
Posts: 11

PostPosted: Mon Mar 28, 2005 9:07 am    Post subject: Reply with quote

Thanks Weird Guy, that was a far better explanation than I could ever have put together Thumbs Up

Woof, as Weird Guy said, this mod only stops that annoying generic name type appearing...it's ridiculous that you can only see some smoke on the horizon and your uber-watch crew can ID the ship as a Merchant or whatever.

Just to make sure you did it right, your config (either English or German) should look like this if you want to replace the generic names with a "-":

;Warships
Type0=-
Type1=-
Type2=-
Type3=-
Type4=-
Type5=-
Type6=-
Type7=-
Type8=-
Type9=-
Type10=-
Type11=-
Type12=-
Type13=-

;Merchant ships
Type100=-
Type101=-
Type102=-
Type103=-
Type104=-
Type105=-


On another point, I think I've found the files that relate to that pop-up box when you sight an enemy ship (it doesn't pop-up when you approach freindlies or neutrals). The actual text is found in ".../data/menu" folder and the "en_menu" file.

The following text is what pops up in the box when a target is spotted:

;Automatic target spotting - DO NOT CHANGE INDEXES ORDER
2670=Engage target!
2671=Maintain current orders!
2672=Dive to periscope depth!
2673=WARSHIP SPOTTED!
2674=MERCHANT SPOTTED!
2675=SUBMARINE SPOTTED!
2676=AIRCRAFT SPOTTED!
2677=GROUND UNIT SPOTTED!

The actual appearance of the box seems to be governed by the following scripts, which are in the "menu_1024_768" file:

[G3F I7]
Name=Group automatic target spotting
Type=1026;Menu group
ItemID=0x3F330000
ParentID=0x3F000000
Pos=0,768,1024,768
Color=0xFFFFFFFF

[G3F I8]
Name=Message box
Type=1026;Menu group
ItemID=0x3F340000
ParentID=0x3F330000
Pos=287,-234,450,300
Color=0xFFFFFFFF

[G3F I9]
Name=Dive
Type=1032;Button
ItemID=0x3F340004
ParentID=0x3F340000
Pos=65,-250,320,30
Color=0xFFFFFF32
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/bkgr.tga
Crop 0=0,0,4,4
Mat 1=data/menu/gui/layout/bkgr.tga
Crop 1=0,0,4,4
Mat 2=data/menu/gui/layout/bkgr.tga
Crop 2=0,0,4,4
Mat 3=data/menu/gui/layout/bkgr.tga
Crop 3=0,0,4,4
MatFlags=0x1
TexFmt=0x9
Font=13
Text=2672
TextFlags=0x5
StatesColors=0xB0B0B0FF, 0xAAAAAAFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I10]
Name=Maintain orders
Type=1032;Button
ItemID=0x3F340003
ParentID=0x3F340000
Pos=65,-210,320,30
Color=0xFFFFFF32
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/bkgr.tga
Crop 0=0,0,4,4
Mat 1=data/menu/gui/layout/bkgr.tga
Crop 1=0,0,4,4
Mat 2=data/menu/gui/layout/bkgr.tga
Crop 2=0,0,4,4
Mat 3=data/menu/gui/layout/bkgr.tga
Crop 3=0,0,4,4
MatFlags=0x1
TexFmt=0x9
Font=13
Text=2671
TextFlags=0x5
StatesColors=0xB0B0B0FF, 0xAAAAAAFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I11]
Name=Engage
Type=1032;Button
ItemID=0x3F340002
ParentID=0x3F340000
Pos=65,-170,320,30
Color=0xFFFFFF32
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/bkgr.tga
Crop 0=0,0,4,4
Mat 1=data/menu/gui/layout/bkgr.tga
Crop 1=0,0,4,4
Mat 2=data/menu/gui/layout/bkgr.tga
Crop 2=0,0,4,4
Mat 3=data/menu/gui/layout/bkgr.tga
Crop 3=0,0,4,4
MatFlags=0x1
TexFmt=0x9
Font=13
Text=2670
TextFlags=0x5
StatesColors=0xB0B0B0FF, 0xAAAAAAFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I12]
Name=Message
Type=1040;Scroll text
ItemID=0x3F340001
ParentID=0x3F340000
Pos=-5,-37,460,100
Color=0xFFFFFF00
Materials=8
Display=4;All directions
Mat 0=DATA/Menu/Data/scrollt.tga
Mat 1=DATA/Menu/Data/scrollt.tga
Mat 2=DATA/Menu/Data/scrollt.tga
Mat 3=DATA/Menu/Data/scrollt.tga
Mat 4=DATA/Menu/Data/scarr0.tga
Mat 5=DATA/Menu/Data/scarr1.tga
Mat 6=DATA/Menu/Data/scarr2.tga
Mat 7=DATA/Menu/Data/scarr3.tga
MatFlags=0x1
TexFmt=0x9
Font=13
Text=2673
TextFlags=0x15
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F I13]
Name=Msg bkgr
Type=1030;Static bmp
ItemID=0x3F3400FF
ParentID=0x3F340000
Pos=0,0,450,300
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/layout/bkgr.tga
Crop 0=0,0,4,4
MatFlags=0x1
TexFmt=0x9

[G3F I14]
Name=Bkgr capture
Type=1031;Stat bmp array
ItemID=0x3F3300FF
ParentID=0x3F330000
Pos=0,0,1024,768
Color=0xFFFFFF00
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/layout/bkgr.tga
Crop 0=0,0,4,4
MatFlags=0x1
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

I've tried playing around with these scripts to stop the box appearing, but all I have been getting for my troubles is CTD's Sad

I'll keep playing around with but if someone else wants to have a crack you're more than welcome
Back to top
View user's profile Send private message
Woof1701



Joined: 10 Jan 2002
Posts: 299
Location: Munich, Germany, Home of U-96

PostPosted: Mon Mar 28, 2005 1:51 pm    Post subject: Reply with quote

@Weird Guy & Ridgeback
I'm positive that I did it right (and to make sure compared it to what you posted anyway Wink ) . For me it was pretty amazing to see that I automatically get an ID of the ship right when I spot it. Even at large distances. So it doesn't simply say "warship" or "merchant", it always gives me the full ID like "armed trawler" etc. if I spot any ship for the first time.

Has that something to do with the difficulty setting perhaps? I currently play with at a pretty high difficulty level, except that I leave automatic map update and manual targeting off.

Any suggestions? Thanks!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
poopdeck



Joined: 15 Mar 2005
Posts: 218

PostPosted: Tue Mar 29, 2005 3:24 am    Post subject: Reply with quote

Woof1701

Did some more testing with this. You are going to have to switch to manual TDC. Auto targeting will automatically ID the ship and these methods described in the this thread doesn't work.
------------

Ridgeback

I haven't a clue, buts it looks promising that you found what impacts that blasted hostile alert panel. I don't know who made the decision to leave it in no matter what reality options, but I'm sitting here praying some sort of breakthough.
Back to top
View user's profile Send private message
Shockwave74



Joined: 30 Mar 2005
Posts: 229

PostPosted: Wed Mar 30, 2005 5:47 pm    Post subject: Reply with quote

To everyone...

This sim is so moddable...i really am *begging* you to put all things together, form a mod team, and release a beta of a Realism mod.

I can't browse in 2000 forums, then go manually editing 20 different files...it's bad. :hmm:

If we all shared our spare time, in a little we could be modding this game for the better.

That was my 5cents, now look what i have found out editing the sensors file :

Hydrophone sensor height factor=0 ;[>=0]
Hydrophone already tracking modifier=20 ;[detection probability modifier]
Hydrophone decay time=150 ;[>0] already tracking bonus decay, in seconds
Radar uses crew efficiency=true ;[true or false]

How comes the last line here speaks about radar (and it's the same line with Radar in the previous paragraph, just that it says = false). All lines relative to an instrument, start with *that* instrument while the hydrophone has its last line starting with Radar. Bug?

Eh...is this going to be the same of the 1940 Brest base overlapping that i had to edit the file? Every new discovery we need to edit a different file ? Don't u think it's better we set all things together and release a mod? Smile
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group