sdk resource question

GoRniC

Chieftain
Joined
Jul 8, 2007
Messages
6
Hey guys is there anyway to get the scatter resources option to work on sdk? If not is there any other mods/tools out there which can do this?
 
I am not entirely sure what you are referring to when you say "scatter resources option", but if you're looking to toy around with resource placement, it is all hard-coded into AssignStartingPlots.lua. Start with

Code:
GenerateGlobalResourcePlotLists()
GenerateLuxuryPlotListsInRegion()
GetIndicesForLuxuryType()
PlaceLuxuries()

GetIndicesForLuxuryType() defines which plot lists resources may be placed in (for example, "hills that have forests on them"), while GenerateGlobalResourcePlotLists() and GenerateLuxuryPlotListsInRegion() constructs the plot lists. PlaceLuxuries() is the function that handles the actual placements of luxuries on the map.
 
Back
Top Bottom