dajayalol Posted January 10, 2013 Report Share Posted January 10, 2013 (edited) I am just a noob around here, tring to find a way to contributeHere's my questionIs there any way to make a tech button script such thatIt can convert a kind of unit of yours, say, all your roman hastati into Marian Legionnaries.,and preserves your previous weapon upgrade effectsince roman 's may get "Reforms" in their techAnyone got any idea of how to script this?I have read binaries\data\mods\public\\simulation\data echnologies\but seem it can only modify values of armor,hack,health...etc right nowfor example:the immortals tech{ "genericName": "Immortals", "description": "The Anusiya champion infantry train twice as fast, but lose a little max health.", "cost": {"food": 200, "wood": 0, "stone": 0, "metal": 200}, "requirements": {"tech": "phase_city"}, "requirementsTooltip": "Unlocked in City Phase.", "icon": "fist_spear.png", "researchTime": 30, "tooltip": "Anusiya -50% train time, but also -10% health.", "modifications": [ {"value": "Cost/BuildTime", "multiplier": 0.5}, {"value": "Health/Max", "multiplier": 0.9} ], "affects": ["Champion Infantry"]} Edited January 10, 2013 by dajayalol Quote Link to comment Share on other sites More sharing options...
Mythos_Ruler Posted January 10, 2013 Report Share Posted January 10, 2013 Right. I don't think there is yet the capability to swap a unit to another with a currently implemented tech effect. I agree though that it would be useful to be able to do this in the future -- "Marian Reforms" or "Military Reforms" etc. I could see a "Marian Reforms" tech for the Part 1 Romans that turns all the player's infantry into Marian Legionaries for a high cost, similar to the Norse "Ragnarok" in Age of Mythology. And then, of course, we could add other "reforms" techs to other civs, like the Ptolemies, Macedonians, and Seleucids to upgrade their pikemen to later forms or to upgrade their Thureophoroi to "Roman-style" Thorakites, or Hypaspists to Silver Shields. 1 Quote Link to comment Share on other sites More sharing options...
Thorfinn the Shallow Minded Posted January 11, 2013 Report Share Posted January 11, 2013 Likewise, it would be nice if the Spartan pereoikoi could be upgraded to pikemen through an upgrade. The same could be done with elite Athenian hoplites after researching Iphikraean Reforms. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.