Jump to content
darkxess

Problem with my (config.cpp) please help

Recommended Posts

i think its similar to why your texture was wrong, you've changed the model path to the right model but because your uniforms inherit from "B_Soldier_base_F" its loading everything you haven't defined in your config from the BLUFOR base class, including the injury textures. the injury textures will be for the wrong model still...

 

try using "I_Soldier_base_F" instead?

 

you should de-pbo the "characters_f" game file and check out the config, most of the units in game are there and its essential reference even for simple texture mods like this

 

 

 

 

  • Thanks 1

Share this post


Link to post
Share on other sites

Yes mate, that worked, lol now they are INDEPENDENT faction though instead of NATO 😄

I did put:

class cfgFactionClasses
{
	class gru_faction_units
	{
		displayName = "GRU";
		priority = 1000;
		side = "TWest";
	};
};

In my config.cpp before, so it shouldnt do that or?

  • Sad 1

Share this post


Link to post
Share on other sites
6 hours ago, darkxess said:

lol now they are INDEPENDENT

 

7 hours ago, lordfrith said:

you should de-pbo the "characters_f" game file and check out the config, most of the units in game are there and its essential reference even for simple texture mods like this 

 

Since the original soldier (classname) is an Independent , you can't change this.

Share this post


Link to post
Share on other sites
11 hours ago, darkxess said:

now they are INDEPENDENT faction though instead of NATO

 

oh yeah.... 😂

 

your faction should work ok, it will overwrite the faction on the parent class... BUT (of course i forgot) it will still inherit the side from parent as there is no such entry in your config (you don't need it unless you want to change it). Try adding this to your cfgvehicles entries, 

 

side=1;

They'll also have greek names and speak in the greek voices, so if you want a nato style faction you could change:

 

identityTypes[]=
		{
			"LanguageENG_F",
			"Head_NATO",
			"G_NATO_default"
		};
genericNames="NATOMen";

 

Edited by lordfrith
schpellink

Share this post


Link to post
Share on other sites

Can you possibly help me add those parts as I have no idea where to put them in the working config 😛

Config.cpp

////////////////////////////////////////////////////////////////////
//
// By DarkXess (GRU Units)
//
////////////////////////////////////////////////////////////////////

#define _ARMA_

//Class gru_units : config.bin{
class CfgPatches
{
	class gru_units
	{
		author = "DarkXess";
		authorUrl = "https://steamcommunity.com/id/DarkXess/";
		units[] = {"gru_unit_highlander","gru_unit_typhon","gru_unit_mandrake","gru_unit_raid","gru_unit_banshee","gru_unit_nomad","gru_unit_yeti","gru_unit_altis"};
		weapons[] = {"gru_unit_highlander_uniform","gru_unit_typhon_uniform","gru_unit_mandrake_uniform","gru_unit_raid_uniform","gru_unit_banshee_uniform","gru_unit_nomad_uniform","gru_unit_yeti_uniform","gru_unit_altis_uniform"};
		requiredVersion = 0.1;
		requiredAddons[] = {"A3_Characters_F","A3_Characters_F_beta"};
	};
};
class cfgFactionClasses
{
	class gru_faction_units
	{
		displayName = "GRU";
		priority = 1000;
		side = "TWest";
	};
};
class CfgVehicles
{
	class FlagCarrier;         // External class reference
	class I_Soldier_base_F;    // External class reference
	
	
	class gru_unit_highlander: I_Soldier_base_F
	{
		author = "DarkXess";
		scope = 2;
		displayName = "Kryptek Camo (Highlander)";
		editorPreview = "\GRU_Uniforms\Data\Highlander.paa";
		faction = "gru_faction_units";
		uniformClass = "gru_unit_highlander_uniform";
		nakedUniform = "U_BasicBody";
		model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
		modelSides[] = {3,1};
		hiddenSelections[] = {"Camo"};
		hiddenSelectionsTextures[] = {"\GRU_Uniforms\Uniform\Highlander.paa"};
	};
	class gru_unit_typhon: I_Soldier_base_F
	{
		author = "DarkXess";
		scope = 2;
		displayName = "Kryptek Camo (Typhon)";
		editorPreview = "\GRU_Uniforms\Data\Typhon.paa";
		faction = "gru_faction_units";
		uniformClass = "gru_unit_typhon_uniform";
		nakedUniform = "U_BasicBody";
		model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
		modelSides[] = {3,1};
		hiddenSelections[] = {"Camo"};
		hiddenSelectionsTextures[] = {"\GRU_Uniforms\Uniform\Typhon.paa"};
	};
	class gru_unit_mandrake: I_Soldier_base_F
	{
		author = "DarkXess";
		scope = 2;
		displayName = "Kryptek Camo (Mandrake)";
		editorPreview = "\GRU_Uniforms\Data\Mandrake.paa";
		faction = "gru_faction_units";
		uniformClass = "gru_unit_mandrake_uniform";
		nakedUniform = "U_BasicBody";
		model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
		modelSides[] = {3,1};
		hiddenSelections[] = {"Camo"};
		hiddenSelectionsTextures[] = {"\GRU_Uniforms\Uniform\Mandrake.paa"};
	};
	class gru_unit_raid: I_Soldier_base_F
	{
		author = "DarkXess";
		scope = 2;
		displayName = "Kryptek Camo (Raid)";
		editorPreview = "\GRU_Uniforms\Data\Raid.paa";
		faction = "gru_faction_units";
		uniformClass = "gru_unit_raid_uniform";
		nakedUniform = "U_BasicBody";
		model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
		modelSides[] = {3,1};
		hiddenSelections[] = {"Camo"};
		hiddenSelectionsTextures[] = {"\GRU_Uniforms\Uniform\Raid.paa"};
	};
	class gru_unit_banshee: I_Soldier_base_F
	{
		author = "DarkXess";
		scope = 2;
		displayName = "Kryptek Camo (Banshee)";
		editorPreview = "\GRU_Uniforms\Data\Banshee.paa";
		faction = "gru_faction_units";
		uniformClass = "gru_unit_banshee_uniform";
		nakedUniform = "U_BasicBody";
		model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
		modelSides[] = {3,1};
		hiddenSelections[] = {"Camo"};
		hiddenSelectionsTextures[] = {"\GRU_Uniforms\Uniform\Banshee.paa"};
	};
	class gru_unit_nomad: I_Soldier_base_F
	{
		author = "DarkXess";
		scope = 2;
		displayName = "Kryptek Camo (Nomad)";
		editorPreview = "\GRU_Uniforms\Data\Nomad.paa";
		faction = "gru_faction_units";
		uniformClass = "gru_unit_nomad_uniform";
		nakedUniform = "U_BasicBody";
		model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
		modelSides[] = {3,1};
		hiddenSelections[] = {"Camo"};
		hiddenSelectionsTextures[] = {"\GRU_Uniforms\Uniform\Nomad.paa"};
	};
	class gru_unit_yeti: I_Soldier_base_F
	{
		author = "DarkXess";
		scope = 2;
		displayName = "Kryptek Camo (Yeti)";
		editorPreview = "\GRU_Uniforms\Data\Yeti.paa";
		faction = "gru_faction_units";
		uniformClass = "gru_unit_yeti_uniform";
		nakedUniform = "U_BasicBody";
		model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
		modelSides[] = {3,1};
		hiddenSelections[] = {"Camo"};
		hiddenSelectionsTextures[] = {"\GRU_Uniforms\Uniform\Yeti.paa"};
	};
	class gru_unit_altis: I_Soldier_base_F
	{
		author = "DarkXess";
		scope = 2;
		displayName = "Kryptek Camo (Altis)";
		editorPreview = "\GRU_Uniforms\Data\Altis.paa";
		faction = "gru_faction_units";
		uniformClass = "gru_unit_altis_uniform";
		nakedUniform = "U_BasicBody";
		model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
		modelSides[] = {3,1};
		hiddenSelections[] = {"Camo"};
		hiddenSelectionsTextures[] = {"\GRU_Uniforms\Uniform\Altis.paa"};
	};
};
class cfgWeapons
{
	class Uniform_Base;    // External class reference   
	class UniformItem;     // External class reference
	
    class gru_unit_highlander_uniform: Uniform_Base
	{
		author = "DarkXess";
		scope = 2;
		displayName = "GRU Unit Highlander";
		picture = "\A3\Characters_f\Data\UI\icon_u_b_combatuniform_mcam_vest_ca.paa";
		model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_soldier";
		class ItemInfo: UniformItem
		{
			uniformModel = "-";
			uniformClass = "gru_unit_highlander";
			containerClass = "Supply80";
			mass = 3;
		};
	};
	class gru_unit_typhon_uniform: Uniform_Base
	{
		author = "DarkXess";
		scope = 2;
		displayName = "GRU Unit Typhon";
		picture = "\A3\Characters_f\Data\UI\icon_u_b_combatuniform_mcam_vest_ca.paa";
		model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_soldier";
		class ItemInfo: UniformItem
		{
			uniformModel = "-";
			uniformClass = "gru_unit_typhon";
			containerClass = "Supply80";
			mass = 3;
		};
	};
	class gru_unit_mandrake_uniform: Uniform_Base
	{
		author = "DarkXess";
		scope = 2;
		displayName = "GRU Unit Mandrake";
		picture = "\A3\Characters_f\Data\UI\icon_u_b_combatuniform_mcam_vest_ca.paa";
		model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_soldier";
		class ItemInfo: UniformItem
		{
			uniformModel = "-";
			uniformClass = "gru_unit_mandrake";
			containerClass = "Supply80";
			mass = 3;
		};
	};
	class gru_unit_raid_uniform: Uniform_Base
	{
		author = "DarkXess";
		scope = 2;
		displayName = "GRU Unit Raid";
		picture = "\A3\Characters_f\Data\UI\icon_u_b_combatuniform_mcam_vest_ca.paa";
		model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_soldier";
		class ItemInfo: UniformItem
		{
			uniformModel = "-";
			uniformClass = "gru_unit_raid";
			containerClass = "Supply80";
			mass = 3;
		};
	};
	class gru_unit_banshee_uniform: Uniform_Base
	{
		author = "DarkXess";
		scope = 2;
		displayName = "GRU Unit Banshee";
		picture = "\A3\Characters_f\Data\UI\icon_u_b_combatuniform_mcam_vest_ca.paa";
		model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_soldier";
		class ItemInfo: UniformItem
		{
			uniformModel = "-";
			uniformClass = "gru_unit_banshee";
			containerClass = "Supply80";
			mass = 3;
		};
	};
		class gru_unit_nomad_uniform: Uniform_Base
	{
		author = "DarkXess";
		scope = 2;
		displayName = "GRU Unit Nomad";
		picture = "\A3\Characters_f\Data\UI\icon_u_b_combatuniform_mcam_vest_ca.paa";
		model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_soldier";
		class ItemInfo: UniformItem
		{
			uniformModel = "-";
			uniformClass = "gru_unit_nomad";
			containerClass = "Supply80";
			mass = 3;
		};
	};
		class gru_unit_yeti_uniform: Uniform_Base
	{
		author = "DarkXess";
		scope = 2;
		displayName = "GRU Unit Yeti";
		picture = "\A3\Characters_f\Data\UI\icon_u_b_combatuniform_mcam_vest_ca.paa";
		model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_soldier";
		class ItemInfo: UniformItem
		{
			uniformModel = "-";
			uniformClass = "gru_unit_yeti";
			containerClass = "Supply80";
			mass = 3;
		};
	};
		class gru_unit_altis_uniform: Uniform_Base
	{
		author = "DarkXess";
		scope = 2;
		displayName = "GRU Unit Altis";
		picture = "\A3\Characters_f\Data\UI\icon_u_b_combatuniform_mcam_vest_ca.paa";
		model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_soldier";
		class ItemInfo: UniformItem
		{
			uniformModel = "-";
			uniformClass = "gru_unit_altis";
			containerClass = "Supply80";
			mass = 3;
		};
	};
};
class cfgMods
{
	author = "DarkXess";
	timepacked = "1540939041";
};
//};

 

Share this post


Link to post
Share on other sites
12 hours ago, GEORGE FLOROS GR said:

 

 

Since the original soldier (classname) is an Independent , you can't change this.


How to change it all to NATO then? 😛

Share this post


Link to post
Share on other sites
7 hours ago, lordfrith said:

it). Try adding this to your cfgvehicles entries, 

 


side=1;

 

I don't know if this can work ,

but generally since you want a blufor unit , then you need the certain unit (classname)

that you want to retexture ,

ex:

class B_Soldier_base_F;

with the certain model of this :

model = "\A3\characters_F\BLUFOR\b_soldier_01.p3d";

 

So as lordfrith said , you need to de-pbo and look for these stuff.

Share this post


Link to post
Share on other sites

@GEORGE FLOROS GR - okay understood, but when I did NATO at first, see my first post with my old config, that was when I had the problem with the texture as it wouldn't work on that body.
So I think I will have remake the whole texture for that said NATO class right? as I used the texture for the INDEP class, it's totally different... cant I just force the faction to be NATO? 

  • Like 1

Share this post


Link to post
Share on other sites
1 minute ago, darkxess said:

cant I just force the faction to be NATO? 

 

Everything is here and i don't see anything about side , though i don't know as well.

https://community.bistudio.com/wiki/Arma_3_Characters_And_Gear_Encoding_Guide

 

I would suggest to keep your retextures as it is , independent, because to create the blufor , you need different templates.

 i 'll check and post a template here.

  • Thanks 1

Share this post


Link to post
Share on other sites
8 minutes ago, GEORGE FLOROS GR said:

 i 'll check and post a template here.

blufor

zqzQRjX.jpgwBVPtoH.jpg

 

*******************************************************************************************************

 

WIiFLqo.jpg

17lSIWJ.jpg

 

*******************************************************************************************************

 

independent

dsCdMS0.jpgZefduTt.jpg

  • Thanks 1

Share this post


Link to post
Share on other sites
1 minute ago, darkxess said:

I did already release it and put you in the credits  🙂

 

Thank you very much darkxess and congratulations for the release !

PS : Nice camo selection !

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×