Jump to content
Sign in to follow this  
AveryTheKitty

Can't modify official vehicle configs

Recommended Posts

I've tried multiple times to modify the configs of the Panther, the Slammer UP, and the Wipeout but my changes never work. I copy parts of the script that I need into my own config.cpp but it is never over written. When I do it with weapons, however it works fine.

What I've tried doing:

  • Change names of Slammer UP, Wipeout, and Panther
  • Change Slammer UP cannon to 120mm

Please help ASAP!

Share this post


Link to post
Share on other sites

try setting requiredAddons; the game is likely loading your mod prior to the official one, which is why its written over:

class CfgPatches {
   class myMod {
       requiredAddons[] = { "A3_Armor_F", "A3_Armor_F_EPC_MBT_01"};

....

those are just two i had used while changing the names for the Slammer and Panther; i didn't check which addon the wipeout* is from.

Edited by dr_strangepete
meant wipeout, not panther

Share this post


Link to post
Share on other sites
try setting requiredAddons; the game is likely loading your mod prior to the official one, which is why its written over:

class CfgPatches {
   class myMod {
       requiredAddons[] = { "A3_Armor_F", "A3_Armor_F_EPC_MBT_01"};

....

those are just two i had used while changing the names for the Slammer and Panther; i didn't check which addon the panther is from.

Thanks, I'll try it out!

Share this post


Link to post
Share on other sites

class CfgPatches
{
class RVE_merkava	
{
	units[] = {};
	weapons[] = {};
	requiredVersion = 0.1;
	requiredAddons[] = {"A3_Armor_F_Slammer"};
};
};
class CfgVehicles
{
class Tank_F;
class MBT_01_base_F: Tank_F
{	
	displayName = "Merkava MkIV (120mm)"		
};
class B_MBT_01_base_F: MBT_01_base_F
{
	crew = "B_crew_F";
	typicalCargo[] = {"B_Soldier_F"};
	side = 1;
	faction = "BLU_F";
};
class B_MBT_01_cannon_F: B_MBT_01_base_F
{
	author = "BI; edited by RP";
	displayName = "Merkava MkIV (120mm)";		
};
class MBT_01_arty_base_F: MBT_01_base_F
{
	displayName = "Merkava MkIV Sholef (155mm)";
	author = "BI; edited by RP";
};
class B_MBT_01_arty_base_F: MBT_01_arty_base_F
{
	crew = "B_crew_F";
	typicalCargo[] = {"B_Soldier_F"};
	side = 1;
	faction = "BLU_F";
	author = "BI; edited by RP";
};
class B_MBT_01_arty_F: B_MBT_01_arty_base_F
{
	author = "BI; edited by RP";
};
class MBT_01_mlrs_base_F: MBT_01_base_F
{
	displayName = "Merkava MkIV MLRS";
	author = "BI; edited by RP";
};
class B_MBT_01_mlrs_base_F: MBT_01_mlrs_base_F
{
	author = "BI; edited by RP";
};
class B_MBT_01_mlrs_F: B_MBT_01_mlrs_base_F
{
	author = "BI; edited by RP";
};
};
//};

My config for the Merkava. Hope it helps.

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  

×