Recent content by Chuckleluck

  1. C

    Referencing a modded feature in Lua

    Yeah, looks like I'll just have to work around that. Thanks!
  2. C

    Referencing a modded feature in Lua

    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...
  3. C

    Referencing a modded feature in Lua

    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...
  4. C

    Referencing a modded feature in Lua

    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...
  5. C

    Unique Ability that changes fallout yield

    Thanks for the help guys! It works great :)
  6. C

    Unique Ability that changes fallout yield

    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...
  7. C

    Civ5 Save Analyser

    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.
Back
Top Bottom