admin管理员组

文章数量:1531792

2024年5月15日发(作者:)

魔兽地图编辑器简单教程(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.

本文标签: 魔兽编辑器教程地图