今天用搜索没找到有关politiciandata.xml添加新政治家有关的内容,现在补一个
以下是一个新政治家的科技,随便找一个复制改名; <Tech name ='PoliticianTycoonTest' type ='Normal'> <DBID>1700</DBID> <DisplayNameID>34162</DisplayNameID> <Cost resourcetype ='Food'>2000.0000</Cost> <Cost resourcetype ='Gold'>1200.0000</Cost> <ResearchPoints>90.0000</ResearchPoints> <Status>UNOBTAINABLE</Status> <Icon>ui\ingame\icon_age_iv</Icon> <RolloverTextID>34179</RolloverTextID> <Flag>Shadow</Flag> <Flag>CountsTowardEconomicScore</Flag> <Flag>AgeUpgrade</Flag> <Effects> <Effect type ='SetAge'>Age3</Effect> <Effect type ='Data' amount ='2.00' subtype ='FreeHomeCityUnit' unittype ='CrateofCoinLarge' relativity ='Absolute'> <Target type ='Player'></Target></Effect> </Effects> </Tech>
在需要的国家激活该政治家,注意旧版每个时代激活的政治家不能超过4个,否则会闪退(决定版应该可以超过4个,但我没测试过) <Effect type ='TechStatus' status ='obtainable'>PoliticianTycoonTest</Effect>
politiciandata.xml(旧版用AOE3ED在data3.bar提取)(决定版用resource manager在data.bar提取) 在politiciandata.xml里面添加像下面的语句即可 <politiciantycoontest portraitfilename="ui\ingame\icon_age_iv"/>
<techname(科技名) portraitfilename="ui\ingame\icon_age_iv(政治家图片)"/>
PS:登录后再搜索会检测全文
|