View Full Version : Help adding/removing


Erik_3E
Jun 28, 2008, 10:19 AM
Can any one explaine how to add or remove civs from already made maps?

Thanks for any answers :)

zyphyr
Jun 29, 2008, 04:46 PM
Essentially, you remove all references to them in the WorldBuilder file.

There will be 2 or 3 types of entries that you need to deal with.
(Examples drawn from BTS Earth 1000AD map)

1)Team entries. There aren't always there - it depends on the map.

These look like

BeginTeam
Tech=TECH_MINING
Tech=TECH_MYSTICISM
Tech=TECH_FISHING
Tech=TECH_THE_WHEEL
Tech=TECH_AGRICULTURE
Tech=TECH_HUNTING
Tech=TECH_BRONZE_WORKING
Tech=TECH_MASONRY
Tech=TECH_POLYTHEISM
Tech=TECH_MEDITATION
Tech=TECH_SAILING
Tech=TECH_POTTERY
Tech=TECH_ANIMAL_HUSBANDRY
Tech=TECH_ARCHERY
Tech=TECH_PRIESTHOOD
Tech=TECH_WRITING
Tech=TECH_HORSEBACK_RIDING
Tech=TECH_IRON_WORKING
Tech=TECH_METAL_CASTING
Tech=TECH_MONARCHY
Tech=TECH_MATHEMATICS
Tech=TECH_COMPASS
Tech=TECH_CONSTRUCTION
Tech=TECH_CODE_OF_LAWS
Tech=TECH_CURRENCY
Tech=TECH_CALENDAR
Tech=TECH_MACHINERY
Tech=TECH_CIVIL_SERVICE
Tech=TECH_FEUDALISM
Tech=TECH_PHILOSOPHY
Tech=TECH_MUSIC
Tech=TECH_PAPER
Tech=TECH_EDUCATION
Tech=TECH_GUNPOWDER
Tech=TECH_AESTHETICS
AtWar=10
RevealMap=0
EndTeam


2)Player entries

BeginPlayer
Team=2
CivDesc=TXT_KEY_CIV_FRANCE_DESC
CivShortDesc=TXT_KEY_CIV_FRANCE_SHORT_DESC
CivAdjective=TXT_KEY_CIV_FRANCE_ADJECTIVE
LeaderName=TXT_KEY_LEADER_LOUISXIV
LeaderType=LEADER_LOUIS_XIV
CivType=CIVILIZATION_FRANCE
PlayableCiv=1
MinorNationStatus=0
FlagDecal=Art/Interface/TeamColor/FlagDECAL_FleurDeLis.dds
Color=PLAYERCOLOR_DARK_BLUE
ArtStyle=ARTSTYLE_EUROPEAN
StartingGold=100
StateReligion=RELIGION_CHRISTIANITY
CivicOption=CIVICOPTION_GOVERNMENT, Civic=CIVIC_HEREDITARY_RULE
CivicOption=CIVICOPTION_LEGAL, Civic=CIVIC_VASSALAGE
CivicOption=CIVICOPTION_LABOR, Civic=CIVIC_SERFDOM
CivicOption=CIVICOPTION_ECONOMY, Civic=CIVIC_DECENTRALIZATION
CivicOption=CIVICOPTION_RELIGION, Civic=CIVIC_ORGANIZED_RELIGION
CityList=TXT_KEY_CITY_NAME_ORLEANS
CityList=TXT_KEY_CITY_NAME_LYONS
CityList=TXT_KEY_CITY_NAME_RHEIMS
CityList=TXT_KEY_CITY_NAME_TOURS
CityList=TXT_KEY_CITY_NAME_CHARTRES
CityList=TXT_KEY_CITY_NAME_AVIGNON
CityList=TXT_KEY_CITY_NAME_BESANCON
CityList=TXT_KEY_CITY_NAME_ROUEN
CityList=TXT_KEY_CITY_NAME_GRENOBLE
CityList=TXT_KEY_CITY_NAME_DJION
CityList=TXT_KEY_CITY_NAME_AMIENS
CityList=TXT_KEY_CITY_NAME_CHERBOURG
CityList=TXT_KEY_CITY_NAME_POITIERS
CityList=TXT_KEY_CITY_NAME_TOULOUSE
CityList=TXT_KEY_CITY_NAME_BAYONNE
CityList=TXT_KEY_CITY_NAME_STRASBOURG
CityList=TXT_KEY_CITY_NAME_BREST
CityList=TXT_KEY_CITY_NAME_RENNES
Handicap=HANDICAP_CHIEFTAIN
AttitudePlayer=3, AttitudeExtra=-10
AttitudePlayer=6, AttitudeExtra=4
EndPlayer


3)Plot entries


BeginPlot
x=56,y=49
FeatureType=FEATURE_FOREST, FeatureVariety=1
TerrainType=TERRAIN_GRASS
PlotType=2
BeginUnit
UnitType=UNIT_ARCHER, UnitOwner=2
Level=1, Experience=0
EndUnit
BeginUnit
UnitType=UNIT_CROSSBOWMAN, UnitOwner=2
Level=1, Experience=0
EndUnit
BeginUnit
UnitType=UNIT_KNIGHT, UnitOwner=2
Level=1, Experience=0
EndUnit
BeginUnit
UnitType=UNIT_WORKER, UnitOwner=2
Level=1, Experience=0
EndUnit
RouteType=ROUTE_ROAD
BeginCity
CityOwner=2
CityName=Bordeaux
CityPopulation=3
CityCulture=10
BuildingType=BUILDING_GRANARY
BuildingType=BUILDING_COURTHOUSE
BuildingType=BUILDING_CHRISTIAN_TEMPLE
ReligionType=RELIGION_CHRISTIANITY
ReligionType=RELIGION_JUDAISM
EndCity
TeamReveal=2,3,4,5,6,12,
EndPlot


I believe that a Team entry that won't have any players can be left alone, but I am not certain. If you do delete one, all Civs will need their Team numbers adjusted to put them back on the correct settings.

The player entry of the one you want to get rid of needs to be deleted. Any other players that refer to them (Attitude modifiers at the ends) need to be deleted. Ones that refer to people later than them in the file need to be renumbered (if you delete the 3rd, 4 becomes 3, 5 becomes 4, etc).

Plot entries : Anything owned by that player needs to be deleted. Things owned by later players need to have their owner numbers changed. The TeamReveal entries tell who gets the Fog of War removed for that tile at the start, and as such also need to be altered.