yxtajwj 发表于 2021-8-12 07:06:34

有没有办法直接训练或者用spawn机制生产出包含单位的船只

船运可以做到运送3只船,每只船里面有50个单位
                        <Effect type ='Data2' amount ='3.00' amount2 ='50.00' subtype ='FreeHomeCityUnitShipped' unittype ='xpIronclad' unittype2 ='xpColonialMilitia' relativity ='Absolute'>
                                <Target type ='Player'></Target></Effect>
那么有没有办法直接训练或者用spawn机制生产出包含单位的船只?

こはね 发表于 2021-8-14 01:37:03

应该不存在这种可能

啊嘟 发表于 2021-8-14 12:42:51

emmm,还是真的存在这种可能的,天明mod中的存在相关的代码,运送载着数个单位的倭寇船,代码如下:
<Tech name ='YPHCWokouJapanese4' type ='Normal'>
                <DBID>3984</DBID>
                <DisplayNameID>97583</DisplayNameID>
                <Cost resourcetype ='Gold'>800.0000</Cost>
                <Cost resourcetype ='Ships'>1.0000</Cost>
                <ResearchPoints>60.0000</ResearchPoints>
                <Status>UNOBTAINABLE</Status>
                <Icon>ui\home_city\hc_2x_wokou_junk</Icon>
                <RolloverTextID>97584</RolloverTextID>
                <Flag>HomeCity</Flag>
                <Flag>CheckWaterHCGatherPoint</Flag>
                <Effects>
                        <Effect type ='Data2' amount ='1.00' amount2 ='7.00' subtype ='FreeHomeCityUnitShipped' unittype ='ypWokouJunk' unittype2 ='WokouArquebusier' relativity ='Absolute'>
                                <Target type ='Player'></Target></Effect></Effects>
        </Tech>

可以请楼主大大还有小羽大大看一下,虽然没时间测试,可以通过数量1数量2单位类型1单位类型2来完成这个功能(纯属瞎猜)@青天小羽 @royale
页: [1]
查看完整版本: 有没有办法直接训练或者用spawn机制生产出包含单位的船只