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)
-   -   Removing Lock function (https://www.subsim.com/radioroom/showthread.php?t=154098)

Armistead 07-23-09 04:41 PM

Removing Lock function
 
I've just started learning to mod. One thing I'm trying to do is remove the lock function from the periscope. Tried several things, not yet. I just want a real working scope. I don't use the stad, so really not concerned about holding a lock, although a little tricky getting a measurement.

Any idea's.

I've also been playing with rain textures trying to make snow. Just need to figure out how to make it snow where it should and shouldn't, times of year, ect.

Things yet out of my league.

donut 07-23-09 06:49 PM

Not to snow on your parade.
 
But could not live without lock function. Think hardcoaded.:woot:Altuough it does get my Peri. out of position.

Armistead 07-23-09 07:19 PM

I believe it is...can't find a file for it that I can change

Rockin Robbins 07-25-09 04:00 PM

Try just not locking the scope! I go for weeks without locking the scope. The lock function doesn't bother me a bit. It's just like being bothered by visual positions being radar accurate. Just don't take measurements off of 'em! Sheesh!:-?:O:

karamazovnew 07-25-09 11:50 PM

For German subs you can just hide the lock button. In the Data\Menu\menu_1024_768.ini file, just comment out the pos and zone lines for it (in all the scope pages, of course) and it will go away.

Here's the button in the Periscope page (G26) for german subs. Also search for it in the UZO and OP pages.

[G26 I44]
Name=Mark as locked
Type=1031;Stat bmp array
ItemID=0x26080006
ParentID=0x26080000
Pos=94,-152,80,80
Zone= 832 247 80 80 1 1 0x26080000 0.47 -0.71 0x26080006 -0.5 0.5 0 0
etc etc etc

just turn it into:

[G26 I44]
Name=Mark as locked
Type=1031;Stat bmp array
ItemID=0x26080006
ParentID=0x26080000
;Pos=94,-152,80,80
;Zone= 832 247 80 80 1 1 0x26080000 0.47 -0.71 0x26080006 -0.5 0.5 0 0

etc etc etc

For US subs the button should've been in the G44 page, but that page is weird. I can't understand how that page works in v1.5.


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