Jump to content
Sign in to follow this  
kdk11

Heli config

Recommended Posts

Does anyone have a config for the helis so that we can retexture them and have them in game as a selectable unit instead of having to just use scripts for the retextures?

Share this post


Link to post
Share on other sites

Thanks for the reply. Do you have a link so I can look into this??

Share this post


Link to post
Share on other sites

start game press escape and use config viewer , this way you get all latest configs :)

hopefuly they havent removed but its al you ever need and can now copy paste from it

Share this post


Link to post
Share on other sites

Thanks mate. Is there a tutorial how to do this all? I have retextured a heli and would like to add it in game without having to rely on scripts

Share this post


Link to post
Share on other sites

is i not just possible to copy say the mohawk file edit it and rename it then put it back in game with new textures?

Share this post


Link to post
Share on other sites

yeah copy it like it says in the video or the posts on video )

you will need

cfgpatches

cfgvehicles {

paste your thing in here

change class bisnameto yournewname : whateverinheritence keep same

change displayname

change _generalmacro

change the hiddenselection paths to new textures

};

};

,use binpbo to pack and hey presto

Share this post


Link to post
Share on other sites

wow this is confusing lol all he does in the video is add a item to a ammo box. I know the config file name for the mohawk. But I dont know how to copy that folder, change the name of it. change its textures then put it back in game. Do you know a video showing this? I am not good at reading tutorials as I never grasp them lol unless they are really accurate

Edited by KDK11

Share this post


Link to post
Share on other sites

I followed that guide correctly (i think)

class CfgPatches        
       class Mohawk_skins {
	units[] = {};
	weapons[] = {};
	requiredVersion = 0.1;
	requiredAddons[] = {"A3_Air_F_Beta_Heli_Transport_02"};
};
};


class cfgVehicles
{
       class Heli_Transport_02_base_F; 
class KDKSeaking_FG: Heli_Transport_02_base_F
       { 
       	_generalMacro = "B_Heli_Transport_02_base_F"; 
       	scope = 2; 
       	side = 1; 
       	faction = "BLU_F"; 				//Change to your faction 
       	displayName="Mohawk SeaKing (Foliage)";
        crew = "B_Helipilot_F"; 			//Change to your pilot 
        hiddenSelections[]= {"camo1","camo2","camo3"};
        hiddenSelectionsTextures[]= {"C:\KDKSeaking\Data\seaking1.paa","C:\KDKSeaking\Data\seaking2.paa","C:\KDKSeaking\Data\seaking3.paa};       	
        typicalCargo[] = {"B_Helipilot_F"}; 
       	availableForSupportTypes[] = {"Drop","Transport"}; 
  	};

};

That is my config for the mohawk. in the folder for the addon all I need is a folder named "Data" which contains the .paa files I made for the texture. Then also in the addon folder I put that as the config. Is that all that needs to go into the addon folder? And have I done something wrong with the whole config?

Edited by KDK11

Share this post


Link to post
Share on other sites
That is my config for the mohawk. in the folder for the addon all I need is a folder named "Data" which contains the .paa files I made for the texture. Then also in the addon folder I put that as the config. Is that all that needs to go into the addon folder?

Yeah that all you need.

And have I done something wrong with the whole config?

Your texture paths should be more like "KDKSeaking\Data\seaking1_co.paa", and save your paa's with the _co suffix (seaking1_co.paa).

Share this post


Link to post
Share on other sites

When I pack it, should the config file go in the folder too as only the pbo shows. Do i need to copy and paste it in there too. as i have changed it but still no joy

https://www.dropbox.com/sh/6v64ukiohun675z/BtyRr-JCBw

That is my folder before packing it. If you get time could you look through it and see what I have done wrong please

Edited by KDK11

Share this post


Link to post
Share on other sites

It should be config.cpp, and your CfgPatches class is missing an opening bracket.

class CfgPatches 
{ // Missing       
       class Mohawk_skins {
	units[] = {};
	weapons[] = {};
	requiredVersion = 0.1;
	requiredAddons[] = {"A3_Air_F_Beta_Heli_Transport_02"};
};
};

Share this post


Link to post
Share on other sites

Sorry what should be config.cpp? my config is saved as config.cpp

Ah i have it as ccp lol

When I try to pack it, it says there is an error in there

Share this post


Link to post
Share on other sites

Your last texture path is missing a " at the end.

hiddenSelectionsTextures[]= {"C:\KDKSeaking\Data\seaking1_co.paa","C:\KDKSeaking\Data\seaking2_co.paa","C:\KDKSeaking\Data\seaking3_co.paa};

should be

hiddenSelectionsTextures[]= {"C:\KDKSeaking\Data\seaking1_co.paa","C:\KDKSeaking\Data\seaking2_co.paa","C:\KDKSeaking\Data\seaking3_co.paa"};

Share this post


Link to post
Share on other sites

Changed and still receiving errors when trying to pack. It packs. But I get 2 popups saying that there is an error in there but I cant see them

I copied the config again and changed it with 2 error boxes still popping up

---------- Post added at 22:48 ---------- Previous post was at 22:41 ----------

class CfgPatches
{
class Seaking { //e.g. UH_80_unique
	units[] = {};
	weapons[] = {};
	requiredVersion = 0.1;
	requiredAddons[] = {"A3_Air_F_Beta_Heli_Transport_02"};
};
};


class cfgVehicles
{
class Heli_Transport_02_base_F; 
class KDKSeaking_seaking1_FG: Heli_Transport_02_base_F 	
   	{ 
       	_generalMacro = "B_Heli_Transport_02_F"; 
       	scope = 2; 
       	side = 1; 
       	faction = "BLU_F";  <--Change if necessary for your mod				
       	displayName="Seaking";
	crew = "B_Helipilot_F"  <--Change if necessary for your mod
	hiddenSelections[]= {"camo1","camo2","camo3"};  <--Change to reflect how many sections you are replacing
	hiddenSelectionsTextures[]= {"C:\KDKSeaking\Data\seaking1_co.paa","C:\KDKSeaking\Data\seaking2_co.paa","C:\KDKSeaking\Data\seaking3_co.paa"};        	
	typicalCargo[] = {"B_Helipilot_F"}; 
       	availableForSupportTypes[] = {"Drop","Transport"}; 
  	};  

};

Edited by KDK11

Share this post


Link to post
Share on other sites

This config works, looks good.

class CfgPatches
{     
class Mohawk_skins
{
	units[] = {};
	weapons[] = {};
	requiredVersion = 0.1;
	requiredAddons[] = {"A3_Air_F_Beta_Heli_Transport_02"};
};
};

class cfgVehicles
{
class Heli_Transport_02_base_F;

class KDKSeaking_FG: Heli_Transport_02_base_F
{
	_generalMacro = "B_Heli_Transport_02_base_F";
	scope = 2;
	side = 1;
	faction = "BLU_F";
	displayName="Mohawk SeaKing (Foliage)";
	crew = "B_Helipilot_F";
	hiddenSelections[]= {"camo1","camo2","camo3"};
	hiddenSelectionsTextures[]= {"KDKSeaking\Data\seaking1_co.paa","KDKSeaking\Data\seaking2_co.paa","KDKSeaking\Data\seaking3_co.paa"};  	
	typicalCargo[] = {"B_Helipilot_F"};
	availableForSupportTypes[] = {"Drop","Transport"};
  	};
};

Share this post


Link to post
Share on other sites

It works in game for you? Let me ask something incase I have this all wrong. This should allow you to chose the heli from drop down in blufor "air" in the editor yeah? because I cant see it in mine using that config either

Share this post


Link to post
Share on other sites

Yeah, Its in Blufor|Air and Empty|Air menus, are you sure you are loading the pbo correctly.

Share this post


Link to post
Share on other sites

I guess not. Can you explain what you mean by loading the pbo correctly please? I have the pbo in @kdkseaking and in my steam launch options -mod=@kdkseaking. in game it shows the mod loaded but its not in the editor in the drop down boxes

Edited by KDK11

Share this post


Link to post
Share on other sites

Ahhh I needed to add AddOns in the folder then put .pbo in there. thank you for everything surpher you have helped me so much! :)

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
Sign in to follow this  

×