I kid you not, I discovered something today with the techtree that could possibly have far-reaching implications! It appears there's a previously unknown tech effect called 'ConsoleCommand' which can actually call commands from the games console.
I was searching thru the EXE tag list file one day ago, (which I have since lost and couldn't find in the d/l section, if anyone knows where I can d/l it again that would be nice!) and found the tag "ConsoleCommand" adjacent to the tags corresponding to techtree effect types.
Not expecting anything to happen, I added a techtree effect in an instant-researching tech I added that looked like this (replaced "<"s with "["s so it would appear here):
[Effect type="ConsoleCommand">unitTransform("Villager Greek", "Villager Norse")[/Effect>
And it worked, all my greek villies became norse gatherers right before my eyes! Now, if anyone knows any other console commands, they should also be tested! unitTransform() is the only one I know... It appears also that the transform above does NOT like unittype classes in the "from" param. I tried replacing "Villager Greek" with "AbstractVillager" and it did not work. Also, unitTransform() affects all typed-units across the map, not just researcher-owned.
Still could be useful... what about a tech that changes all gatherers into dwarves? Or small gold mines into large ones? Use your imagination!
And again I stress: unitTransform() is simply the only console command I know, if we as a community know morelet's try them out!
I was searching thru the EXE tag list file one day ago, (which I have since lost and couldn't find in the d/l section, if anyone knows where I can d/l it again that would be nice!) and found the tag "ConsoleCommand" adjacent to the tags corresponding to techtree effect types.
Not expecting anything to happen, I added a techtree effect in an instant-researching tech I added that looked like this (replaced "<
And it worked, all my greek villies became norse gatherers right before my eyes! Now, if anyone knows any other console commands, they should also be tested! unitTransform() is the only one I know... It appears also that the transform above does NOT like unittype classes in the "from" param. I tried replacing "Villager Greek" with "AbstractVillager" and it did not work. Also, unitTransform() affects all typed-units across the map, not just researcher-owned.
Still could be useful... what about a tech that changes all gatherers into dwarves? Or small gold mines into large ones? Use your imagination!
And again I stress: unitTransform() is simply the only console command I know, if we as a community know more