收起左侧

怎么让领事馆的炮兵也能升级两次?

[复制链接]
PANDAAOE发表于 2021-11-20 15:31:09
中国领事馆的骑炮兵不能升级到帝国骑炮兵。

我在CIVS里面把领事馆骑炮兵改成普通骑炮兵它不自动升级。

求帮助! 谢谢

相关帖子

こはね发表于 2021-11-20 17:34:28
虽然圣典没说,但是很简单的[因为过于简单,所以懒得添加在圣典],随便在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>
こはね发表于 2021-11-20 17:36:23
如果不懂语句有什么作用,可以回复。

另外,领事馆单位是自动升级的,虽然名称没改,但是每次升级时代都会加属性
PANDAAOE发表于 2021-11-21 03:03:56
哈哈 ,谢谢大神帮助!
跳转到