Results 1 to 9 of 9

Thread: hey i want help

  1. #1

    Exclamation hey i want help

    How do I set the coordinates in the medal screen ?

  2. #2

    Default

    1. Please, use more descriptive titles for your threads
      something like "hey i want help" says nothing, and people will probably think you are just trolling (and your name doesn't help at all)

    2. You have to give us as much detail as possible about your problem
      what coordinates are you talking about?
      what do you want to do?
      and what have you already tried to do to get what you want?

    3. May I ask you, where are you from? and in which clan are you? (if you are in one)

  3. #3

    Default

    go in offline game in mohaa and type --> coord <-- in console
    it doesnt work in online server... only offline game

  4. #4

    Default

    Quote Originally Posted by Slimbips {sfx} View Post
    go in offline game in mohaa and type --> coord <-- in console
    it doesnt work in online server... only offline game
    yep i know but i want to know a coord in the game screen

  5. #5

    Default

    iam form egypt i cant write a english very well

  6. #6

    Default

    Quote Originally Posted by Zappa View Post
    1. Please, use more descriptive titles for your threads
      something like "hey i want help" says nothing, and people will probably think you are just trolling (and your name doesn't help at all)

    2. You have to give us as much detail as possible about your problem
      what coordinates are you talking about?
      what do you want to do?
      and what have you already tried to do to get what you want?

    3. May I ask you, where are you from? and in which clan are you? (if you are in one)
    i want know how i know a coord in the game screen no in map in the game screen

  7. #7

    Default

    You try and fail, as far as I know this is old enough game to not have feature like in other games, where you go to developer mode and just drag cursor around screen to know UI coordinates.
    Github - Steam - .Crimewavez#5285

  8. #8

    Default

    Quote Originally Posted by Criminal View Post
    You try and fail, as far as I know this is old enough game to not have feature like in other games, where you go to developer mode and just drag cursor around screen to know UI coordinates.
    how can i turn on developer mode in this game

  9. #9

    Default

    @noobboy, If you are talking about the coordinates to use in a huddraw element, then it depends on 2 factors

    One is the huddraw_align command. With it you can set the alignment of the HUD (left/center/right and top/center/bottom)
    and the other is the huddraw_rect command, which is used to set the exact position of the HUD in pixels.
    Now, the position of the 0,0 coordinates used in the huddraw_rect command will depend of the alignment you set with the huddraw_align command.

    For example, this code has all the 9 possible alignments of a huddraw element. (you can see the result in the screenshot below).
    Please copy it, play with it and try to learn from it before asking something else.


    local.index = 33

    // LEFT
    huddraw_virtualsize local.index 0
    huddraw_align local.index "left" "top"
    huddraw_color local.index 1 1 1
    huddraw_font local.index "facfont-20"
    huddraw_rect local.index 0 0 0 0
    huddraw_string local.index ".left-top"
    huddraw_alpha local.index 1

    local.index++
    huddraw_virtualsize local.index 0
    huddraw_align local.index "left" "center"
    huddraw_color local.index 1 1 1
    huddraw_font local.index "facfont-20"
    huddraw_rect local.index 0 0 0 0
    huddraw_string local.index ".left-center"
    huddraw_alpha local.index 1

    local.index++
    huddraw_virtualsize local.index 0
    huddraw_align local.index "left" "bottom"
    huddraw_color local.index 1 1 1
    huddraw_font local.index "facfont-20"
    huddraw_rect local.index 0 -14 0 0
    huddraw_string local.index ".left-bottom"
    huddraw_alpha local.index 1

    // CENTER
    local.index++
    huddraw_virtualsize local.index 0
    huddraw_align local.index "center" "top"
    huddraw_color local.index 1 1 1
    huddraw_font local.index "facfont-20"
    huddraw_rect local.index -42 0 0 0
    huddraw_string local.index "center.top"
    huddraw_alpha local.index 1

    local.index++
    huddraw_virtualsize local.index 0
    huddraw_align local.index "center" "center"
    huddraw_color local.index 1 1 1
    huddraw_font local.index "facfont-20"
    huddraw_rect local.index -42 -15 0 0
    huddraw_string local.index "center.center"
    huddraw_alpha local.index 1

    local.index++
    huddraw_virtualsize local.index 0
    huddraw_align local.index "center" "bottom"
    huddraw_color local.index 1 1 1
    huddraw_font local.index "facfont-20"
    huddraw_rect local.index -42 -15 0 0
    huddraw_string local.index "center.bottom"
    huddraw_alpha local.index 1

    // RIGHT
    local.index++
    huddraw_virtualsize local.index 0
    huddraw_align local.index "right" "top"
    huddraw_color local.index 1 1 1
    huddraw_font local.index "facfont-20"
    huddraw_rect local.index -60 0 0 0
    huddraw_string local.index "right-top."
    huddraw_alpha local.index 1

    local.index++
    huddraw_virtualsize local.index 0
    huddraw_align local.index "right" "center"
    huddraw_color local.index 1 1 1
    huddraw_font local.index "facfont-20"
    huddraw_rect local.index -80 0 0 0
    huddraw_string local.index "right-center."
    huddraw_alpha local.index 1

    local.index++
    huddraw_virtualsize local.index 0
    huddraw_align local.index "right" "bottom"
    huddraw_color local.index 1 1 1
    huddraw_font local.index "facfont-20"
    huddraw_rect local.index -80 -20 0 0
    huddraw_string local.index "right-bottom."
    huddraw_alpha local.index 1



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •