Right, new question - one of the major parts of my game will be taking settlements for your faction, though for the moment, you will only be able to be Roman (I'll post details about this in the WIP section when I have something more).
To me, this seems like a simple concept, but I could be wrong.
I was inspired by a few parts of Rome Total War, to add to my own game, but I'll describe the settlement-taking part below:
- The ability to take settlements
- If at least 10 members of your faction are in the centre square of the settlement, and there are no other enemy soldiers within a 10 metre radius (give or take) of the square, a countdown timer will commence, and when you reach 0:00 on the timer, the settlement and surrounding region will be taken by the faction, and the region on the main map will be coloured according to the faction colour. However, if an enemy soldier enters the square (or countdown region) whilst the timer is counting down, the timer will be paused until the enemy is killed. If all of your faction soldiers in the square are killed, the countdown will reset and the settlement will remain under enemy control.
What I want to know, is how I would go about coding that. I'm in the process of learning Python (struggling to find documentation for IronPython, but by learning Python, I'm sure I can transfer the knowledge across), but where would I need to begin? Would I need to create a new file in the config folder, or in the Script section of the Client directory? Or is it an asset?
Any help is appreciated!