Aheadatime
Prince
- Joined
- Dec 21, 2009
- Messages
- 325
Hey guys, quick question. If I wanted to do some simple tweaks to the tech tree (moving building/unit unlocks to different techs etc.), would this be XML work? I downloaded a tech tree mod to reverse engineer it, and there was some SQL that looked like this;
Strikes me as odd though, as the mod completely overhauls the tech tree for pretty much every era, so I'm wondering why the SQL was needed for these specific techs, and what it does exactly.
Spoiler :
Code:
UPDATE Technologies SET GridX = GridX+1;
UPDATE Technologies SET GridX = GridX-1 WHERE Type IN ('TECH_AGRICULTURE', 'TECH_POTTERY', 'TECH_TRAPPING', 'TECH_ANIMAL_HUSBANDRY', 'TECH_ARCHERY', 'TECH_MINING', 'TECH_CALENDAR', 'TECH_REAL_HORSEBACK_RIDING', 'TECH_MASONRY');
UPDATE Technologies SET Help = 'TXT_KEY_TECH_HELP';
Strikes me as odd though, as the mod completely overhauls the tech tree for pretty much every era, so I'm wondering why the SQL was needed for these specific techs, and what it does exactly.