View Single Post
Old 02-04-08, 10:43 AM   #5
lambda*sqrt(u*x)
Mate
 
Join Date: Jan 2008
Location: Some U-Boat pen in Austria
Posts: 59
Downloads: 26
Uploads: 0
Default

Quote:
Originally Posted by joegrundman
Quote:

EDIT: Just for a start... would it be possible to add a draggable item with two child items that would move with the main one and could be moved on their own (dependent on where you click)?
More basic: How can I add a draggable item?
Yes of course it is. It's easy in fact.

To do it at the bottom of the parent object entry in the menu_1024_768 file you add the line

Draggable=Yes

Study the entries for the ubiquitous mod "Jonz draggable chrono" for exactly how it can be done.
Thank you for this excellent hint. I will try that later, that's about what I was looking for!

Thank you for the instructions on how to add the circular slide rule from the U-Jagd tools.
I have to remind you though that your advice was not completely correct:

You told me to download the alternative slide rule files, but your instructions to edit menu...cfg used the filenames and positions of the original U-Jagd slide rule.
But when I follow your instructions in your post, and then paste the changes you mention in the readme file of the alternative sliderule, it works, just one change needs to be made:

Find this entry and change the highlighted line:
[G3F I...]
Name=sliderule
Type=1026;Menu group
ItemID=0x3F070010
ParentID=0x3F070000
Pos=106,630,600,600
Color=0xFFFFFFFFVertSlide=-720

to

Pos=-600,630,600,600

My assumption is that the ParentID of the circular slide rule somehow is the weapon commander's icon or his command icons, which are on the right hand side on the screen in OLC GUI, not on the left hand side in "stock" menus.
Making my addressed changes moves the slide rule to the horizontal center of the screen again as it should be.

Thank you for taking the time to work out a solution for me, I'm just about to enjoy having the slide rule
__________________
SH III 1.4b
+ GWX 3.0
+ TMT v2
+ OLC GUI MkIId + ACM + Ext. FreeCam
+ no submarine icon on map
+ SH3 Cmdr 3.2
85% (ext. views ON)
lambda*sqrt(u*x) is offline   Reply With Quote