How do I move the 'z axis' of rendered text? menu

User Tag List

Results 1 to 3 of 3
  1. #1
    edgomez's Avatar Member
    Reputation
    1
    Join Date
    Oct 2017
    Posts
    11
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do I move the 'z axis' of rendered text?

    Hi all,

    I'm trying to modify this plugin --> . so that the text of my custom plugin doesn't overlap with his. Which of these parameters are used to move the 'y axis' to lower the text? I just need to do that but can't test it since Thud's offline.

    Code:
                DefaultTextFont = Hud.Render.CreateFont("verdana", 9, 255, 180, 147, 109, false, false, 250, 0, 0, 0, true);
                OrangeTextFont = Hud.Render.CreateFont("verdana", 9, 255, 255, 128, 0, false, false, 250, 0, 0, 0, true);
                RedTextFont = Hud.Render.CreateFont("verdana", 9, 255, 255, 0, 0, false, false, 250, 0, 0, 0, true);

    Since it renders right below the progression bar, I just needed it to render further down, about 2 inches below the default position. Should I alter any of those parameters from "Default/Orange/Red text font" or is it a completely different line that needs to be changed? Btw, what's the parameter order? Any documentation avaliable so I can study it?

    Thanks in advance, I'm kinda new to this and couldn't find anything about it.

    EDIT: I actually meant the 'Y axis', forgot to edit the post title, sorry.
    Last edited by edgomez; 10-30-2017 at 01:32 AM.

    How do I move the 'z axis' of rendered text?
  2. #2
    SeaDragon's Avatar Contributor
    Reputation
    321
    Join Date
    Aug 2016
    Posts
    1,041
    Thanks G/R
    140/299
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You should go to the thread and question
    The answer you want to know
    Changing this value can modify its position

    XWidth = 0.84f;
    YHeight = 0.61f;


    Or you can add a custom code(Default theme customization 101)

    Hud.GetPlugin<MonstersCountPlugin>().XWidth = 0.84f;
    Hud.GetPlugin<MonstersCountPlugin>().YHeight = 0.61f;


    When the HUD is on line, you can test it
    Last edited by SeaDragon; 10-30-2017 at 04:54 AM.

  3. Thanks edgomez (1 members gave Thanks to SeaDragon for this useful post)
  4. #3
    edgomez's Avatar Member
    Reputation
    1
    Join Date
    Oct 2017
    Posts
    11
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the help!!

Similar Threads

  1. [Mangos] How do I set the starting level of chars on my P Server? (1.12.1)
    By Garneth in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 01-29-2011, 12:45 PM
  2. How do I color the menu options of a C++ warp NPC?
    By CodeDemon in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 10-21-2008, 08:20 PM
  3. [Help] How do i change the appearance of a button
    By Anthonyrox8 in forum Programming
    Replies: 4
    Last Post: 10-16-2008, 04:00 PM
  4. [Question] How do i set the rates of XP and Loot?
    By Gadella in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 12-11-2007, 05:43 AM
  5. [question] how do i change the colour of character names?
    By ridders in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 11-05-2007, 02:43 PM
All times are GMT -5. The time now is 03:13 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search