View Single Post
Old 04-11-25, 02:45 AM   #10
mazzi
Bosun
 
Join Date: Mar 2018
Posts: 64
Downloads: 559
Uploads: 0
Default

Quote:
Originally Posted by ElCid97 View Post
Thanks for the help and, more importantly, for the patience!
This is not an instruction, but just tips, until you figure out how RAOBF or an omnimeter works RAOBF or an omnimeter, you will not succeed. The answer to all your questions is - 'NO, you can't', but others do it somehow - so you look at others and change their working code for your needs. It would be easier with an omnimeter, more difficult with RAOBF.

You can try replacing the graphics in the already working RAOBF with round disks with your graphics with rectangular rulers. Just for the test - maybe it will work out so the omnimeter will work better than RAOBF with rulers.
In order not to calculate the crop, divide the image into separate parts as you wanted.

You insert these two lines into the function that draws the largest stationary round disk in RAOBF:
Mat 0=data/menu/skins/american/gui/ADK_line.tga
Crop 0=0,0,1,1
Its code in menu. ini is located below all other disks (the number I is larger than all other disks [G3F I222]).
Well, you probably need to change the coordinates so that the ruler appears in the center of the screen.
[G3F I222] is just an example number.

The code for B-C1-C_line will be placed between the code for ADK_line and the code for metal_cursor in menu.ini (the number I will be between 222 and 200 in our example):
Mat 0=data/menu/skins/american/gui/B-C1-C_line.tga
Crop 0=0,0,1,1

The uppermost code will be for the metal cursor (the I number is the smallest of all[G3F I200]):
Mat 0=data/menu/skins/american/gui/metal_cursor.tga
Crop 0=0,0,1,1

For B-C1-C and metal_cursor, you need to select the disks that you will change. There are several spinning discs in RAOBF, one disc is definitely spinning by the game itself - it is not needed, two discs are spinning by hand, so you need them.
In them you will write your Crop_0 Mat_0 from the B-C1-C line and from metal_cursor.
If there are any extra discs, slide them off the screen.

Well, in dials.cfg, in the disks that you will use, do not forget to change
lines to RealVal=180,-180 and Circular=No

Probably everything.
mazzi is offline   Reply With Quote