wangcx 发表于 2011-8-8 08:23:04

这为什么造不出来


请问一下,为什么LargeZGN造不出来,是哪里没设对吗?应该怎么设?或者其他文件里设?
protoy.xml

<Unit id ='918' name ='ypMonkChinese'>

<DBID>1345</DBID>

<DisplayNameID>60200</DisplayNameID>

<EditorNameID>60201</EditorNameID>

<ObstructionRadiusX>0.4900</ObstructionRadiusX>

<ObstructionRadiusZ>0.4900</ObstructionRadiusZ>

<FormationCategory>Mobile</FormationCategory>

<MaxVelocity>4.5000</MaxVelocity>

<MaxRunVelocity>6.5000</MaxRunVelocity>

<MovementType>land</MovementType>

<TurnRate>18.0000</TurnRate>

<AnimFile>units\asians\chinese\monk\monk.xml</AnimFile>

<ImpactType>Flesh</ImpactType>

<Icon>units\asians\chinese\shaolin_disciple\shaolin_master_icon_64</Icon>

<MinimapIcon>ui\minimap\hero</MinimapIcon>

<PortraitIcon>units\asians\chinese\shaolin_disciple\shaolin_master_icon_portrait</PortraitIcon>

<SelectionPriority>5</SelectionPriority>

<RolloverTextID>60199</RolloverTextID>

<ShortRolloverTextID>69907</ShortRolloverTextID>

<InitialHitpoints>450.0000</InitialHitpoints>

<MaxHitpoints>450.0000</MaxHitpoints>

<LOS>18.0000</LOS>

<ProjectileProtoUnit>ypShuriken</ProjectileProtoUnit>

<AutoAttackRange>16.0000</AutoAttackRange>

<UnitAIType>RangedCombative</UnitAIType>

<TrainPoints>30.0000</TrainPoints>

<BuildLimit>1</BuildLimit>

<Bounty>90.0000</Bounty>

<Cost resourcetype ='Gold'>300.0000</Cost>

<AllowedAge>0</AllowedAge>

<Armor type ='Ranged' value ='0.1000'></Armor>

<UnitType>LogicalTypeHealed</UnitType>

<UnitType>LogicalTypeNeededForVictory</UnitType>

<UnitType>LogicalTypeHandUnitsAutoAttack</UnitType>

<UnitType>LogicalTypeLandMilitary</UnitType>

<UnitType>LogicalTypeScout</UnitType>

<UnitType>LogicalTypeValidSPCUnitsDeadCondition</UnitType>

<UnitType>LogicalTypeGarrisonInShips</UnitType>

<UnitType>LogicalTypeRangedUnitsAutoAttack</UnitType>

<UnitType>LogicalTypeVillagersAttack</UnitType>

<UnitType>LogicalTypeHandUnitsAttack</UnitType>

<UnitType>LogicalTypeRangedUnitsAttack</UnitType>

<UnitType>LogicalTypeMinimapFilterMilitary</UnitType>

<UnitType>AbstractInfantry</UnitType>

<UnitType>Hero</UnitType>

<UnitType>Unit</UnitType>

<UnitType>Military</UnitType>

<UnitType>UnitClass</UnitType>

<UnitType>AbstractCavalryInfantry</UnitType>

<UnitType>HasBountyValue</UnitType>

<UnitType>ConvertsHerds</UnitType>

<UnitType>AbstractCanSeeStealth</UnitType>

<UnitType>AbstractHandInfantry</UnitType>

<UnitType>AbstractChineseMonk</UnitType>

<UnitType>AbstractMonk</UnitType>

<Train row ='0' page ='6' column ='1'>TradingPost</Train>

<Train row ='0' page ='6' column ='0'>TownCenter</Train>

<Train row ='0' page ='6' column ='3'>NatBlowgunAmbusher</Train>

<Train row ='0' page ='6' column ='2'>WarDog</Train>

<Train row ='0' page ='6' column ='4'>NatClubmanLoyal</Train>

<Train row ='0' page ='6' column ='2'>PetJaguar</Train>

<Train row ='0' page ='6' column ='0'>YPPetPanda</Train>

<Train row ='0' page ='6' column ='2'>ypMonkDisciple</Train>

<Train row ='0' page ='6' column ='3'>largeZGN</Train>

<Tech row ='0' page ='11' column ='5'>ypMonkMakeDisciple</Tech>

<Flag>CollidesWithProjectiles</Flag>

<Flag>ApplyHandicapTraining</Flag>

<Flag>CorpseDecays</Flag>

<Flag>ShowGarrisonButton</Flag>

<Flag>DontRotateObstruction</Flag>

<Flag>ObscuredByUnits</Flag>

<Flag>HeroName2</Flag>

<Flag>RotateInPlace</Flag>

<Flag>ForceBuildingData</Flag>

<Flag>KnockoutDeath</Flag>

<Flag>NotDeleteable</Flag>

<Flag>CanAutoHeal</Flag>

<Flag>Tracked</Flag>

<Command page ='10' column ='0'>Garrison</Command>

<Command page ='10' column ='2'>Stop</Command>

<Command page ='11' column ='0'>Abilities</Command>

<Tactics>ypchinesemonk.tactics</Tactics>

<ProtoAction>

<Name>Build</Name>

<Rate type ='TradingPost'>3.000000</Rate>

<Rate type ='TownCenter'>1.000000</Rate>

</ProtoAction>

<ProtoAction>

<Name>BuildingAttack</Name>

<Damage>15.000000</Damage>

<DamageType>Siege</DamageType>

<ROF>3.000000</ROF>

<DamageBonus type ='Building'>1.000000</DamageBonus>

</ProtoAction>

<ProtoAction>

<Name>CoverBuildingAttack</Name>

<Damage>8.000000</Damage>

<DamageType>Siege</DamageType>

<ROF>3.000000</ROF>

<DamageBonus type ='Building'>1.000000</DamageBonus>

</ProtoAction>

<ProtoAction>

<Name>CoverHandAttack</Name>

<Damage>4.000000</Damage>

<DamageType>Hand</DamageType>

<ROF>1.500000</ROF>

<DamageBonus type ='Guardian'>3.000000</DamageBonus>

<DamageBonus type ='AbstractVillager'>0.250000</DamageBonus>

<DamageBonus type ='Hero'>0.750000</DamageBonus>

</ProtoAction>

<ProtoAction>

<Name>HandAttack</Name>

<Damage>7.000000</Damage>

<DamageType>Hand</DamageType>

<ROF>1.500000</ROF>

<DamageBonus type ='Guardian'>3.000000</DamageBonus>

<HitPercent>20.000000</HitPercent>

<DamageMultiplier>2.000000</DamageMultiplier>

<HitPercentType>CriticalAttack</HitPercentType>

<DamageBonus type ='AbstractVillager'>0.250000</DamageBonus>

<DamageBonus type ='Hero'>0.750000</DamageBonus>

</ProtoAction>

<ProtoAction>

<Name>Heal</Name>

<Type>Heal</Type>

<Rate type ='LogicalTypeHealed'>6.000000</Rate>

</ProtoAction>

<ProtoAction>

<Name>RoundhouseAttack</Name>

<Damage>170.000000</Damage>

<DamageType>Hand</DamageType>

<ROF>2.000000</ROF>

<DamageCap>200.000000</DamageCap>

<DamageBonus type ='AbstractVillager'>0.250000</DamageBonus>

<DamageArea>3.000000</DamageArea>

<DamageFlags>GAIAEnemy</DamageFlags>

<DamageBonus type ='MercType2'>0.250000</DamageBonus>

</ProtoAction>

<ProtoAction>

<Name>Stun</Name>

<Damage>30.000000</Damage>

<DamageType>Ranged</DamageType>

<MinRange>0.000000</MinRange>

<MaxRange>16.000000</MaxRange>

<ROF>3.000000</ROF>

</ProtoAction>

<ProtoAction>

<Name>Stun2</Name>

<Damage>30.000000</Damage>

<DamageType>Hand</DamageType>

<MinRange>4.000000</MinRange>

<MaxRange>6.000000</MaxRange>

<ROF>3.000000</ROF>

</ProtoAction>

</Unit>

黄栌苦竹 发表于 2011-8-8 10:46:04

你在techtreey里启用了吗?

wangcx 发表于 2011-8-8 12:47:50

techtreey启用?您能说详细点吗?

黄栌苦竹 发表于 2011-8-8 16:19:50

你查找techtreey,发现有为各文明设计的科技树,里面规定了哪些文明可以生产哪些东西。

wangcx 发表于 2011-8-8 20:08:18

嗯?不是吧,我在techtreey.xml中我看到了一大堆effect。只找到了科技升级或者卡片选项,也就是比如说把普通诸葛弩升级为精锐诸葛弩的科技选项,并不是您说的决定哪个文明可以生产哪个兵种啊?
网上的教程真的是太简略了,只说了个把
<Train row ='0' page ='0' column ='0'>XXX</Train>
复制到那一堆下面。我记得原来我把工厂用这种方式加进去,结果最后可以成功造出。但是这次加兵就突然不行了!这该怎么办啊?

黄栌苦竹 发表于 2011-8-9 11:58:37

自己琢磨。

皇家·游侠 发表于 2011-8-9 13:48:43

这啥玩意儿看不懂

wangcx 发表于 2011-8-9 14:27:25

{:3_101:}不要这样啊!!!我到处找到处看可就是不能解决啊…………
帮帮我呀…………………………………………

黄栌苦竹 发表于 2011-8-9 16:58:22

你先想想effect里那些带着单位名字的段落是什么原理。

christ 发表于 2011-8-9 18:12:49

wangcx 发表于 2011-8-9 14:27 static/image/common/back.gif
不要这样啊!!!我到处找到处看可就是不能解决啊…………
帮帮我呀…………………………………… ...

可以参考一下这个贴子:
https://tieba.baidu.com/f?ct=335675392&tn=baiduPostBrowser&sc=8206866508&z=772459351&pn=0&rn=30&lm=0&rs16=0&word=%B5%DB%B9%FA3#8206866508

wangcx 发表于 2011-8-9 21:06:16

哦,原来是这样啊,太谢谢了!!!真的太感谢了……………………感动中…………
页: [1]
查看完整版本: 这为什么造不出来