BellaDovah
Chieftain
- Joined
- Jun 20, 2024
- Messages
- 1
Hello,
Lately it's been bothering me that some units teleport back to their home Civ when 'attacked'. I wanted to make it so that all units would be either killed or captured. This was my attempt:
I think some units worked ok, such as capturing rock bands and naturalists, and killing units such as Great Generals worked ok too. But, capturing great people did not work properly, their name and icon would be transferred, but their model would be changed to something else like a warrior or even a different kind of great person to what they were supposed to be, and they also would no longer have their charges/activatable effects.
Does anyone know why this is or how to fix it?
It may be that its just too complex to actually be able to capture great people which is a shame. I could just make them all destroyable by keeping the top line only, there's basically already a mod that does this but it doesn't take the vampire into account which I think should still be immortal.
Any help would be greatly appreciated. Thanks.
Lately it's been bothering me that some units teleport back to their home Civ when 'attacked'. I wanted to make it so that all units would be either killed or captured. This was my attempt:
SQL:
UPDATE Units SET CanRetreatWhenCaptured = 0 WHERE CanRetreatWhenCaptured != 0 AND UnitType != 'UNIT_VAMPIRE';
INSERT INTO UnitCaptures (CapturedUnitType, BecomesUnitType)
VALUES
('UNIT_ARCHAEOLOGIST', 'UNIT_ARCHAEOLOGIST'),
('UNIT_GREAT_ENGINEER', 'UNIT_GREAT_ENGINEER'),
('UNIT_GREAT_MERCHANT', 'UNIT_GREAT_MERCHANT'),
('UNIT_GREAT_SCIENTIST', 'UNIT_GREAT_SCIENTIST'),
('UNIT_GREAT_WRITER', 'UNIT_GREAT_WRITER'),
('UNIT_GREAT_ARTIST', 'UNIT_GREAT_ARTIST'),
('UNIT_GREAT_MUSICIAN', 'UNIT_GREAT_MUSICIAN'),
('UNIT_NATURALIST', 'UNIT_NATURALIST'),
('UNIT_ROCK_BAND', 'UNIT_ROCK_BAND');
I think some units worked ok, such as capturing rock bands and naturalists, and killing units such as Great Generals worked ok too. But, capturing great people did not work properly, their name and icon would be transferred, but their model would be changed to something else like a warrior or even a different kind of great person to what they were supposed to be, and they also would no longer have their charges/activatable effects.
Does anyone know why this is or how to fix it?
It may be that its just too complex to actually be able to capture great people which is a shame. I could just make them all destroyable by keeping the top line only, there's basically already a mod that does this but it doesn't take the vampire into account which I think should still be immortal.
Any help would be greatly appreciated. Thanks.