星际地图编辑触发器简介
要想編輯一幅單人地圖就一定要用到觸發(fā)器(Triggers),否則你會(huì)發(fā)現(xiàn)所有的電腦玩家都和死了一樣,什么也不會(huì)做,只是傻傻的站在屏幕上.此外要使電腦進(jìn)行一些"有智商"的行動(dòng)也同樣離不開觸發(fā)器的使用.下面我就來為大家簡(jiǎn)單的介紹一下這個(gè)星際爭(zhēng)霸戰(zhàn)役編輯器的核心工具--觸發(fā)器.
打開觸發(fā)器可以看到上下兩個(gè)窗口.上面的窗口列出了游戲所有用到的玩家,點(diǎn)擊該玩家可以在下面的窗口看到關(guān)于該玩家的觸發(fā)設(shè)置.上面窗口的右側(cè)是關(guān)閉和幫助按鈕,下面窗口的右側(cè)分別是新建.修改.拷貝.刪除按鈕以及讀入觸發(fā)及保存觸發(fā).觸發(fā)器由三部分構(gòu)成--執(zhí)行觸發(fā)的玩家.發(fā)生觸發(fā)的條件.發(fā)生何種觸發(fā).如果新建一個(gè)觸發(fā)器,首先選擇執(zhí)行該觸發(fā)的玩家(Players),分為玩家1-8.全部玩家以及隊(duì)伍1-4.然后是引發(fā)觸發(fā)的條件(Conditions),最后是觸發(fā)后的行動(dòng)(Actions).條件和行動(dòng)的搭配可以實(shí)現(xiàn)各種各樣你想到的效果.本文就是要將條件和行動(dòng)向大家做一些簡(jiǎn)單的介紹.
條件(Conditions)
ACCUMULATE Player accumulates quantity resources. 該玩家積累多少資源時(shí)
ALWAYS Always. 總是
BRING Player brings quantity units to location. 該玩家?guī)Ф嗌賳挝坏教囟▍^(qū)域時(shí)
COMMAND Player commands quantity units. 該玩家控制多少單位時(shí)
COMMAND THE LEAST Current player commands the least units. 當(dāng)前玩家最少控制多少單位時(shí)
COMMAND THE LEAST AT Current player commands the least units at location. 當(dāng)前玩家在特定區(qū)域最少控制多少單位時(shí)
COMMAND THE MOST Current player commands the most units. 當(dāng)前玩家最多控制多少單位時(shí)
COMMAND THE MOST AT Current player commands the most units at location. 當(dāng)前玩家在特定區(qū)域最多控制多少單位時(shí)
COUNTDOWN TIMER Countdown timer is duration game seconds. 游戲時(shí)間倒數(shù)計(jì)時(shí)多少秒時(shí)
DEATHS Player has suffered quantity deaths of unit. 該玩家損失多少單位時(shí)
ELAPSED TIME Elapsed scenario time is duration game seconds. 游戲時(shí)間經(jīng)過多少秒時(shí)(游戲時(shí)間)
HIGHEST SCORE Current player has highest score points. 當(dāng)前玩家得分最高時(shí)
KILL Player kills quantity units. 該玩家殺死一定數(shù)量的單位時(shí)
LEAST KILLS Current player has least kills of unit. 當(dāng)前玩家殺死單位最少時(shí)
LEAST RESOURCES Current player has least resources. 當(dāng)前玩家積累資源最少時(shí)
LOWEST SCORE Current player has lowest score points. 當(dāng)前玩家得分最低時(shí)
MOST KILLS Current player has most kills of unit. 當(dāng)前玩家殺死單位最多時(shí)
MOST RESOURCES Current player has most resources. 當(dāng)前玩家積累資源最多時(shí)
NEVER Never. 從不
OPPONENTS Player has quantity opponents remaining in the game. 該玩家在游戲擁有多少對(duì)手時(shí)
SCORE Player score type score is quantity. 該玩家得分是多少時(shí)
SWITCH Switch is set. 開關(guān)被設(shè)置或清除時(shí)
行動(dòng)(Actions)
CENTER VIEW Center view for current player at location. 將畫面轉(zhuǎn)至某特定區(qū)域
COMMENT Comment: comment. 對(duì)觸發(fā)器加以說明,使之便于閱讀
CREATE UNITS Create quantity unit at location for player 在特定區(qū)域?yàn)橥婕覄?chuàng)造一定數(shù)量的單位
CREATE UNITS WITH
PROPERTIES Create quantity unit at location for player. Apply properties 在特定區(qū)域?yàn)橥婕覄?chuàng)造一定數(shù)量的具有一定屬性(如隱形,鉆地等)的單位
DEFEAT End scenario in defeat for current player. 當(dāng)前玩家任務(wù)失敗
DISPLAY TEXT MESSAGE Display for current player: text. 為當(dāng)前玩家顯示一些交代文字
DRAW End the scenario in a draw for all players. 所有玩家平手
GIVE UNITS TO PLAYER Give quantity units owned by player at location to player. 將特定區(qū)域的一個(gè)玩家(前者)的一定數(shù)量的部隊(duì)給另一個(gè)玩家(后者)
KILL UNIT Kill all units for player. 殺死玩家的所有單位
KILL UNITS AT LOCATION Kill quantity units for player at location. 殺死玩家的在特定區(qū)域的一定數(shù)量的單位
LEADER BOARD (CONTROL ATLOCATION) Show Leader Board for most control of units at location. Display label: label 顯示目前特定區(qū)域里的單位控制情況
LEADER BOARD (CONTROL) Show Leader Board for most control of unit. Display label: label 顯示目前單位控制情況
LEADER BOARD (GREED) Show Greed Leader Board for player closest to accumulation of number ore and gas. 顯示目前總的資源收集情況
LEADER BOARD (KILLS) Show Leader Board for most kills of unit. Display label: label 顯示目前殺死單位的情況
LEADER BOARD (POINTS) Show Leader Board for most points. Display label: label 顯示目前得分情況
LEADER BOARD (RESOURCES) Show Leader Board for accumulation of most resource. Display label: label 顯示目前資源收集情況
LEADER BOARD GOAL(CONTROL AT LOCATION) Show Leader Board for player closest to control of number of units at location. Display label: label 顯示還需在特定區(qū)域里控制多少單位可達(dá)目標(biāo)
LEADER BOARD GOAL(CONTROL) Show Leader Board for player closest to control of number of unit. Display label: label 顯示還需控制多少單位可達(dá)目標(biāo)
LEADER BOARD GOAL (KILLS) Show Leader Board for player closest to number kills of unit. Display label: label 顯示還需殺死多少單位可達(dá)目標(biāo)
LEADER BOARD GOAL (POINTS) Show Leader Board for player closest to number points. Display label: label 顯示距離目標(biāo)得分還差多少
LEADER BOARD GOAL(RESOURCES) Show Leader Board for player closest to accumulation of number resource. Display label: label 顯示還需收集資源可達(dá)目標(biāo)
LEADER BOARD COMPUTER PLAYERS Set use of computer players in leaderboard calculations. 關(guān)閉或打開電腦的情況顯示
MINIMAP PING Show minimap ping for current player at location. 當(dāng)前玩家的小地圖顯示警告框
MODIFY UNIT ENERGY Set energy points for quantity units owned by player at location to percent%. 修改特定區(qū)域里一定數(shù)量的玩家控制單位的能量
MODIFY UNIT HANGAR COUNT Add at most quantity to hangar for quantity units at location owned by player. 修改特定區(qū)域里一定數(shù)量的玩家控制單位的彈藥(如航母,金甲蟲)
MODIFY UNIT HIT POINTS Set hit points for quantity units owned by player at location to percent%. 修改特定區(qū)域里一定數(shù)量的玩家控制單位的生命值
MODIFY UNIT RESOURCE AMOUNT Set resource amount for quantity resource sources owned by player at location to quantity. 修改特定區(qū)域里一定數(shù)量的玩家控制單位的能量
MODIFY UNIT SHIELD POINTS Set shield points for quantity units owned by player at location to percent%. 修改特定區(qū)域里一定數(shù)量的玩家控制單位的護(hù)盾
MOVE LOCATION Center location labeled location on units owned by player at location. 將一個(gè)特定區(qū)域移動(dòng)到另一個(gè)特定區(qū)域
MOVE UNITS Move quantity units for player at location to destination. 將玩家一定數(shù)量的單位由一個(gè)特定區(qū)域移動(dòng)到另一個(gè)特定區(qū)域
MUTE UNIT SPEECH Mute all non-trigger unit sounds for current player. 關(guān)閉當(dāng)前玩家所有非觸發(fā)單位的聲音
ORDER Issue order to all units owned by player at location: order to destination. 命令玩家的單位在從一個(gè)特定區(qū)域里移動(dòng).攻擊.巡邏到另一個(gè)特定區(qū)域
PAUSE GAME Pause the game. 暫停游戲
PAUSE TIMER Pause the countdown timer. 暫停倒計(jì)時(shí)
PLAY WAV Play WAV file 播放一段聲音
PRESERVE TRIGGER Preserve Trigger. 循環(huán)執(zhí)行當(dāng)前觸發(fā)
REMOVE UNIT Remove all units for player. 移除玩家所有單位
REMOVE UNITS AT LOCATION Remove quantity units for player at location. 移除玩家在特定區(qū)域里的一定數(shù)量的單位
RUN AI SCRIPT Execute AI script script. 運(yùn)行一個(gè)人工智能
RUN AI SCRIPT AT LOCATION Execute AI script script at location. 在特定區(qū)域運(yùn)行一個(gè)人工智能
SET ALLIANCE STATUS Set Player to Ally status. 設(shè)置當(dāng)前玩家與另一個(gè)玩家同盟或敵對(duì)
SET COUNTDOWN TIMER Modify Countdown Timer: Set duration seconds. 設(shè)置倒計(jì)時(shí)時(shí)間
SET DEATHS Modify death counts for player: Set quantity for unit. 設(shè)置玩家的死亡單位計(jì)數(shù)
SET DOODAD STATE Set doodad state for units for player at location. 特定區(qū)域里小物件的設(shè)置
SET INVINCIBILITY Set invincibility for units owned by player at location 設(shè)置特定區(qū)域里的玩家單位無敵
SET MISSION OBJECTIVES Set Mission Objectives to: text. 設(shè)定本關(guān)任務(wù)
SET NEXT SCENARIO Load scenario after completion of current game. 設(shè)定當(dāng)前任務(wù)結(jié)束后讀取的地圖
SET RESOURCES Modify resources for player: Set quantity resource. 為玩家設(shè)定一定數(shù)量的資源
SET SCORE Modify score for player: Set quantity points. 設(shè)定玩家得分
SET SWITCH Set switch. 開關(guān)設(shè)置
TALKING PORTRAIT Show unit talking to current player for duration milliseconds. 為當(dāng)前玩家顯示單位肖像一段時(shí)間
TRANSMISSION Send transmission to current player from unit at location.Play WAV file.Modify transmission duration: Set number milliseconds.Display the following text: Text 設(shè)置一段對(duì)話。包括小地圖上單位的地點(diǎn)顯示,伴隨的聲音及文字
UNMUTE UNIT SPEECH Unmute all non-trigger unit sounds for current player. 解除當(dāng)前玩家所有非觸發(fā)單位的聲音的關(guān)閉
UNPAUSE GAME Unpause the game. 解除游戲暫停
UNPAUSE TIMER Unpause the countdown timer. 解除倒計(jì)時(shí)暫停
VICTORY End scenario in victory for current player. 當(dāng)前玩家任務(wù)勝利
WAIT Wait for duration milliseconds. 等待一段時(shí)間(千分之一秒)
由于是簡(jiǎn)介所以不是很具體,對(duì)地圖編輯的高手可能一點(diǎn)用也沒有,但對(duì)剛剛開始接觸地圖編輯的玩家還是有些用的,今后將對(duì)其中的細(xì)節(jié)做進(jìn)一步的介紹.如果你在地圖編輯時(shí)遇到什么不明之處,歡迎你提出來,我們共同討論討論.
總結(jié)
以上是生活随笔為你收集整理的星际地图编辑触发器简介的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 映宇宙发布财报:2022年总营收63亿元
- 下一篇: xxl-job搭建、部署、SpringB