Jump to content
Sign in to follow this  
ebanks129

Adding in town names

Recommended Posts

Ok i've searched this forum. and read thru previous threads on adding town names.. but I couldn't catch on. Can someone give me a few tips on simply adding in town names.

The names are added in the config.cpp yes? and where do i start in the config?

please and very much appreciated for any tips

:confused:

Share this post


Link to post
Share on other sites

Hi ebanks,

you just have to add keypoints via visitor. After export of the map you will find a yourmap.hpp in your map directory. Open that, copy the content and paste it into you configfile like this:

class Names {

class Hill_400

{

name="Hill 400";

position[]={9869.61,5121.2};

type="Hill";

radiusA=100;

radiusB=100;

};

....etc

};

hope that helped

Share this post


Link to post
Share on other sites

Or you could add this to your main island config.cpp...

class Names
	{
		#include "yourmap.hpp"
	};

And binPBO will incorporate the "yourmap.hpp" into the main config automatically during binarizing...

You still have to define the keypoints in Visitor... the above just avoids the cutting and pasting stuff...

B

Share this post


Link to post
Share on other sites

These are the name types i've found:

Hill

BorderCrossing

VegetationBroadleaf

VegetationFir

VegetationPalm

VegetationVineyard

NameMarine

NameCityCapital

NameCity

NameVillage

NameLocal

RockArea

Share this post


Link to post
Share on other sites

thank you guys so much. just finished naming my villages. hope they show up in the editor! :P

dont know what or where i'd be without ya'll.. seriously

Share this post


Link to post
Share on other sites

Oh and does it need to be one of those types? can that just be blank?

After i did this. i get errors in my config.cpp now? i just left it like this in my Wardak_Region.hpp with it saying to be included in the config.cpp

Class Names {

class Shekhabad

{

name="Shekhabad";

position[]={7089.73,11882.3};

type="Village";

radiusA=600;

radiusB=600;

};

class Gadarkhel

{

name="Gadarkhel";

position[]={5719.6,11284.5};

type="Village";

radiusA=100;

radiusB=100;

};

class Zarnay

{

name="Zarnay";

position[]={7241.8,15006.4};

type="Village";

radiusA=100;

radiusB=100;

};

class Towp

{

name="Towp";

position[]={9697.68,18690.4};

type="Village";

radiusA=400;

radiusB=400;

};

class Gedan

{

name="Gedan";

position[]={985.818,19820.8};

type="Village";

radiusA=300;

radiusB=300;

};

class Ambokhak

{

name="Ambokhak";

position[]={3581.66,19711.2};

type="Village";

radiusA=300;

radiusB=300;

};

class Salehkhel

{

name="Salehkhel";

position[]={4514,16936};

type="Village";

radiusA=160;

radiusB=160;

};

class Kharyan

{

name="Kharyan";

position[]={4081.62,16135.9};

type="Village";

radiusA=250;

radiusB=250;

};

class Aghar

{

name="Aghar";

position[]={4612.99,15376};

type="Village";

radiusA=100;

radiusB=100;

};

class Zarin Khan Khel

{

name="Zarin Khan Khel";

position[]={4295.79,14248.8};

type="Village";

radiusA=190;

radiusB=190;

};

class Koday

{

name="Koday";

position[]={4408.94,13194.1};

type="Village";

radiusA=230;

radiusB=230;

};

class Kolalan

{

name="Kolalan";

position[]={5560.62,12462.7};

type="Village";

radiusA=150;

radiusB=150;

};

class Sherdadkhel

{

name="Sherdadkhel";

position[]={7403.32,9379.37};

type="Village";

radiusA=200;

radiusB=200;

};

class S. Shekhabad

{

name="S. Shekhabad";

position[]={5902.92,9743.25};

type="Village";

radiusA=320;

radiusB=320;

};

class Glikbel

{

name="Glikbel";

position[]={7556.88,7177.02};

type="Village";

radiusA=400;

radiusB=600;

};

class Juy Zann

{

name="Juy Zann";

position[]={9642.03,4942.35};

type="Village";

radiusA=300;

radiusB=300;

};

class Dawlal Khel

{

name="Dawlal Khel";

position[]={10886.7,3738.13};

type="Village";

radiusA=100;

radiusB=100;

};

class Zamuch

{

name="Zamuch";

position[]={10050.2,3402.73};

type="Village";

radiusA=100;

radiusB=100;

};

class Jamed Khel

{

name="Jamed Khel";

position[]={11153.4,1968.17};

type="Village";

radiusA=220;

radiusB=220;

};

class Wersek

{

name="Wersek";

position[]={12511.1,2610.69};

type="Village";

radiusA=300;

radiusB=300;

};

class Qarya-i Amir

{

name="Qarya-i Amir";

position[]={14479.1,1822.7};

type="Village";

radiusA=400;

radiusB=400;

};

class Kameran Khel

{

name="Kameran Khel";

position[]={12790,1685.3};

type="Village";

radiusA=100;

radiusB=100;

};

class Ranjay Khel

{

name="Ranjay Khel";

position[]={13573.9,1572.16};

type="Village";

radiusA=100;

radiusB=100;

};

class Tagaw

{

name="Tagaw";

position[]={16725.9,380.059};

type="Village";

radiusA=300;

radiusB=300;

};

class Shagalkhel

{

name="Shagalkhel";

position[]={15040.4,934.989};

type="Village";

radiusA=200;

radiusB=200;

};

class Doab

{

name="Doab";

position[]={8336.15,6277.76};

type="Village";

radiusA=100;

radiusB=100;

};

class Sisay

{

name="Sisay";

position[]={5367.94,6561.68};

type="Village";

radiusA=200;

radiusB=200;

};

class Dara

{

name="Dara";

position[]={5096.93,7484.41};

type="Village";

radiusA=200;

radiusB=200;

};

class Kokolak

{

name="Kokolak";

position[]={4247.3,5427.27};

type="Village";

radiusA=100;

radiusB=100;

};

class Keday

{

name="Keday";

position[]={2287.41,4477.64};

type="Village";

radiusA=200;

radiusB=200;

};

class Saabar

{

name="Saabar";

position[]={3309.79,3839.16};

type="Village";

radiusA=200;

radiusB=200;

};

class Sra Kala

{

name="Sra Kala";

position[]={2253,3444.19};

type="Village";

radiusA=100;

radiusB=100;

};

class Arab Kheyl

{

name="Arab Kheyl";

position[]={1879.27,1600.44};

type="Village";

radiusA=150;

radiusB=150;

};

class Lawar

{

name="Lawar";

position[]={1794.61,2856.81};

type="Village";

radiusA=100;

radiusB=100;

};

class Markaze Saydabad

{

name="Markaze Saydabad";

position[]={1076.95,2225.51};

type="Village";

radiusA=200;

radiusB=200;

};

class Saydabad

{

name="Saydabad";

position[]={392.968,780.125};

type="Village";

radiusA=100;

radiusB=100;

};

class Arabshakhel

{

name="Arabshakhel";

position[]={3606.52,18525.7};

type="Village";

radiusA=300;

radiusB=300;

};

class Syahchob

{

name="Syahchob";

position[]={844.286,7501.43};

type="Village";

radiusA=200;

radiusB=200;

};

class Shekhazam Baba

{

name="Shekhazam Baba";

position[]={1094.29,9115.71};

type="Village";

radiusA=100;

radiusB=100;

};

class Zarsang

{

name="Zarsang";

position[]={2530,10694.3};

type="Village";

radiusA=200;

radiusB=200;

};

class Gijan

{

name="Gijan";

position[]={2666.84,14694.7};

type="Village";

radiusA=100;

radiusB=100;

};

};

Edited by ebanks129

Share this post


Link to post
Share on other sites

Cant have spaces in class names.... actual names they're ok...

class Zarin Khan Khel = wrong

class Zarin_Khan_Khel = right...

but

name="Zarin Khan Khel"

is fine...

B

Share this post


Link to post
Share on other sites

Ok cool. I'll start doing that and i've even added the KPtypes.dat to my visitor folder. hopefully this run will do it!

thanks for that one bush!

---------- Post added at 11:14 AM ---------- Previous post was at 10:38 AM ----------

worked perfect. thanks again!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×