Just a Couple Questions

Zerienga

Chieftain
Joined
Jan 17, 2016
Messages
10
Hello, I have a couple questions for a civ I'm currently attempting to make. I have absolutely 0 LUA knowledge currently (I'll get to learning that when I need to), and am learning SQL and XML as I go through the tutorials, resources I can find online, and an assortment of different mods that I play with. Now, without further ado:

1) Is it possible for a luxury resource to provide any yields besides happiness if it's not worked? If so, how would I do this? (I currently have something in Resource_YieldChanges, but I'm unsure if that actually does anything for unworked resources that you have.)

2) Is it possible to have a building produce tourism after a researching a certain technology?

3) (I'm guessing this will probably require LUA) Is it possible to allow different upgrade paths be added to units. For example: I choose a Promotion that will determine the rest of the promotions in the chain for the unit.

When I come across other questions, I will ask them here.

Thanks for any help!
 
  1. lua would be required since the gold, culture, faith, production, food yields for a tile are not applied anywhere unless the tile is being worked by a city-citizen. Whether the tile has a resource, or an improvement, makes no difference one way or another -- the yields are not applied anywhere unless the tile itself is being worked.
  2. this is a standard capability with the Buildings XML-Schema. See: here
  3. You are mix'n'matching the terms 'upgrade' with the term 'unit promotion' which makes it difficult to answer.
    • 'Upgrade' refers to 'modernizing' a unit from say a Warrior to a Swordsman
    • 'Promotions' are the extra abilities a unit can have from being, say, an Archery-Type unit but are not available to a Melee-Attack type of unit. 'Accuracy 1', 'Accuracy 2', 'Accuracy 3', 'Drill 1', 'Drill 2', 'Drill 3', etc., are all promotions.
    • which did you actually mean to ask about?
 
Thank you for answering my first two questions. With my third one, I did mean "unit promotion". Sorry about the confusion on that.
 
#3 This is essentially what the Accuracy 1, Accuracy 2, Accuracy 3 as opposed to the Barrage 1, Barrage 2, Barrage 3 promotions do for Archery/Siege units. And what is done with the promotions that are unlocked by the Zulu Ikhanda building. The Ikhanda gives the 1st of the special Zulu melee-unit promotions, and from there the unit can 'select' the next better promotion within the 'Buffalo' line of promotions.
 
Alright. Thank you very much. The third question is because I wanted to add unique units with unique unit promotions based off of my civ, but I didn't want to risk it without knowing that it was possible. Those will probably be the last part I add to my civ, but it's good to know that it's possible.
 
Back
Top Bottom