• 0
ElusionPDX

custom loot makes error

Question

'Ok so i add this line to my exile server  config and i get an error no matter what. 

class Land_e76_us_house01
{
table = "CivillianUpperClass";
positions[] = 
{
{-1.89893, 3.62109, -2.99856},
{-2.47559, 1.30664, -2.99856},
{-1.23926, -0.84668, -2.99856},
{3.08643, 0.0507813, -2.99856},
{1.54883, 3.91113, -2.99856}
};
};

It is set up the same way as the stock ones 

class Land_Barn_W_02 
{
table = "CivillianLowerClass";
      positions[] =
{
{-4.34082,4.77539,-2.29895},
{-5.82861,-2.28223,-2.29895},
{2.91992,-3.7334,-2.29895},
{-1.72461,-0.125,-2.29895}
};
};

no matter what i do it gives errors saying : ErrorMessage: File exile_server_config\config.cpp, line ****: /CfgBuildings/: 'C' encountered instead of '{'  The line is never close to the spot its added at.  

 

Any help would be welcome

 

 

-PDX

Share this post


Link to post
Share on other sites

5 answers to this question

  • 0

would need all of your positions, look at the building prior to that, if it thinks that that one needs a } or whatever then it is probably missing one prior to it, if you can do a pastebin of all of your loot positions ill try to get around to seeing if I can find the problem, I just did a lot of custom loot positions and ran into the problem once, its because I was missing a bracket on an earlier building.

Share this post


Link to post
Share on other sites
Advertisement
  • 0
11 minutes ago, SaintZ said:

would need all of your positions, look at the building prior to that, if it thinks that that one needs a } or whatever then it is probably missing one prior to it, if you can do a pastebin of all of your loot positions ill try to get around to seeing if I can find the problem, I just did a lot of custom loot positions and ran into the problem once, its because I was missing a bracket on an earlier building.

Ive been on it for 3 days trying to find it but just cant see it. 

Share this post


Link to post
Share on other sites
  • 0

then send a pastebin of your positions or give up and start over?

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.