我最近小改了一下手中的加装了天明mod的帝国3三合一,然后遇到了点难题。芒果园人力车选出芒果园的地基后,点击删除,芒果园地基已经无法选中,但是会一直存留在地图上,也无法在那里进行修建。我对芒果园进行的改动如下,大佬们有空的话能否帮我看一下,怎样修改代码才能让地基被删除后能够消失? <Unit id ='1351' name ='ypGroveBuilding'> <DBID>2001</DBID> <DisplayNameID>68443</DisplayNameID> <ObstructionRadiusX>3.0000</ObstructionRadiusX> <ObstructionRadiusZ>3.0000</ObstructionRadiusZ> <MaxVelocity>0.0000</MaxVelocity> <MovementType>land</MovementType> <AnimFile>buildings\asian_civs\grove\grove.xml</AnimFile> <ImpactType>Wood</ImpactType> <PlacementFile>buildingsmall.xml</PlacementFile> <Icon>buildings\asian_civs\grove\grove_icon_64</Icon> <PortraitIcon>buildings\asian_civs\grove\grove_icon_portrait</PortraitIcon> <RolloverTextID>68442</RolloverTextID> <ShortRolloverTextID>68441</ShortRolloverTextID> <LOS>12.0000</LOS> <BuildPoints>5.0000</BuildPoints> <BuildLimit>2</BuildLimit> <InitialResource resourcetype ='Wood'>5000.0000</InitialResource> <ResourceSubType>Wood</ResourceSubType> <BuildingWorkRate>1.0000</BuildingWorkRate> <MinimapColor red ='0.1900' blue ='0.1800' green ='0.2500'></MinimapColor> <UnitType>LogicalTypeValidSabotage</UnitType> <UnitType>LogicalTypeMinimapFilterEconomic</UnitType> <UnitType>LogicalTypeBuildingsNotWalls</UnitType> <UnitType>LogicalTypeVillagersAttack</UnitType> <UnitType>LogicalTypeShipsAndBuildings</UnitType> <UnitType>LogicalTypeVillagersRespondToAttack</UnitType> <UnitType>CountsTowardEconomicScore</UnitType> <UnitType>AbstractFruit</UnitType> <UnitType>Building</UnitType> <UnitType>Resource</UnitType> <UnitType>ColonyBuilding</UnitType> <UnitType>BuildingClass</UnitType> <UnitType>Wood</UnitType> <UnitType>Tree</UnitType> <UnitType>Nature</UnitType> <Flag>StartsAtFullEfficiency</Flag> <Flag>Immoveable</Flag> <Flag>NoBloodOnDeath</Flag> <Flag>ObscuresUnits</Flag> <Flag>NoIdleActions</Flag> <Flag>NonAutoFormedUnit</Flag> <Flag>Doppled</Flag> <Flag>SelectWithObstruction</Flag> <Flag>PaintTextureWhenPlacing</Flag> <Flag>FlattenGround</Flag> <Flag>UnlimitedSupply</Flag> <Flag>Invulnerable</Flag> <Flag>DoNotValidateResourceInventory</Flag> <Flag>ObscuredByUnits</Flag> <Flag>NeverCountDeathAsLoss</Flag> <Flag>Tracked</Flag> <Command page ='10' column ='0'>Delete</Command> </Unit>
辛苦各位大佬了orz,萌新跪谢!
|