Jump to content
Sign in to follow this  
Zupadupazupadude

Need some help with a replacement file!

Recommended Posts

I see, you stepped into a old trap: there is a unbinarize tool around that messes ups config arrays when unbinarizing other configs.

tex = {};
mat = {};

(shortened to the relevant bits) these should look like this:

tex[] = {};
mat[] = {};

So you're config misses a lot of square brackets.

Easy rule:

if after a equal sign (=) follows a curled bracket ( { ) then it needs square brackets ( [] ) right before it.

So

class xycBeatMeToDeath {

doesn't need them.

Share this post


Link to post
Share on other sites

class CfgPatches {

class nixo_sf_repl {
units[] = {};
weapons[] = {};
requiredVersion = 1.000000;
requiredAddons[] = {"CA_E","CACharacters","CACharacters_E","CACharacters_E_Head","CACharacters2","Nixo_sf"};
};
};

class CfgVehicles {

class SoldierWB;

class US_Soldier_Base_EP1;

class US_Soldier_EP1: US_Soldier_Base_EP1 {
model = "\nixo_sf\Infantryman";
class Wounds
{
tex[] = {};
mat[] = {"ca\characters\heads\male\defaulthead\data\hhl.rvmat","ca\characters\heads\male\defaulthead\data\hhl_wounds.rvmat","ca\characters\heads\male\defaulthead\data\hhl_wounds2.rvmat","nixo_sf\data\armysf_com.rvmat","nixo_sf\data\armysf_com_wound1.rvmat","nixo_sf\data\armysf_com_wound2.rvmat"};
};
};
class US_Soldier_B_EP1: US_Soldier_Base_EP1 {
model = "\nixo_sf\Infantryman8";
class Wounds
{
tex[] = {};
mat[] = {"ca\characters\heads\male\defaulthead\data\hhl.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds2.rvmat", "nixo_sf\data\armysf_gl_acu.rvmat", "nixo_sf\data\armysf_gl_wound1.rvmat", "nixo_sf\data\armysf_gl_wound2.rvmat"};
};
};

class US_Soldier_Engineer_EP1: US_Soldier_Base_EP1 {
model = "\nixo_sf\Infantryman3";
class Wounds
{
tex[] = {};
mat[] = {"ca\characters\heads\male\defaulthead\data\hhl.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds2.rvmat", "nixo_sf\data\armysf_med.rvmat", "nixo_sf\data\armysf_med_wound1.rvmat", "nixo_sf\data\armysf_med_wound2.rvmat"};
};
};
class US_Soldier_GL_EP1: US_Soldier_Base_EP1 {
model = "\nixo_sf\Infantryman2";
class Wounds
{
tex[] = {};
mat[] = {"ca\characters\heads\male\defaulthead\data\hhl.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds2.rvmat", "nixo_sf\data\armysf_gl_acu.rvmat", "nixo_sf\data\armysf_gl_wound1.rvmat", "nixo_sf\data\armysf_gl_wound2.rvmat"};
};
};
class US_Soldier_HAT_EP1: US_Soldier_Base_EP1 {
model = "\nixo_sf\Infantryman6";
class Wounds
{
tex[] = {};
mat[] = {"ca\characters\heads\male\defaulthead\data\hhl.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds2.rvmat", "nixo_sf\data\armysf_gl_acu.rvmat", "nixo_sf\data\armysf_gl_wound1.rvmat", "nixo_sf\data\armysf_gl_wound2.rvmat"};
};
};
class US_Soldier_LAT_EP1: US_Soldier_Base_EP1 {
model = "\nixo_sf\Infantryman6";
class Wounds
{
tex[] = {};
mat[] = {"ca\characters\heads\male\defaulthead\data\hhl.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds2.rvmat", "nixo_sf\data\armysf_gl_acu.rvmat", "nixo_sf\data\armysf_gl_wound1.rvmat", "nixo_sf\data\armysf_gl_wound2.rvmat"};
};
};
class US_Soldier_Light_EP1: US_Soldier_Base_EP1 {
model = "\nixo_sf\Infantryman2";
class Wounds
{
tex[] = {};
mat[] = {"ca\characters\heads\male\defaulthead\data\hhl.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds2.rvmat", "nixo_sf\data\armysf_gl_acu.rvmat", "nixo_sf\data\armysf_gl_wound1.rvmat", "nixo_sf\data\armysf_gl_wound2.rvmat"};
};
};
class US_Soldier_Marksman_EP1: US_Soldier_Base_EP1 {
model = "\nixo_sf\Infantryman7";
class Wounds
{
tex[] = {};
mat[] = {"ca\characters\heads\male\defaulthead\data\hhl.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds2.rvmat", "nixo_sf\data\armysf_gl_acu.rvmat", "nixo_sf\data\armysf_gl_wound1.rvmat", "nixo_sf\data\armysf_gl_wound2.rvmat"};
};
};
class US_Soldier_Medic_EP1: US_Soldier_Base_EP1 {
model = "\nixo_sf\Infantryman3";
class Wounds
{
tex[] = {};
mat[] = {"ca\characters\heads\male\defaulthead\data\hhl.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds2.rvmat", "nixo_sf\data\armysf_med.rvmat", "nixo_sf\data\armysf_med_wound1.rvmat", "nixo_sf\data\armysf_med_wound2.rvmat"};
};
};
class US_Soldier_MG_EP1: US_Soldier_Base_EP1 {
model = "\nixo_sf\Infantryman4";
class Wounds
{
tex[] = {};
mat[] = {"ca\characters\heads\male\defaulthead\data\hhl.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds2.rvmat", "nixo_sf\data\armysf_gl_acu.rvmat", "nixo_sf\data\armysf_gl_wound1.rvmat", "nixo_sf\data\armysf_gl_wound2.rvmat"};
};
};

class US_Soldier_Officer_EP1: US_Soldier_Base_EP1 {
model = "\nixo_sf\Infantryman10";
class Wounds
{
tex[] = {};
mat[] = {"ca\characters\heads\male\defaulthead\data\hhl.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds2.rvmat", "nixo_sf\data\armysf_gl_acu.rvmat", "nixo_sf\data\armysf_gl_wound1.rvmat", "nixo_sf\data\armysf_gl_wound2.rvmat"};
};
};

class US_Soldier_SL_EP1: US_Soldier_Base_EP1 {
model = "\nixo_sf\Infantryman10";
class Wounds
{
tex[] = {};
mat[] = {"ca\characters\heads\male\defaulthead\data\hhl.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds2.rvmat", "nixo_sf\data\armysf_gl_acu.rvmat", "nixo_sf\data\armysf_gl_wound1.rvmat", "nixo_sf\data\armysf_gl_wound2.rvmat"};
};
};

class US_Soldier_Sniper_EP1: US_Soldier_Base_EP1 {
model = "\nixo_sf\Infantryman2";
class Wounds
{
tex[] = {};
mat[] = {"ca\characters\heads\male\defaulthead\data\hhl.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wounds2.rvmat", "nixo_sf\data\armysf_gl_acu.rvmat", "nixo_sf\data\armysf_gl_wound1.rvmat", "nixo_sf\data\armysf_gl_wound2.rvmat"};
};
};

class US_Soldier_TL_EP1: US_Soldier_Base_EP1 {
model = "\nixo_sf\Infantryman5";
class Wounds
{
tex[] = {};
mat[] = {"ca\characters\heads\male\defaulthead\data\hhl.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wou nds.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wou nds2.rvmat", "nixo_sf\data\armysf_tl.rvmat", "nixo_sf\data\armysf_tl_wound1.rvmat", "nixo_sf\data\armysf_tl_wound2.rvmat"};
};
};
};

try this - it should be ok :p

Share this post


Link to post
Share on other sites

Argh RH, i was curious if he would find himself the arrays in the cfgPatches section. :D

You know, the story with teaching how to fish instead of just giving a fish (& chips). ;)

Share this post


Link to post
Share on other sites
Myke;1823705']Argh RH' date=' i was curious if he would find himself the arrays in the cfgPatches section. :D

You know, the story with teaching how to fish instead of just giving a fish (& chips). ;)[/quote']

I can delete it , if you want lol :p

Share this post


Link to post
Share on other sites

Nice to see someone make a replacement file for my units. I really hope you manage to finish this! I apologize for the VERY messy .pbo file :P Good luck

Share this post


Link to post
Share on other sites
Nice to see someone make a replacement file for my units. I really hope you manage to finish this! I apologize for the VERY messy .pbo file :P Good luck

Yep it worked! Except that Howard Drake isn`t replaced, and i don`t know his class. But anyway should i release em?

Share this post


Link to post
Share on other sites

Drake could be

US_Soldier_Drake_EP1

while making my own units i noticed almost every unit classname is

side_Soldier_type of unit_EP1

sides most people will use are

US/TK/UN_CDF/BAF

Soldier is soldier :D

type of unit are things like AA/Crew/Engineer and so forth, but like you have, base works too

Share this post


Link to post
Share on other sites

btw did you solve the drake problem? i found his classname while looknig threw classnames myself

Drake

thats all lol

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  

×