| 08-26-2004, 06:12 PM | #1 |
This is my problem: I created custom AI for my campaign but it doesnt work! I started the campaign AI in the map initialization trigger the "blue.ai" I was wondering do i need to write the whole path in the box? This was a little dummy question because I'm making a campaign and someone wouldnt have this particulary AI on his machine. So i thought I need to ad this AI to my map with WinMPQ and I did under AI\blue.ai and i put in the box (run campaign AI - AI\blue.ai and again it didnt work! Help me someone!!!! |
| 08-27-2004, 11:54 AM | #2 |
Make sure that your AI does not have a syntax error with a checker like PJass. |
| 08-27-2004, 07:38 PM | #3 |
What? How do I do that? Can u please explain this little clearly? How do I check this and what to do if it has error? How to fix this syntax error? |
| 08-27-2004, 11:49 PM | #4 |
Maybe I misunderstood that. Is that AI created with the AI editor or by custom scripting ? |
| 08-29-2004, 12:33 AM | #5 |
With AI Editor. Please could you explain the whole procedure how to put the AI up and running? |
| 08-29-2004, 05:06 PM | #6 |
The AI editor allows you to add the AI to the map. That should import the AI under a certain name. Then just asure that you specifiy the correct name in the trigger action to start the AI and then best put a display before or after that action to asure that it actually runs. |
| 08-31-2004, 10:29 AM | #7 |
put a display? What's that? BTW Sorry for that creep lvl thread. I didnt know how old it was. Please dont get mad! Sorry again! |
| 08-31-2004, 11:08 AM | #8 |
An action to display some text so you know that trigger actually executed. |
| 08-31-2004, 11:21 AM | #9 |
well, you could use iseedeadpeople to see if they started making buildings and so. |
| 08-31-2004, 03:13 PM | #10 |
That is no good idea as a bug in your AI might make them not build at all or you might have used the wrong action for starting the AI. You cannot differ between these when you only look if they build or not. |
| 09-01-2004, 05:49 AM | #11 | |
Quote:
Oh I didnt know that! I use action AI - Start Campaign AI : undead.ai like that. |
| 09-01-2004, 11:30 AM | #12 |
Have you added that display as I said ? And check if your AI really is imported into the map as undead.ai |
| 09-01-2004, 07:15 PM | #13 |
oops i forgot to import the ai! What should I put in PATH???? How do I out an display action? Is it like: If/Then/Else if yes what should i put under if? |
| 09-07-2004, 10:08 PM | #14 |
You don't need to put anithing on the Path, just import it, use the action - Start Campaign Ai, you will see "Imported", just select your file there. For the text, use Game - Text Message. |
| 09-08-2004, 07:51 PM | #15 | |
Quote:
Thanks but I already got that with importing. And the other stuff, I think that AIAndy didn't think on that. As you may already know, he's a jass programmer and I think there's something with that. TO AIANDY: I have no clue for jass programming but if someone tells me where I can find some good tuts for beginners I think I could figure it out. I made the AI with AI Editor in WE, not with Jass Editor. I can make the computer gathers the gold and lumber but it wont train units and attack. |
