Jump to content
taro8

[SOLVED] New Helipad config

Recommended Posts

EDIT: SOLVED! By mistake I made config.cfg instead of config.cpp. My service point works as intended, for the most part. Vanilla automatic repair is wonky, I made a thread here: https://forums.bistudio.com/topic/195074-repair-vehicles-only-repair-when-health-is-damaged/

 

I'm trying to create a simple config, with adds a new helipad based on vanilla rescue helipad. However my new helipad does not appear in the editor for some reason. I'm not sure what I'm doing wrong.

class CfgPatches {
	class service_point {
		requiredVersion = 0.1;
		units[] = {"Land_Service_point"};
		requiredAddons[] = {"A3_Structures_F_Mil"};
	};
};


class CfgVehicles {

	class Land_HelipadRescue_F;	// External class reference
	
	class Land_Service_point : Land_HelipadRescue_F {
		displayName = "Service Point";
		transportFuel = 999999999;
		transportAmmo = 999999999;
		transportRepair = 999999999;
		supplyRadius = 10;
	};
	
};

Share this post


Link to post
Share on other sites

You need to add the new eden editor classes for it so show up.

class editorcategory = ""

class editorsubcategory=""

Look at any a3 config to see how it is used in the main config

Then a3data_f for how the two classes above are used

Share this post


Link to post
Share on other sites

Since I was using existing helipad as a reference I didn't need to add anything. By mistake I made config.cfg instead of config.cpp... Thanks for the help though.

 

My service point works as intended, for the most part. Vanilla automatic repair is wonky, I made a thread here: https://forums.bistudio.com/topic/195074-repair-vehicles-only-repair-when-health-is-damaged/

  • 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

×