请选择 进入手机版 | 继续访问电脑版
跳转到:
打印 上一主题 下一主题

[求助] 如何修改才能让大明帝國尋寶船发动攻击啊!

[复制链接]
LV3 一等兵

阅读权限
30
积分
333
食物
50
木材
31
钱币
23
茶叶
0
钻石
0
经验
324
跳转到指定楼层
楼主
发表于 2020-1-17 22:46:31 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我从protoy、tactics一直修改到整个船系列都拉出来对了遍,结果还是修改不了,有哪个大佬能好心告知一下吗?感激不尽了
LV20 ????

三好萌新

阅读权限
255
积分
21991
食物
2001
木材
1122
钱币
1658
茶叶
133
钻石
825
经验
8700

幸运勋章

QQ
沙发
发表于 2020-1-17 23:07:31 | 只看该作者
对比福船,有什么搬什么呗,具体内容请看楼下
回复
你们要相信我,我真的是萌新。
LV20 ????

三好萌新

阅读权限
255
积分
21991
食物
2001
木材
1122
钱币
1658
茶叶
133
钻石
825
经验
8700

幸运勋章

QQ
板凳
发表于 2020-1-17 23:46:34 | 只看该作者
protoy.xml

<AnimFile>Mods\WarTreasureShip.xml</AnimFile>

<Tactics>WarTreasureShip.tactics</Tactics>




视频链接:https://www.bilibili.com/video/av83997206/
视频中的protoa.xml、tactica文件夹、abilitiea文件夹、abilitiea.xml为本人独有文件,分别对应你们的protoy.xml、tactics文件夹、abilities文件夹、abilities.xml
回复
你们要相信我,我真的是萌新。
LV3 一等兵

阅读权限
30
积分
333
食物
50
木材
31
钱币
23
茶叶
0
钻石
0
经验
324
地板
 楼主| 发表于 2020-1-18 12:59:42 | 只看该作者
本帖最后由 左翔太郎 于 2020-1-18 13:07 编辑

还是不行
回复
LV3 一等兵

阅读权限
30
积分
333
食物
50
木材
31
钱币
23
茶叶
0
钻石
0
经验
324
5#
 楼主| 发表于 2020-1-18 13:00:00 | 只看该作者
本帖最后由 左翔太郎 于 2020-1-18 13:33 编辑
青天小羽 发表于 2020-1-17 23:46
<Unit id='1463' name='WarTreasureShip'>
                <DBID>2142</DBID>
                <DisplayNameID>00001</DisplayNameID ...

还是不行,依旧发动不了攻击,而且尋寶船的英文是ypspctreasureship才对,那个<AnimFile>和<tactic>是放在哪个目录?是art文件夹和data里的tactic文件夹吗?
回复
LV20 ????

三好萌新

阅读权限
255
积分
21991
食物
2001
木材
1122
钱币
1658
茶叶
133
钻石
825
经验
8700

幸运勋章

QQ
6#
发表于 2020-1-18 19:03:01 | 只看该作者
左翔太郎 发表于 2020-1-18 13:00 还是不行,依旧发动不了攻击,而且尋寶船的英文是ypspctreasureship才对,那个和是放在哪个目录?是art文 ...
所以我不太喜欢没有基础的小白去弄攻击动作之类的,因为整个圣典是按照顺序来写的,前面的不会,后面的肯定不会(除非你是靠自己测试几百遍),第1、2、3、7、8、9章一个都不能少;少了就什么也不懂。



视频链接:https://www.bilibili.com/video/av83997206/
视频中的protoa.xml、tactica文件夹、abilitiea文件夹、abilitiea.xml为本人独有文件,分别对应你们的protoy.xml、tactics文件夹、abilities文件夹、abilities.xml
回复
你们要相信我,我真的是萌新。
LV20 ????

三好萌新

阅读权限
255
积分
21991
食物
2001
木材
1122
钱币
1658
茶叶
133
钻石
825
经验
8700

幸运勋章

QQ
7#
发表于 2020-1-18 19:04:34 | 只看该作者
帝国3安装目录/data文件夹/protoy.xml


  protoy.xml - 记事本 __ X
文件(F)  编辑(E)  格式(O)  查看(V)  帮助(H)
	<Unit id='1463' name='WarTreasureShip'>
		<DBID>2142</DBID>
		<DisplayNameID>00001</DisplayNameID>
		<EditorNameID>00002</EditorNameID>
		<ObstructionRadiusX>6.3000</ObstructionRadiusX>
		<ObstructionRadiusZ>6.3000</ObstructionRadiusZ>
		<FormationCategory>Ranged</FormationCategory>
		<MaxVelocity>7.00000</MaxVelocity>
		<MaxRunVelocity>9.00000</MaxRunVelocity>
		<MovementType>water</MovementType>
		<TurnRate>4.0000</TurnRate>
		<AnimFile>Mods\WarTreasureShip.xml</AnimFile>
		<ImpactType>Wood</ImpactType>
		<PhysicsInfo>house</PhysicsInfo>
		<Icon>units\asians\spc\treasure_ship\china_ship_icon_portrait</Icon>
		<PortraitIcon>units\asians\spc\treasure_ship\china_ship_icon_portrait</PortraitIcon>
		<RolloverTextID>00003</RolloverTextID>
		<ShortRolloverTextID>00004</ShortRolloverTextID>
		<InitialHitpoints>6000.0000</InitialHitpoints>
		<MaxHitpoints>6000.0000</MaxHitpoints>
		<LOS>50.0000</LOS>
		<ProjectileProtoUnit>Cannonball</ProjectileProtoUnit>
		<UnitAIType>RangedCombative</UnitAIType>
		<TrainPoints>60.0000</TrainPoints>
		<BuildLimit>1</BuildLimit>
		<Bounty>320.0000</Bounty>
		<BuildBounty>320.0000</BuildBounty>
		<Cost resourcetype='Wood'>1200.0000</Cost>
		<Cost resourcetype='Gold'>2000.0000</Cost>
		<MaxContained>100</MaxContained>
		<AllowedAge>2</AllowedAge>
		<Armor type='Ranged' value='0.7500'/>
		<UnitType>LogicalTypeNavalMilitary</UnitType>
		<UnitType>LogicalTypeValidSabotage</UnitType>
		<UnitType>LogicalTypeNeededForVictory</UnitType>
		<UnitType>LogicalTypeHandUnitsAutoAttack</UnitType>
		<UnitType>LogicalTypeValidSPCUnitsDeadCondition</UnitType>
		<UnitType>LogicalTypeRangedUnitsAutoAttack</UnitType>
		<UnitType>LogicalTypeVillagersAttack</UnitType>
		<UnitType>LogicalTypeHandUnitsAttack</UnitType>
		<UnitType>LogicalTypeShipsAndBuildings</UnitType>
		<UnitType>LogicalTypeRangedUnitsAttack</UnitType>
		<UnitType>LogicalTypeMinimapFilterMilitary</UnitType>
		<UnitType>Ship</UnitType>
		<UnitType>Transport</UnitType>
		<UnitType>Unit</UnitType>
		<UnitType>Military</UnitType>
		<UnitType>UnitClass</UnitType>
		<UnitType>HasBountyValue</UnitType>
		<UnitType>AbstractShrine</UnitType>
		<UnitType>Ranged</UnitType>
		<UnitType>CountsTowardMilitaryScore</UnitType>
		<UnitType>AbstractWarShip</UnitType>
		<Flag>TieToWaterSurface</Flag>
		<Flag>CollidesWithProjectiles</Flag>
		<Flag>DontRotateObstruction</Flag>
		<Flag>ApplyHandicapTraining</Flag>
		<Flag>NavalUnit</Flag>
		<Flag>DecalStickToWaterSurface</Flag>
		<Flag>NoFadeOnDeath</Flag>
		<Flag>FadeOutDecalOnDeath</Flag>
		<Flag>NoBloodOnDeath</Flag>
		<Flag>HeroName1</Flag>
		<Flag>HasGatherPoint</Flag>
		<Flag>AllowAutoGarrison</Flag>
		<Flag>ObscuresUnits</Flag>
		<Flag>ForceBuildingData</Flag>
		<Flag>NonAutoFormedUnit</Flag>
		<Flag>ShowGarrisonButton</Flag>
		<Flag>Tracked</Flag>
		<Train row ='0' page ='0' column ='1'>ypWokouArmy</Train>
		<Train row ='0' page ='0' column ='2'>ypMandarinArmy</Train>
		<Contain>LogicalTypeGarrisonInShips</Contain>
		<Contain>ypFishingBoatAsian</Contain>
		<Command page='10' column='1'>Eject</Command>
		<Command page='10' column='2'>Stop</Command>
		<Command page='10' column='3'>Delete</Command>
		<Command page='10' column='0'>SetGatherPointMilitary</Command>
		<Command page ='9' column ='2'>TreasureShipCoin</Command>
		<Command page ='9' column ='0'>TreasureShipFood</Command>
		<Command page ='9' column ='1'>TreasureShipWood</Command>
		<Command page='11' column='3'>Abilities</Command>
		<Tactics>WarTreasureShip.tactics</Tactics>
		<ProtoAction>
			<Name>BroadsideAttack</Name>
			<Damage>100.000000</Damage>
			<DamageType>Siege</DamageType>
			<MaxRange>35.000000</MaxRange>
			<ROF>0.050000</ROF>
			<DamageCap>180.000000</DamageCap>
			<DamageBonus type='Ship'>3.000000</DamageBonus>
			<DamageArea>1.000000</DamageArea>
		</ProtoAction>
		<ProtoAction>
			<Name>RangedAttack</Name>
			<Damage>120.000000</Damage>
			<DamageType>Siege</DamageType>
			<MaxRange>35.000000</MaxRange>
			<ROF>1.000000</ROF>
			<DamageCap>300.000000</DamageCap>
			<DamageBonus type='Building'>2.000000</DamageBonus>
			<DamageBonus type='AbstractArtillery'>2.000000</DamageBonus>
			<DamageArea>1.000000</DamageArea>
			<DamageBonus type='Ship'>1.500000</DamageBonus>
		</ProtoAction>
		<ProtoAction>
			<Name>LongRangeAttack</Name>
			<Damage>300.000000</Damage>
			<DamageType>Siege</DamageType>
			<MaxRange>45.000000</MaxRange>
			<ROF>2.000000</ROF>
			<DamageCap>400.000000</DamageCap>
			<DamageBonus type ='Building'>10.000000</DamageBonus>
			<DamageArea>10.000000</DamageArea>
		</ProtoAction>
	</Unit>
回复
你们要相信我,我真的是萌新。
LV20 ????

三好萌新

阅读权限
255
积分
21991
食物
2001
木材
1122
钱币
1658
茶叶
133
钻石
825
经验
8700

幸运勋章

QQ
8#
发表于 2020-1-18 19:17:27 | 只看该作者
<AnimFile>Mods\WarTreasureShip.xml</AnimFile>

帝国时代3安装目录\art文件夹\Mods文件夹\WarTreasureShip.xml






  WarTreasureShip.xml.xml - 记事本 __ X
文件(F)  编辑(E)  格式(O)  查看(V)  帮助(H)
<?xml version='1.0' encoding='utf-8'?>

<animfile>
	<definebone>bone_muzzlel01</definebone>
	<definebone>bone_muzzlel02</definebone>
	<definebone>bone_muzzlel03</definebone>
	<definebone>bone_muzzlel04</definebone>
	<definebone>bone_muzzlel05</definebone>
	<definebone>bone_muzzler01</definebone>
	<definebone>bone_muzzler02</definebone>
	<definebone>bone_muzzler03</definebone>
	<definebone>bone_muzzler04</definebone>
	<definebone>bone_muzzler05</definebone>
	<definebone>bone_debris_1a</definebone>
	<definebone>bone_debris_1b</definebone>
	<definebone>bone_debris_1c</definebone>
	<definebone>bone_debris_2a</definebone>
	<definebone>bone_debris_2b</definebone>
	<definebone>bone_debris_2c</definebone>
	<definebone>bone_debris_3a</definebone>
	<definebone>bone_debris_3b</definebone>
	<definebone>bone_debris_3c</definebone>
	<definebone>bone_debris_4a</definebone>
	<definebone>bone_debris_4b</definebone>
	<definebone>bone_debris_4c</definebone>
	<definebone>bone_debris_5a</definebone>
	<definebone>bone_debris_5b</definebone>
	<definebone>bone_debris_6a</definebone>
	<definebone>bone_debris_6b</definebone>
	<definebone>bone_debris_6c</definebone>
	<definebone>bone_master</definebone>
	<definebone>bone_debris_7a</definebone>
	<definebone>bone_debris_7b</definebone>
	<definebone>bone_debris_7c</definebone>
	<definebone>bone_debris_7d</definebone>
	<definebone>bone_garrisonflag</definebone>
	<attachment>
		attachment_boat_ripple
		<component>
			boat_ripple
			<assetreference type='ParticleSystem'>
				<file>units\naval\galleon\galleon_idle_ripple.particle</file>
			</assetreference>
		</component>
		<anim>
			Idle
			<component>boat_ripple</component>
		</anim>
	</attachment>
	<attachment>
		attachment_wake_splash
		<component>
			wake_splash
			<assetreference type='ParticleSystem'>
				<file>units\naval\galleon\galleon_wakefoam_large.particle</file>
			</assetreference>
		</component>
		<anim>
			Idle
			<component>wake_splash</component>
		</anim>
	</attachment>
	<attachment>
		attachment_wake_front_splash
		<component>
			wake_front_splash
			<assetreference type='ParticleSystem'>
				<file>units\naval\galleon\galleon_wake_front.particle</file>
			</assetreference>
		</component>
		<anim>
			Idle
			<component>wake_front_splash</component>
		</anim>
	</attachment>
	<attachment>
		DeathWaterFoam
		<component>
			foam
			<assetreference type='ParticleSystem'>
				<file>effects\water_effects\shp_dest_foamRing.particle</file>
			</assetreference>
		</component>
		<anim>
			None
			<component>foam</component>
		</anim>
	</attachment>
	<attachment>
		DeathWaterSpray2
		<component>
			spray2
			<assetreference type='ParticleSystem'>
				<file>effects\water_effects\shp_dest_foamSpray.particle</file>
			</assetreference>
		</component>
		<anim>
			None
			<component>spray2</component>
		</anim>
	</attachment>
	<attachment>
		DeathWaterSteam
		<component>
			steam
			<assetreference type='ParticleSystem'>
				<file>effects\water_effects\shp_dest_foamSteam.particle</file>
			</assetreference>
		</component>
		<anim>
			None
			<component>steam</component>
		</anim>
	</attachment>
	<attachment>
		DeathWaterFade
		<component>
			fade
			<assetreference type='ParticleSystem'>
				<file>effects\water_effects\shp_dest_foamFade.particle</file>
			</assetreference>
		</component>
		<anim>
			None
			<component>fade</component>
		</anim>
	</attachment>
	<attachment>
		DeathWaterRipple
		<component>
			ripple
			<assetreference type='ParticleSystem'>
				<file>effects\water_effects\shp_dest_shockwave.particle</file>
			</assetreference>
		</component>
		<anim>
			None
			<component>ripple</component>
		</anim>
	</attachment>
	<component>
		Frigate
		<logic type='LowPoly'>
			<normal>
				<logic type='Destruction'>
					<p1>
						<assetreference type='GrannyModel'>
							<file>units\asians\spc\treasure_ship\spc_treasure_boat_dmg</file>
						</assetreference>
					</p1>
					<p99>
						<assetreference type='GrannyModel'>
							<file>units\asians\spc\treasure_ship\spc_treasure_ship_stage_final</file>
						</assetreference>
					</p99>
				</logic>
			</normal>
			<lowpoly>
				<assetreference type='GrannyModel'>
					<file>units\asians\spc\treasure_ship\spc_treasure_ship_stage_final</file>
				</assetreference>
			</lowpoly>
		</logic>
		<decal>
			<effecttype>default</effecttype>
			<selectedtexture>shadows_selections\selection_oval_64x128</selectedtexture>
			<width>12.00</width>
			<height>20.00</height>
		</decal>
		<watersplash>
			<texture>units\naval\colony_ship\colony_ship_hullmask</texture>
			<width>10.0</width>
			<height>10.0</height>
		</watersplash>
	</component>
	<component>
		Death
		<assetreference type='GrannyModel'>
			<file>units\asians\spc\treasure_ship\spc_treasure_ship_final_death</file>
		</assetreference>
		<decal>
			<effecttype>default</effecttype>
			<selectedtexture>shadows_selections\selection_oval_64x128</selectedtexture>
			<width>12.00</width>
			<height>20.00</height>
		</decal>
		<watersplash>
			<texture>units\naval\colony_ship\colony_ship_hullmask</texture>
			<width>10.0</width>
			<height>10.0</height>
		</watersplash>
	</component>
	<anim>
		Idle
		<assetreference type='GrannyAnim'>
			<file>units\asians\naval\fuchuan\fuchuan_idle</file>
		</assetreference>
		<component>Frigate</component>
		<simskeleton>
			<model>units\asians\naval\fuchuan\fuchuan_damaged</model>
			<damagetemplate>units\asians\naval\fuchuan\fuchuan_dmg.dmg</damagetemplate>
		</simskeleton>
	</anim>
	<anim>
		BombardAttack
		<assetreference type='GrannyAnim'>
			<file>units\asians\naval\fuchuan\fuchuan_idle</file>
			<tag type='CameraShake'>0.10</tag>
			<tag type='Attack'>0.02</tag>
			<tag type='SpecificSoundSet' checkvisible='1' set='MortarShot'>0.02</tag>
			<tag type='Particles' particlename='monitorbombardmuzzlefx'>0.03</tag>
		</assetreference>
		<component>Frigate</component>
		<simskeleton>
			<model>units\asians\naval\fuchuan\fuchuan_damaged</model>
			<damagetemplate>units\asians\naval\fuchuan\fuchuan_dmg.dmg</damagetemplate>
		</simskeleton>
	</anim>
	<anim>
		Death
		<assetreference type='GrannyAnim'>
			<file>units\asians\spc\treasure_ship\spc_treasure_ship_final_death_anim</file>
		</assetreference>
		<component>Death</component>
		<attach a='DeathWaterFoam' frombone='ATTACHPOINT' tobone='ATTACHPOINT' syncanims='0'/>
		<attach a='DeathWaterSpray2' frombone='ATTACHPOINT' tobone='ATTACHPOINT' syncanims='0'/>
		<attach a='DeathWaterRipple' frombone='ATTACHPOINT' tobone='ATTACHPOINT' syncanims='0'/>
		<attach a='DeathWaterFade' frombone='ATTACHPOINT' tobone='ATTACHPOINT' syncanims='0'/>
	</anim>
	<anim>
		Walk
		<assetreference type='GrannyAnim'>
			<file>units\asians\naval\fuchuan\fuchuan_walk</file>
		</assetreference>
		<component>Frigate</component>
		<simskeleton>
			<model>units\asians\naval\fuchuan\fuchuan_damaged</model>
			<damagetemplate>units\asians\naval\fuchuan\fuchuan_dmg.dmg</damagetemplate>
		</simskeleton>
	</anim>


</animfile>
回复
你们要相信我,我真的是萌新。
LV20 ????

三好萌新

阅读权限
255
积分
21991
食物
2001
木材
1122
钱币
1658
茶叶
133
钻石
825
经验
8700

幸运勋章

QQ
9#
发表于 2020-1-18 19:23:30 | 只看该作者
<Tactics>WarTreasureShip.tactics</Tactics>

帝国3安装目录/data文件夹/tactics文件夹/WarTreasureShip.tactics






  WarTreasureShip.tactics - 记事本 __ X
文件(F)  编辑(E)  格式(O)  查看(V)  帮助(H)
<?xml version='1.0' encoding='utf-8'?>

<tactics>
	<action>
		<name stringid='38133'>RangedAttack</name>
		<type>BroadsideAttack</type>
		<attackaction>1</attackaction>
		<rangedlogic>1</rangedlogic>
		<anim>Idle</anim>
		<idleanim>Idle</idleanim>
		<projectile>Cannonball</projectile>
		<numberprojectiles>1</numberprojectiles>
		<impacteffect>effects\impacts\cannon</impacteffect>
		<accuracy>1.0</accuracy>
		<maxheight>0</maxheight>
		<accuracyreductionfactor>0.5</accuracyreductionfactor>
		<aimbonus>5</aimbonus>
		<rof>3</rof>
		<rate type='All'>1.0</rate>
		<areasortmode>Directional</areasortmode>
		<targetground>1</targetground>
		<numberbounces>1</numberbounces>
		<basedamagecap>1</basedamagecap>
	</action>
	<action>
		<name stringid='38123'>BroadsideAttack</name>
		<type>BroadsideAttack</type>
		<attackaction>1</attackaction>
		<rangedlogic>1</rangedlogic>
		<anim>Idle</anim>
		<idleanim>Idle</idleanim>
		<projectile>Cannonball</projectile>
		<numberprojectiles>1</numberprojectiles>
		<impacteffect>effects\impacts\cannon</impacteffect>
		<accuracy>1.0</accuracy>
		<maxheight>0</maxheight>
		<accuracyreductionfactor>0.01</accuracyreductionfactor>
		<aimbonus>5</aimbonus>
		<rof>3</rof>
		<rate type='All'>1.0</rate>
		<areasortmode>Directional</areasortmode>
		<targetground>1</targetground>
		<basedamagecap>1</basedamagecap>
	</action>
	<action>
		<name stringid='38122'>LongRangeAttack</name>
		<type>Attack</type>
		<attackaction>1</attackaction>
		<rangedlogic>1</rangedlogic>
		<anim>BombardAttack</anim>
		<idleanim>Idle</idleanim>
		<projectile>MortarShell</projectile>
		<numberprojectiles>1</numberprojectiles>
		<impacteffect>effects\impacts\mortar</impacteffect>
		<accuracy>1.0</accuracy>
		<aimbonus>5</aimbonus>
		<throw>1</throw>
		<rate type='All'>1.0</rate>
		<perfectaccuracy>1</perfectaccuracy>
		<areasortmode>Radial</areasortmode>
		<targetground>1</targetground>
		<basedamagecap>1</basedamagecap>
	</action>
	<action>
		<name stringid='69148'>Discover</name>
		<type>Discover</type>
		<anim>GatherFish</anim>
		<maxrange>0.2</maxrange>
		<rate type='AbstractNuggetWater'>1.0</rate>
	</action>
	<action>
		<dbaction>BoatManager</dbaction>
		<name stringid='69156'>BoatManager</name>
		<type>BoatManager</type>
		<persistent>1</persistent>
	</action>
	<action>
		<name stringid='68993'>FoodSpawn</name>
		<type>Maintain</type>
		<rate type='CrateofFood'>1</rate>
		<persistent>1</persistent>
	</action>
	<action>
		<name stringid='68993'>WoodSpawn</name>
		<type>Maintain</type>
		<rate type='CrateofWood'>1</rate>
		<persistent>1</persistent>
	</action>
	<action>
		<name stringid='68993'>CoinSpawn</name>
		<type>Maintain</type>
		<rate type='CrateofCoin'>1</rate>
		<persistent>1</persistent>
	</action>
	<tactic>
		Normal
		<speedmodifier>1.0</speedmodifier>
		<action priority='100'>RangedAttack</action>
		<action priority='1'>BroadsideAttack</action>
		<action priority='2'>LongRangeAttack</action>
		<action>Discover</action>
		<action>BoatManager</action>
		<idleanim>Idle</idleanim>
		<moveanim>Walk</moveanim>
		<deathanim>Death</deathanim>
		<attacktype>LogicalTypeRangedUnitsAttack</attacktype>
		<autoattacktype>LogicalTypeRangedUnitsAutoAttack</autoattacktype>
		<attackresponsetype>LogicalTypeRangedUnitsAttack</attackresponsetype>
		<runaway>1</runaway>
		<autoretarget>1</autoretarget>
		<action>FoodSpawn</action>
		<active>1</active>
		<transition>
			<tactic>Wood</tactic>
			<length>2</length>
			<exit>1</exit>
		</transition>
		<transition>
			<tactic>Coin</tactic>
			<length>2</length>
			<exit>1</exit>
		</transition>
	</tactic>
	<tactic>
		Wood
		<speedmodifier>1.0</speedmodifier>
		<action priority='100'>RangedAttack</action>
		<action priority='1'>BroadsideAttack</action>
		<action priority='2'>LongRangeAttack</action>
		<action>Discover</action>
		<action>BoatManager</action>
		<idleanim>Idle</idleanim>
		<moveanim>Walk</moveanim>
		<deathanim>Death</deathanim>
		<attacktype>LogicalTypeRangedUnitsAttack</attacktype>
		<autoattacktype>LogicalTypeRangedUnitsAutoAttack</autoattacktype>
		<attackresponsetype>LogicalTypeRangedUnitsAttack</attackresponsetype>
		<runaway>1</runaway>
		<autoretarget>1</autoretarget>
		<action>WoodSpawn</action>
		<active>1</active>
		<transition>
			<tactic>Normal</tactic>
			<length>2</length>
			<exit>1</exit>
		</transition>
		<transition>
			<tactic>Coin</tactic>
			<length>2</length>
			<exit>1</exit>
		</transition>
	</tactic>
	<tactic>
		Coin
		<speedmodifier>1.0</speedmodifier>
		<action priority='100'>RangedAttack</action>
		<action priority='1'>BroadsideAttack</action>
		<action priority='2'>LongRangeAttack</action>
		<action>Discover</action>
		<action>BoatManager</action>
		<idleanim>Idle</idleanim>
		<moveanim>Walk</moveanim>
		<deathanim>Death</deathanim>
		<attacktype>LogicalTypeRangedUnitsAttack</attacktype>
		<autoattacktype>LogicalTypeRangedUnitsAutoAttack</autoattacktype>
		<attackresponsetype>LogicalTypeRangedUnitsAttack</attackresponsetype>
		<runaway>1</runaway>
		<autoretarget>1</autoretarget>
		<action>CoinSpawn</action>
		<active>1</active>
		<transition>
			<tactic>Normal</tactic>
			<length>2</length>
			<exit>1</exit>
		</transition>
		<transition>
			<tactic>Wood</tactic>
			<length>2</length>
			<exit>1</exit>
		</transition>
	</tactic>
</tactics>
回复
你们要相信我,我真的是萌新。
LV1 新兵

阅读权限
10
积分
10
食物
9
木材
4
钱币
14
茶叶
0
钻石
0
经验
10
10#
发表于 2020-1-19 23:42:17 | 只看该作者

修改成功了,謝謝大佬
回复
LV3 一等兵

阅读权限
30
积分
333
食物
50
木材
31
钱币
23
茶叶
0
钻石
0
经验
324
11#
 楼主| 发表于 2020-1-20 10:58:47 | 只看该作者
青天小羽 发表于 2020-1-18 19:23
&lt;Tactics&gt;WarTreasureShip.tactics&lt;/Tactics&gt;

帝国3安装目录/data文件夹/tactics文件夹/WarTreasureShip.t ...

呃,抱歉了大佬,是我搞错文件放置的路径了,其实没弄错,不过还是谢谢你,另外,{你夹带太多私货了,侧弦发砲的编程你弄成连发了
收起回复
  • 青天小羽 : 我也不知道弄了什么,这个东西已经被我废弃很久了,不知道当时搞了什么测试
    2020-1-20 11:03| 回复
  • 左翔太郎 回复 青天小羽 : 真的好麻烦哪,我可是把整个圣典翻了翻,直到看到你存放的路径后我才恍然大悟
    2020-1-20 11:39| 回复
  • 我也说一句
    回复: UID:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Google广告[已验证邮箱用户无广告]