中国星际RPG联盟

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4211|回复: 1
打印 上一主题 下一主题

地图编辑基础

[复制链接]
跳转到指定楼层
楼主
发表于 2013-8-20 21:27:12 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
星际争霸实在是经典中的经典,可惜关数太少了,本人及好友都通关了数遍,仍无法尽兴.还好暴雪公司为我们准备了星际争霸战役编辑器这个好东西,让我们可以自己编出自己的星际地图,说句不夸张的话,我们POPMAN小组制作的星际外传的水准绝不比星际争霸的任务关差很多.好了,下面让我们先对星际争霸战役编辑器做一个基本的了解吧.

  星际争霸文件夹中有一个StarEdit.exe的文件,它就是我们要说的星际争霸战役编辑器.它能打开两种地图格式:.scm(星际争霸地图)&.scx(母巢之战地图).第一次启动会出现一个暴雪公司的协议,选择同意即可.进入后首先会自动打开一张无标题的地图,如果你要制作一张新地图,可通过File>New来选择新地图的大小及地形;如果要打开一张已存在地图,就选择File>Open再选择相应地图即可.

  接下来让我们了解Edit中的内容.Undo的作用是返回上一步(最多返回32步),Redo和它正好相反,如果你退过了,就重复一次吧.Clear为清除,Select All为选择全部同属性的东西(如地形,单位等).Show Grid用于显示网格.Properties用于修改单位的一些数值(如初始的生命值,护盾,能量等).

  Layer在地图的整体编辑时很重要.Terrain是地形编辑,选择后只可放置地形(雪地.草地.平原等),同样地形在相同的地点多按几遍会出现不同的样子.Doodad是小物件编辑,选择后出现一个小物件窗口,用于放置小山.小树等(室内关可放置门和暗堡).Unit单位编辑,选择后可对单位进行编辑工作(删除.添加.设置属性等).Location用于划分区域,是地图编辑最重要的环节,要编辑一幅象样的地图就一定要用到它.它可以在地图上划出一块特定的区域(实战中是看不到的),通过Triggers(触发器)让电脑在这块区域中进行一系列的活动.Fog of War用于清楚/设置战场迷雾,使地图的一块在一开始就为已探索状态.

  Player可以改变当前玩家(Player1--Player8),通过Go to Start Location迅速切换到当前玩家的开始地点.Settings是对玩家进行设置.Properties用于设置玩家的种族(人.神.虫或随机)及属性(人控.电脑.中立.待援),Units用于设置部队的发展,可限制玩家部队的制造,如不允许Player7制造Ghost,先选择Terran Units>Ground Units>Terran Ghost,然后选择Player7,将Use defaults for Player7前的勾去掉,再将Enabled for Player7前的勾去掉即可.如不允许所有玩家制造Ghost,只需选择Terran Units>Ground Units>Terran Ghost后将Enabled by default前的勾去掉.Upgrades用于部队升级设置,可设置玩家的初始的攻防等级和可升的最大等级数.Special Abilities用于特殊能力的设置,可去除该兵种的特殊能力.允许其进行研究或一开始就拥有.

  最后让我们来看一看Scenario中的内容.Forces用于将玩家分为(最多)4个团体,同一团体中的玩家相互同盟且共享视野.Sounds用于将Wav格式的声音文件载入地图或从地图中提取Wav格式的声音文件.Triggers就是我们前面提到的触发器,它可以赋予电脑聪明的头脑以及强大的实力,电脑的水准完全由触发器中的指令决定.触发器中指令繁多,在此无法介绍,今后将为大家具体讲述.Mission Briefings是任务简报,用于介绍本关的任务,好的地图在这方面也是很注意的.Unit and Hero Settings可对部队和英雄的生命值.护盾.攻防.建造时间及资源进行修改,你完全可以将一只Zerging改的和一只Ultralisk一样强却只要1点矿1秒钟.Upgrades Settings用于设置部队升级所需的时间及资源.Special Abilities Settings用于设置研究特殊能力所需的时间及资源.Properties是对地图进行简要的介绍.

  还有一些不太重要的,如Window用于新窗口的打开和旧窗口的关闭.Help是一些帮助.在此就不一一赘述.
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享 分享淘帖 顶 踩
回复

使用道具 举报

沙发
 楼主| 发表于 2013-8-21 01:38:37 | 只看该作者

触发器简介

触发器简介

要想编辑一幅单人地图就一定要用到触发器(Triggers),否则你会发现所有的电脑玩家都和死了一样,什么也不会做,只是傻傻的站在屏幕上.此外要使电脑进行一些"有智商"的行动也同样离不开触发器的使用.下面我就来为大家简单的介绍一下这个星际争霸战役编辑器的核心工具--触发器.

  打开触发器可以看到上下两个窗口.上面的窗口列出了游戏所有用到的玩家,点击该玩家可以在下面的窗口看到关于该玩家的触发设置.上面窗口的右侧是关闭和帮助按钮,下面窗口的右侧分别是新建.修改.拷贝.删除按钮以及读入触发及保存触发.触发器由三部分构成--执行触发的玩家.发生触发的条件.发生何种触发.如果新建一个触发器,首先选择执行该触发的玩家(Players),分为玩家1-8.全部玩家以及队伍1-4.然后是引发触发的条件(Conditions),最后是触发后的行动(Actions).条件和行动的搭配可以实现各种各样你想到的效果.本文就是要将条件和行动向大家做一些简单的介绍.

  条件(Conditions)
  ACCUMULATE Player accumulates quantity resources. 该玩家积累多少资源时
  ALWAYS Always. 总是
  BRING Player brings quantity units to location. 该玩家带多少单位到特定区域时
  COMMAND Player commands quantity units. 该玩家控制多少单位时
  COMMAND THE LEAST Current player commands the least units. 当前玩家最少控制多少单位时
  COMMAND THE LEAST AT Current player commands the least units at location. 当前玩家在特定区域最少控制多少单位时
  COMMAND THE MOST Current player commands the most units. 当前玩家最多控制多少单位时
  COMMAND THE MOST AT Current player commands the most units at location. 当前玩家在特定区域最多控制多少单位时
  COUNTDOWN TIMER Countdown timer is duration game seconds. 游戏时间倒数计时多少秒时
  DEATHS Player has suffered quantity deaths of unit. 该玩家损失多少单位时
  ELAPSED TIME Elapsed scenario time is duration game seconds. 游戏时间经过多少秒时(游戏时间)
  HIGHEST SCORE Current player has highest score points. 当前玩家得分最高时
  KILL Player kills quantity units. 该玩家杀死一定数量的单位时
  LEAST KILLS Current player has least kills of unit. 当前玩家杀死单位最少时
  LEAST RESOURCES Current player has least resources. 当前玩家积累资源最少时
  LOWEST SCORE Current player has lowest score points. 当前玩家得分最低时
  MOST KILLS Current player has most kills of unit. 当前玩家杀死单位最多时
  MOST RESOURCES Current player has most resources. 当前玩家积累资源最多时
  NEVER Never. 从不
  OPPONENTS Player has quantity opponents remaining in the game. 该玩家在游戏拥有多少对手时
  SCORE Player score type score is quantity. 该玩家得分是多少时
  SWITCH Switch is set. 开关被设置或清除时

  行动(Actions)
  CENTER VIEW Center view for current player at location. 将画面转至某特定区域
  COMMENT Comment: comment. 对触发器加以说明,使之便于阅读
  CREATE UNITS Create quantity unit at location for player 在特定区域为玩家创造一定数量的单位
  CREATE UNITS WITH
  PROPERTIES Create quantity unit at location for player. Apply properties 在特定区域为玩家创造一定数量的具有一定属性(如隐形,钻地等)的单位
  DEFEAT End scenario in defeat for current player. 当前玩家任务失败
  DISPLAY TEXT MESSAGE Display for current player: text. 为当前玩家显示一些交代文字
  DRAW End the scenario in a draw for all players. 所有玩家平手
  GIVE UNITS TO PLAYER Give quantity units owned by player at location to player. 将特定区域的一个玩家(前者)的一定数量的部队给另一个玩家(后者)
  KILL UNIT Kill all units for player. 杀死玩家的所有单位
  KILL UNITS AT LOCATION Kill quantity units for player at location. 杀死玩家的在特定区域的一定数量的单位
  LEADER BOARD (CONTROL ATLOCATION) Show Leader Board for most control of units at location. Display label: label 显示目前特定区域里的单位控制情况
  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 显示还需在特定区域里控制多少单位可达目标
  LEADER BOARD GOAL(CONTROL) Show Leader Board for player closest to control of number of unit. Display label: label 显示还需控制多少单位可达目标
  LEADER BOARD GOAL (KILLS) Show Leader Board for player closest to number kills of unit. Display label: label 显示还需杀死多少单位可达目标
  LEADER BOARD GOAL (POINTS) Show Leader Board for player closest to number points. Display label: label 显示距离目标得分还差多少
  LEADER BOARD GOAL(RESOURCES) Show Leader Board for player closest to accumulation of number resource. Display label: label 显示还需收集资源可达目标
  LEADER BOARD COMPUTER PLAYERS Set use of computer players in leaderboard calculations. 关闭或打开电脑的情况显示
  MINIMAP PING Show minimap ping for current player at location. 当前玩家的小地图显示警告框
  MODIFY UNIT ENERGY Set energy points for quantity units owned by player at location to percent%. 修改特定区域里一定数量的玩家控制单位的能量
  MODIFY UNIT HANGAR COUNT Add at most quantity to hangar for quantity units at location owned by player. 修改特定区域里一定数量的玩家控制单位的弹药(如航母,金甲虫)
  MODIFY UNIT HIT POINTS Set hit points for quantity units owned by player at location to percent%. 修改特定区域里一定数量的玩家控制单位的生命值
  MODIFY UNIT RESOURCE AMOUNT Set resource amount for quantity resource sources owned by player at location to quantity. 修改特定区域里一定数量的玩家控制单位的能量
  MODIFY UNIT SHIELD POINTS Set shield points for quantity units owned by player at location to percent%. 修改特定区域里一定数量的玩家控制单位的护盾
  MOVE LOCATION Center location labeled location on units owned by player at location. 将一个特定区域移动到另一个特定区域
  MOVE UNITS Move quantity units for player at location to destination. 将玩家一定数量的单位由一个特定区域移动到另一个特定区域
  MUTE UNIT SPEECH Mute all non-trigger unit sounds for current player. 关闭当前玩家所有非触发单位的声音
ORDER Issue order to all units owned by player at location: order to destination. 命令玩家的单位在从一个特定区域里移动.攻击.巡逻到另一个特定区域
  PAUSE GAME Pause the game. 暂停游戏
  PAUSE TIMER Pause the countdown timer. 暂停倒计时
  PLAY WAV Play WAV file 播放一段声音
  PRESERVE TRIGGER Preserve Trigger. 循环执行当前触发
  REMOVE UNIT Remove all units for player. 移除玩家所有单位
  REMOVE UNITS AT LOCATION Remove quantity units for player at location. 移除玩家在特定区域里的一定数量的单位
  RUN AI SCRIPT Execute AI script script. 运行一个人工智能
  RUN AI SCRIPT AT LOCATION Execute AI script script at location. 在特定区域运行一个人工智能
  SET ALLIANCE STATUS Set Player to Ally status. 设置当前玩家与另一个玩家同盟或敌对
  SET COUNTDOWN TIMER Modify Countdown Timer: Set duration seconds. 设置倒计时时间
  SET DEATHS Modify death counts for player: Set quantity for unit. 设置玩家的死亡单位计数
  SET DOODAD STATE Set doodad state for units for player at location. 特定区域里小物件的设置
  SET INVINCIBILITY Set invincibility for units owned by player at location 设置特定区域里的玩家单位无敌
  SET MISSION OBJECTIVES Set Mission Objectives to: text. 设定本关任务
  SET NEXT SCENARIO Load scenario after completion of current game. 设定当前任务结束后读取的地图
  SET RESOURCES Modify resources for player: Set quantity resource. 为玩家设定一定数量的资源
  SET SCORE Modify score for player: Set quantity points. 设定玩家得分
  SET SWITCH Set switch. 开关设置
  TALKING PORTRAIT Show unit talking to current player for duration milliseconds. 为当前玩家显示单位肖像一段时间
  TRANSMISSION Send transmission to current player from unit at location.Play WAV file.Modify transmission duration: Set number milliseconds.Display the following text: Text 设置一段对话。包括小地图上单位的地点显示,伴随的声音及文字
  UNMUTE UNIT SPEECH Unmute all non-trigger unit sounds for current player. 解除当前玩家所有非触发单位的声音的关闭
  UNPAUSE GAME Unpause the game. 解除游戏暂停
  UNPAUSE TIMER Unpause the countdown timer. 解除倒计时暂停
  VICTORY End scenario in victory for current player. 当前玩家任务胜利
  WAIT Wait for duration milliseconds. 等待一段时间(千分之一秒)

  由于是简介所以不是很具体,对地图编辑的高手可能一点用也没有,但对刚刚开始接触地图编辑的玩家还是有些用的
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|网站统计|手机版|小黑屋|中国星际RPG联盟    

GMT+8, 2024-11-29 20:36 , Processed in 1.187485 second(s), 20 queries .

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表