Исходник Партеклы на смок и молотов

Забаненный
Статус
Оффлайн
Регистрация
14 Окт 2021
Сообщения
3
Реакции[?]
1
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Переходим сюды hooks\hooked_painttraverse.cpp
Молик
Код:
static std::vector <const char*> molly_materials =
        {
            "particle/fire_burning_character/fire_env_fire.vmt",
            "particle/fire_burning_character/fire_env_fire_depthblend.vmt",
            "particle/fire_burning_character/fire_burning_character_depthblend.vmt",
            "particle/fire_burning_character/fire_burning_character.vmt",
            "particle/fire_burning_character/fire_burning_character_nodepth.vmt",
            "particle/particle_flares/particle_flare_001.vmt",
            "particle/particle_flares/particle_flare_004.vmt",
            "particle/particle_flares/particle_flare_004b_mod_ob.vmt",
            "particle/particle_flares/particle_flare_004b_mod_z.vmt",
            "particle/fire_explosion_1/fire_explosion_1_bright.vmt",
            "particle/fire_explosion_1/fire_explosion_1b.vmt",
            "particle/fire_particle_4/fire_particle_4.vmt",
            "particle/fire_explosion_1/fire_explosion_1_oriented.vmt"
        };

        for (auto material_name : molly_materials)
        {
            auto material = m_materialsystem()->FindMaterial(material_name, nullptr);

            if (!material)
                continue;

            material->SetMaterialVarFlag(MATERIAL_VAR_WIREFRAME, true);
        }
Смок
Код:
if (g_cfg.player.enable && g_cfg.esp.removals[REMOVALS_SMOKE])
        {
            static auto smoke_count = *reinterpret_cast<uint32_t**>(util::FindSignature(crypt_str("client.dll"), crypt_str("A3 ? ? ? ? 57 8B CB")) + 0x1);
            *(int*)smoke_count = 0;
        }

        if (g_ctx.globals.should_remove_smoke == g_cfg.player.enable && g_cfg.esp.removals[REMOVALS_SMOKE])
            return;

        g_ctx.globals.should_remove_smoke = g_cfg.player.enable && g_cfg.esp.removals[REMOVALS_SMOKE];

        static std::vector <const char*> smoke_materials =
        {
            "effects/overlaysmoke",
            "particle/beam_smoke_01",
            "particle/particle_smokegrenade",
            "particle/particle_smokegrenade1",
            "particle/particle_smokegrenade2",
            "particle/particle_smokegrenade3",
            "particle/particle_smokegrenade_sc",
            "particle/smoke1/smoke1",
            "particle/smoke1/smoke1_ash",
            "particle/smoke1/smoke1_nearcull",
            "particle/smoke1/smoke1_nearcull2",
            "particle/smoke1/smoke1_snow",
            "particle/smokesprites_0001",
            "particle/smokestack",
            "particle/vistasmokev1/vistasmokev1",
            "particle/vistasmokev1/vistasmokev1_emods",
            "particle/vistasmokev1/vistasmokev1_emods_impactdust",
            "particle/vistasmokev1/vistasmokev1_fire",
            "particle/vistasmokev1/vistasmokev1_nearcull",
            "particle/vistasmokev1/vistasmokev1_nearcull_fog",
            "particle/vistasmokev1/vistasmokev1_nearcull_nodepth",
            "particle/vistasmokev1/vistasmokev1_smokegrenade",
            "particle/vistasmokev1/vistasmokev4_emods_nocull",
            "particle/vistasmokev1/vistasmokev4_nearcull",
            "particle/vistasmokev1/vistasmokev4_nocull"
        };

        for (auto material_name : smoke_materials)
        {
            auto material = m_materialsystem()->FindMaterial(material_name, nullptr);

            if (!material)
                continue;

            material->SetMaterialVarFlag(MATERIAL_VAR_WIREFRAME, g_ctx.globals.should_remove_smoke);

        }

Пожалуйста, авторизуйтесь для просмотра ссылки.
 
Забаненный
Статус
Оффлайн
Регистрация
2 Июн 2020
Сообщения
461
Реакции[?]
80
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Переходим сюды hooks\hooked_painttraverse.cpp
Молик
Код:
static std::vector <const char*> molly_materials =
        {
            "particle/fire_burning_character/fire_env_fire.vmt",
            "particle/fire_burning_character/fire_env_fire_depthblend.vmt",
            "particle/fire_burning_character/fire_burning_character_depthblend.vmt",
            "particle/fire_burning_character/fire_burning_character.vmt",
            "particle/fire_burning_character/fire_burning_character_nodepth.vmt",
            "particle/particle_flares/particle_flare_001.vmt",
            "particle/particle_flares/particle_flare_004.vmt",
            "particle/particle_flares/particle_flare_004b_mod_ob.vmt",
            "particle/particle_flares/particle_flare_004b_mod_z.vmt",
            "particle/fire_explosion_1/fire_explosion_1_bright.vmt",
            "particle/fire_explosion_1/fire_explosion_1b.vmt",
            "particle/fire_particle_4/fire_particle_4.vmt",
            "particle/fire_explosion_1/fire_explosion_1_oriented.vmt"
        };

        for (auto material_name : molly_materials)
        {
            auto material = m_materialsystem()->FindMaterial(material_name, nullptr);

            if (!material)
                continue;

            material->SetMaterialVarFlag(MATERIAL_VAR_WIREFRAME, true);
        }
Смок
Код:
if (g_cfg.player.enable && g_cfg.esp.removals[REMOVALS_SMOKE])
        {
            static auto smoke_count = *reinterpret_cast<uint32_t**>(util::FindSignature(crypt_str("client.dll"), crypt_str("A3 ? ? ? ? 57 8B CB")) + 0x1);
            *(int*)smoke_count = 0;
        }

        if (g_ctx.globals.should_remove_smoke == g_cfg.player.enable && g_cfg.esp.removals[REMOVALS_SMOKE])
            return;

        g_ctx.globals.should_remove_smoke = g_cfg.player.enable && g_cfg.esp.removals[REMOVALS_SMOKE];

        static std::vector <const char*> smoke_materials =
        {
            "effects/overlaysmoke",
            "particle/beam_smoke_01",
            "particle/particle_smokegrenade",
            "particle/particle_smokegrenade1",
            "particle/particle_smokegrenade2",
            "particle/particle_smokegrenade3",
            "particle/particle_smokegrenade_sc",
            "particle/smoke1/smoke1",
            "particle/smoke1/smoke1_ash",
            "particle/smoke1/smoke1_nearcull",
            "particle/smoke1/smoke1_nearcull2",
            "particle/smoke1/smoke1_snow",
            "particle/smokesprites_0001",
            "particle/smokestack",
            "particle/vistasmokev1/vistasmokev1",
            "particle/vistasmokev1/vistasmokev1_emods",
            "particle/vistasmokev1/vistasmokev1_emods_impactdust",
            "particle/vistasmokev1/vistasmokev1_fire",
            "particle/vistasmokev1/vistasmokev1_nearcull",
            "particle/vistasmokev1/vistasmokev1_nearcull_fog",
            "particle/vistasmokev1/vistasmokev1_nearcull_nodepth",
            "particle/vistasmokev1/vistasmokev1_smokegrenade",
            "particle/vistasmokev1/vistasmokev4_emods_nocull",
            "particle/vistasmokev1/vistasmokev4_nearcull",
            "particle/vistasmokev1/vistasmokev4_nocull"
        };

        for (auto material_name : smoke_materials)
        {
            auto material = m_materialsystem()->FindMaterial(material_name, nullptr);

            if (!material)
                continue;

            material->SetMaterialVarFlag(MATERIAL_VAR_WIREFRAME, g_ctx.globals.should_remove_smoke);

        }

Пожалуйста, авторизуйтесь для просмотра ссылки.
на смоке такой же партикл или они разные(просто ты один скрин указал)
 
..................................................
Участник
Статус
Оффлайн
Регистрация
13 Авг 2020
Сообщения
990
Реакции[?]
249
Поинты[?]
20K
Сверху Снизу