Training video HUD tweak: eye indicator move

A place to discuss user-created Allegiance 3D models, textures, images, and other visual ingame content.
Post Reply
lawson
Posts: 102
Joined: Wed Feb 18, 2004 8:00 am
Location: Atlanta, GA

Post by lawson »

I'm creating video captures via Fraps, using PAL resolution. Allegiance resizes the main HUD OK, but the "eye" is covered by the cargo loadout panel.

Now you see it:



Now, you don't:



Any thoughts on how to remedy this? Capturing at 800x600 is a possibilty, but adds a lot of processing overhead because I have to resize the video on the fly.

If I could just move the "eye" up a little bit, that'd solve it. I don't want to modify it too much lest the newbies be confused by the difference in video vs. real HUD layout.
Last edited by lawson on Sun Mar 25, 2007 8:20 pm, edited 1 time in total.
-----
Off the browser, thru the router, down the T1... nothin' but 'Net!
Bunnywabbit
Posts: 965
Joined: Sun May 15, 2005 7:00 am
Location: Amsterdam, the Netherlands

Post by Bunnywabbit »

It will require modifying your dialog.mdl file.

find dialog.mdl in your artwork folder, make a backup of it. Then open with notepad/wordpad/any other text editor.

Do a search for:

Code: Select all

TranslateImage(PaneImage(RadarDetectPane, false, true), Point(390, 55)),
The "Point(390, 55)" bit are the pixel coordinates (from left, from bottom) of the eye icon relative to a transparent background image.

from what i can tell you need to move the eye up about 20 pixels, and about 10 pixels to the right, so the end result would read:

Code: Select all

TranslateImage(PaneImage(RadarDetectPane, false, true), Point(400, 85)),


if this crashes alleg, you probably sent it too far to the right.
ImageImage current version r158 new beta as of jan 23 2012
Ksero
Posts: 87
Joined: Sun Feb 15, 2004 8:00 am
Location: Sweden

Post by Ksero »

The position of the eye (and many other things) are specified in the file artwork/dialog.mdl. The relevant section looks like this:
QUOTE CenterHudOn = GroupImage(
[
// ... a bunch of TranslateImages here...
TranslateImage(ExperienceImage, Point(281, 102)),
TranslateImage(PaneImage(RadarDetectPane, false, true), Point(390, 55)),
TranslateImage(CaptureFlag, Point(427, 350)),
// ... and even more follow...]);[/quote]
Yours may be slightly different from mine, depending on what UI mods you use. You want to change the red numbers (X and Y offset in pixels).

Note: be sure back up your dialog.mdl before making any changes... just in case

EDIT: Bunnies! they're everywhere! Aaaah!
Last edited by Ksero on Sun Mar 25, 2007 9:18 pm, edited 1 time in total.
"Better than Light Booster 1"
mesial
Posts: 3009
Joined: Sun Dec 26, 2004 8:00 am
Location: Florida

Post by mesial »

Lawson, I can move that eye for you. You don't have to mess with the dialog.mdl file, there is plenty of room to move that "eye" up a little within the file. The file's pixels size is quite a bit alrger than the little "eye" icon. Gimme an hour and I'll post a DL link for you.
Allegiance Terror Alert Level: HIGH
mesial
Posts: 3009
Joined: Sun Dec 26, 2004 8:00 am
Location: Florida

Post by mesial »

OK, so it took me a few minutes.



And the file...
http://www.mesialonline.com/SRM/lawson/radon.mdl
Allegiance Terror Alert Level: HIGH
madpeople
Posts: 4787
Joined: Tue Dec 16, 2003 8:00 am
Location: England

Post by madpeople »

now that's some nice lateral thinking /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />

or at least approaching the problem from a different angle /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
lawson
Posts: 102
Joined: Wed Feb 18, 2004 8:00 am
Location: Atlanta, GA

Post by lawson »

_SRM_Mesial wrote:QUOTE (_SRM_Mesial @ Mar 26 2007, 08:57 AM) OK, so it took me a few minutes.



And the file...
http://www.mesialonline.com/SRM/lawson/radon.mdl

404'd!

Didja mean: http://www.mesialonline.com/SRM/lawson/radonbmp.mdl ?
-----
Off the browser, thru the router, down the T1... nothin' but 'Net!
mesial
Posts: 3009
Joined: Sun Dec 26, 2004 8:00 am
Location: Florida

Post by mesial »

oops... umm, yea! /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" />
Allegiance Terror Alert Level: HIGH
lawson
Posts: 102
Joined: Wed Feb 18, 2004 8:00 am
Location: Atlanta, GA

Post by lawson »

*grumble*

Turns out that adv figs and other "big loadout" ships have a similar problem; only the loadout pane stretches "up" even farther and seems to cover the eye. I need to check again.

Perhaps the eyeball needs to move left, or the loadout panel to the right. *fiddle fiddle*

<RANT>

I might have to actually fork over some money and buy a real AVI editor. Pinnacle Studio 10.7 Plus has been a pain lately for anything other than "real" video footage. If I could keep everything at native 800x600, I'd be one happy geek! But nooooo... I have to resize everything and lose resolution. Stupid video standards...

</RANT>
-----
Off the browser, thru the router, down the T1... nothin' but 'Net!
mesial
Posts: 3009
Joined: Sun Dec 26, 2004 8:00 am
Location: Florida

Post by mesial »

Try using a higher resolution then.
Allegiance Terror Alert Level: HIGH
Post Reply