Hello there ! I'm new here and this is my first thread.
So I hope tihs is the right place to post this but I need help/suggestion/guidance.
I want my custom civilization to have a unique trait that, I believe, required skill and knowledge in LUA and XML that I do not possess.
So I'll try to sound a clear and precise as I'm able to be.
<<Unique Trait Name : Eternal Night
Description: Your territory remains unexplored to other civilizations.Upon entering a Hex tile inside your territory, the enemy units sight is reduced to 1.>>
So basically I want every other civilization to be unable to see inside your territory ( remains black as unexplored. And if a foreign unit enter your land, it can only see around the tile it is currently on (1 sight). If it moves, all previous explored tiles reverse back to unexplored.I also wish that units outside your borders cannot see inside your territory except if on a tile next to your land.For instance,planes have a great sight radius, it normally would be able to see every tiles inside its radius,but if your land is present on certain tiles,he would be unable to see your tiles. Another exception is if a foreign spy/diplomat is in your capital, it sees only 1 tile around the city it is in.Now I may add another bonus to it like a +combat STR if in your territory or something else like a -combat STR for foreign units inside your land.
Technically,for other players,they would see a dark,black getting bigger (depending on culture) on the mini map.
So I'd like a reply containing a Xml code ( if possible) representing what I have describe above
.
Also if anyone know where I could look up a Technology Xml bonus ( Machinery -- +1
movement on Roads for instance) or where the Policy bonus are,that be great ! 
Thanks in advance,if you have read all of this, you get + 1 thanks !
So I hope tihs is the right place to post this but I need help/suggestion/guidance.
I want my custom civilization to have a unique trait that, I believe, required skill and knowledge in LUA and XML that I do not possess.
So I'll try to sound a clear and precise as I'm able to be.
<<Unique Trait Name : Eternal Night
Description: Your territory remains unexplored to other civilizations.Upon entering a Hex tile inside your territory, the enemy units sight is reduced to 1.>>
So basically I want every other civilization to be unable to see inside your territory ( remains black as unexplored. And if a foreign unit enter your land, it can only see around the tile it is currently on (1 sight). If it moves, all previous explored tiles reverse back to unexplored.I also wish that units outside your borders cannot see inside your territory except if on a tile next to your land.For instance,planes have a great sight radius, it normally would be able to see every tiles inside its radius,but if your land is present on certain tiles,he would be unable to see your tiles. Another exception is if a foreign spy/diplomat is in your capital, it sees only 1 tile around the city it is in.Now I may add another bonus to it like a +combat STR if in your territory or something else like a -combat STR for foreign units inside your land.
Technically,for other players,they would see a dark,black getting bigger (depending on culture) on the mini map.
So I'd like a reply containing a Xml code ( if possible) representing what I have describe above

Also if anyone know where I could look up a Technology Xml bonus ( Machinery -- +1


Thanks in advance,if you have read all of this, you get + 1 thanks !
