Jump to content

Recommended Posts

Posted

Hi, I've tried to change the position of the HUD , but I didn't get anything... I would like to move the full HUD to the upside to get something like this:

 

472a9c069d06990f3d1355da5b820a17.png

I really need help with this... :-[

 

Thanks

Twitter: @deantonious || TeamSpeak Server: ts3.deantonious.es

Posted

Yes, I've registered some events in my mods

 

try looking into the two thhings mentioned by the two first replies.

google the gltranslate and read up on it!

 

If you guys dont get it.. then well ya.. try harder...

Posted

I'm not able to make it. Someone can help me with the code? Please

 

Here is some sudo-code type thing:

 

public class RenderingEventHandler {
    @ForgeSubscribe
    public void renderPre ( RenderGameOverlayEvent.PRE event ) {
        // hook into code for the types of overlays. E.g., experience, health, armor, food
        // use GL11.glTranslated ( par1, par2, par3 );
        // 
        // par1 = Move it so far on the X-Axis
        // par2 = Move it so far on the Y-Axis
        // par3 = Move it so far on the Z-Axis, irrelevant with GUI's. So it always equals 0 when working with a GUI
        // 
        // move on to the next overlay and move it
    }
}

I am Mew. The Legendary Psychic. I behave oddly and am always playing practical jokes.

 

I have also found that I really love making extremely long and extremely but sometimes not so descriptive variables. Sort of like what I just did there xD

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.