Oops, duh. Forgot to add it to OnModActivated. Thanks.
One more question. Now the new feature gets added in-game (it says "Blight" on a tile when I mouse over it) but it looks like there's nothing there. In the XML for the feature I made sure to put...
Ok, so I tried both of these:
GameInfoTypes.FEATURE_BLIGHT
GameInfoTypes["FEATURE_BLIGHT"]
but they still change the tile to ice instead of my feature. When I try
GameInfo.Features["FEATURE_BLIGHT"].ID
it gives the error "attempt to index field 'FEATURE_BLIGHT' (a nil value)".
If it...
I'm adding a new terrain feature (like forests, fallout, and ice), but I'm not sure how to reference it in Lua script. I've tried both of these:
FeatureTypes["FEATURE_BLIGHT"]
FeatureTypes.FEATURE_BLIGHT
but neither work. I know I've added the feature correctly, because I can look it up in...
Hi, I'm new to modding Civ 5 so I apologize if this is something simple or if it's already been covered (I did some googling but didn't find anything on this topic).
I'm making a mod that adds a new civilization. For the unique ability, I'm trying to change the yield of fallout tiles to be +1...
I know this thread is super old, but is there any way this could be open-source? I have a project that requires deciphering the save game files, and it would save me a huge headache to have something else to go off of instead of trial-and-error.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.