SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 04-09-07, 03:45 PM   #16
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

AAHHHHHH! cheers man! I think i got it...but off to bed But I will give this good thrashing in the morn after work.

Its not that this is an important mod, its that it helps me to understand what I am looking at here.

Used to do a lot of hacking/training for BF long ago and had similar situations looking at code for days at end, and finally getting it...that's a good feeling I tell ya
__________________
CaptainCox is offline   Reply With Quote
Old 04-09-07, 03:51 PM   #17
zAmboni
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

I can understand. It is tough explaining exactly what I mean without visuals to go along with it. I'm not sure if I want to do that much with this mod either mainly because I am not sure would like my layout and arrangement of the tools.

I am thinking of trying to write a tutorial on how to decipher and use the Zone= lines for someone else who would like to do their own mods. I dont fully understand everything in the Zone= line, but I do know enough about it that if I go through with the tutorial I will have a better (and maybe complete) understanding of the Zone= line.
  Reply With Quote
Old 04-10-07, 12:56 AM   #18
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

If you have the time please do write that tut...I think the Mod's should set up a tut section as this stuff will crop up more and more. I tell you what, I will make a thread with a new poll .
__________________
CaptainCox is offline   Reply With Quote
Old 04-10-07, 06:13 AM   #19
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Ok some new findings.

Tried on the "Helper" tool

Mat 7=data/menu/gui/layout/navigationtools.tga
Crop 7=0.673828,0.774414,0.0683594,0.0390625

0.673828= the X position on the bitmap (in this case 0.673828 x 1024[being the size of the bitmap in X]= 689,999872 or you could say "690"

Now look




Next is Y
0.774414=the Y position on the bitmap (in this case 0.774414 x 1024[being the size of the bitmap in X]= 792,999936 or one could say "793"

Look



At least one mystery less...or did you mention this before :p...its getting a lot now with codes here and there. Still have not been able to move it around on the game screen...working on it.
__________________
CaptainCox is offline   Reply With Quote
Old 04-10-07, 12:36 PM   #20
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Ok got it...after where you left of the only prob was the placement. Its almost to easy....

Its all in the zone line:

X and Y
Zone= 0 768 1024 768 2 1 0x31000000 0.5 -0.5 0x31000005 -0.5 0.5 0 0

There is also a posibillity that the last numbers can move stuff
Zone= 0 768 1024 768 2 1 0x31000000 0.5 -0.5 0x31000005 -0.5 0.5 0 0

But as it worked with the ones I posted first in this post I went with that.

I did a mod based on our findings and will post in another thread. Of course i will include you in the mod as co creator as you did 60% or more of the thinking.

Hope you don't mind
__________________

Last edited by CaptainCox; 04-10-07 at 01:04 PM.
CaptainCox is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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