• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

My First World Editor Map

Status
Not open for further replies.
Level 2
Joined
Oct 28, 2008
Messages
7
I'll start by telling you what i'm doing. I am making a very simple hero vs. hero map. You start out with a soul that you pick your hero with. Then you fight a few rounds and in the end either team 1 or team 2 wins.

Now ill ask you all the questions.
1) How do you add a casting animation/attack to a unit thats attacking from a distance?
2) Is there a way to make a trigger to give all players X amount of gold every X ammount of seconds?
3) Can i make a trigger to turn all heroes to X level. (i know how to make the trigger but i want to add a condition[such as he has to wait 1 minute] so that red doesnt pick his hero then do the command real fast so no one else starts at level 10).
4) How do i download a map someone else made off the internet and host it on BattleNet?
5) How do i download a model someone else made of the internet and use it in one of my maps? spells? (with there permission of course, i dont want to sound like a leech or anything)

Thats all for now, PS- I used to have an account on here named Ari or something but i forgot all his info =P so ill go ahead and introduce myself here.

My name is Quinn, im a 16 year old boy and i live in the middle east of the United States (that should be sufficient for you all to get to know me =D)
 
Level 11
Joined
Feb 22, 2006
Messages
752
1) Not really sure what you are asking. Abilities have a field called Animation Names (it's the first one) that determine what animation the unit plays when casting the spell. You can also use triggers to force a unit to play an animation.

2) Theres a trigger event called "Periodic Event". Use that. Then use the action "Player - Add Property" (you'll also have to use the Player Group - Do Actions for...to loop through all the players...unless you want to just manually add in all 12 actions, one for each player)

3) Make two triggers. One is your "make hero lvl 10" trigger but make sure it is disabled on map init (uncheck the "initially on" box above the trigger code window). Then, make another trigger with Event - Time Elapsed, and then use the action Trigger - Turn Trigger On.

4) DL the map off the site like you would DL any other file, save it to your Warcraft III\Maps\Downloads\ folder. Now you can find it when you go to "Create Custom Game" on Bnet.

5) DL the model/spell off the site. For models, use the import manager in WE to import all the necessary files, and follow the instructions that should come with the model on changing the filepaths (if necessary). For spells, it depends on what the file is. If it's just a trigger, just make a trigger, convert to custom code, and copy the JASS code into that trigger. Follow instructions on any documentation (if there is no documentation...well that's just bad practice for releasing public spells).
 
Level 2
Joined
Oct 28, 2008
Messages
7
Thanks for all the help Azn =D.

The first question what i ment was i have a shade and all he does is stand back and deal damage, but i want it to look like hes casting a spell then a missile/blast/something comes out and hits the opponent.

The fourth question i did exactly as you said but it doesnt come up when i try to create custom game.
 
Level 13
Joined
Sep 14, 2008
Messages
1,408
Mh hosting in battlenet is sometimes a bit complicated.

1. Your router firewall must allow other players to join your game.
For that go to your router config (type 192.168.0.1 for normal routers and 192.168.1.1 for arcor i think into your browser) <- where the internet address goes normaly
Then open the port 6112 (i can't tell you how because every router config is different)
Now start wc3 go to options -> gameplay i think it is and check that the used port IS 6112.

Then you should be able to host
 
Level 2
Joined
Oct 28, 2008
Messages
7
Lol, well i can host thats not my problem. When i DL the game into the correct folder where all my other custom games are it doesnt show up in that folder when i hit Create Game.
 
Level 5
Joined
Oct 10, 2008
Messages
68
Maybe you should start on something easier since this is your first map. Triggers is some more advanced.
1) Go to triggers. Add an event called 'A unit is attacked' then in conditions add a 'Attacking unit is equal to () eg.Arthas)' If you dont want the unit to be specified, skip to actions. Actions, Add one action called 'Animation-Play unit's attack animation' Note: attack animations may vary, there might be attack 1 or attack2, you'll have to check the model yourself.
channeling, spell, casting, etc.... you do the same thing but change the animation name
2) Really, try something easier. Ok, heres how it is. Add an event called' Time-periodic event' Type in the seconds you want the interval of gold giving to be. Then in actions, Set this 'Player-Add property <Type in the amount of Gold> of player <> eg.' Player-Add property 100 of player 1 red.' I know you want every player to get the same amount of gold. all you have to do is copy and paste the action i mentioned above but just change the player!
3) Make a region of where you want to hero to spawn and a region in the middle of nowhere. heres an example of Hero Spawn
Events
Unit - A unit enters Hero 1 <gen>
Conditions
Actions
Unit - Create 1 Hero 1 for (Owner of (Entering unit)) at (Center of Nowhere <gen>) facing (Rally-Point of (Triggering unit) as a point)
Set Hero1 = (Last created unit)
Unit - Move Hero1 instantly to (Center of Spawn Region <gen>), facing Default building facing degrees
Wait 60.00 seconds
Hero - Set Hero1 Hero-level to 10, Hide level-up graphics.
Variables are extremely important and there maybe more than one.
4) LOL, You don't know?! All you need to do is join the game. There will be a number jumping beside ur name in the game when you dont have the map. When it gets to 100, a new map and perhaps a new folder will appear in your maps folder. The new map will appear in the folder WarcraftIII>Maps>Downloads.
5) Lets say you download a model here at hives. First you must unpack the zip then extract to a certain folder you would like. Then go into world editor>import manager (hotkey F12) and import the mdx file you had extracted. There occasionally will be another blp file in the model's folder. If there is, extract that too. Next, delete the war3imported\ suffix by double clicking the imported model(mdx) /texture (blp) and check use custom path. Remember to give credit to the ones that made the models. :D Good luck on your map but i insist you to try a easier map first! Remember, give credits to the ones that made the model!


I spent some time typing all this. At least give me 2-3 reps.
 
Last edited:
Status
Not open for further replies.
Top