OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Waterman on 07 Sep 2002, 15:56:44

Title: How do I add names to my island?
Post by: Waterman on 07 Sep 2002, 15:56:44
I know I've being working with WRPedit since just after it's release, but I've learned how to do this... ::)

I know it's in the cpp you do it and it's something to do with: class "Names" (or simular).  I have looked at a tutorial here at the ofpec on it but it is in a big, huge paragrph that doesn't make sense. :P

So can one of you guys help me? ???
(It would also be good to sticky it, if I got an answer as it could help others too...)

Cheers,
Waterman. :)
Title: Re:How do I add names to my island?
Post by: SchuscH on 07 Sep 2002, 16:51:06
Simply add this class to your config.ccp:

class Names
      {
         class name1
         {
            name="name1";
            position[]={8100,7287,50};
         };
         class name2
         {
            name="name2";
            position[]={10403,5072,50};
         };
                                 
      };
        };
};
Title: Re:How do I add names to my island?
Post by: SchuscH on 07 Sep 2002, 16:51:51
OOOOPPPSSSS, itÂ's a bit messed up.  ;D
Title: Re:How do I add names to my island?
Post by: Waterman on 07 Sep 2002, 17:31:55
What do you mean it's a bit messed up?
Does it work or doesn't it? ???

If it is can someone else help me?

Waterman. :-\
Title: Re:How do I add names to my island?
Post by: SchuscH on 08 Sep 2002, 03:01:51
What I meant were the lines I copied into my post.
They should look like this:class Names
      {
         class name1
         {
            name="name1";
            position[]={8100,7287,50};
         };
         class name2
         {
            name="name2";
            position[]={10403,5072,50};
         };
                                 
       };
    };
};


This works for my .cpp very well. ;)
Title: Re:How do I add names to my island?
Post by: Waterman on 08 Sep 2002, 22:28:14
Cheers! :cheers:

Waterman.

*goes of to clean back garden after heavy flooding which almost came in our house... :-\*