|
楼主 |
发表于 2010-3-17 11:33:20
|
显示全部楼层
回 13楼(orochiz) 的帖子
LS的,看一下我这样行不?
</CUnit>
<CUnit id="Probe1">
<DeathRevealRadius value="3"/>
<Race value="Prot"/>
<Mob value="Multiplayer"/>
<DefaultAcquireLevel value="Defensive"/>
<Response value="Flee"/>
=======================================
<AbilArray Link="NexusTrain"/>
<AbilArray Link="NexusTrainMothership"/>
<AbilArray Link="RallyNexus"/>
<CardLayouts>
<LayoutButtons Face="Cancel" Type="AbilCmd" AbilCmd="BuildInProgress,Cancel" Row="2" Column="4"/>
<LayoutButtons Face="Cancel" Type="AbilCmd" AbilCmd="que5,CancelLast" Row="2" Column="4"/>
<LayoutButtons Face="Probe" Type="AbilCmd" AbilCmd="NexusTrain,Train1" Row="0" Column="0"/>
<LayoutButtons Face="Probe1" Type="AbilCmd" AbilCmd="NexusTrain,Train2" Row="0" Column="3"/>
=========================================================================================
<CAbilTrain id="NexusTrain">
<EditorCategories value="Race:Protoss,AbilityorEffectType:Structures"/>
<Alert value="TrainWorkerComplete"/>
<InfoArray index="Train1" Category="Economy" Time="17">
<Resource index="Minerals" value="50"/>
<Button DefaultButtonFace="Probe"/>
<Unit value="Probe"/>
</InfoArray>
<InfoArray index="Train2" Category="Economy" Time="5">
<Resource index="Minerals" value="10"/>
<Button DefaultButtonFace="Probe"/>
<Unit value="Probe1"/>
</InfoArray>
</CAbilTrain>
改成这样后,进游戏,造是可以造出来,跟原来的probe不一样,但Nexus里的probe头像也是灰白的,没东西。造出来不能控制,且是隐身的,鼠标圈都圈不到,连自己都看不见。但是Nexus右键晶矿的话,probe1造出来会马去上采矿藏。想要看见probe1的模型,怎么弄呐?ModelData.xml里面要不要新建?新建的话是否这样?
<CModel id="Probe1" parent="Unit" Race="Protoss">
<Occlusion value="Show"/>
<ScaleMax value="0.900000,0.900000,0.900000"/>
<ScaleMin value="0.900000,0.900000,0.900000"/>
<SelectionRadius value="0.4165"/>
<AttachProps Id="Ref_Weapon">
<Keys index="Work" value="0"/>
</AttachProps>
<AttachProps>
<Id value="Ref_Target"/>
<SquibType value="Metal"/>
<RadiusTarget value="0.2"/>
<RadiusShield value="0.625"/>
</AttachProps>
<Radius value="0.375000"/>
<TechPurchaseCamera value="Star2CameraMid04"/>
<ShadowRadius value="0.4165"/>
</CModel>
还有什么没改到的?路人路过帮帮忙呀!~~~~
还有,游戏里面,我是1队的,2队的被我打光后,不会提醒玩家退出游戏,盟友会跑到我家巡逻,我看八成是我新建的probe1被当成了2队的了,连电脑都不能打.但,单位不是建筑,也算输了,怎么不会退出游戏? |
|