| 07-21-2002, 05:57 PM | #1 |
Guest | I ´m doing something wrong. I´ll tel you what I did in the map. Created new map, deleted all melee game stuff in triggers, placed a town hall, 5 peasants, a gold mine. Then I created for me a Tree of Life, 5 wisps, a gold mine. Then I brushed trees all over the place. Then , in map initialization I put starts melee Ai human.ai I then moved to players properties and made the computer as the human blue and I (user) as red night elf. BUT THE AI NEVER DO ANYTHING! what I made wrong? I´ll be really thankfull if anyone could tell me what to do! Katabroc |
| 07-21-2002, 08:34 PM | #2 |
Guest | Yup, I asked that too... but it seems like nobody knows how to do it? Anyway, a friend of mine has the single player campaign in w3m form in the maps directory. They are downloadable somewere. If I could get my hands on those, I could answer your question, so does anyone know where to download the blizzard campaign? I guess we all could learn alot of those maps :D |
| 07-21-2002, 09:21 PM | #3 |
Guest | You can use WinMpq to open war3.mpq and see the maps of the campaigns, but they have theirs specific file to each map. But my question is still there... and what about AI ? |
| 07-21-2002, 09:45 PM | #4 |
Guest | I don't know, but I suggest you'd take a look at a scenario with a base building human player of the official blizzard campaigns to see how it's done. Cos I asked it before, and got no response.. |
| 07-22-2002, 05:38 AM | #5 |
Guest | Your solution is simple. Design your map, do not place any troops etc. for the computer except the start location. Do not touch any of the default triggers, as no triggers are required for ai. Start the custom game & you're away. Works wonders for me. |
| 07-22-2002, 08:47 AM | #6 |
Hammer, your method is woefully inadequate for anything but melee maps, which probably isn't what most people want to do ;) Try using map.ai instead. |
| 07-22-2002, 08:56 AM | #7 |
Guest | Dataangel, my maps are most certainly not melee maps. This method works for both melee & non melee maps. Using map.ai requires for you to reprogramme the ai from scratch. The idea behind blizzard was to eliminate the use of "run ai at location" as was done with starcraft. If no script is defined for an ai player, he simply defaults to a melee script even though your map is "no Melee". Hope this helps, because it works for me. Cheers |
| 07-22-2002, 09:23 AM | #8 |
Maybe someone else would like to correct me, but isn't map.ai a generic pre-written script that doesn't require any programming on the mapper's part? That's what I thought it was. Most people, if making a custom map, need to place troops in addition to the start location. And I've already gotten e-mail from people asking about AI for my FAQ, and I suggested they not touch the melee triggers -- and their map still didn't work :/ |
| 07-22-2002, 09:27 AM | #9 |
Guest | Alright guys, follow these steps to get it working : 1) Create a new map 2) Place Gold Mine in Bottom left & top Right 3) Place some trees near the gold Mines 4) Goto Player properties & enable player 2 for Computer. 5) Tick Fix Location for both players 6) place a start location near each gold mine 7) Save (noticing it will prompt you about the map being non melee as the locations are fixed) 8) Play the map in warcraft Notice, we did not even touch the triggers, yet our map is "Melee:no". Once this is working, you may now add additional triggers, waygates, creeps etc. |
| 07-22-2002, 09:39 AM | #10 |
Guest | map.ai doesn't exist, so choosing that will give you an AI that does nothing. Each campaign, for the most part, has a custom AI script for each AI player. A few, like Human1, is all done through triggers, so not AI is needed. The easiest route for Melee AI is to use Melee Game - Run AI. Then it will pick up any computer players and use the correct AI for that side. As for the original problem as to why it didn't work with Run Melee AI, I'm not sure, but I suspect that perhaps you didn't have Force Player Settings turned on? If this is the case, your AI could have randomly picked Orcs as a race and then had no clue what to do. |
| 07-23-2002, 12:30 AM | #11 |
Guest | I'd like to know how to use AI scripts and how to make them work in non melee maps. The system of Hammer works, but it's not exacty what i'm searching for and it is very limitative for someone who want to create a campaign. |
| 07-23-2002, 01:14 AM | #12 |
Guest | what would be the best proggy to edit the ai buildlist? |
| 07-23-2002, 03:26 AM | #13 |
Quevey: You can open up the files in notepad. |
| 07-23-2002, 03:30 AM | #14 |
Guest | hmm i asked this in another thread but was told the buildlist were in the mpq and it was to large for notepad so i used word 2000 and i couldnt read anything :( |
| 07-23-2002, 09:37 AM | #15 |
Guest | Did you actually extract the files from the MPQ, or try to open the MPQ in Notepad?!? The actual AI files extracted from the MPQ are only a few KB. The Melee ones are around 15KB. |
