Soooo after banging my head at my unexplained error for 4hrs+ last night I went to bed(still thinking about that error). After getting up this morning with a fresh head, I found what was causing the error in less than 5m
![crazy eyes :crazyeye: :crazyeye:](/images/smilies/crazyeyes.gif)
, sleep is amazing
So on this note, I have a working AssignStartingPlots.lua that places resources on ALL map types. Unfortunatly it only ever places a quantity of 1 for all resources, I am in the process of askign the community for help on this you can follow my post
here.
Attached to this post is the fixed AssignStartingPlots.lua, I have been testing this with the Resource Generator mod removed from CCTP(since my changes in AssignStartingPlots will do the same thing). In order for you to test this lua you will also have to remove said files from CCTP.
Installation
Firstly Download the rar file at the bottom of this post.
Now Navigate to:-
......MyDocuments/MyGames/Sid Meier's Civilization 5/MODS/Community Call to Power Project (v 1)/Terrain/New Resource
Select these 4 files:-
AddNewResource.lua, ResGenerator.lua, ResGeneratorFunctions.lua, Saveutils.lua
Move them to
...MyDocuments or zip them up into a Zip file and delete them from the folder(Keeping the zip archive of them).
Open the file you downloaded from this post. You will find 3 files inside.
Extract
ResourceNew.xml too :- ......MyDocuments/MyGames/Sid Meier's Civilization 5/MODS/Community Call to Power Project (v 1)/Terrain/New Resource
Extract
AssignStartingPlots.lua &
Community Call to Power Project (v 1).MODINFO too :- ......MyDocuments/MyGames/Sid Meier's Civilization 5/MODS/Community Call to Power Project (v 1)
Overwrite when promted to do so.
And your done.
EDIT
New Copy of AssignStartingPlots.lua, sussed how to adjust the quantities for resources placed. Should be alot more balanced now, for CCTP. Most are set 1-3, others like titantium/copper/rare earths are 2-6(These Quantities will change depending on the option you choose at start up(Low, High ect)).
Issues
Great Plains and Highlands show a Fire Tuner error, even thout they seem to load up okay, resources are there ect.