[ZU] Zombie:Unlimited Core

Ядро плагина [ZU] Zombie:Unlimited Core 1.0.0

Нет прав для скачивания
  • Автор Автор FrozDark
  • Дата создания Дата создания
Поддерживаемые игры
  1. CS: Source (OrangeBox)
  2. CS: GO
  3. Team Fortress 2
  4. DOD: Source
  5. L4D 1 & 2
Описание:

Новый зомби мод. Ядро плагина

Библиотека (Не имеет описаний)

// Infection natives (ZU_core.smx)

forward bool:ZU_OnInfectCountdownStart(&time);

forward bool:ZU_OnInfectCountdownTick(&time);

forward ZU_OnInfectCountdownTicked(time);

forward ZU_OnMotherZombiesSpawned(const clients[], numClients);

forward bool:ZU_OnClientInfect(client, attacker);

forward ZU_OnClientInfected(client, attacker, bool:motherInfect);

forward bool:ZU_OnClientHuman(client);

forward ZU_OnClientHumanPost(client);

// Classs natives (ZU_core.smx)

funcenum ZRCallback_ClassLooped

{

public (ZTeams:team, ZClass:clsIndex, const String:class_id[], const String:section[], const String:key[], const String:value[]),

public (ZTeams:team, ZClass:clsIndex, const String:class_id[], const String:section[], const String:key[], const String:value[], any:data)

}

forward ZU_OnClassApplied(client, ZTeams:team, ZClass:clsIndex, const String:class_id[]);

forward ZU_OnClassesLoaded(ZTeams:team);

forward ZU_OnClassesUnload(ZTeams:team);

//ZU_events

forward ZU_OnRoundStart();

forward ZU_OnRoundEnd(ZTeams:winner);

forward ZU_OnPlayerSpawn(client);

forward ZU_OnPlayerDeath(client, attacker, const String:weapon[], bool:headshot);

forward ZU_OnPlayerTeam(client, old_team, new_team);

// ZU credits

forward Action:ZU_OnCreditsGive(client, &credits);

forward ZU_OnCreditsGivePost(client, credits);

forward Action:ZU_OnCreditsTake(client, &credits);

forward ZU_OnCreditsTakePost(client, credits);

native bool:ZU_GiveCredits(client, credits);

native bool:ZU_TakeCredits(client, credits);

native ZU_GetCredits(client);

native ZU_SetCredits(client, credits);

native bool:ZU_MotherZombiesSpawned();

native bool:ZU_IsZombie(client);

native bool:ZU_IsMotherZombie(client);

native bool:ZU_IsHuman(client);

native bool:ZU_Infect(client, attacker = 0, bool:motherInfect = false);

native bool:ZU_Human(client);

native bool:ZU_SpawnMotherZombies();

native bool:ZU_NotifyMotherZombiesSpawned();

// Other natives (ZU_core.smx)

native bool:ZU_AreMates(client, target);

native ZTeams:ZU_GetTeam(client);

native ZU_GetCount(ZTeams:team, bool:alive = false);

native ZU_IsRoundActive();

native ZU_MarkAsSpec(client);

native ZU_Log(const String:format[], any:...);

native ZU_LogError(const String:format[], any:...);

native bool:ZU_ClassesLoaded();

native ZU_GetClassesSize(ZTeams:team);

native bool:ZU_SetClassAttribute(ZTeams:team, ZClass:clsIndex, const String:section[] = "", const String:key[], any:value);

native bool:ZU_GetClassAttribute(ZTeams:team, ZClass:clsIndex, const String:section[] = "", const String:key[], &any:buffer);

//native bool:ZU_SetClassAttributeFloat(ZTeams:team, ZClass:clsIndex, const String:section[] = "", const String:key[], Float:value);

//native bool:ZU_GetClassAttributeFloat(ZTeams:team, ZClass:clsIndex, const String:section[] = "", const String:key[], &Float:buffer);

native bool:ZU_SetClassAttributeColor(ZTeams:team, ZClass:clsIndex, const String:section[] = "", const String:key[], const color[4]);

native bool:ZU_GetClassAttributeColor(ZTeams:team, ZClass:clsIndex, const String:section[] = "", const String:key[], color[4]);

native bool:ZU_SetClassAttributeVector(ZTeams:team, ZClass:clsIndex, const String:section[] = "", const String:key[], const Float:vec[3]);

native bool:ZU_GetClassAttributeVector(ZTeams:team, ZClass:clsIndex, const String:section[] = "", const String:key[], Float:vec[3]);

native bool:ZU_SetClassAttributeString(ZTeams:team, ZClass:clsIndex, const String:section[] = "", const String:key[], const String:value[]);

native bool:ZU_GetClassAttributeString(ZTeams:team, ZClass:clsIndex, const String:section[] = "", const String:key[], String:buffer[], maxLength, &bytes = 0);

native bool:ZU_ClassSetHasAttribute(ZTeams:team, ZClass:clsIndex, const String:section[] = "", const String:key[], bool:value);

native bool:ZU_ClassHasAttribute(ZTeams:team, ZClass:clsIndex, const String:section[] = "", const String:key[]);

native bool:ZU_GetClassIndexDisplayName(ZTeams:team, ZClass:clsIndex, String:buffer[], maxLength);

native bool:ZU_SetClientClassIndex(client, ZTeams:team, ZClass:clsIndex, bool:apply_if_possible = true);

native ZClass:ZU_GetClientClassIndex(client, ZTeams:team);

native bool:ZU_GetClientCurrentClassIndex(client, &ZTeams:team, &ZClass:clsIndex);

native bool:ZU_LoopAllClassAttributes(ZTeams:team, const String:section[] = "", const String:key[] = "", ZRCallback_ClassLooped:callback, any:data = 0);

native ZUEvent_FireRoundStart();

native ZUEvent_FireRoundEnd(ZTeams:winner);

native ZUEvent_FirePlayerSpawn(client);

native ZUEvent_FirePlayerDeath(client, attacker, const String:sWeapon[], bool:headshot);

native ZUEvent_FirePlayerTeam(client, old_team, new_team);

Модули:

  1. Модуль плагина - [ZU] Counter-Strike mod

Автор оригинала: FrozDark. Источник: https://hlmod.net/resources/zu-zombie-unlimited-core.144/
Установка
Установка:

  1. Распаковать архив в корневую папку с игрой
Переменные
  • zu_class_manager_human_class - Путь до классов людей (от уровня папки sourcemod)
  • zu_class_manager_zombie_class - Путь до классов зомби (от уровня папки sourcemod)
  • zu_core_downloadlist - Путь до файлы загрузок клиентам (от уровня папки sourcemod)
  • zu_core_infection_countdown_time_max - Максимальное время заражения
  • zu_core_infection_countdown_time_min - Минимальное время заражения
  • zu_core_infection_mother_zombie_percentage - Процент заражения людей
  • zu_default_credits - Стартовое число кредитов для новых игроков
Автор
FrozDark
Скачивания
0
Просмотры
1
Первый выпуск
Обновление

Оценки

0.00 звёзд 0 оценок

Поделиться ресурсом

Последние обновления

  1. Добавлен обновленный файл zu_stocks.inc

    Добавлен обновленный файл zu_stocks.inc
Назад
Сверху