Replies: 1 comment 5 replies
-
Sounds interesting. How can I use this resource generator? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Download Resource generator here
I have created a set of markers that represent resources on the map. For me to write a good state conflict story economy and resources are key behind motivation and making it believable so here it is:
10k
190
50k
530
100k
860
Below every screenshot there is points number followed by the amount of markers.
Most markers are generated taking into account cells temperature, precipitation, biome, ect. so the placement of markers, for me is pretty reflective of reality.
I only changed 2 files for that to work, so here is how to implement is on your custom server:
markers-generator.js
layers.js
Create new map or open saved one, after doing so, go ahead and hide markers layer and show it again for size to be updated
This is very raw version, so no editor inside client, and when manipulating multiplier in client bugs out the generator, not sure how to fix it yet.
If you would like to change/add a resource open marker generator, in
GetDefaultConfig
function add your resource, then create new List[resource] function for generation configuration and Add[resource] function for description. If you would like to change the frequency of resource generation, find your resource inGetDefaultConfig
, and manipulate 'each' variable. the less the value the more resources will be generatedto adjust marker size and shape, go to layers.js,
GetPin
, choose your marker shape, below that you can findDrawMarker
and adjust its sizeThis version is sufficient for my purposes, but if you guys like it I could work on it to fix some bugs, make generation more precise, add each states resources counter, add potentially state resources needs, resources filter for visual cleanse and resource editor in client
Beta Was this translation helpful? Give feedback.
All reactions