Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe
ArsNet

TerjeSkills и SFP мутанты

Recommended Posts

В общем сутки ломал голову по примеру с 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;
	};
};






 

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.