魔兽地图编辑器简单教程(Warcraft map editor simple tutorial)
The fourth day, God said: "let the sky light in order to distinguish between day and night, the seasons, to determine the date and year. And let the light shine in the sky. "God made the light body and a small tube, during the day, the night of the small tube. Then, God made the stars, and the light body and the stars in the sky shine together. So in the sky, the sun, moon and stars.
Use the fourth day trigger
The trigger is the essence of the event editor where the game in various tasks, different events, victory / defeat conditions, changes in the weather and so on all these triggers.
The trigger is composed of three parts, events, conditions and actions.
Event: or trigger events, as the name suggests, is run when a trigger event occurs.
Condition: whether to reach the specified conditions, if not up to the conditions will not perform an action. Can be left blank, direct action. In general, the conditions are more prone to error, so only use one or two conditions as far as possible.
Action: after the adoption of the conditions to do.
I use a simple example to illustrate, for example a hero into the area after the game, it would be so set.
Event: a unit into the area
Condition: the judgment unit is a hero for Turn
Action: to win the game.
In each new map will be called initialization, one called against the initialization of the trigger, it set the initial each map the default settings, including:
Use melee time of day (for all players) - start time enable default in the game.
Limits Heros to 1 per Hero-type (for all players) - with a limited game player can only produce a hero.
Hero trained Heroes a Scroll of Town Portal (for all players) - a hero to scroll.
Set starting resources (for all players) - set the start resources for each game player beginning with the resources allocation.
Remove creeps and critters from used start locations (for all players) - removal unit, near the start of wild obstacles.
担保合同Create starting units (for all players) - create a game player at the starting point of the main base game needs and workers
Run melee AI scripts - that all computer game player on the implementation of game artificial intelligence.
Enforce victory/defeat conditions - using the default victory condition, all the buildings were destroyed, namely failure.
新桃换旧符的意思是什么If you do not need to delete them, you can, in fact most of the RPG map does not need these conditions.
All instructions are English triggers, but never mind, I specially made a bilingual table, and give a brief description of the. Please refer to appendix: trigger in bilingual form.
In addition, there are a lot of trigger function, for example: "Last Created Unit", last created unit. Reasonable use of these functions is also very important, in use will trigger the large use of these fu
nctions.
The trigger is the myriads of changes, this chapter introduces some common examples, I hope you can understand the use of analogy, trigger.
Note: the class can use the Chinese name, with Chinese names can comment, but can not be used Chinese named trigger!
The Events event in bilingual instruction
Instructions梦见小孩是什么意思
Map Initialization map initialization
Destructible Doodad - Destructible Doodad Dies can destroy the object is destroyed
汽车报废年限Destructible Doodad - Within Region Dies were destroyed in the area
Dialog - Dialog Button Click press button
Game - Time Of Day time in the game
Game - Value Of Real Variable numerical real Real
游戏加载读取
游戏保存保存
游戏的英雄技能按钮按下英雄升级技能按钮
游戏建造按钮点击按下建造按钮
玩家的聊天信息聊天信息
播放电影跳过跳过电影
玩家选择事件选择事件
球员键盘事件键盘事件
球员属性资源
球员联盟改变(任何)同盟改变(任何)
球员联盟的变化(具体)同盟改变(指定)
玩家的胜利胜利
玩家击败失败
时间,时间时间经过
时间周期事件周期性事件
时间定时器到期计时器过期
单位具体单位的事件特定单位事件
单位拥有单位事件玩家拥有的单位事件单位事件一般单位事件通用单元
企业文化核心价值观单位-单位进入区域单位进入区域
单元机组叶片区域单位离开区域
单元单元范围内单位在范围中
单位的生活生命
玛娜法力单元江城子秦观
条件环境指令中英对照
指令说明
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论