SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   Slide rule: Modder's help needed for adding a neat tool to the nav map! (https://www.subsim.com/radioroom/showthread.php?t=130281)

joegrundman 02-06-08 09:14 AM

The way the U-jagd tools works is to take existing dials and give them different images.

It occurs to me that you could try using a sliderbar like you find on the message box. You have one fixed background of part of the sliderule, one slider image you replace with the second part of the sliderule and you could maybe fit a third sliderbar with the pastic indicator.

Look at this entry for the message sliderbar. there's lots to here to get you started

[G3F I149]
Name=MsgSlider
Type=1034;Slider
ItemID=0x3F040003
ParentID=0x3F040000
Pos=2,-32,15,84
Materials=8
Display=0;No stretch
Mat 0=data/menu/gui/layout/m_back.tga
Mat 1=data/menu/gui/layout/m_back.tga
Mat 2=data/menu/gui/layout/m_back.tga
Mat 3=data/menu/gui/layout/m_back.tga
Mat 4=data/menu/gui/layout/m_slide.tga
Mat 5=data/menu/gui/layout/m_slide.tga
Mat 6=data/menu/gui/layout/m_slide.tga
Mat 7=data/menu/gui/layout/m_slide.tga
MatFlags=0x1
TexFmt=0x9
SliderValue=1
SliderNumSteps=1
Vertical=true
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

Anyway it's just an idea, it may not work.

latemail 02-06-08 09:22 AM

Quote:

Originally Posted by lambda*sqrt(u*x)
Thank you joegrundman for making clear. latemail, I did not yet try it as a menu group, that's the next thing to try for... As of now, I'm just using three separate and only separately draggable items (the slide rule, its tongue, and its window), and their movement AFAIK can't be restricted to linear... that's how far my understanding goes, and I'm really new to modding, so I hope to find some new ideas and some help...


Ok, so I will stay in touch, maybe we find a solution, would be very helpfull for other tools too .........

lambda*sqrt(u*x) 02-06-08 10:54 AM

Quote:

Originally Posted by joegrundman
The way the U-jagd tools works is to take existing dials and give them different images.

It occurs to me that you could try using a sliderbar like you find on the message box. You have one fixed background of part of the sliderule, one slider image you replace with the second part of the sliderule and you could maybe fit a third sliderbar with the pastic indicator.

Look at this entry for the message sliderbar. there's lots to here to get you started

[G3F I149]
Name=MsgSlider
Type=1034;Slider
ItemID=0x3F040003
ParentID=0x3F040000
Pos=2,-32,15,84
Materials=8
Display=0;No stretch
Mat 0=data/menu/gui/layout/m_back.tga
Mat 1=data/menu/gui/layout/m_back.tga
Mat 2=data/menu/gui/layout/m_back.tga
Mat 3=data/menu/gui/layout/m_back.tga
Mat 4=data/menu/gui/layout/m_slide.tga
Mat 5=data/menu/gui/layout/m_slide.tga
Mat 6=data/menu/gui/layout/m_slide.tga
Mat 7=data/menu/gui/layout/m_slide.tga
MatFlags=0x1
TexFmt=0x9
SliderValue=1
SliderNumSteps=1
Vertical=true
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

Anyway it's just an idea, it may not work.

Hm... a good thing to look into - but why are all those Mat x's quadruple-referenced? Do you know a documentation about all those entries?

EDIT: OK... got an answer for this one... thanks latemail (Deutsch ist meine Muttersprache) for the menu...ini tutorial!

latemail 02-06-08 11:31 AM

Quote:

EDIT: OK... got an answer for this one... thanks latemail (Deutsch ist meine Muttersprache) for the menu...ini tutorial!

:up: :up: gut zu wissen :up: good to know that :up: :up:


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