Help - Search - Members - Calendar
Full Version: A question regarding M WHINERS and LUA
The Pfhorums > Marathon and Aleph One > Aleph One Discussion
DADDY Z3RO
M-Whiners are what I use to describe people who get all caught up in how "inaccurate" M1A1 is to the original.

One of the complaints i have heard is:
"Why did they have to re-draw the HUD"

Although I think that's an odd question, being as it obscured the screen in M1.

But still, could one, through LUA, remake the classic HUD by taking the screen and changing it's size and orientation.

Totally theoretical.

I would like my answers from someone skilled in LUA, like Treellama or Kuurin.
irons
cool i thought pfhorums blog function was broke
wonder how blogs are ending up on main page now tho
?
Kurinn
QUOTE(DADDY Z3RO @ Jan 26 2011, 08:35 PM) *
M-Whiners are what I use to describe people who get all caught up in how "inaccurate" M1A1 is to the original.

One of the complaints i have heard is:
"Why did they have to re-draw the HUD"

Although I think that's an odd question, being as it obscured the screen in M1.

But still, could one, through LUA, remake the classic HUD by taking the screen and changing it's size and orientation.

Totally theoretical.

I would like my answers from someone skilled in LUA, like Treellama or Kuurin.


I'm skilled in Lua? Thanks! Really, if you have an interest in the Lua HUD, the person you want to be talking to is Hopper. If it wasn't for him and Treellama, there wouldn't be a Lua HUD, and I depended on Hopper's advice quite a bit while I was working on the HUD for MPDX.

Looking at the documentation, it seems that you would do this by using Screen.world_rect as to make the world view fit inside the HUD, so as to make it look like it did in the original. It shouldn't be too difficult if you know how the Lua HUD stuff works in general.

So, just looking at the documentation, it seems to be entirely possible. To be clear, if someone was interested, it wouldn't be much harder than making any other Lua HUD, I would imagine. I got into Marathon after Durandal was out, so I never really got that interested in M1. As such, I did not think of this before, or attempt it.

Hope that answers your question.
DADDY Z3RO
QUOTE(Kurinn @ Jan 27 2011, 09:40 PM) *
I'm skilled in Lua? Thanks! Really, if you have an interest in the Lua HUD, the person you want to be talking to is Hopper. If it wasn't for him and Treellama, there wouldn't be a Lua HUD, and I depended on Hopper's advice quite a bit while I was working on the HUD for MPDX.

Looking at the documentation, it seems that you would do this by using Screen.world_rect as to make the world view fit inside the HUD, so as to make it look like it did in the original. It shouldn't be too difficult if you know how the Lua HUD stuff works in general.

So, just looking at the documentation, it seems to be entirely possible. To be clear, if someone was interested, it wouldn't be much harder than making any other Lua HUD, I would imagine. I got into Marathon after Durandal was out, so I never really got that interested in M1. As such, I did not think of this before, or attempt it.

Hope that answers your question.



Yeah, I thought it would work like that.

I'll practice my Lua skills and see if I can make a HUD like that.

I will call it: Classic HUD.... Simple yet elegant.
Hopper
When developing the Lua HUD API, the recreation of the M1 interface was a specific goal we had in mind. All of the tools should be there to recreate the M1 or M2 HUD, along with new ones (like support for the compass originally planned for M1). If you have specific questions, send me a PM and I'll be glad to help out.

One thing I should mention: while you have more freedom than ever in how things are displayed, it's mostly separate from the MML used to configure the original HUD. There are a large number of text strings, colors, coordinates etc. in MML, and many of them only make sense within the limitations of the original HUD code. For a new Lua HUD, most of those configuration parameters would just be built into the Lua code -- a TC scenario would bundle a new Lua script, with freedom to customize it all over the place, rather than change MML that gets read by some other Lua HUD.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.