• 0
Oster

Extended Base Mod Help

Question

Hi everyone,

The issue I am having is that three of the EBM classes say they are already defined

13:35:52 Warning Message: File mpmissions\__cur_mp.Malden\EBM\menus.hpp, line 92: .EBM_Brickwall_window: Member already defined.
13:35:52 Warning Message: File mpmissions\__cur_mp.Malden\EBM\menus.hpp, line 115: .EBM_Brickwall_floorport_door: Member already defined.
13:35:52 Warning Message: File mpmissions\__cur_mp.Malden\EBM\menus.hpp, line 138: .EBM_Brickwall_door: Member already defined.

Here is my config.cpp | https://pastebin.com/MfwGaWae

Thanks in advance for the help!

Also because of this the Trader Menu in the hardware trader shows a blank name with a blank menu it has Tools, Hardware, ExtendedBaseMod (Which is a blank option in game)

Edited by Oster

Share this post


Link to post
Share on other sites

6 answers to this question

  • 0
1 hour ago, Oster said:

Hi everyone,

The issue I am having is that three of the EBM classes say they are already defined

13:35:52 Warning Message: File mpmissions\__cur_mp.Malden\EBM\menus.hpp, line 92: .EBM_Brickwall_window: Member already defined.
13:35:52 Warning Message: File mpmissions\__cur_mp.Malden\EBM\menus.hpp, line 115: .EBM_Brickwall_floorport_door: Member already defined.
13:35:52 Warning Message: File mpmissions\__cur_mp.Malden\EBM\menus.hpp, line 138: .EBM_Brickwall_door: Member already defined.

Here is my config.cpp | https://pastebin.com/MfwGaWae

Thanks in advance for the help!

Also because of this the Trader Menu in the hardware trader shows a blank name with a blank menu it has Tools, Hardware, ExtendedBaseMod (Which is a blank option in game)

You're putting the #include in the wrong place... read the installation instructions again.

Share this post


Link to post
Share on other sites
  • 0
22 minutes ago, StokesMagee said:

You're putting the #include in the wrong place... read the installation instructions again.

That does not help me can you explain where I need to put the #include then because my format as I read the install instructions says to put it at the top of the class. But what you are saying is this 

 

  1. #include "EBM\recipes.hpp"
  2.  
  3. class CfgCraftingRecipes
  4. {
  5.    
  6. class BreachingChargeBigMomma: Exile_AbstractCraftingRecipe
  7. {
  8.     name = "Breaching Charge (Big Momma)";
  9.     pictureItem = "Exile_Item_BreachingCharge_BigMomma";
  10.     returnedItems[] =

is wrong so can you please explain how I can fix this issue

Share this post


Link to post
Share on other sites
Advertisement
  • 0
32 minutes ago, Oster said:

That does not help me can you explain where I need to put the #include then because my format as I read the install instructions says to put it at the top of the class. But what you are saying is this 

 

  1. #include "EBM\recipes.hpp"
  2.  
  3. class CfgCraftingRecipes
  4. {
  5.    
  6. class BreachingChargeBigMomma: Exile_AbstractCraftingRecipe
  7. {
  8.     name = "Breaching Charge (Big Momma)";
  9.     pictureItem = "Exile_Item_BreachingCharge_BigMomma";
  10.     returnedItems[] =

is wrong so can you please explain how I can fix this issue

at the top != above

 

#include "EBM\recipes.hpp"

should go under

  1. class CfgCraftingRecipes
  2. {
Edited by StokesMagee

Share this post


Link to post
Share on other sites
  • 0
3 hours ago, StokesMagee said:

at the top != above

 

#include "EBM\recipes.hpp"

should go under

  1. class CfgCraftingRecipes
  2. {

Thank you for the info I got it fixed!

Share this post


Link to post
Share on other sites
  • 0

Difficulties in translation ... It is sometimes difficult for a native speaker to understand.

Be simpler, show by examples. )))

class CfgCraftingRecipes
{
#include "EBM\recipes.hpp"

	
class BreachingChargeBigMomma: Exile_AbstractCraftingRecipe
{
	name = "Breaching Charge (Big Momma)";
	pictureItem = "Exile_Item_BreachingCharge_BigMomma";
	returnedItems[] =
	{
		{1, "Exile_Item_BreachingCharge_BigMomma"}
	};
	tools[] =
	{
		"Exile_Item_Foolbox"
	};
	components[] = 
	{
		{3, "Exile_Item_BreachingCharge_Metal"},
		{1, "Exile_Item_MobilePhone"},
		{1, "Exile_Item_DuctTape"},
		{1, "Exile_Item_ZipTie"}
	};
};

 

Share this post


Link to post
Share on other sites
Advertisement

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

  • Recently Browsing   0 members

    No registered users viewing this page.