虽然圣典没说,但是很简单的[因为过于简单,所以懒得添加在圣典],随便在techtreey创建个科技,然后加个攻击力、生命值,再改个名称就是升级科技了。
techtreey.xml
<Tech name ='ImperialConsulateCannon' type ='Normal'> <DBID>3584</DBID> <DisplayNameID>09001</DisplayNameID> <Cost resourcetype ='Wood'>1500.0000</Cost> <Cost resourcetype ='Gold'>1500.0000</Cost> <ResearchPoints>30.0000</ResearchPoints> <Status>UNOBTAINABLE</Status> <Icon>ui\techs\asians\exalted_infantry</Icon> <RolloverTextID>09002</RolloverTextID> <Flag>UpgradeTech</Flag> <Flag>CountsTowardMilitaryScore</Flag> <Prereqs> <TechStatus status ='Active'>Imperialize</TechStatus> </Prereqs> <Effects> <Effect type ='SetName' proto ='ypConsulateCannon' culture ='none' newName ='09003'></Effect> <Effect type ='Data' amount ='1.50' subtype ='Hitpoints' relativity ='BasePercent'> <Target type ='ProtoUnit'>ypConsulateCannon</Target></Effect> <Effect type ='Data' amount ='1.50' subtype ='Damage' allactions ='1' relativity ='BasePercent'> <Target type ='ProtoUnit'>ypConsulateCannon</Target></Effect> </Effects>
<Tech name ='ImperialConsulateCannon2' type ='Normal'> <DBID>3584</DBID> <DisplayNameID>09004</DisplayNameID> <Cost resourcetype ='Wood'>1500.0000</Cost> <Cost resourcetype ='Gold'>1500.0000</Cost> <ResearchPoints>30.0000</ResearchPoints> <Status>UNOBTAINABLE</Status> <Icon>ui\techs\asians\exalted_infantry</Icon> <RolloverTextID>09002</RolloverTextID> <Flag>UpgradeTech</Flag> <Flag>CountsTowardMilitaryScore</Flag> <Prereqs> <TechStatus status ='Active'>Imperialize</TechStatus> <TechStatus status ='Active'>ImperialConsulateCannon</TechStatus> </Prereqs> <Effects> <Effect type ='SetName' proto ='ypConsulateCannon' culture ='none' newName ='09004'></Effect> <Effect type ='Data' amount ='1.50' subtype ='Hitpoints' relativity ='BasePercent'> <Target type ='ProtoUnit'>ypConsulateCannon</Target></Effect> <Effect type ='Data' amount ='1.50' subtype ='Damage' allactions ='1' relativity ='BasePercent'> <Target type ='ProtoUnit'>ypConsulateCannon</Target></Effect> </Effects>
自己在你想要添加的国家,激活ImperialConsulateCannon,ImperialConsulateCannon2两个科技
stringtabley.xml
<String _locID="09001">帝国加农炮</String> <String _locID="09002">重型加农炮的帝国升级。</String> <String _locID="09003">帝国加农炮</String>
<String _locID="09004">帝王加农炮</String> |