Modifying vision status of a hex via improvement

bilbo991

Chieftain
Joined
Jun 11, 2016
Messages
2
So I'm trying to create a new mod, and I've run into an issue with a new improvement I'm trying to add. Basically I'd like to have my tile improvement grant vision in a radius around the tile, but I can't seem to figure out how to do so. Any help would be appreciated.
 
pPlot:SetRevealed() is part of it, but you'll also need pPlot:ChangeVisibilityCount() - unfortunately the latter has a) side effects with Natural Wonders and b) is bugged (unless using a modded DLL)

A starting point would be my 'Tech - Satellites Reveal Cities' mod, as that pretty much does what you want for cities instead of a specific improvement.
 
I just want to say thank you to both of you for your replies. Thanks to your help I was able to make significant progress and now I have an improvement that grants vision around it. Thank you!!
 
Back
Top Bottom