The incident unit entered the XX area.
Conditional trigger unit is equal to elf (you can change it yourself)
Action killing trigger device
Move XX hero to XX area
Change the color of XX hero to the color of trigger unit.
Pull the trigger.
(Every hero needs to use this trigger, and XX hero is an optional hero in your map.)
2: The same simplest resurrection (no timer).
Event: Any unit dies.
Condition: The death unit is a hero.
The controller of the dead cell is the user.
Action: Wait for x seconds.
Hero-immediately resurrect dead units in XX area.
3: module->; Input manager->; CTRL+I-& gt; Select the model to import-> Change the route (some don't need to change)-> Restart the map editor after saving.
4: What do you mean by taking the initiative to send troops?
Brush monster? Give an example of periodic brushing.
Event: The game passes every x seconds.
Condition: do not write.
Action: create XX in xx area.
The last unit attack created by the command moved to the XX area.
It's too much trouble in the back to write.
Your supplementary question has been answered for you.
Open the trigger and delete the trigger itself, so that there will be no farmers and the main city.
Unit modification
Click Project Editor-Specify Unit-Specify Project to Modify Area Value.
For example, setting the hero level online =20.
Game interface
Click Advanced-Game Interface-Modify.
The following is an excerpt for you.
Now many players are interested in WE, and they all want to create their own Warcraft maps. Although there are many related discussion posts in the forum, most of them are made for players who have a certain understanding of WE, but there are no basic tutorials or discussion posts for players who have just started making WE. So here, I decided to write a map making guide course suitable for beginners based on my own experience in learning WE and making maps. Of course, completing an RPG map or a battle map requires the author's great determination and perseverance. You should have a certain understanding of Warcraft, including battle map, battle map, RPG map, and at least play Warcraft. If you have the above two conditions, hehe, then please continue reading and you will certainly gain something!
Chapter 1: Get to know us.
Section 1 Related terms and concepts
I believe some novices still don't know what we are! Hehe, WE is short for World Editor, which should be called World Editor when translated into Chinese. This thing is a tool for most map makers, you just need to find it in the installation directory of Warcraft. If it is the first time to run, there will be a user agreement or something. It doesn't matter, press OK if there is a dialog box!
About what is t? -In some discussion posts, we often see some statements like "t, t is wrong". In fact, this T is also a shorthand. It is a trigger editor with very powerful functions. Do you know why every player has certain resources and units when playing against the map? That's it. Some RPG maps have plots and dialogues, including choosing heroes at the beginning. It can be said that as long as it is an RPG map, T is the essence and soul of the whole map. Without t, then your map is just a beautiful decoration! (Because this is a novice teaching post, it will be specially mentioned and explained in later courses. Let's not discuss JASS for the time being. I think many people have heard of JASS. This is really a good thing, which is more powerful than T, but only people who need certain programming ability can use it. This is even more irrelevant for beginners, so this tutorial will not discuss it! If you are interested, you can find some related tutorials yourself!
Other related things: project manager, sound manager and input manager will be mentioned in the specific drawing process teaching! Get familiar with us in the second quarter
I don't know how to say it, but most map writers have to go through a process: modifying the map. Hehe, yes, modifying the map is a shortcut to understand and be familiar with WE. Although it is not recommended to modify the map at present, as a means of learning WE, I still suggest that you start with modifying the map, and the easiest thing is to modify the official battle map first! Let's start with the popular battle map of the lost temple. Let's unveil the mystery of WE!
Run WE, open the window option in the menu bar first after entering, and remove the tick mark in the brush table, so that the speed of WE will be improved. Select File-Open Map in the menu bar, and find the map to open in the directory, such as the Lost Temple. After opening, it is the terrain of this map!
Understand the tool palette: There is a tool palette in the map. If it is not displayed, you can open it in the menu bar. It includes: terrain panel, terrain decorative article panel, unit panel, area panel and lens panel. The following will be explained separately!
1. Terrain panel, the most familiar one, the terrain of the whole map you can see now. Including flat land, sloping land, water surface, grassland and cliffs. Are made of it. Try to change it yourself!
2. Terrain decorative panel, hehe, similar to the one above, but with more contents. See the trees, flowers, birds and so on on the map? Just use it to get it. In the same way, try to change yourself!
3. Unit panel: It is also a tool for putting things in advance. Used to place neutral monsters, shops, life springs and gold mines on the map, and also used to complete the starting place of players.
4. regional panel: basically used on t, the only thing that can be done now is to get the entrance. Leave it for the time being!
5. lens panel: used when explaining the plot, and also used t to get it, never mind!
Having said that, WE basically know about several tools to be used in WE. Let's take modifying the map as an example to explain how to use it. (The demo shows the lost temple) 1. Modify the number of gold mines. Do you think there are not enough gold mines in wartime, only 12500 gold, change a little more? First, open the tool panel to the company panel. At this time, select a gold mine on the map and double-click it to open a dialog box. There is clearly a box of "money content" in it. The default value is 12500. This is the gold content of gold mine. Do it yourself if you want to change it.
2. How to make a neutral monster drop something after death? Do you see two monsters with white circles moving beside the gold mine? That means you will lose something after killing this unit. How? As above, select it, double-click it and a dialog box will appear. At this time, you can modify some of its properties, such as health ratio, players and so on. View options for dropped items? That's it. After clicking, open the drop-down list. There are two options, both of which can set the items that fall after death. Try how to set it yourself, so I won't explain it here!
3. Add some units to the original picture: such as shops, pubs or gold mines, and put some monsters! Open the unit panel, you can find neutral buildings such as gold mines, springs, shops and pubs, as well as some units such as chickens and wild dogs. Put it wherever you want. If you want to join the stranger, just open the neutral hostility and look for it slowly. Once released, you can set up your own drag-and-drop items. Of course, you can also change your players. If you change the monster into neutral and invincible, then it won't attack you actively, not at all, but you won't get experience and money if you kill him!
4. How to add a portal? Take two small islands in the upper left corner and the lower right corner of the map as an example. First, put a portal on both sides (unit panel-neutral and invulnerable-building), then open the tool panel as the area panel, click the portal on the upper left to create an area (below the door), and then name it door A. Similarly, get a portal on the lower right, name it door B, and activate the portal below. After the dialog box appears, there is an activation option, tick a box, a drop-down list appears, and select door B. At this time, the portal will be fine. Then, in the same way, get the lower right corner and choose door A.
At this point, the simple modification has been completed. Of course, we are not satisfied with this modification. Next, of course, we should do something practical, such as changing heroes and skills! In the third section, I met the object editor for the first time.
Here comes the object editor, which is equivalent to a database, and almost all the data of Warcraft map are in it. After opening the object editor, there will be a row of various options, first look at the unit!
List of units: There are all the units that can be seen in the normal map! This is not too difficult to understand, but there is a lot of content in it, and it takes time to get it up. I'll find some common ones to introduce.
Let's start with a pervert For example, to change the farmer to be better than the hero, first open Terran, Battle and Unit, and select the farmer, and the relevant data of the unit will appear on the right. Of course, you have to be abnormal, your attack is super high, your armor is super strong, your skills are super abnormal, you have too much blood, you run too fast, and you hit people too fast. All right, take your time and change one by one!
The first is armor, which has a basic defense. This is the original armor. Change it to 100. Then there is the fight-attack-basic damage. This is the attack power. Let's change it to 100. Then there is the fight-attack-attack type, which can be changed into chaos, so it is very violent. The time interval between combat-attack-casting is the time interval between attacks. Try to change it to 1 and call it every second. Haha, the others are easier to understand, so I won't explain them much. I'll understand it if I try it myself! Some strange things can be ignored! Next is the type of combat-defense, changed to sacred, so you can only fight chaotic attacks. Below is the skill-ordinary, which is the skill of the company. You can add it yourself. Double-click the one you want to add ~! I don't need to say more about what health and magic values are behind. In this way, your farmers will become violent, and any hero will run away when he sees it!
Other units have also made the same changes. As for architecture, there will be more things, such as upgraded technology and training units. You will know what it is at a glance, so I won't say much. If it is a shop, it depends on its skills, goods sold and employment units. There are some initial attributes about heroes and so on. These are just for yourself to try!
Items: very simple, just items, or treasures, just those in the game!
Destructible things: trees, boxes, doors, etc.
Terrain decorations: all kinds of statues and pillars skills: another important thing, closely related to units and objects. This is where players modify their unit or item skills. For example, do you want the water element of Exorcist to summon 10 water element at one time? Find this skill first, and then modify the data inside-summon unit count. Change it to 10. In fact, the most common thing in this place is to modify various data, such as level, damage value, magic consumption, casting interval and so on. Try it yourself, because it is estimated that it will take a year to explain everything clearly!
The following effects and techniques will be considered when you make your own drawings, but you can also look at them first. It's not difficult!
Section IV Specific Question Answers
Now let's talk about some common problems! 1. How to modify item skills? For example, I want to change a blood bottle and add blood 10000!
First, find the item (blood bottle) you want to change in the object editor, and find the skill-skill in the data on the right: the item with medical effect (smaller), that is, the skill of how much blood to add, then switch to the skill, find the special item, find the corresponding skill (the item with medical effect (smaller), and change the health value to 1000.
Do you think it is not enough to have only one blood bottle? Change more. Ok, change back to the goods, or win the blood bottle first and then find the right state-change the loading quantity to 100. Haha, there is a 100 blood bottle as soon as you buy it. Cool!
2. If you want a hero to have more skills, you can find a hero in the unit, such as an exorcist, and find a skill-hero. Add here, or add the wolf summoned by the prophet, but there can be no more than 5 skills here. Want to add some general skills? Like rebirth. Add a simple trigger dialog box to common skills.
How to import a model
Open your wings first. . Open your map. .
Then WE also have an input manager on it. .
Open it. .
Import all files in the model folder into the input manager. .
If you want to hurry. .
All the models, icons and so on to be used. .
Import all. .
And then import it. .
The file name is a line of English letters. .
A file except that the suffix name is MDX. .
Double-click everything else to open it. .
Double-click and click the custom path. .
Delete everything from the previous war3XXXXXXX to the first \ symbol. . Please note that the first \ symbol should also be deleted. .
Then make sure. .
When all files are processed in this way. .
Save Warcraft. .
Shut us down. .
Open your wings again. .
Re-enter your map. .
You can use all the models you just imported. .
Use method is to enter the object editor. .
On unit model or skill model. .
Point import. .
Just find the model you imported. .
Supplementary answer: How to encrypt the map and crack the encrypted map 1. Irreversible deletion encryption, namely destructive encryption.
Description: This encryption is easy, simple and common.
Principle: Warcraft map is an mpq compressed file, which contains some data to be used by the game and WE. Some data are only used by WE, but not in the game. WE can delete them, which makes it impossible to read the relevant data when we start.
Methods: 1. Import the replacement empty files of these files with the Import Manager. 2. Delete these files with mpq tool.
Cracking possibility: because the required file has been removed and JASS->; The restoration of Trigger is very difficult, and it is basically impossible to completely restore the original image.
2. Recoverable mobile encryption
Note: This encryption is complicated, but it can be recovered with some keys.
Principle: According to the principle of the above method, we rename some files in the map to special file names or move them to special directories and delete them. This file is used to get the file list of mpq format files, so we can't read these files and start them.
Method: Hash the key into a string according to a certain algorithm, and then rename or move the file to the file name generated by this string. When restoring, as long as you have the key, you can find the moved file and restore it.
Possibility of cracking: These algorithms are usually irreversible algorithms such as md5 or reversible algorithms such as RSA, and we don't even know the file name or path after moving or renaming, which is basically difficult to crack unless you know the key.
3.WE show the recoverable destruction of encryption.
Description: This method is simple, but it is easy to crack once you know it.
Principle: We will look at some models, music, maps and so on. When we started to look at the map. If we import some wrong files, we will read the files in the map first when we read them, and we will make mistakes because of these wrong files.
Method: Not sure which files can be booted. Please refer to some previous posts.
Possibility of cracking: If you know this method, just delete the bad files from the map.
Then talk about some skills that will be used in encryption:
1. Delete (listfile), so that others can't see your file list and know your encryption method.
2. Move war3map.j to the Scripts\ directory, so it will still be read by the game, but ordinary people can't extract this file without knowing it.
3. Some mpq tools may change the number of the file header, which makes mpq tools unable to handle it. Usually, the offset is 0x2 18, which can be recovered by changing this position to 20,000,000 with 16 hexadecimal tool.
Finally, how to study the encrypted map:
1. Learn Jass language
2. Use mpq tool to extract war3map.j (if not, please refer to the second article above to extract script \war3map.j). Note: If the mpq tool cannot read, please repair the file header according to the third item above.
3. Look at war3map.j with Jass, and you can know the processing process of the other map.
I don't have a good way to understand the terrain. When I import someone else's terrain file into my own map, there will be a reading error. It is estimated that some options must be met. Considering that some people encrypt the map to protect the terrain from piracy, I haven't done much research. As long as you know the content of war3map.j, you can learn all the map processing processes of others. Generally, WE can't open it.
You can extract it with MPQMaster.
War3map。 XXX file
Then create a new map with WE.
Import ... each option in project units.
Modified export
Then use MPQMaster to import back to the original map.
It is more troublesome to change the script, so I won't say much here.
The following is a more detailed explanation
-
Step 1: To have a Warcraft map, you'd better not modify 3C and the battle map.
1. Open the map with W3MMASTER (the advantage of opening the map with this tool is that all files in the map can be extracted).
2. Then unzip all these files into a new folder (don't be afraid of trouble, because it is effective);
Step two:
1. Open this map with MPQMaster. Note: In the "Select Internal Table File" dialog box that pops up, just click OK (I always do, of course, you may try to select all and then click OK), and then leave him alone and delete all the miscellaneous files that appear.
2. Then press "Alt+O", then press "Alt+C" (in fact, click "Operation/recompression"), leave it like this first, remember never to turn it off, and then proceed to the next step;
Step 3:
1, open worldedit.exe, and then press F6 (Object Editor), and then you can start editing where you want to modify. For example, if you want to change some units, you can: file-> enter unit settings ...-> an open prompt box appears, and you can select the file "war3map.w3u" just extracted to open it-
2. After modification, it is similar to the above: File-> Output Company Settings ...-> A save prompt box appears, and you can save it with the file name "war3map.w3u" (just overwrite it);
3. Similarly, those "objects", "skills" and "magic effects" also follow.
Step 4:
1, after editing, use "MPQMaster", "Operation-> Add File-> to open the prompt box, select those files that you have edited after decompression, select all and open (overwrite).
2. click "operation-> recompression" and it's all done. Close the program and you can play, hehe.