Jump to content
Official BF Editor Forums
Bencol

How To Put Spaces In Flag Names?

Recommended Posts

Hi Guys,

Does anyone know how to put spaces in flag names without having to put in an underscore?? (_)

Thanks.

Edited by Bencol

Share this post


Link to post
Share on other sites

you basicly need to have your map, part of a mod to do that. And then you will need to edit the English.utxt and other languge files to change the name of the flags with spcaes.

Share this post


Link to post
Share on other sites
Lurx' date='Aug 13 2006, 07:00 AM' post='47276']

you can also use the good ol´ ALT+255 ASCI-Space block... works like a charm

Ohh god, I remember using those ASCI Tables and stuff, those were the times....those were the times... :rolleyes:

Share this post


Link to post
Share on other sites
Lurx' date='Aug 13 2006, 12:00 PM' post='47276']

you can also use the good ol´ ALT+255 ASCI-Space block... works like a charm

Thanks man ill try that.

Thanks everyone for their help.

Share this post


Link to post
Share on other sites

I thought I posted a possible solution to this. It may be possible to create a localization folder and file in you map to call on for this. You can do this the same way EF added the EU objects.

Share this post


Link to post
Share on other sites

hi,

i named my control pionts like:

CP_16_LIV_CABASE

CP_32_LIV_CABASE

CP_64_LIV_CABASE

then i add this lines in english.utxt

CP_16_LIV_CABASE VietCong Base

CP_32_LIV_CABASE VietCong Base

CP_64_LIV_CABASE VietCong Base

and this in german.utxt:

CP_16_LIV_CABASE VietCong Basis

CP_32_LIV_CABASE VietCong Basis

CP_64_LIV_CABASE VietCong Basis

but this dont show up ingame. it always show up the name wich i have done in editor.

i have done a map descryption in the utxt files and this works.

but no cp names.

any idea?

burns

Share this post


Link to post
Share on other sites

There is an easier way than creating a mod and editing the localisation files, but it does require getting down and dirty with notepad.

Edit the ControlPoint template in your gameplayobjects.con and change the ObjectTemplate.setControlPointName line. eg:

rem [ControlPointTemplate: 64_CH_CP_NorthVillage]

ObjectTemplate.create ControlPoint 64_CH_CP_NorthVillage

ObjectTemplate.activeSafe ControlPoint 64_CH_CP_NorthVillage

ObjectTemplate.modifiedByUser "Administrator"

ObjectTemplate.setNetworkableInfo ControlPointInfo

ObjectTemplate.isNotSaveable 1

ObjectTemplate.hasMobilePhysics 0

ObjectTemplate.hasCollisionPhysics 1

ObjectTemplate.physicsType Mesh

rem -------------------------------------

ObjectTemplate.addTemplate flagpole

rem -------------------------------------

ObjectTemplate.setControlPointName "North Village"

ObjectTemplate.radius 15

ObjectTemplate.controlPointId 103

ObjectTemplate.areaValueTeam1 30

ObjectTemplate.areaValueTeam2 30

ObjectTemplate.timeToGetControl 20

ObjectTemplate.timeToLoseControl 20

ObjectTemplate.hoistMinMax 0.2/0.9

Share this post


Link to post
Share on other sites

You miss the escape chars in your post, are they there? Also, when you saved the file again, are you sure its still in little endian (or big, cant remember), else bf fails to read the unicode and it errors.

Share this post


Link to post
Share on other sites
You miss the escape chars in your post, are they there? Also, when you saved the file again, are you sure its still in little endian (or big, cant remember), else bf fails to read the unicode and it errors.

its not unicode, it is plain text, so endians are irrelevant and you can use spaces within "". I am of course talking about editting the gameplayobjects.con not the localisation file.

Edited by [CS]Token

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...