? 怎样让玩家开/关视野,以便他们叠东西首先,确保你在用高级编辑器,比如StarCraft X-tra Editor.关视野,就是关闭和自己的视野共享.反之就是开启.你可以用触发来完成这个工作.这里是几个例子:
Conditions:
-Player # brings at least 1 unit to location 'lights off'
Actions:
-Run AI script 'Turn Off shared vision for player #'
-Preserve Trigger
Conditions:
-Player # brings at least 1 unit to location 'lights on'
Actions:
-Run AI script 'Turn On shared vision for player #'
-Preserve Trigger
? 怎样做出一个无生命值但可攻击的单位?有2种方法.但都需要StarForge.对于神族单位,你可以把\"unit's max shields\"设成负数.这只能用一个特别的编辑器比如StarForge.任何负数都可以.当这个单位被创建时,shield永远不会是0,所以HP永远不会减,这样这个单位就是不死的了.而且SC也不会显示HP和Shield,这看起来和invincible差不多.但是.一旦这个单位被人族EMP了,那么他的Shield就会成整数,无敌效果也会消失. 另外一个方法就是把单位的Max HP设定到一个大于9999的值,然后不断的用触发把单位的HP设到100%.这样SC也不会显示HP和Shield.
? 怎样像Turret D里面一样隐形兵营?
制作像TD里一样的隐形碉堡第一步是获得X-tra Editor 2.6或2.5,两个版本都一样。StarCraft X-tra Editor允许你对碉堡使用Disable Doodad State,这对你使碉堡隐形是必需的。接下来,做以下的事情来达到TD的效果。你需要创建的location:
-Supply follow (只要放得下一个supply,随便他在哪里)
-SCV Wait (这是岛上的一个放SCV的地方,大小要足够放下所有玩家的SCV)
建立下列TRG:
Players: (你想要的玩家)
Conditions:
-Current player commands at least 1 Supply Depot.
-Current player brings at most 0 Supply Depot to Supply follow
Actions:
-Center location Supply follow on Supply Depot for (你想要的玩家)
-Preserve Trigger
Players: (你想要的玩家)
Conditions:
Current player brings at least 1 Supply Depot to Supply follow
Actions:
-Remove 1 Supply Depot at Supply follow
-Create 1 Bunker at Supply follow
-Teleport (move) all SCV for (你想要的玩家) from Supply follow to SCV Wait
-Preserve Trigger
Players: (你想要的玩家)
Conditions:
-Current player brings at least 1 Bunker to Supply follow
-Current player brings at most 0 SCV to Supply follow
-Current player brings at most 0 Flag to Supply follow
Actions
-Create 1 Flag at Supply follow
-Create 3 Marine at Supply Follow
-Execute AI Script Enter closest bunker at Supply follow -Preserve Trigger
Players: (你想要的玩家)
Conditions: -Current player brings at least 1 Bunker to Supply follow
-Current player brings at least 1 Flag to Supply follow
-Current player brings at most 0 Marine to Supply follow
Actions -Disable doodad state for Terran Bunker At Supply follow
-Remove 1 Flag at Supply follow
-Teleport (move) all SCV for (你想要的玩家)from SCV Wait to Supply follow
-Preserve Trigger
现在这些TRG的效果是当玩家建造了一个supply,结果是在碉堡上运行Disable doodad state。当碉堡被隐形后会有很有趣的效果。如果你有许多时间并且喜欢实验, 尝试对别的单位用Disable doodad state,你会为这个效果而惊讶的。
原文自己看 这里讲怎么把这个复杂的TRG简化:
Players: (你想要的玩家)
Conditions:
-Current player commands at least 1 Supply Depot.
Actions:
-Center location Supply follow on Supply Depot for Current player
-Remove 1 Supply Depot at Supply follow -Create 1 Bunker at Supply follow
-Move all SCV for Current player from Supply follow to SCV Wait
-Create 3 Marine at Supply Follow -Execute AI Script Enter closest bunker at Supply follow
-Wait *** ms(***要大于机枪兵进入碉堡的时间,单位毫秒)
-Disable doodad state for Terran Bunker At Supply follow -Teleport (move) all SCV for Current player from SCV Wait to Supply follow
-Preserve Trigger
这样就可以了
? 怎样让单位进/出运输船?使用AI:\"Enter Transport\" 或 \"Exit Transport\".这两个脚本和\"Enter closest bunker\"差不多.只是他们用于运输船.你需要一个高级编辑器,比如StarCraft X-tra Editor? 怎样让单位到处瞎逛?使用AI:Junk Yard Dog
Players:
-[your player]
Conditions:
-Always
Actions:
-Execute AI script 'Set Unit Order To: Junk Yard Dog (Roam around)' at 'location'.
? 怎样用触法移除一个map revealer?SC不让你用\"remove units at location\"移除map revealer,你只能一次性移除所有map revealer.如果你还是想移除特定的map revealer,那么就给所有的map revealer一个location,全删后在Create.别的方法就是使用OB或者DT来替代map revealer。
? 我不能预测电脑在那里埋雷/造东西,所有的电脑都不在我让他弄的地方弄!如果想让让电脑按规矩办事.首先,在基地周围画个location,然后执行AI:
Players:
-(Your computer player)
Conditions:
-Always
Actions:
-Run AI Script: Run (AI Script) at (Your location)
你可以使用一组不同的AI,每一个AI都会让电脑有点不同.确保你选择了一个合适的AI.如果你不知道该选哪个,用Terran/Zerg/Protoss Custom Level,看电脑用什么族了,然后电脑就会像melee模式里的一样.看看StarCraft的帮助来了解每个AI都做些什么.
? 在一些RPG中,当我点兵的时候他们不说话,这时怎么做到的? 用触发\"Mute unit speech\"
Conditions:
-Always
Actions:
-Mute all non-trigger unit sounds for current player.
-Preserve Trigger. 如果不用Preserve Trigger,在你保存/重载后声音就又回来了.