Можно ли переделать дым в исходнике на серый обычный цвет?
sgren_features.sma
/** * * Smoke Grenade Features * by Numb * * * Description: * This plugin fixes some smoke grenade related bugs: * + Ability to see through smoke. * + Ability to see through smoke even better if using 16 bit. * + Smoke grenades do not explode in air. * + Smoke can go through walls. * + Smoke grenades can and do lag up many players (fps drops). * * * Requires: * FakeMeta * HamSandWich * * * Additional Info: * + Tested in Counter-Strike 1.6 with amxmodx 1.8.1 (with and without 16 bit). * * * ChangeLog: * * + 1.4 * - Changed: Improved cheat protection. * - Changed: Smoke disappears 10 seconds faster (now it's 35 seconds and value can be changed in source code config). * * + 1.3 * - Fixed: Damaged archives - no need to download sprites. * - Added: Ability to see through smoke even better when standing inside of it (can be changed in source code config). * - Added: Ability to make certain percentage of smoke to be black. Supports only original version "sgren_features". * * + 1.2 * - Fixed: svc_bad errors. * * + 1.1 * - Fixed: Smoke is more dense (harder to see through it where it ends). * - Fixed: Easier to see through smoke when you are standing inside of it. * * + 1.0 * - First release. * * * Downloads: * Amx Mod X forums: * **/
// Radius in units from smoke grenade where smoke can be created. Float number type is needed #define SMOKE_MAX_RADIUS 200.0 // default: (200.0)
// Number of smoke puffs what will be created every 0.1sec from one grenade (the higher this value is - the higher is ability of getting svc_bad errors) #define SMOKE_PUFFS_PER_THINK 5 // default: (5)
// How long smoke will stay on until it disappears (in seconds). NOTE: Counter-Strike default is 25.0 #define SMOKE_LIFE_TIME 35.0 // default (35.0)
// How much percent of the smoke will be black? (NOTE: Using this feature can make smoke to go throw roof) #define SMOKE_BLACK_PERCENT 0 // default: (0)
// Ability to see throw smoke better when standing inside of it (one of ???) (setting it to 0 will remove this feature) #define VIEW_ABILITY 3 // default: (3)
// ========================================================================== CONFIG END ==========================================================================
// Before being a smart ass make sure do you really want to decode this and get more cheaters online. // Even though most C++ coders never worked with FLAG system and don't know what some AMXX natives do, // I know that most of you (AMXX coders) easily can read the 'hidden' information. // So do me and yourself a favor - DON'T! public plugin_precache() { new integer28Cells[28];
Наверняка тебе качество дыма не нравится в твоем плагине, но ты думаешь что это хороший вариант против 16 бит. Поэтому решил поставить. Или же думаешь что с твоим плагином гарантирована отличная защита от игроков играющие без дыма))) Или думаешь, что если файл не скачивается на клиент значит это также гарантированная защита. Разочарую. Защиты от дыма нету. Ничего не поможет. Речекер в том числе. Дым удалить легко.