Home   Help Search Login Register  

Author Topic: Changing names?  (Read 745 times)

0 Members and 1 Guest are viewing this topic.

pulseox

  • Guest
Changing names?
« on: 30 Nov 2004, 18:15:47 »
    Hi:  
 First off-I tried the tutorials-FAQ-and search-and was unable to find a answer-so as a "last resort" I'm posting this message;

 I need to know how to change names-specifically soldiers names from Czech sounding names to English names.
 Also town names- like on the map from Montignac to Dublin or something like that......and along that line-is it possible to change the names on the ingame signposts,as well?

 Please be specific-if I need a certain tool to open and edit a certain file-please tell me which tool and which file,etc.

     Thanks for any help..... ???

Lean Bear

  • Guest
Re:Changing names?
« Reply #1 on: 30 Nov 2004, 18:30:13 »
Names, I think there's a list the config or something, and you can change them - but the voices will still sound however they normally sound. -- Not really sure, sorry about that.

Town names are one of two ways. In the config for the islands there is a long list of names. You can edit them there. But, I don't know how reliable that is as I've never tried it.

The sure-fire way to change the names of towns is to open the island (1st, de-PBO the island, get BIS's Binarize 1.0 and run it through there) in -- easiest is WrpTool -- an island editor.

Then, in WrpTool, there is an option to make new place names or edit/ delete them. Use that to change the names.

Signs - no. Not easily anyway. There are 2 textures for each sign name. One with the name in faded black. The other the same but with a big / in it. (For entering/leaving town signs). As far as I know, these are only stored in the "data" folder in the "dta" folder in your main OFP directory.

To edit these you'll need TexView (available from ofpec) and a decent picture program (Photoshop, PaintShop Pro, The GIMP etc.). Then, find a tut on how to edit textures. Or post back here with querries etc.

Hope this helps :thumbsup:

Offline C0LDSt33L

  • Members
  • *
  • Member of the SotM Team
Re:Changing names?
« Reply #2 on: 30 Nov 2004, 18:37:29 »
If you want soldiers to have specifc names they can be applied by the SetIdentity command.

eg Loon SetIdentity "Eggbert"

Then in the description file have:

class CfgIdentities
{
   class Eggbert
   {
      name = "Eggbert Beeswhistle";
      face = "Face24";
      glasses = "none";
      speaker = "Adam";
      pitch = 0.90;
   };
}

I'm sure you can think of a better name than Eggbert Beeswhistle  ;) but that's the general idea.
« Last Edit: 30 Nov 2004, 18:39:27 by C0LDSt33L »

pulseox

  • Guest
Re:Changing names?
« Reply #3 on: 01 Dec 2004, 16:35:30 »
 Thanks for the replys. I can't seem to find a cfg file for the Islands-where are they located? Also I tried the WrpAEdit thing-but under the names tag-it doesn't list names-its just blank-and won't allow me to type anything in it...

 I downloaded the WrpEdit manual and tutorial and neither says anything about changing names......Help!

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Changing names?
« Reply #4 on: 01 Dec 2004, 20:58:50 »
You have to write the names in the config.cpp for your island.

Example:

Code: [Select]

#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7

#define true 1
#define false 0

#define private 0
#define protected 1
#define public 2


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

class CfgVehicles{};

class CfgSurfaces
{
   class Default {};
};

class CfgEnvSounds {};

class CfgWorlds
{
   class DefaultWorld {};
   class  myisland: DefaultWorld
   {
      access=3;
      description="My Island";
      icon="\myisland\MyIsland.paa";
cutscenes[]={"..\ADDONS\myisland_anims\intro"};
      worldName="\myisland\myisland.wrp";
      plateFormat="MI$ - #####";
      plateLetters="ABCDEGHIKLMNOPRSTVXZ";
      startTime="1:28";
      startDate="11/7/86";
      startWeather=0.000000;
      startFog=0.000000;
      forecastWeather=0.000000;
      forecastFog=0.000000;
      seagullPos[]={6100,6100,50};
      ilsPosition[]={};
      ilsDirection[]={};
      ilsTaxiIn[]={};
      ilsTaxiOff[]={};
      centerPosition[]={6400,6400,0};

      class Sounds
      {
         sounds[]={};
      };
      class Animation
      {
         vehicles[]={};
      };
                                                  
        class Names
      {
         class ThisTown
         {
            name="This Town";
            position[]={7362,6140,70};
         };

         class ThatTown
         {
            name="That Town";
            position[]={5494,4124,50};
         };
      };
   };
};

class CfgWorldList
{
   class  myisland{};
};


Hope this makes it clearer.


Planck
I know a little about a lot, and a lot about a little.

pulseox

  • Guest
Re:Changing names?
« Reply #5 on: 01 Dec 2004, 22:21:53 »
Planck
 Thanks but I can't find the "config.cpp for any islands....where are they?

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Changing names?
« Reply #6 on: 01 Dec 2004, 23:20:23 »
If you mean the standard game islands.........the config info for those are in the games config.bin.

If you get the Commented Configs from the Editors Depot.........Tutorials......References you will be able to browse this info.


Planck
I know a little about a lot, and a lot about a little.