Перейти к публикации
Поиск в
  • Дополнительно...
Искать результаты, содержащие...
Искать результаты в...
  • Нужна помощь?

    Создайте тему в соответствующем разделе
    Не нужно писать всё в чат!
  • Загляните на торговую площадку

    Там вы можете купить
    всё что касается игровых серверов
  • Не хотите бан?

    Пожалуйста, ознакомьтесь с нашими правилами
    Не нарушайте порядок!
  • Продаёте или покупаете?

    Пользуйтесь услугами гаранта
    Мы сделаем вашу сделку безопасной
ArsNet

TerjeSkills и SFP мутанты

Рекомендованные сообщения

В общем сутки ломал голову по примеру с Wiki TerjeSkils, но нифига не получалось то мутанты не спавнились то опыт за убийство не шел, в общем разобрался и выкладываю инструкцию сюда.

 

В TerjeSkills написан пример на основе добавления модовых мутантов, но по их примеру ничего не работает. Общался в дискорде с админами но и их попытки помочь были четны. 

В общем перед каждым новым мутантом необходимо объявлять его базовый класс и уже этот клас присваивать к самому мутанут. Вот пример :

 

// <copyright file="config.cpp" author="Terje Bruoygard">
//     This repository does not provide full code of our mods need to be fully functional.
//     That's just interfaces and simple logic that may be helpful to other developers while using our mods as dependencies.
//     Modification, repackaging, distribution or any other use of the code from this file except as specified in the LICENSE.md is strictly prohibited.
//     Copyright (c) TerjeMods. All rights reserved.
// </copyright>

class CfgPatches
{
	class Z_TerjeSkills_Animals
	{
		units[]={};
		weapons[]={};
		requiredVersion=0.1;
		requiredAddons[]=
		
		{	"TerjeCore",
            "TerjeSkills",
			"DZ_Animals_ursus_arctos",
			"DZ_Animals_vulpes_vulpes",
			"DZ_Animals_sus_scrofa",
			"DZ_Animals_sus_domesticus",
			"DZ_Animals_rangifer_tarandus_feminam",
			"DZ_Animals_rangifer_tarandus",
			"DZ_Animals_ovis_aries_fem",
			"DZ_Animals_ovis_aries",
			"DZ_Animals_lepus_europaeus",
			"DZ_Animals_gallus_gallus_domesticus_feminam",
			"DZ_Animals_gallus_gallus_domesticus",
			"DZ_Animals_cervus_elaphus_feminam",
			"DZ_Animals_cervus_elaphus",
			"DZ_Animals_capreolus_capreolus_fem",
			"DZ_Animals_capreolus_capreolus",
			"DZ_Animals_capra_hircus_fem",
			"DZ_Animals_capra_hircus",
			"DZ_Animals_canis_lupus",
			"DZ_Animals_bos_taurus_fem",
			"DZ_Animals_bos_taurus",			
			"DZ_Gear_Food",
			"framework"
		};
	};
};

class CfgVehicles
{

	class AnimalBase;
	class SFP_RatDog_Base;	
	class SFP_RatDog: SFP_RatDog_Base
	{
		scope = 2;
		terjeOnKillHuntingExp = 350;
		terjeOnHeadshotHuntingExp = 350;
		terjeOnButchHuntingExp = 350;
		terjeHighlightWithPathfinder = 0;
	};
	
	class FS_WolfZmb_base;
	class FS_WolfZmb_black: FS_WolfZmb_base
	{
		scope = 2;
		terjeOnKillHuntingExp = 350;
		terjeOnHeadshotHuntingExp = 350;
		terjeOnButchHuntingExp = 350;
		terjeHighlightWithPathfinder = 0;
	};
	
	class SFP_Himera: AnimalBase
	{
		scope = 2;
		terjeOnKillHuntingExp = 5000;
		terjeOnHeadshotHuntingExp = 5000;
		terjeOnButchHuntingExp = 2500;
		terjeHighlightWithPathfinder = 0;
	};
	
	class SFP_Trupojor: AnimalBase
	{
		scope = 2;
		terjeOnKillHuntingExp = 2500;
		terjeOnHeadshotHuntingExp = 1000;
		terjeOnButchHuntingExp = 1000;
		terjeHighlightWithPathfinder = 0;
	};
	
	class SFP_PseDOG_Base;
	class SFP_PseDOG_Gray: SFP_PseDOG_Base
	{
		scope = 2;
		terjeOnKillHuntingExp = 350;
		terjeOnHeadshotHuntingExp = 350;
		terjeOnButchHuntingExp = 350;
		terjeHighlightWithPathfinder = 0;
	};
	
	class SFP_PseDOG_Brown: SFP_PseDOG_Base
	{
		scope = 2;
		terjeOnKillHuntingExp = 350;
		terjeOnHeadshotHuntingExp = 350;
		terjeOnButchHuntingExp = 350;
		terjeHighlightWithPathfinder = 0;
	};
	
	class SFP_tushkano_Base;
	class SFP_tushkano: SFP_tushkano_Base
	{
		scope = 2;
		terjeOnKillHuntingExp = 50;
		terjeOnHeadshotHuntingExp = 50;
		terjeOnButchHuntingExp = 50;
		terjeHighlightWithPathfinder = 0;
	};
	
	class SFP_BaunCat_Base;
	class SFP_CatBaun: SFP_BaunCat_Base
	{
		scope = 2;
		terjeOnKillHuntingExp = 150;
		terjeOnHeadshotHuntingExp = 150;
		terjeOnButchHuntingExp = 150;
		terjeHighlightWithPathfinder = 0;
	};
	
	class SFP_plot_Base;
	class SFP_Plot_style2: SFP_plot_Base
	{
		scope = 2;
		terjeOnKillHuntingExp = 150;
		terjeOnHeadshotHuntingExp = 150;
		terjeOnButchHuntingExp = 150;
		terjeHighlightWithPathfinder = 0;
	};
	
	class SFP_Plot_style1: SFP_plot_Base
	{
		scope = 2;
		terjeOnKillHuntingExp = 150;
		terjeOnHeadshotHuntingExp = 150;
		terjeOnButchHuntingExp = 150;
		terjeHighlightWithPathfinder = 0;
	};
	
	class SFP_DikoDog: AnimalBase
	{
		scope = 2;
		terjeOnKillHuntingExp = 250;
		terjeOnHeadshotHuntingExp = 250;
		terjeOnButchHuntingExp = 250;
		terjeHighlightWithPathfinder = 0;
	};
	
	class SFP_SlepoDOG_Base;
	class SFP_SlepoDOG_White: SFP_SlepoDOG_Base
	{
		scope = 2;
		terjeOnKillHuntingExp = 150;
		terjeOnHeadshotHuntingExp = 150;
		terjeOnButchHuntingExp = 150;
		terjeHighlightWithPathfinder = 0;
	};
	
	class SFP_SlepoDOG_Red: SFP_SlepoDOG_Base
	{
		scope = 2;
		terjeOnKillHuntingExp = 150;
		terjeOnHeadshotHuntingExp = 150;
		terjeOnButchHuntingExp = 150;
		terjeHighlightWithPathfinder = 0;
	};
	
	class SFP_SlepoDOG_bulterer: SFP_SlepoDOG_Base
	{
		scope = 2;
		terjeOnKillHuntingExp = 150;
		terjeOnHeadshotHuntingExp = 150;
		terjeOnButchHuntingExp = 150;
		terjeHighlightWithPathfinder = 0;
	};
	
	class SFP_SlepoDOG_Brown: SFP_SlepoDOG_Base
	{
		scope = 2;
		terjeOnKillHuntingExp = 150;
		terjeOnHeadshotHuntingExp = 150;
		terjeOnButchHuntingExp = 150;
		terjeHighlightWithPathfinder = 0;
	};
	
	class SFP_Boar_Base;
	class SFP_Boar_Brown: SFP_Boar_Base
	{
		scope = 2;
		terjeOnKillHuntingExp = 200;
		terjeOnHeadshotHuntingExp = 200;
		terjeOnButchHuntingExp = 200;
		terjeHighlightWithPathfinder = 0;
	};
	
	class SFP_Boar_black: SFP_Boar_Base
	{
		scope = 2;
		terjeOnKillHuntingExp = 200;
		terjeOnHeadshotHuntingExp = 200;
		terjeOnButchHuntingExp = 200;
		terjeHighlightWithPathfinder = 0;
	};
	
	class Animal_UrsusArctos: AnimalBase
	{
		scope = 2;
		terjeOnKillHuntingExp = 500;
		terjeOnHeadshotHuntingExp = 250;
		terjeOnButchHuntingExp = 250;
		terjeHighlightWithPathfinder = 0;
	};

	class Animal_VulpesVulpes: AnimalBase
	{
		scope = 2;
		terjeOnKillHuntingExp = 50;
		terjeOnHeadshotHuntingExp = 50;
		terjeOnButchHuntingExp = 50;
		terjeHighlightWithPathfinder = 1;
	};
	
	class Animal_SusScrofa: AnimalBase
	{
		scope = 2;
		terjeOnKillHuntingExp = 200;
		terjeOnHeadshotHuntingExp = 100;
		terjeOnButchHuntingExp = 100;
		terjeHighlightWithPathfinder = 1;
	};
	
	class Animal_SusDomesticus: AnimalBase
	{
		scope = 2;
		terjeOnKillHuntingExp = 25;
		terjeOnHeadshotHuntingExp = 10;
		terjeOnButchHuntingExp = 100;
	};
	
	class Animal_RangiferTarandusF: AnimalBase
	{
		scope = 2;
		terjeOnKillHuntingExp = 150;
		terjeOnHeadshotHuntingExp = 150;
		terjeOnButchHuntingExp = 100;
		terjeHighlightWithPathfinder = 1;
	};
	
	class Animal_RangiferTarandus: AnimalBase
	{
		scope = 2;
		terjeOnKillHuntingExp = 200;
		terjeOnHeadshotHuntingExp = 200;
		terjeOnButchHuntingExp = 100;
		terjeHighlightWithPathfinder = 1;
	};
	
	class Animal_OvisAriesF: AnimalBase
	{
		scope = 2;
		terjeOnKillHuntingExp = 25;
		terjeOnHeadshotHuntingExp = 25;
		terjeOnButchHuntingExp = 100;
	};
	
	class Animal_OvisAries: AnimalBase
	{
		scope = 2;
		terjeOnKillHuntingExp = 25;
		terjeOnHeadshotHuntingExp = 25;
		terjeOnButchHuntingExp = 100;
	};
	
	class Animal_LepusEuropaeus: AnimalBase
	{
		scope = 2;
		terjeOnKillHuntingExp = 50;
		terjeOnHeadshotHuntingExp = 150;
		terjeOnButchHuntingExp = 50;
		terjeHighlightWithPathfinder = 1;
	};
	
	class Animal_GallusGallusDomesticusF: AnimalBase
	{
		scope = 2;
		terjeOnKillHuntingExp = 10;
		terjeOnHeadshotHuntingExp = 10;
		terjeOnButchHuntingExp = 10;
	};
	
	class Animal_GallusGallusDomesticus: AnimalBase
	{
		scope = 2;
		terjeOnKillHuntingExp = 10;
		terjeOnHeadshotHuntingExp = 10;
		terjeOnButchHuntingExp = 10;
	};
	
	class Animal_CervusElaphusF: AnimalBase
	{
		scope = 2;
		terjeOnKillHuntingExp = 150;
		terjeOnHeadshotHuntingExp = 150;
		terjeOnButchHuntingExp = 100;
		terjeHighlightWithPathfinder = 1;
	};
	
	class Animal_CervusElaphus: AnimalBase
	{
		scope = 2;
		terjeOnKillHuntingExp = 200;
		terjeOnHeadshotHuntingExp = 200;
		terjeOnButchHuntingExp = 100;
		terjeHighlightWithPathfinder = 1;
	};
	
	class Animal_CapreolusCapreolusF: AnimalBase
	{
		scope = 2;
		terjeOnKillHuntingExp = 150;
		terjeOnHeadshotHuntingExp = 150;
		terjeOnButchHuntingExp = 100;
		terjeHighlightWithPathfinder = 1;
	};
	
	class Animal_CapreolusCapreolus: AnimalBase
	{
		scope = 2;
		terjeOnKillHuntingExp = 150;
		terjeOnHeadshotHuntingExp = 150;
		terjeOnButchHuntingExp = 100;
		terjeHighlightWithPathfinder = 1;
	};
	
	class Animal_CapraHircusF: AnimalBase
	{
		scope = 2;
		terjeOnKillHuntingExp = 50;
		terjeOnHeadshotHuntingExp = 50;
		terjeOnButchHuntingExp = 50;
	};
	
	class Animal_CapraHircus: AnimalBase
	{
		scope = 2;
		terjeOnKillHuntingExp = 50;
		terjeOnHeadshotHuntingExp = 50;
		terjeOnButchHuntingExp = 50;
	};
	
	class Animal_CanisLupus: AnimalBase
	{
		scope = 2;
		terjeOnKillHuntingExp = 25;
		terjeOnHeadshotHuntingExp = 25;
		terjeOnButchHuntingExp = 50;
		terjeHighlightWithPathfinder = 0;
	};
	
	class Animal_BosTaurusF: AnimalBase
	{
		scope = 2;
		terjeOnKillHuntingExp = 10;
		terjeOnHeadshotHuntingExp = 10;
		terjeOnButchHuntingExp = 50;
	};
	
	class Animal_BosTaurus: AnimalBase
	{
		scope = 2;
		terjeOnKillHuntingExp = 10;
		terjeOnHeadshotHuntingExp = 10;
		terjeOnButchHuntingExp = 50;
	};
	
	class Edible_Base;
	class DeadChicken_ColorBase: Edible_Base
	{
		scope = 2;
		terjeOnButchHuntingExp = 10;
	};
	class DeadRabbit: Edible_Base
	{
		scope = 2;
		terjeOnButchHuntingExp = 50;
	};
	class DeadFox: Edible_Base
	{
		scope = 2;
		terjeOnButchHuntingExp = 50;
	};
	class Carp: Edible_Base
	{
		scope = 2;
		terjeOnButchFishingExp = 25;
	};
	class Mackerel: Edible_Base
	{
		scope = 2;
		terjeOnButchFishingExp = 25;
	};
	class WalleyePollock: Edible_Base
	{
		scope = 2;
		terjeOnButchFishingExp = 25;
	};
	class SteelheadTrout: Edible_Base
	{
		scope = 2;
		terjeOnButchFishingExp = 25;
	};
	class Sardines: Edible_Base
	{
		scope = 2;
		terjeOnButchFishingExp = 25;
	};
	class Bitterlings: Edible_Base
	{
		scope = 2;
		terjeOnButchFishingExp = 25;
	};
};






 

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах
MagicByte MagicByte MagicByte

Создайте аккаунт или войдите в него для комментирования

Вы должны быть пользователем, чтобы оставить комментарий

Создать аккаунт

Зарегистрируйтесь для получения аккаунта. Это просто!

Зарегистрировать аккаунт

Войти

Уже зарегистрированы? Войдите здесь.

Войти сейчас

×
×
  • Создать...

Важная информация

Используя этот сайт, вы автоматически обязуетесь соблюдать наши Правила и Политика конфиденциальности.
Чтобы сделать этот веб-сайт лучше, мы разместили cookies на вашем устройстве. Вы можете изменить свои настройки cookies, в противном случае мы будем считать, что вы согласны с этим.

Поддержка