Epistolary Richard
04-23-2005, 00:12
Monkwarrior, Phoenicia and I have been working in this thread (http://www.twcenter.net/forums/index.php?showtopic=28255&st=0) trying to work out why some upgraded bodyguards were appearing at the beginning of the game while Phoenicia's modded bodyguards weren't even though they had the correct general_unit and general_unit_upgrade attributes.
We've realised that it is the order that the bodyguard units appear in export_descr_unit that is crucial as to which version appears in the early years of a campaign. The game picks out the first one listed - whether it has the general_unit or general_unit_upgrade.
Phoenicia was creating a new unit specifically for early Spanish bodyguards, but while he removed the vanilla version he put the new entry at the bottom of the edu file - so when a character was adopted or came of age he got the upgraded version of the bodyguard (now listed first in the file) even though it was still in the 260s BC.
In the process of working out what was going wrong, we also picked up how to create different bodyguards for different generals, for which I have written a short how to (https://forums.totalwar.org/vb/showpost.php?p=753759&postcount=50).
We've realised that it is the order that the bodyguard units appear in export_descr_unit that is crucial as to which version appears in the early years of a campaign. The game picks out the first one listed - whether it has the general_unit or general_unit_upgrade.
Phoenicia was creating a new unit specifically for early Spanish bodyguards, but while he removed the vanilla version he put the new entry at the bottom of the edu file - so when a character was adopted or came of age he got the upgraded version of the bodyguard (now listed first in the file) even though it was still in the 260s BC.
In the process of working out what was going wrong, we also picked up how to create different bodyguards for different generals, for which I have written a short how to (https://forums.totalwar.org/vb/showpost.php?p=753759&postcount=50).