翔鹰帝国网|帝国时代论坛|帝国时代系列|神话时代
 找回密码
 注册翔鹰会员(昵称)
搜索
查看: 1076|回复: 1

[求助] 【帝国时代3】要怎么修改城镇中心对陆军使用火炮?

 关闭 [复制链接]

1

主题

0

精华

2

积分

扈从

耕战
0
鹰币
10
天龙币
0
回帖
0
附庸关系0
发表于 2015-5-11 14:31:35 | 显示全部楼层 |阅读模式
城镇中心对陆军默认是火枪,而对海军是大炮

我想改tactics文件来实现,但把阿格拉堡垒的部分代码复制进去后发现:能实现炮弹打出落地到二次弹射效果,但没有伤害。


求各位帮忙看看代码——
<?xml version="1.0" encoding="utf-8"?>

<tactics>
<action>
<name stringid="38133">RangedAttack</name>
<type>Attack</type>
<attackaction>1</attackaction>
<rangedlogic>1</rangedlogic>
<activeifcontainsunits>1</activeifcontainsunits>
<damagefactorcap>10</damagefactorcap>
<scalebycontainedunits>1</scalebycontainedunits>
<anim>RangedAttackShip</anim>
<maxheight>0</maxheight>
<accuracy>1.0</accuracy>
<accuracyreductionfactor>0.5</accuracyreductionfactor>
<aimbonus>0</aimbonus>
<maxspread>5</maxspread>
<spreadfactor>0.25</spreadfactor>
<trackrating>12</trackrating>
<unintentionaldamagemultiplier>0.7</unintentionaldamagemultiplier>
<projectile>Cannonball</projectile>
<impacteffect>effects\impacts\cannon</impacteffect>
<rate type="All">1.0 </rate>
<active>1</active>
<throw>1</throw>
<outerdamageareadistance>.25</outerdamageareadistance>
<outerdamageareafactor>.20</outerdamageareafactor>
<basedamagecap>1</basedamagecap>
</action>
<action>
<name stringid="38121">AntiShipAttack</name>
<type>Attack</type>
<attackaction>1</attackaction>
<rangedlogic>1</rangedlogic>
<anim>RangedAttackShip</anim>
<maxheight>0</maxheight>
<accuracy>1.0</accuracy>
<aimbonus>0</aimbonus>
<maxspread>5</maxspread>
<spreadfactor>0.25</spreadfactor>
<trackrating>12</trackrating>
<unintentionaldamagemultiplier>0.7</unintentionaldamagemultiplier>
<projectile>Cannonball</projectile>
<impacteffect>effects\impacts\cannon</impacteffect>
<perfectaccuracy>1</perfectaccuracy>
<rate type="Ship">1.0 </rate>
</action>
<action>
<name>MaintainSettlersOttoman</name>
<type>Maintain</type>
<rate type="Settler">1.0</rate>
<active>0</active>
<persistent>1</persistent>
</action>
<tactic>
Normal
<attacktype>LogicalTypeRangedUnitsAttack</attacktype>
<autoattacktype>LogicalTypeRangedUnitsAutoAttack</autoattacktype>
<attackresponsetype>LogicalTypeRangedUnitsAttack</attackresponsetype>
<action priority="100">AntiShipAttack</action>
<action priority="75">RangedAttack</action>
<action>MaintainSettlersOttoman</action>
</tactic>
</tactics>



是哪里出错了呢?求帮助
回复

使用道具 举报

6

主题

0

精华

58

积分

骑士

耕战
0
鹰币
40
天龙币
0
回帖
78
附庸关系0
发表于 2015-5-11 19:14:26 | 显示全部楼层
去找大手吧
回复

使用道具 举报

本版积分规则

排行榜|小黑屋|翔鹰帝国

GMT+8, 2024-11-22 22:07 , Processed in 0.206126 second(s), 43 queries , File On.

Powered by Hawk Studio  QS Security Corp.® Licensed

Copyright © 2001-2023, Hawkaoe.net All Rights Reserved

快速回复 返回顶部 返回列表