Hello,
I have been working on a mod for the past week and I have grown very upset at its inability to work and I am out of ideas for solutions. I am attempting to make a mod that gives the Shoshone a unique unit for the Great Prophet that can build a citadel and gives the attack bonuses to nearby troops. The unit works fine, and I have had no difficulty adding it. I did not want the unit to be part of the unique unit pool for Shoshone so instead I made a policy that would be immediately granted to the shoshone and would grant access to the unit. The policy was implemented into the game and shows up. The issues arise when trying to replace the great prophet when it spawns with the unique unit as well as giving the policy to the Shoshone at the start of the game. I was able to successfully make the unit get replaced when I had the unit as a unique unit for Shoshone, but ever since attempting the policy idea the LUA file has completely broke and won't be read by CIV 5 nor detected. I have tried rebuilding the file from the ground up, retyping it up, deleting half of it, going back to how it used to be when it worked, putting it in AI and asking what the issue was, clearing cache, putting the file into a md5 checksum calculator and testing, restarting my computer, and nothing will do anything to get the file read. I have spent too long on this to keep going at it alone. If anyone could provide assistance that would be wonderful.
UPDATE: I resolved the issue.
Thank you.
I have been working on a mod for the past week and I have grown very upset at its inability to work and I am out of ideas for solutions. I am attempting to make a mod that gives the Shoshone a unique unit for the Great Prophet that can build a citadel and gives the attack bonuses to nearby troops. The unit works fine, and I have had no difficulty adding it. I did not want the unit to be part of the unique unit pool for Shoshone so instead I made a policy that would be immediately granted to the shoshone and would grant access to the unit. The policy was implemented into the game and shows up. The issues arise when trying to replace the great prophet when it spawns with the unique unit as well as giving the policy to the Shoshone at the start of the game. I was able to successfully make the unit get replaced when I had the unit as a unique unit for Shoshone, but ever since attempting the policy idea the LUA file has completely broke and won't be read by CIV 5 nor detected. I have tried rebuilding the file from the ground up, retyping it up, deleting half of it, going back to how it used to be when it worked, putting it in AI and asking what the issue was, clearing cache, putting the file into a md5 checksum calculator and testing, restarting my computer, and nothing will do anything to get the file read. I have spent too long on this to keep going at it alone. If anyone could provide assistance that would be wonderful.
UPDATE: I resolved the issue.
Thank you.
Last edited: