
1. 本文主要介绍了星际争霸1地图编辑器的使用方法,重点是Trigger的设置,以及Condition、Layer和Action的详细说明。
2. 第一部分:Trigger的原理。Trigger可以决定电脑的行动,同时Triggers系统让你设定当完成某条件後便执行某行动。Trigger包含三样东西,分别是Player、Conditions(条件)和Action(行动)。
3. 第二部分:Condition-条件说明。Condition是用来设定事件的发生条件,可以设定多个条件。Condition包括always、bring、command、accumulate、countdown timer、deaths、elapsed、kill、never等。
4. 第三部分:Layer说明。Layer是编辑画面中的工具,用来设定地图的地形、单位的配置和location的设定。Layer包括Terrain Layer、Doodad Layer、Unit Layer、location Layer和Fog of war Layer。
5. 第四部分:Action-行动说明。Action就是当符合条件Conditions後所作出的行动,可以设定多个动作。Action包括center view、create Units、create Units with properties、defeat、display text message、draw、give Units to Layer、kill Units、minimap ping、modify Unit energy、modify Unit hangar count、modify Unit hit point、modify Unit resource amount、modify Unit shield points、move location、move Units、order、pause、play wav、preserve Trigger、remove Unit、run ai script、set alliance status、set deaths、set doodad state、set invincibility、set mission objectives、set next scenario、set resources、talking portrait、transmission、unpause、victory、wait等。
6. 第五部分:电脑AI设定。要使电脑单位动起来,需要为它们设定AI。AI的设置主要在电脑玩家的Trigger中,使用run ai script或run ai script at location来设定。
7. 第六部分:任务简报制作。任务简报是用来告诉玩家任务目的和要求的,包括MISSION OBJECTIVES、TEXT MESSAGE、PLAY WAV、SHOW PORTRAIT、DISPLAY SPEAKING PORTRAIT、HIDE PORTRAIT、TRANSMISSION和WAIT等Action。