Workable titles

ospa666

Chieftain
Joined
Aug 14, 2013
Messages
18
Location
Madrid, Spain
Hi,
I want to ask you If is possible to change the city radius of workable titles.
I know that we can change the maximum acquire plot distance.


Thanks
 
You could try updating MAXIMUM_ACQUIRE_PLOT_DISTANCE from GlobalDefines.xml (default is 5), not sure about range of workable tiles.
 
Changing workable tiles requires DLL changes (the value 3 is hard-coded in many C++ files)
 
You want whoward69's DLL - Various Mod Components in conjunction with Global - City Working Distance (with the reminder that you can only use one DLL mod at a time)

Thanks, now I have two questions, of that dll mod.

I need (for the workable titles) the dll file and the two xml parts bellow, I am right? or I need something more


Code:
<CustomModOptions>
  <Row Class="6" Name="GLOBAL_CITY_WORKING" Value="0" DbUpdates="1"/>
</CustomModOptions>


Code:
<Defines>
  <Replace>
    <Name>MAXIMUM_WORK_PLOT_DISTANCE</Name>
	<Value>3</Value>
  </Replace>
</Defines>



And the last question is: What is the difference between this

Code:
MAXIMUM_[COLOR="Red"]BUY[/COLOR]_PLOT_DISTANCE

and this?
Code:
MAXIMUM_[COLOR="Red"]ACQUIRE[/COLOR]_PLOT_DISTANCE

The first part is in the dll mod and the second in the CIV5 files in GlobalDefines.xml
 
(Unless you are writing a total conversion (TC) mod), you should never add someone else's DLL to you own mod as a) you are now incompatible with any other mod that adds a DLL, b) you have to update your mod every time the 3rd party DLL mod is updated and c) your mod has unnecessary "bloat" - what you should do is make your mod "depend on" the 3rd party DLL mod, which you do from the "Associations" tab in ModBuddy (and the two pieces of information you need for my DLL mod are "DLL - Various Mod Components" and "d1b6328c-ff44-4b0d-aad7-c657f83610cd")

You then need to EITHER make you own mod also depend on the enabling mod OR add ALL the files from the enabling mod (in this case "Global - City Working Distance" to your own mod.

A city has three ring boundaries - work, buy and acquire - in the standard game these are 3, 3, and 5 respectively.
 
(Unless you are writing a total conversion (TC) mod), you should never add someone else's DLL to you own mod as a) you are now incompatible with any other mod that adds a DLL, b) you have to update your mod every time the 3rd party DLL mod is updated and c) your mod has unnecessary "bloat" - what you should do is make your mod "depend on" the 3rd party DLL mod, which you do from the "Associations" tab in ModBuddy (and the two pieces of information you need for my DLL mod are "DLL - Various Mod Components" and "d1b6328c-ff44-4b0d-aad7-c657f83610cd")

You then need to EITHER make you own mod also depend on the enabling mod OR add ALL the files from the enabling mod (in this case "Global - City Working Distance" to your own mod.

A city has three ring boundaries - work, buy and acquire - in the standard game these are 3, 3, and 5 respectively.


Thanks for the explanation, I will do the association, my plan is to do a mod to enchance cities in larger maps for making possible winning by domination, more area to cities, faster border growth, reduced unhappiness per city,...

GeoModder said:
FYI, its workable tiles, not titles.
You've made this spelling error in the whole thread now, so I recon you didn't realize it.

Ahh, we learn things every day.
 
Back
Top Bottom