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] Optics 2 for 1.5 (https://www.subsim.com/radioroom/showthread.php?t=133291)

WernerSobe 03-17-08 08:33 PM

[REL] Optics 2 for 1.5
 
Hello. This little mod improves the view when using the periscope. The perescope lense is enlarged and the data input devices are downsized. Zoomlevels were adjusted to avoid contortion. All periscopes are supported, for U-Boats and Fleet-Boats as well. There are two Versions. TM and Stock. If you want to use the mod together with Triger Maru use "Optics2 over TM". If you want it with another supermod or stock game use "Optics2 over Stock".

Now you can actualy see the masts ;-). Enjoy!

daylight:

http://img181.imageshack.us/img181/2679/mop27ee1.jpg


night:
http://img80.imageshack.us/img80/6594/mop28jy4.jpg


DOWNLOAD (2,34MB):
http://files.filefront.com/Optics2zi.../fileinfo.html






AkbarGulag 03-17-08 08:37 PM

Wooho :up:

LukeFF 03-17-08 09:03 PM

Nice!

What lines did you edit in the INI file?

WernerSobe 03-17-08 09:05 PM

Quote:

Originally Posted by LukeFF
Nice!

What lines did you edit in the INI file?

there were many.

The entire G26 and G2B section actualy. If you want to combine it with something just copy paste G26 and G2B completely.

ATR-42 03-17-08 09:56 PM

Werner, FANTASTIC WORK MAN! (as per your usual)

Torps 03-17-08 10:12 PM

FINALLY!!
 
Been waiting for this, Great job Werner!!!

Doolittle81 03-17-08 11:37 PM

Great to have you back Werner! Great Mod!

Is there a version that will work with 1.4, as well.......?

WernerSobe 03-17-08 11:47 PM

Quote:

Originally Posted by Doolittle81
Great to have you back Werner! Great Mod!

Is there a version that will work with 1.4, as well.......?

no this wont work with 1.4

1.5 uses entirely new way how it draws the periscopes. If you try to install it on 1.4 the game will crash. But you can use the previous version of this. MaxOptics is about the same for 1.4.

http://www.subsim.com/radioroom/show...ight=maxoptics

jimimadrid 03-18-08 12:46 AM

Werner, is it posible to get the changed lines??
So it would be easy to enable this mod with JTxE.

http://www.subsim.com/radioroom/show...highlight=jtxe

WernerSobe 03-18-08 01:29 AM

Quote:

Originally Posted by jimimadrid
Werner, is it posible to get the changed lines??
So it would be easy to enable this mod with JTxE.

http://www.subsim.com/radioroom/show...highlight=jtxe

your mod is a good idea but there is one problem.

Ive also added new lines that did not exist. How do you face that?

The easiest way to compbine the mod with something else is just to replace all G26 and G2B Items. They are dealing with periscopes.

jimbob 03-18-08 02:50 AM

Quote:

Originally Posted by WernerSobe
Quote:

Originally Posted by jimimadrid
Werner, is it posible to get the changed lines??
So it would be easy to enable this mod with JTxE.

http://www.subsim.com/radioroom/show...highlight=jtxe

Ive also added new lines that did not exist.

First things first, this mod is awsome. But... :lol:

I wonder what lines are new in menu_1024_768.ini file?

Im asking because the software I use to compare cannot find them,
maybe I've missed on the options/settings somewhere, but here's a pic:

http://www.imagehosting.com/out.php/..._menuini18.JPG

I can see one line commented out in your file thats on the right,
stock menu.ini is on the left and shows a grey line where your edited line is.
The line in the top on that candy color is just "selected".
Yellow letters/numbers are what are actually different.
It's a bit fluffy pic but so is mspaint when saving as jpg.
:D


Differences, there's 18 of them:
Code:

[G26 I20]
Zone= 738 399 286 270 0.5 1 0x26000000 1 -0.64 0x26080000 -1 0 0 0

[G26 I48]
Zone= 51 768 66 678 0.5 1 0x26000000 0.05 0 0x26070000 0 0 0 0

[G26 I67]
Zone= 739 768 285 369 0.5 1 0x26000000 1 0 0x26030000 -1 0 0 0

[G26 I137]
Zone= 422 581 180 15 0 1 0x26060000 0.5 -0.18 0x26000004 -0.496 -0.05 0 0

[G26 I138]
Zone= 422 581 180 15 0 1 0x26060000 0.5 -0.1024 0x26000004 -0.496 -0.05 0 0

[G26 I141]
Zone= 69 827 885 885 5 1 0x26000001 0.5 -0.5 0x26060000 -0.5 0.5 0 0

[G26 I142]
Zone= 0 0 0 0 0 1 0x26060000 -2 -2 0x26060009 0 0 0 0

[G26 I147]
Zone= 0 1536 1024 2304 2 1 0x26060000 0.5 -0.5 0x26140000 -0.5 0.5 0 0

[G26 I148]
Zone= 0 768 1024 1408 2 1 0x26140000 0 -0.332203 0x26140001 0 0 0 0

[G26 I149]
Zone= 0 0 1024 768 2 1 0x26140000 0 0.00112994 0x26140002 0 0 0 0

[G2B I20]
Zone= 738 399 286 270 0.5 1 0x2B000000 1 -0.64 0x2B080000 -1 0 0 0

[G2B I67]
Zone= 739 768 285 369 0.5 1 0x2B000000 1 0 0x2B030000 -1 0 0 0

[G2B I137]
Zone= 422 581 180 15 0 1 0x2B060000 0.5 -0.18 0x2B000004 -0.496 -0.05 0 0

[G2B I138]
Zone= 422 581 180 15 0 1 0x2B060000 0.5 -0.1024 0x2B000004 -0.496 -0.05 0 0

[G2B I142]
Zone= 0 0 0 0 0 1 0x2B060000 -2 -2 0x2B060009 0 0 0 0

[G2B I147]
Zone= 0 1536 1024 2304 2 1 0x2B060000 0.5 -0.5 0x2B140000 -0.5 0.5 0 0

[G2B I148]
Zone= 0 768 1024 1408 2 1 0x2B140000 0 -0.332203 0x2B140001 0 0 0 0

[G2B I149]
Zone= 0 0 1024 768 2 1 0x2B140000 0 0.00112994 0x2B140002 0 0 0 0

Very nice MOD btw, thank you very much.
:up:



:arrgh!: <--- that is funny lookin'.

WernerSobe 03-18-08 03:38 AM

Quote:

Originally Posted by jimbob


Differences, there's 18 of them:
Code:

[G26 I20]
Zone= 738 399 286 270 0.5 1 0x26000000 1 -0.64 0x26080000 -1 0 0 0

[G26 I48]
Zone= 51 768 66 678 0.5 1 0x26000000 0.05 0 0x26070000 0 0 0 0

[G26 I67]
Zone= 739 768 285 369 0.5 1 0x26000000 1 0 0x26030000 -1 0 0 0

[G26 I137]
Zone= 422 581 180 15 0 1 0x26060000 0.5 -0.18 0x26000004 -0.496 -0.05 0 0

[G26 I138]
Zone= 422 581 180 15 0 1 0x26060000 0.5 -0.1024 0x26000004 -0.496 -0.05 0 0

[G26 I141]
Zone= 69 827 885 885 5 1 0x26000001 0.5 -0.5 0x26060000 -0.5 0.5 0 0

[G26 I142]
Zone= 0 0 0 0 0 1 0x26060000 -2 -2 0x26060009 0 0 0 0

[G26 I147]
Zone= 0 1536 1024 2304 2 1 0x26060000 0.5 -0.5 0x26140000 -0.5 0.5 0 0

[G26 I148]
Zone= 0 768 1024 1408 2 1 0x26140000 0 -0.332203 0x26140001 0 0 0 0

[G26 I149]
Zone= 0 0 1024 768 2 1 0x26140000 0 0.00112994 0x26140002 0 0 0 0

[G2B I20]
Zone= 738 399 286 270 0.5 1 0x2B000000 1 -0.64 0x2B080000 -1 0 0 0

[G2B I67]
Zone= 739 768 285 369 0.5 1 0x2B000000 1 0 0x2B030000 -1 0 0 0

[G2B I137]
Zone= 422 581 180 15 0 1 0x2B060000 0.5 -0.18 0x2B000004 -0.496 -0.05 0 0

[G2B I138]
Zone= 422 581 180 15 0 1 0x2B060000 0.5 -0.1024 0x2B000004 -0.496 -0.05 0 0

[G2B I142]
Zone= 0 0 0 0 0 1 0x2B060000 -2 -2 0x2B060009 0 0 0 0

[G2B I147]
Zone= 0 1536 1024 2304 2 1 0x2B060000 0.5 -0.5 0x2B140000 -0.5 0.5 0 0

[G2B I148]
Zone= 0 768 1024 1408 2 1 0x2B140000 0 -0.332203 0x2B140001 0 0 0 0

[G2B I149]
Zone= 0 0 1024 768 2 1 0x2B140000 0 0.00112994 0x2B140002 0 0 0 0


confirmed!

the new lines are besicly comments. If that is not a problem for that tool i can make the mod compatible. PM me the ini file in correct format please. The above changes are correct.

jimimadrid 03-18-08 04:39 AM

Werner,

comments line are normally used to show visually what happens or to mark out not used lines.
This is nice to memorize for a modder but are not very usable for sh4, because of making bigger the moded files.

The idea of JTxE is to give the user the possibility to use a lot of different Mods which used the same files. Instead of writing a menu1024 which combines mod1 and mod2 and mod3 and one for mod2 and mod3 and mod4, it will be helpfull to put the changes in an extra ini-mod and let the people enable it with JTxE.

It would be nice if you add to your thread the changed lines. Otherwise people has to use winmerge to find out the differences and this could let them get mistakes.
You will help a lot of other users to save time.

Thanks and sorry for my bad english.

WernerSobe 03-18-08 04:45 AM

Quote:

Originally Posted by jimimadrid
Werner,

comments line are normally used to show visually what happens or to mark out not used lines.
This is nice to memorize for a modder but are not very usable for sh4, because of making bigger the moded files.

The idea of JTxE is to give the user the possibility to use a lot of different Mods which used the same files. Instead of writing a menu1024 which combines mod1 and mod2 and mod3 and one for mod2 and mod3 and mod4, it will be helpfull to put the changes in an extra ini-mod and let the people enable it with JTxE.

It would be nice if you add to your thread the changed lines. Otherwise people has to use winmerge to find out the differences and this could let them get mistakes.
You will help a lot of other users to save time.

Thanks and sorry for my bad english.

Well im a programmer i know what comments are good for. And it doest hurt to have extra comments. The game engine is not just ignoring them it doesnt even see them. For the game there is no difference if you have 1000 lines of comments or none.

Anyway - i have a reason why i left them in. Ive commented the default values for other moders. Ive been often looking at someone elses work and wondered about default values.

The lines in my post above are the changed lines for those who need them.

I appretiate the idea of JTxE its a usefull tool. As i said if you give me the according ini file ill update the mod so it is compatible.

jimbob 03-18-08 05:51 AM

Yeah, you can either download it from here,
or you can just copypasta this code and save as ini file,
something like "Optics2 inifile for JTxE.ini" or whatever.

Here's the code:

Code:

Targetfile=Data\Menu\menu_1024_768.ini

[G26 I20]
Zone= 738 399 286 270 0.5 1 0x26000000 1 -0.64 0x26080000 -1 0 0 0

[G26 I48]
Zone= 51 768 66 678 0.5 1 0x26000000 0.05 0 0x26070000 0 0 0 0

[G26 I67]
Zone= 739 768 285 369 0.5 1 0x26000000 1 0 0x26030000 -1 0 0 0

[G26 I137]
Zone= 422 581 180 15 0 1 0x26060000 0.5 -0.18 0x26000004 -0.496 -0.05 0 0

[G26 I138]
Zone= 422 581 180 15 0 1 0x26060000 0.5 -0.1024 0x26000004 -0.496 -0.05 0 0

[G26 I141]
Zone= 69 827 885 885 5 1 0x26000001 0.5 -0.5 0x26060000 -0.5 0.5 0 0

[G26 I142]
Zone= 0 0 0 0 0 1 0x26060000 -2 -2 0x26060009 0 0 0 0

[G26 I147]
Zone= 0 1536 1024 2304 2 1 0x26060000 0.5 -0.5 0x26140000 -0.5 0.5 0 0

[G26 I148]
Zone= 0 768 1024 1408 2 1 0x26140000 0 -0.332203 0x26140001 0 0 0 0

[G26 I149]
Zone= 0 0 1024 768 2 1 0x26140000 0 0.00112994 0x26140002 0 0 0 0

[G2B I20]
Zone= 738 399 286 270 0.5 1 0x2B000000 1 -0.64 0x2B080000 -1 0 0 0

[G2B I67]
Zone= 739 768 285 369 0.5 1 0x2B000000 1 0 0x2B030000 -1 0 0 0

[G2B I137]
Zone= 422 581 180 15 0 1 0x2B060000 0.5 -0.18 0x2B000004 -0.496 -0.05 0 0

[G2B I138]
Zone= 422 581 180 15 0 1 0x2B060000 0.5 -0.1024 0x2B000004 -0.496 -0.05 0 0

[G2B I142]
Zone= 0 0 0 0 0 1 0x2B060000 -2 -2 0x2B060009 0 0 0 0

[G2B I147]
Zone= 0 1536 1024 2304 2 1 0x2B060000 0.5 -0.5 0x2B140000 -0.5 0.5 0 0

[G2B I148]
Zone= 0 768 1024 1408 2 1 0x2B140000 0 -0.332203 0x2B140001 0 0 0 0

[G2B I149]
Zone= 0 0 1024 768 2 1 0x2B140000 0 0.00112994 0x2B140002 0 0 0 0

I've used it and didn't notice many ill effects, yet.
I suppose my copypasta from the original menu.ini worked.

:arrgh!:


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