Jump to content
Sign in to follow this  
jimbop

anyone spot this error?

Recommended Posts

hi all,

 I'm getting the 'config- names array does not have 2 entries' error on loading arma 3.

 

ive read this comes from the cfgsurface.hpp regarding the probability and names entries.

 

I tried deleting all the classes one by one to find the cause but the error only stopped after i'd deleted the lot! lol

 

heres my surfaces cfg, hopefully theres a blatant error that someone might spot.

 

http://pastebin.com/ARYHd0qi

Share this post


Link to post
Share on other sites

missing quotes! where??  :o  been thru this bastard with a fine toothcomb, just shows what 'new eyes' can do.

 

still got error :(

Share this post


Link to post
Share on other sites

As per Richie's reply, you have multiple instances of names not separated by quotation marks. One example reads like this:

   
class jap_jungle_Character
    {
        probability[] = {0.20,0.10,0.10,0.05,0.05,0.10,0.05,0.05,0.15,0.10};
        names[] = {"jap_grassgreengroup,jap_grassdry,jap_grassdrygroup,jap_grassdrymediumgroup,jap_weedbrowntallgroup,jap_weedgreentall,jap_plantmullein,jap_floweryellow2,jap_grasscrooked,jap_grasscrookeddry"};
    };

(From Richies reply) should be:

    class jap_jungle_Character
    {
        probability[] = {0.20,0.10,0.10,0.05,0.05,0.10,0.05,0.05,0.15,0.10};
        names[] = {"jap_grassgreengroup","jap_grassdry","jap_grassdrygroup","jap_grassdrymediumgroup","jap_weedbrowntallgroup","jap_weedgreentall","jap_plantmullein","jap_floweryellow2","jap_grasscrooked","jap_grasscrookeddry"};
    };
  • Like 1

Share this post


Link to post
Share on other sites

thank you both for your replies.

 

yep I didn't quote em individually :wub:  using richies cfg but still getting same error.

 

baffled.

Share this post


Link to post
Share on other sites

Pastebin your cfgClutter.hpp and i'll have a peek, surfaces looks ok

Share this post


Link to post
Share on other sites

well the error has now gone.

 

deleted a few objects in TB and repacked .wrp then .pbo and all is ok. :unsure:

 

weird eh.

Share this post


Link to post
Share on other sites

weird eh.

 

Not really, BI tools will drive you nuts, i'm sure they code them that way :lol:

Glad you're sorted though, happy building :)

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  

×