Posted by: sprunk - Wednesday, December 12, 2007 10:09:17 AM
Hey people!
i've made a nice map today, and i made a AI Support for it.
though this is my first map, i tried to play it and the AI doesn't do anything...
can anyone please help me with this?
if you want i can e-mail the map to you, so you can test it and help me out :)
also i would like to have help adding Rain and Thunder into this map.
Best Regards,
Sprunk.
Posted by: Nicotine - Wednesday, December 12, 2007 11:27:31 AM
I'm assuming you followed the tutorial for adding AI found at this link.
[url]http://www.cncgeneralsworld.com/generals/zerohour/worldbuilder/tutorials/adding-ai-to-map.aspx[/url]
I recently made my first map, and had trouble with the AI. I followed the tutorials and the AI worked great, but then stopped working when I added the "rain" text found on this site. I went back in and removed the rain and my AI worked again. Since you mentioned that you want rain effects in your map I'm going to jump to the conclusion that you added the script from this site and had the same problem as me. If so, remove the rain script and see if your AI works.
This is all assumption, so forgive me if this doesn't help.
I'm still getting used to scripting, so I can't really be of much more help than that. The tutorial provided above was a great start for me though, and the people here are a great help with more specific problems when you have them.
Good luck, and don't be afraid to post if you have any questions. I'm not on here as often as some others, but I will be happy to help when I can.
Posted by: Me Myself and Pi - Wednesday, December 12, 2007 11:34:15 AM
Remember to add the skirmish players in the Edit->Player List. Also, [b]make sure, if you have scripts, that their all in the PlyrCivilian folder.[/b] When you put scripts in any of the skirmish player folders (including the Nuetral folder), it thinks you want to create new scripts for the skirmish players. So it will deactivate the skirmish scripts that EA Games made for the map. The PlyrCivilian folder is set aside for scripts that only have to do with the map.
If this doesn't help you, upload you map so I can check it out. Just put the map folder in a ZIP folder & upload it through the "Insert a File" link when posting a post.
Posted by: sprunk - Wednesday, December 12, 2007 11:46:21 AM
[quote=Me Myself And Pi]
Remember to add the skirmish players in the Edit->Player List. Also, [b]make sure, if you have scripts, that their all in the PlyrCivilian folder.[/b] When you put scripts in any of the skirmish player folders (including the Nuetral folder), it thinks you want to create new scripts for the skirmish players. So it will deactivate the skirmish scripts that EA Games made for the map. The PlyrCivilian folder is set aside for scripts that only have to do with the map.
If this doesn't help you, upload you map so I can check it out. Just put the map folder in a ZIP folder & upload it through the "Insert a File" link when posting a post. [/quote]
hehe, sorry for asking, but yes, i wanna upload my map, but how to do it?
i've added it into this post (if you meant that)
anyhoo, here it is ;)
Posted by: Me Myself and Pi - Wednesday, December 12, 2007 12:58:24 PM
I'm kind of confused. First you say, "i wanna upload my map, but how to do it?" & then, "i've added it into this post". If you don't know how to upload a map, then why did you say you did. Also, I don't see the map in your post. Did you forget to upload it if you knew how?
Anyway, I'll give you step by step instructions on how to do it:
1) Open you Documents folder & procede to open the "Command and Conquer Generals Zero Hour Data\Maps" folder.
2) There you'll see a folder with your map name. Right click in the window (not on a folder though) & move your mouse over "New>" & select, "New Compressed (zipped) Folder"
3) Click & drag the folder with your map name over the ZIP folder. A copy of you map will be conpressed in the there.
4) Create a new post here & click on "Insert a File". A window will come up. In it, browse for that ZIP folder & press the Upload button.
That's all it takes!
Posted by: sprunk - Thursday, December 13, 2007 4:50:56 AM
yep i know, first i didn't know how to upload it,
then i saw that insert a file.
http://www.cncgeneralsworld.com/public/files/sprunk/Nieuw - WinRAR ZIP-archief.zip
here's the link.
there you go ;)
please tell me what i did wrong
Posted by: Me Myself and Pi - Thursday, December 13, 2007 10:03:38 AM
That link isn't working for me. I get an error when clicking on it. Could you just upload like that way I said?
Posted by: sprunk - Thursday, December 13, 2007 11:39:57 AM
[quote=Me Myself And Pi]
That link isn't working for me. I get an error when clicking on it. Could you just upload like that way I said? [/quote]i've tried it seceral times, but it doesn't work...
i tried it using Mozilla Fireforx and Internet Explorer..
Posted by: Me Myself and Pi - Thursday, December 13, 2007 12:57:22 PM
Well, did you try doing the suggestions I offered the might be causing the problem?
If so, could you give me instructions on how to access that link click by click?
Posted by: krit - Thursday, December 13, 2007 1:38:29 PM
http://www.cncgeneralsworld.com/public/files/sprunk/Nieuw%20-%20WinRAR%20ZIP-archief.zip
There, fixed the link.
[b]The following problems were found with the map:[/b]
> [b]Inproper Water Polygon:[/b] The water polygon is not needed and causes massive lag, this polygon should be deleted to ensure faster processing in both WorldBuilder and in the game.
> [b]Waypoints All Mislabled:[/b] Non of the AI required waypoints are labled correctly, the name of the waypoints (Center#, Flank# and Backdoor#) should be placed in the Waypoint Path Lables, not the actual waypoint names.
> [b]Incorrect OuterPerimeter Naming:[/b] Player 2's OuterPerimeter currently reads "OuterPerimeter4".
> [b]Buildings Outside Border:[/b] A few of the buildings are placed outside the border areas, these will not show up ingame if left out there.
[b]Other Comments:[/b]
> [b]Vary the textures:[/b] the entire map is one boring mono-textured terrain right now.
Posted by: Me Myself and Pi - Thursday, December 13, 2007 2:34:15 PM
Thank you Krit.
Please do all that Krit suggested but I think the main reason why the AI isn't working is because you put the supplies way to far away. The AI needs much closer supplies.
A good way of making sure that buildings are not on the border is to show either, map boundaries or impassable terrain. (Both optional in the View menu.) You can also press "ctrl+I" to show the impassable terrain. This will show all the impossible areas in red including showing the border in a black line.
Another thing, this map shouldn't be this big. Try decreasing it by a factor of 2. (This can be done at File->Resize...)
Posted by: sprunk - Friday, December 14, 2007 1:26:28 AM
thanks for the help ;)
i'm gonna make one soon, and krit, this was my first real map :P