Color Name

Results 1 to 4 of 4
  1. #1
    Apprentice isAvailable is offline
    MemberRank
    Jun 2022 Join Date
    5Posts

    Color Name

    Is there anyway to get color name rather then having '^n' at Lobby and Score-table.

    lobby.pngin-game.png

    and thank you


  2. #2
    Infraction Banned jorklenis2 is offline
    MemberRank
    Oct 2011 Join Date
    PanamáLocation
    878Posts

    Re: Color Name

    Quote Originally Posted by isAvailable View Post
    Is there anyway to get color name rather then having '^n' at Lobby and Score-table.

    lobby.pngin-game.png

    and thank you
    Of course, there is a system that deals with RGB colors which takes effect through the database and the other is modifying it directly from the source in ZCombatInterface, ZGame, ect..

  3. #3
    Enthusiast sharpshot is offline
    MemberRank
    May 2014 Join Date
    36Posts

    Re: Color Name

    The code supports both drawing text normally, or drawing text with ^ colors support.
    By default, the ^ colors supported only in chats, but you can take a look at the chat code, see how it draws the text and what is the diff in the implementation, and then use the same functionality anywhere else in order to add ^ colors support.


  4. #4
    Apprentice isAvailable is offline
    MemberRank
    Jun 2022 Join Date
    5Posts

    Re: Color Name

    Quote Originally Posted by jorklenis2 View Post
    Of course, there is a system that deals with RGB colors which takes effect through the database and the other is modifying it directly from the source in ZCombatInterface, ZGame, ect..
    But the database only handle single color?

    - - - Updated - - -

    Quote Originally Posted by sharpshot View Post
    The code supports both drawing text normally, or drawing text with ^ colors support.
    By default, the ^ colors supported only in chats, but you can take a look at the chat code, see how it draws the text and what is the diff in the implementation, and then use the same functionality anywhere else in order to add ^ colors support.


    Will check when I reach home :D



Advertisement