| 07-20-2003, 09:47 PM | #1 |
I have exported all the campaign ai scripts to modify them and put them back in the war3patch.mpq to have a somewhat better ai scripts for each of the levels... Most of em work fine... But I have altered this one quite a bit and it doesn't seem to work... If anything is even SLIGHTLY off in the ai script it will not work, but I can't seem to notice what is wrong with it... Nor can I find the file that lists all the unit string lines like a Troll Headhunter must be listed as a TROLL_HEADHUNTER in the script, even a spelling mistake and it wont work... Problem is I can't find the data that contains all this strings lines, like the Kodo Beast and I am not sure if the catpults string has been changed because of Frozen Throne... Can anyone tell me where i can locate the file that contains all the strings? I can send the script file to anyone who requests, but I really need some help. |
| 07-21-2003, 12:46 AM | #2 |
Post questions about AI in the AI/JASS forum. You can find information about it there. To work with AI properly download the script checker from Sourceforge. The names of the units are not really strings but variables that stand for the 4-letter-codes. You can use those directly too. The variables are defined in common.ai . |
| 07-21-2003, 09:18 AM | #3 |
Scourgeforge? whats the URL for that? That tool seems to be my last hope... I have checked over everything twice and checked common.ai and according to my checkings, everything should be working... But nope, it isn't... The ai does absolutly nothing meaning something is wrong with it. |
| 07-21-2003, 12:43 PM | #4 |
| 07-21-2003, 06:14 PM | #5 |
Thanks man, that worked! Turns out I had one missing bracet... Got it working now. But I am confused about something... What does the line "setreplacements" do? I see it always close to the top... and I have one Kodo beast placed at their base and in the ai script I have set campaign defenders and I have one kodo beast there as well... But for some reason the computer builds 2 kodo beasts to defend, why? |
| 07-23-2003, 06:56 AM | #6 |
?? |
| 07-23-2003, 03:41 PM | #7 |
I have never used SetReplacementCount but from what you wrote, I guess that they will replace preplaced units that many times. If you find out more information about it (doing some tests with it), post it please. |
