|
Boco
|
 |
who was once King for a week.
Jan 2001 time: 00:27
|
|
Ah! In that case, you could use CityProduction as a trigger. When a particular improvement (e.g. an obsolete WoW) is built, a GiveTechnology action is triggered. That technology is the trigger for a Leo upgrade to the morph of a specific character. So for each character, have a linked improvement and technology that morphs it. That way the player selects which character to morph by selecting the associated improvement in a city build dialog.
As far as morphing back, perhaps you could use a UnitKilled trigger, or make the morphed version a range 1 air unit with no base or city in range (gee Kull where did I see that ). You could then put some morphing text in @FUEL of games.txt. Since you know that it'll be gone in a turn, the human form could be created in the square(s) of your choice.
Btw, Techumseh's Red October is a good case study for the using Leo upgrades. Although you may already know how to do it, I'll list an example that helped me:
German Inf(S),Ban, 0, 0.,0, 0a,8d, 2h,1f, 5,0, 1, no, 000000000000000
German Cav(S),Ban, 0, 0.,0, 0a,6d, 2h,1f, 6,0, 2, no, 000000000000000
Au-Hun Inf(S),Ban, 0, 0.,0, 0a,6d, 2h,1f, 4,0, 4, no, 000000000000000
Au-Hun Cav(S),Ban, 0, 0.,0, 0a,4d, 2h,1f, 5,0, 3, no, 000000000000000
German Inf, AFl, 0, 2.,0, 6a,4d, 2h,1f, 5,0, 1, Ban, 000000001000000;alp
German Cav, AFl, 0, 3.,0, 6a,3d, 2h,1f, 6,0, 2, Ban, 000000000000000;elephant
Au-Hun Cav, AFl, 0, 3.,0, 5a,3d, 2h,1f, 5,0, 3, Ban, 000000000000000
Au-Hun Inf, AFl, 0, 2.,0, 5a,4d, 2h,1f, 4,0, 4, Ban, 000000001000000
Ban is the transistion tech for these units. Each of the four static units has a unique role, so each one upgrades to the unit with the same role whose preq is Ban. In this case, Ban created an instant mobile army of four unit types.
Don't know how practical any of this is, but it's fun to puzzle out.
|