Jump to content
Sign in to follow this  
sprucewaine

Getting Config Names / Zeus Costs

Recommended Posts

_inf = "((configName _x) isKindOf 'rhsusf_infantry_usmc_base')" configClasses (configFile >> "CfgVehicles");
costs = [];
publicVariable "costs";
{costs = costs + [getText (_x >> 'displayName'),0.001]}forEach _inf;

[ myCurator, costs] call BIS_fnc_curatorObjectRegisteredTable;

I know 'displayName' isn't right, this was just my last attempt at it before giving up. How do i make it so that it doesn't return the whole path to the config entry?

I still hate this method of registering costs to curator objects as now it will be a flat rate for what ever category of isKingOf a mod will have.

 

side note-

I wish i could use the default costs that account for the units equipment, But still easily white list the entries that i want the curator to be able to spawn using mod config paths.

Makes it so much easier than having to do everything by hand, also allows a ton of customization as eventually it would be cool to make your Zeus faction select able, and have it automatically get all the units for it.

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  

×