GeminiDark
Chieftain
- Joined
- Sep 19, 2020
- Messages
- 2
I've spent days trying to figure out how to do something, and while I think I'm on the right path, I can't get it to work. I also don't know how to go about coding another thing.
Basically, I need help with making a unique unit that can only be made once per game, and only by the civilization I'm making. I'm trying to do this through a unique Strategic Resource that I made, but I can't seem to get the mod to give the resource. I tried attaching it to the Leader Trait and to the unique building for the civ, but for some reason I can't get the building to work at all (despite getting it from a template and changing "Granary" to "Library" in what it replaces) so I can't even see if I'm able to give the resource via a building, and I can't get it to work with the leader trait.
Ideally, I'd set the leader trait to be that it starts the game with a single instance of the resource so that once the unit has its unlock criteria met, it would be able to be made one time. Though failing that, if I have to make the unique building one of a kind with MaxWorldInstances I could do that if I could get the building to work at all. I'm going to keep hammering away at it but...
Literally any advice would be helpful.
Basically, I need help with making a unique unit that can only be made once per game, and only by the civilization I'm making. I'm trying to do this through a unique Strategic Resource that I made, but I can't seem to get the mod to give the resource. I tried attaching it to the Leader Trait and to the unique building for the civ, but for some reason I can't get the building to work at all (despite getting it from a template and changing "Granary" to "Library" in what it replaces) so I can't even see if I'm able to give the resource via a building, and I can't get it to work with the leader trait.
Ideally, I'd set the leader trait to be that it starts the game with a single instance of the resource so that once the unit has its unlock criteria met, it would be able to be made one time. Though failing that, if I have to make the unique building one of a kind with MaxWorldInstances I could do that if I could get the building to work at all. I'm going to keep hammering away at it but...
Literally any advice would be helpful.