Hello,
I would like to create and release a new unit for Civilization VI, but I need to ask for a volunteer or two to help out on completing the mod - that is, getting it to work.
I have got part of it done. It shows up in the Civilopedia and the unit is buildable (currently using the builder model) within the game (see pictures).
The mod however does not work as intended, and this is why I would like someone to read through what I've got and fix and clean up the (.xml, ArtDefs) code, and if possible build a new unit model. Also, tell me what I did wrong.
Supplied with the zipped mod are all the .xml, .dep, and artdef files I'm using. To preview or playtest it, download the mod, unzip it, put it in your Mods folder, and activate it prior to play game. It's called M*A*S*H.
The Mod...
Proposed Unit: Mobile Army Surgical Hospital (M*A*S*H)
Upgraded from: Medic
Ability: Heal all units within three tiles - This ability is not working ingame...
Requires: Flight and Barracks
Usage: By utilizing the highly manoeuvrable helicopter (not shown in game), injured soldiers are swiftly extracted from the combat zone to nearby field hospitals where surgeons are ready to perform 'meatball' surgery, that is, temporarily patching wounds so that the most serious wounded can then be sent on to proper medical facilities and those with less serious wounds can be returned to the front line.
Model Wanted: Nothing overly complicated is needed. It doesn't need animation. All that is needed is a big green tent with a white circle on it with a red cross in the circle. See Mash 3 - Unit In Play.jpg for idea.
Notes:
To quickly playtest the MASH unit, the mod has itself been modded so that it can be built without barracks and upon the discovery of Mining, and with a low build cost.
UnitAbilities.xml
I guess this is where the problem lies. This file is a copy of the original game file with everything stripped out that didn't contain the word MEDIC or HEAL. The word MEDIC was then changed to MASH in the assumption that would work. I also assumed changing the MinDistance of the <RequirementId>ADJACENT_UNIT_REQUIREMENT from 0 to 3 would increase the distance of the healing ability - but no. Something is missing or incorrect.
If something like this has been created already, please let me know where I can get it.
Thanks,
MtB
I would like to create and release a new unit for Civilization VI, but I need to ask for a volunteer or two to help out on completing the mod - that is, getting it to work.
I have got part of it done. It shows up in the Civilopedia and the unit is buildable (currently using the builder model) within the game (see pictures).
The mod however does not work as intended, and this is why I would like someone to read through what I've got and fix and clean up the (.xml, ArtDefs) code, and if possible build a new unit model. Also, tell me what I did wrong.
Supplied with the zipped mod are all the .xml, .dep, and artdef files I'm using. To preview or playtest it, download the mod, unzip it, put it in your Mods folder, and activate it prior to play game. It's called M*A*S*H.
The Mod...
Proposed Unit: Mobile Army Surgical Hospital (M*A*S*H)
Upgraded from: Medic
Ability: Heal all units within three tiles - This ability is not working ingame...
Requires: Flight and Barracks
Usage: By utilizing the highly manoeuvrable helicopter (not shown in game), injured soldiers are swiftly extracted from the combat zone to nearby field hospitals where surgeons are ready to perform 'meatball' surgery, that is, temporarily patching wounds so that the most serious wounded can then be sent on to proper medical facilities and those with less serious wounds can be returned to the front line.
Model Wanted: Nothing overly complicated is needed. It doesn't need animation. All that is needed is a big green tent with a white circle on it with a red cross in the circle. See Mash 3 - Unit In Play.jpg for idea.
Notes:
To quickly playtest the MASH unit, the mod has itself been modded so that it can be built without barracks and upon the discovery of Mining, and with a low build cost.
UnitAbilities.xml
I guess this is where the problem lies. This file is a copy of the original game file with everything stripped out that didn't contain the word MEDIC or HEAL. The word MEDIC was then changed to MASH in the assumption that would work. I also assumed changing the MinDistance of the <RequirementId>ADJACENT_UNIT_REQUIREMENT from 0 to 3 would increase the distance of the healing ability - but no. Something is missing or incorrect.
If something like this has been created already, please let me know where I can get it.
Thanks,
MtB