Error ingame

WrpTool island creator utility

Moderators: Lone Wolf, Snake Man

Antaris
Recruit
Posts: 11
Joined: 2003-12-20 21:15:45

Error ingame

Post by Antaris »

I´ve made a mission, got a config, etc etc and textured it and started working on it, and i wanna see it ingame (of course) But.. when choosing the island, i get this, and if i ignore that and place a guy anyway, the green goes just as green http://www.boomspeed.com/antaris/error.JPG
(if use standard ofp, i just get the same error in island choosing screen, and if i choose the island anyway it ofp chrashes) i guess this is a config error, but anyone have any clue?
Last edited by Antaris on 1970-01-01 00:00:00, edited 1 time in total.
shinRaiden
Captain
Posts: 176
Joined: 2004-02-27 18:29:53

Re: Error ingame

Post by shinRaiden »

We'd need to see the config file itself. Please post the contents here.

Have you tried copying one of the sample configs and just changing the names?

Thanks.
Antaris
Recruit
Posts: 11
Joined: 2003-12-20 21:15:45

Re: Error ingame

Post by Antaris »

My config is rather easy made, by a friend, seeing as i suck at doing config, here goes:

class CfgPatches
{
     class bromso
     {
           units[]   = {};
           weapons[] = {};
           worlds[]  = {bromso};
           requiredVersion = 1.75;
     };
};

class CfgWorldList
{
     class bromso {};
};

class CfgWorlds
{
     class DefaultWorld {};
     class Intro : DefaultWorld {};
     class sfp_bromso : Intro
     {
           access           = 3;
           description      = "bromso";
           icon             = "sfp_bromso";
           worldName        = "sfp_bromsobromso.wrp";
                 
           class Names
           {
                 
                 };
           };
     };
};
Last edited by Antaris on 1970-01-01 00:00:00, edited 1 time in total.
shinRaiden
Captain
Posts: 176
Joined: 2004-02-27 18:29:53

Re: Error ingame

Post by shinRaiden »

A few things right off the bat...

1) Delete the last "};" combo. Unneeded.
2) You can also delete the whole "class names {};" for now.
class CfgPatches
{
class bromso
{
units[] = {};
weapons[] = {};
worlds[] = {bromso};
requiredVersion = 1.75;
};
};

class CfgWorldList
{
class bromso {};
};

class CfgWorlds
{
class DefaultWorld {};
class Intro : DefaultWorld {};
class sfp_bromso : Intro
{
access = 3;
description = "bromso";
icon = "sfp_bromsofile.paa";
worldName = "sfp_bromsobromso.wrp";

class Names
{

};

};
};
};
I'd also recommend using a unform naming scheme, if you haven't already, you should get a MOD code from OFPEC - when they come back up. Basiclly, for all your files and classes, you should use something like "SFPbromso*", except in the description line of course.
Last edited by shinRaiden on 1970-01-01 00:00:00, edited 1 time in total.
Antaris
Recruit
Posts: 11
Joined: 2003-12-20 21:15:45

Re: Error ingame

Post by Antaris »

Hmm thanks for the help, still got the same error thou.. :-/
Snake_Man

Re: Error ingame

Post by Snake_Man »

Try out the example config.cpp files from WrpTool release package, then edit them bit by bit to suit your island.

Thats the sure way to make it work.

Return to “WrpTool”