I am working on an idea for my first mod and I had a couple of questions about if certain things are possible to do. If any of these questions are already been answered, I would appreciate a link to the information.
1.) I want to be able to select a 'unit' for production, that when you click it it produce 1 of 3 possible units at random. For example, "Draft A Soldier" would be an option to select for production, the same as a warrior unit, but instead of generating a unit in the normal fashion, it would produce a random unit from a list of possible options. I'm assuming if it is possible it would be a Lau script. Has anyone tried this/is this possible to do?
2.) I want to essentially scrap the existing units for my mod and create all the units (I think that would work better for what I want my mod to do). Can you create new units that are available to all civilizations, the same as a warrior can be produced by all civilizations. I'm assuming you can, if so, is there anything I need to know - or is it as simple as creating the unit and changing it so the city can produce that new unit?
3.) I just created a basic Civ, just to try to get it to load which was copied from the American's files. I tried to add a third unique unit (for sake of explaining UniqueA, UniqueB, and UniqueC). Two of which - UniqueB and UniqueC - had the same unit class (UNITCLASS_WARRIER), and when you start the game it replaces the starting default warrior with UniqueB. When you settle the city, the warrior is gone and you can select UniqueB (which replaced the warrior unit), but UniqueC does not show up (the other UNITCLASS_WARRIER). Can you only have one unique unit per unit class?
4.) Reading through Kael's guide, he explains how to create the icons for units, etc. If I wanted to have all the icons for a unit the same, except the icon which shows up directly above the unit in game, would you just change the picture in the 32 pixel file (I think this is the one that the unit icon in game uses)? Does this cause any problems if the icons are not all the same?
5.) Can you change the promotion names and icons? I'm assuming this would be done similar to the example in Kaels with the toggle icons for units and would need both an xml file and a lau script?
6.) Can you change the names of the items on the top toolbar - Happiness, gold, science, faith, culture - and can you remove any if you like? They would still all work the same, but would just have a name change.
Thanks in advance.
1.) I want to be able to select a 'unit' for production, that when you click it it produce 1 of 3 possible units at random. For example, "Draft A Soldier" would be an option to select for production, the same as a warrior unit, but instead of generating a unit in the normal fashion, it would produce a random unit from a list of possible options. I'm assuming if it is possible it would be a Lau script. Has anyone tried this/is this possible to do?
2.) I want to essentially scrap the existing units for my mod and create all the units (I think that would work better for what I want my mod to do). Can you create new units that are available to all civilizations, the same as a warrior can be produced by all civilizations. I'm assuming you can, if so, is there anything I need to know - or is it as simple as creating the unit and changing it so the city can produce that new unit?
3.) I just created a basic Civ, just to try to get it to load which was copied from the American's files. I tried to add a third unique unit (for sake of explaining UniqueA, UniqueB, and UniqueC). Two of which - UniqueB and UniqueC - had the same unit class (UNITCLASS_WARRIER), and when you start the game it replaces the starting default warrior with UniqueB. When you settle the city, the warrior is gone and you can select UniqueB (which replaced the warrior unit), but UniqueC does not show up (the other UNITCLASS_WARRIER). Can you only have one unique unit per unit class?
4.) Reading through Kael's guide, he explains how to create the icons for units, etc. If I wanted to have all the icons for a unit the same, except the icon which shows up directly above the unit in game, would you just change the picture in the 32 pixel file (I think this is the one that the unit icon in game uses)? Does this cause any problems if the icons are not all the same?
5.) Can you change the promotion names and icons? I'm assuming this would be done similar to the example in Kaels with the toggle icons for units and would need both an xml file and a lau script?
6.) Can you change the names of the items on the top toolbar - Happiness, gold, science, faith, culture - and can you remove any if you like? They would still all work the same, but would just have a name change.
Thanks in advance.