Alright I know this was discussed a while ago but I didn't notice if we ever got an answer as to how to upgrade the city militia's armors by placing an improvement. I just want to upgrade from nothing ==> Gambeson (in my mod also called padded armor) ==> Leather ==> Chain and only make it available at fortresses. I was thinking link it to the blacksmith but then I would have to create an additional tier of blacksmith, beyond what I already have done, so I decided to make an independent city building called a City Armory where when built at the city it upgrades the base armor of the militia and then attach it to the appropriate armor tech +1 so at leather you can produce a armory that provides Gambeson's to your militia and at chain you can add leathers and at plate you can add chain to your militia. Anyways that's the first question.
Second question, I made the world resource necessary for my mod, but I want to make a spell that converts crystal into another resource and steel and crystal into yet another resource. The spell would also cost mana to cast to power the conversion. How do I go about making the two different spells work for requiring a resource to cast and create a new resource?
The first isn't really possible in the way that you want it implemented. You can make your armory add soldiers with armor to your city defenses, but you can't really "upgrade" the existing troops. All of the militias have set designs, and you'd have to design your own or switch the current militia to something that use armor (in which case ALL militias would get it, not just those from your armory).
The second, if I understand you correctly is really simple. Mana is just another resource, the spell cost part of spell can take any resource, custom or not. You basically make a spell that consumes 2 or 3 resource (including mana) to cast, and create whatever you want.
You can do the first one with the way you described it. I have to test it before I tell you that it will work, but I think I have a work-around.
I have successfully done your first feat. If you don't mind I'll set up the base code and make it a seperate vanilla mod and you can modify and use the code for you mod.
Thanks Parrotmath and Kalin, for you both for the help.
It's up
https://forums.elementalgame.com/437988
Took longer because I was trying to make the tech tree look nicer, but it's there now. I don't know how to attach the armor to a particular building, but at least it's research dependent.
I made single piece suits to make the tech tree look nicer having one picture there instead of five or so. I hope that this was what you were looking to do.
As to the part where you have these special militia only for fortress you are going to have to modify the coreimprovement for fortress hubs to summon the modified militia (that I've made, you will need to change some tags around for this) and leave every other city the same.
Nicely done. I gave some feedback on the mod thread but thanks again on this.
There are many great features available to you once you register, including:
Sign in or Create Account