Jump to content
Sign in to follow this  
_BARNS_

groups config

Recommended Posts

Hey,

i made a custom group config so i do not need tp place the soldiers one by one in the editor BUT i always get an error message if i start the game ...

size: required addons/ not an array

first what does this mean and second how can i fix this problem?

Share this post


Link to post
Share on other sites

can you post a bit of your config ?

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class CfgPatches {

class YOURCLASS {

units[] = {};

weapons[] = {};

requiredVersion = 0.14;

requiredAddons[] = {"ace_config_men", "ace_config_vehicle", "six_config_men", "six_config_vehicle"};

};

};

class Blah {

..more blah..

}

its kinda hard to know whats going on without having something to look at

does it work for normal units ?

Share this post


Link to post
Share on other sites

yeah thats true ... so here it is ...

biggrin_o.gif

btw i use Laza to convert to bin or is there a better programm out there?

class CfgPatches {

class rbf_config_groups {

units = {};

weapons = {};

requiredVersion = 0.100000;

requiredAddons = {"ace_config_men", "ace_config_vehicle", "six_config_men", "six_config_vehicle"};

};

};

class CfgGroups {

class West {

class RBF_GROUPS {

name = "RBF West GROUPS";

class RBF_USMCSquadL {

name = "USMC Squad L";

class Unit0 {

side = 1;

vehicle = "ACE_USMC0302_D";

rank = "MAJOR";

position = {0, 0, 0};

skill = 0.800000;

};

class Unit1 {

side = 1;

vehicle = "ACE_USMC0302_D";

rank = "CAPTAIN";

position = {0, -12, 0};

skill = 0.800000;

};

class Unit2 {

side = 1;

vehicle = "ACE_USMC0311A_D";

rank = "LIEUTENANT";

position = {0, -24, 0};

};

class Unit3 {

side = 1;

vehicle = "ACE_USMC0311B_D";

rank = "SERGEANT";

position = {0, -36, 0};

skill = 0.800000;

};

class Unit4 {

side = 1;

vehicle = "ACE_USMC0311C_D";

rank = "SERGEANT";

position = {0, -48, 0};

text = "SIX_VIPHMMWV3";

skill = 0.800000;

};

class Unit5 {

side = 1;

vehicle = "ACE_USMC0311D2_D";

rank = "CORPORAL";

position = {0, -60, 0};

skill = 1.000000;

};

class Unit6 {

side = 1;

vehicle = "ACE_USMC0311H_D";

rank = "PRIVATE";

position = {0, -72, 0};

skill = 0.800000;

};

class Unit7 {

side = 1;

vehicle = "ACE_USMC0311E_D";

rank = "PRIVATE";

position = {0, -84, 0};

skill = 0.800000;

};

};

class RBF_USMCSQUADM {

name = "USMC Platoon";

class Unit0 {

side = 1;

vehicle = "ACE_USMC0302_D";

rank = "CAPTAIN";

position = {0, 0, 0};

skill = 0.800000;

};

class Unit1 {

side = 1;

vehicle = "ACE_USMC0311A_D";

rank = "LIEUTENANT";

position = {0, -12, 0};

skill = 0.800000;

};

class Unit2 {

side = 1;

vehicle = "ACE_USMC0311B_D";

rank = "SERGEANT";

position = {0, -24, 0};

skill = 0.800000;

};

class Unit3 {

side = 1;

vehicle = "ACE_USMC0311C_D";

rank = "SERGEANT";

position = {0, -36, 0};

skill = 0.800000;

};

class Unit4 {

side = 1;

vehicle = "ACE_USMC0311D2_D";

rank = "SERGEANT";

position = {0, -48, 0};

skill = 0.800000;

};

class Unit5 {

side = 1;

vehicle = "ACE_USMC0311H_D";

rank = "PRIVATE";

position = {0, -60, 0};

skill = 0.800000;

};

class Unit6 {

side = 1;

vehicle = "ACE_USMC0311E_D";

rank = "PRIVATE";

position = {0, -72, 0};

skill = 0.800000;

};

};

};

};

};

Share this post


Link to post
Share on other sites

again..

i will point out!

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

requiredAddons = {"ace_config_men", "ace_config_vehicle", "six_config_men", "six_config_vehicle"};

make it

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

requiredAddons[] = {"ace_config_men", "ace_config_vehicle", "six_config_men", "six_config_vehicle"};

also i think its a good idea to put your unitis in

units[] = {};

also make

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

units = {};

weapons = {};

to

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

units[] = {};

weapons[] = {};

hope this helps a bit

Share this post


Link to post
Share on other sites

ahhhh yes this is now working fine

thx alot

so only one question left what programm are you using or do you recommand to easy make a *.bin file?

Share this post


Link to post
Share on other sites

bin files are just easier for Arma to load, so it is recommended. Simply download and use the BIS tools for making bins smile_o.gif

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  

×