Исходник How to add custom icon into your supremacy paste, c+p ready

Начинающий
Статус
Оффлайн
Регистрация
15 Окт 2019
Сообщения
23
Реакции[?]
5
Поинты[?]
5K
  1. first step: install a font of your choice
  2. in render.cpp init your new font:
  3. font:
    void render::init() {    menu = Font(XOR("Tahoma"), 12, FW_NORMAL, FONTFLAG_NONE);
    menu_shade = Font(xor_c("Tahoma"), 12, FW_NORMAL, FONTFLAG_DROPSHADOW);
    esp = Font(xor_c("Verdana"), 12, FW_BOLD, FONTFLAG_DROPSHADOW);
    esp_small = Font(xor_c("Small Fonts"), 8, FW_NORMAL, FONTFLAG_ANTIALIAS | FONTFLAG_OUTLINE);
    hud = Font(xor_c("Tahoma"), 16, FW_NORMAL, FONTFLAG_ANTIALIAS);
    cs = Font(xor_c("Counter-Strike"), 28, FW_MEDIUM, FONTFLAG_ANTIALIAS | FONTFLAG_DROPSHADOW);
    indicator = Font(xor_c("Verdana"), 26, FW_BOLD, FONTFLAG_ANTIALIAS | FONTFLAG_DROPSHADOW);
    menu_icon = Font(xor_c("Undefeated"), 16, FW_NORMAL, FONTFLAG_ANTIALIAS | FONTFLAG_OUTLINE);
    }
  4. in tab.h you neet to modify SetTitle
  5. settitle:
           std::string m_icon;     // New field for the icon
          
       // Set the icon and the sub-titles.
        __forceinline void SetTitle(const std::string& icon, const std::string& sub_one, const std::string& sub_two) {
            m_icon = icon;  // Set the icon instead of the title
            m_child1 = sub_one;
            m_child2 = sub_two;
        }
  6. finally in form.cpp you need to change m_title render and use m_icon instead
  7. render:
                render::menu_icon.string(text_x, text_y, color, t->m_icon, render::ALIGN_CENTER);
  8. BEFORE YOU INJECT I RECOMMEND GOING INTO MENU.H
  9. open your installed font and a normal font, should be C:\Windows\Fonts
  10. then compare the alphabet and set the right single letter that corresponds for your icon
  11. example
  12. menu:
            SetTitle(xor_c("o"), xor_c("menu"), xor_c("configurations"));
  13. POZRDO
  14. Counter Strike Global Offensive_2024.09.18-10.29.png
 
Начинающий
Статус
Оффлайн
Регистрация
5 Авг 2023
Сообщения
61
Реакции[?]
15
Поинты[?]
15K
  1. first step: install a font of your choice
  2. in render.cpp init your new font:
  3. font:
    void render::init() {    menu = Font(XOR("Tahoma"), 12, FW_NORMAL, FONTFLAG_NONE);
    menu_shade = Font(xor_c("Tahoma"), 12, FW_NORMAL, FONTFLAG_DROPSHADOW);
    esp = Font(xor_c("Verdana"), 12, FW_BOLD, FONTFLAG_DROPSHADOW);
    esp_small = Font(xor_c("Small Fonts"), 8, FW_NORMAL, FONTFLAG_ANTIALIAS | FONTFLAG_OUTLINE);
    hud = Font(xor_c("Tahoma"), 16, FW_NORMAL, FONTFLAG_ANTIALIAS);
    cs = Font(xor_c("Counter-Strike"), 28, FW_MEDIUM, FONTFLAG_ANTIALIAS | FONTFLAG_DROPSHADOW);
    indicator = Font(xor_c("Verdana"), 26, FW_BOLD, FONTFLAG_ANTIALIAS | FONTFLAG_DROPSHADOW);
    menu_icon = Font(xor_c("Undefeated"), 16, FW_NORMAL, FONTFLAG_ANTIALIAS | FONTFLAG_OUTLINE);
    }
  4. in tab.h you neet to modify SetTitle
  5. settitle:
           std::string m_icon;     // New field for the icon
         
       // Set the icon and the sub-titles.
        __forceinline void SetTitle(const std::string& icon, const std::string& sub_one, const std::string& sub_two) {
            m_icon = icon;  // Set the icon instead of the title
            m_child1 = sub_one;
            m_child2 = sub_two;
        }
  6. finally in form.cpp you need to change m_title render and use m_icon instead
  7. render:
                render::menu_icon.string(text_x, text_y, color, t->m_icon, render::ALIGN_CENTER);
  8. BEFORE YOU INJECT I RECOMMEND GOING INTO MENU.H
  9. open your installed font and a normal font, should be C:\Windows\Fonts
  10. then compare the alphabet and set the right single letter that corresponds for your icon
  11. example
  12. menu:
            SetTitle(xor_c("o"), xor_c("menu"), xor_c("configurations"));
  13. POZRDO
  14. Посмотреть вложение 285909
useless, kys
 
Пользователь
Статус
Оффлайн
Регистрация
29 Дек 2020
Сообщения
62
Реакции[?]
31
Поинты[?]
2K
  1. first step: install a font of your choice
  2. in render.cpp init your new font:
  3. font:
    void render::init() {    menu = Font(XOR("Tahoma"), 12, FW_NORMAL, FONTFLAG_NONE);
    menu_shade = Font(xor_c("Tahoma"), 12, FW_NORMAL, FONTFLAG_DROPSHADOW);
    esp = Font(xor_c("Verdana"), 12, FW_BOLD, FONTFLAG_DROPSHADOW);
    esp_small = Font(xor_c("Small Fonts"), 8, FW_NORMAL, FONTFLAG_ANTIALIAS | FONTFLAG_OUTLINE);
    hud = Font(xor_c("Tahoma"), 16, FW_NORMAL, FONTFLAG_ANTIALIAS);
    cs = Font(xor_c("Counter-Strike"), 28, FW_MEDIUM, FONTFLAG_ANTIALIAS | FONTFLAG_DROPSHADOW);
    indicator = Font(xor_c("Verdana"), 26, FW_BOLD, FONTFLAG_ANTIALIAS | FONTFLAG_DROPSHADOW);
    menu_icon = Font(xor_c("Undefeated"), 16, FW_NORMAL, FONTFLAG_ANTIALIAS | FONTFLAG_OUTLINE);
    }
  4. in tab.h you neet to modify SetTitle
  5. settitle:
           std::string m_icon;     // New field for the icon
         
       // Set the icon and the sub-titles.
        __forceinline void SetTitle(const std::string& icon, const std::string& sub_one, const std::string& sub_two) {
            m_icon = icon;  // Set the icon instead of the title
            m_child1 = sub_one;
            m_child2 = sub_two;
        }
  6. finally in form.cpp you need to change m_title render and use m_icon instead
  7. render:
                render::menu_icon.string(text_x, text_y, color, t->m_icon, render::ALIGN_CENTER);
  8. BEFORE YOU INJECT I RECOMMEND GOING INTO MENU.H
  9. open your installed font and a normal font, should be C:\Windows\Fonts
  10. then compare the alphabet and set the right single letter that corresponds for your icon
  11. example
  12. menu:
            SetTitle(xor_c("o"), xor_c("menu"), xor_c("configurations"));
  13. POZRDO
  14. Посмотреть вложение 285909
useless, kys
 
Начинающий
Статус
Оффлайн
Регистрация
15 Окт 2019
Сообщения
23
Реакции[?]
5
Поинты[?]
5K
Начинающий
Статус
Оффлайн
Регистрация
16 Июн 2022
Сообщения
34
Реакции[?]
17
Поинты[?]
6K
ego? first thing you said was « useless kys » like this post was made for you🤣😂
second you sound hipocrite looking at what you publish, take care keyboard worm
your posts arent any better and speaking of hypocrites you sir are are one more than anyone else on this forum but alright
this stuff has been posted 12934931 times on this forum please keep this to yourself
 
Начинающий
Статус
Оффлайн
Регистрация
15 Окт 2019
Сообщения
23
Реакции[?]
5
Поинты[?]
5K
your posts arent any better and speaking of hypocrites you sir are are one more than anyone else on this forum but alright
this stuff has been posted 12934931 times on this forum please keep this to yourself
but i didnt get upset when he said im pasting supremacy i dont care, there was just nothing useful for him to paste
and explain ur sefl how am i a hipocrite? its the same if i said ur mother is a whore? i called him hipocrite with a base argument not a reverse cause by youcalling me hipocrite without an argument looks likeu sucking his dick
 
Последнее редактирование:
Сверху Снизу