Civilicious
Warlord
What I am trying to accomplish is the following:
I have the XML set up to allow fort and other improvements outside of borders, but what I want to happen is this. When the fort or improvment is created, the builder becomes the owner of the tile (just the tile itself, no other spaces), if it had no previous owner. When an improvement is destroyed the culture should be lost as well.
This would include whales and fish out in the open ocean often times out of reach of city borders and would allow you to gain access to this resource. Also using forts and improvements you could access various resources in a type of colonial scenario without building cities to access everything.
I found this component http://forums.civfanatics.com/showthread.php?t=243427 that generates culture around a fort when it is built but also spawns a commander and has some other functionality I am not looking for.
Does anyone have an idea of how this may easily be done? Or can give me any pointers on how to start going about it? I got the idea that I would set up workers like the WORKBOAT and have the selection button cause the unit to destruct and create the improvment. So I planned to add something in to have it set tile ownership at the same time it does this, however from looking through all the files I cannot find where the improvment is created. Any input would be appreciated.
I have the XML set up to allow fort and other improvements outside of borders, but what I want to happen is this. When the fort or improvment is created, the builder becomes the owner of the tile (just the tile itself, no other spaces), if it had no previous owner. When an improvement is destroyed the culture should be lost as well.
This would include whales and fish out in the open ocean often times out of reach of city borders and would allow you to gain access to this resource. Also using forts and improvements you could access various resources in a type of colonial scenario without building cities to access everything.
I found this component http://forums.civfanatics.com/showthread.php?t=243427 that generates culture around a fort when it is built but also spawns a commander and has some other functionality I am not looking for.
Does anyone have an idea of how this may easily be done? Or can give me any pointers on how to start going about it? I got the idea that I would set up workers like the WORKBOAT and have the selection button cause the unit to destruct and create the improvment. So I planned to add something in to have it set tile ownership at the same time it does this, however from looking through all the files I cannot find where the improvment is created. Any input would be appreciated.