GunZ changes

Results 1 to 4 of 4
  1. #1
    Apprentice Basto is offline
    MemberRank
    Jan 2017 Join Date
    12Posts

    GunZ changes

    So i thought after years i want to try out making an own gunz again to test and stuff.

    but i came across 2 problems, which btw i tried to fix/change and searched all over ragezone

    1. Rank Colours
    2. add maps

    so 1. i checked Qet123 his thread about the colours, i tried to change it but it doesnt work, anyone know how i can simply change the colours of Owner/GM/Dev/JJang/Donor, Or Can Anyone help me with it


    2. i changed the map max limit to 125, added a map but i cant find the map its not in the game


    can anyone help me with that? i know it might be 2 small fixes&changes but i dont want to screw it up so can anyone please help?


    Thanks IF
    Last edited by Basto; 19-01-17 at 07:46 PM.


  2. #2
    I'm an old-school guy! Zellum is offline
    MemberRank
    Aug 2014 Join Date
    MarsLocation
    207Posts

    Re: GunZ changes

    Coloring The Grade(Lobby&GameRoom):
    Spoiler:

    Gunz\ZGame.cpp(1699):

    *Here we gonna unmask and color

    1)Admin:
    Code:
    if(gid == MMUG_ADMIN) {
    UserNameColor = MCOLOR(R, G, B); //RED,GREEN,BLUE
    /*if(sp_name) {
    strcpy(sp_name,ZMsg(MSG_WORD_ADMIN));
    }*/
    return true;
    }
    else if(gid == MMUG_DEVELOPER)
    {
    UserNameColor = MCOLOR(R, G, B); //RED,GREEN,BLUE
    /*if(sp_name) {
    strcpy(sp_name,ZMsg(MSG_WORD_DEVELOPER));
    }*/
    return true;
    }
    else if(gid == MMUG_EVENTMASTER) {
    UserNameColor = MCOLOR(R, G, B); //RED,GREEN,BLUE
    /*if(sp_name) {
    strcpy(sp_name,ZMsg(MSG_WORD_EVENTMASTER));
    }*/
    return true;
    }
    So basicly this:

    -Unmask:
    Code:
    /*if(sp_name) {
    strcpy(sp_name,ZMsg(MSG_WORD_DEVELOPER));
    }*/
    Will unmask/remove the Admin/Developer name from string.

    -Coloring:
    Code:
    UserNameColor = MCOLOR(R, G, B); //RED,GREEN,BLUE
    From here you can get the "RGB" color





    Coloring The Grade(InGame,TabList):
    Spoiler:

    Gunz\ZColorTable.h(26):

    1)Admin:
    From
    Code:
    #define ZCOLOR_ADMIN_NAME 0xFF[HEX] //Admin Color
    #define ZCOLOR_Developer_NAME 0xFF[HEX] //Developer Color
    To
    Code:
    #define ZCOLOR_ADMIN_NAME 0xFF[HEX] //Admin Color
    #define ZCOLOR_Developer_NAME 0xFF[HEX] //Developer Color
    #define ZCOLOR_EventMaster_NAME 0xFF[HEX] //Police Color
    2)VIP:
    Code:
    #define ZCOLOR_VIP1_NAME 0xFF[HEX] //VIP1 Color
    You take the number and replace it in [HEX] without '#'




    Credits @qet123

  3. #3
    Apprentice Basto is offline
    MemberRank
    Jan 2017 Join Date
    12Posts

    Re: GunZ changes

    Colours Fixed, only the Maps, anyone ? :$
    Last edited by Basto; 19-01-17 at 11:08 PM.

  4. #4
    Enthusiast detz05 is offline
    MemberRank
    May 2016 Join Date
    Barquisimeto, VLocation
    27Posts

    Re: GunZ changes

    ADD MAP
    Go Source/CSCommon/Include/MMatchMap.h Line 37 or 36 and edit

    MMATCH_MAP_MAX = 32,

    FOR

    MMATCH_MAP_MAX = 125,



Advertisement