![]() |
Gotta AI problem here and I could use some help
This is mainly directed to fellow scenario makers.
New scenario from WW3 series is pretty much done for a while now, including 200x160 brand new map based on some satellite work. Long story short: I put quite a work to it. But it seems I f*cked up a little bit. First time for a while I decided to make a scenario where AI attacks from top to bottom instead of left/right. First of all, AI ends turn with all vehicles facing right what allows player to score a lot of side shots, making this battle more pathetic rather than hardcore fun what I intended. And secondly, AI seems to be following VERY strange paths or just driving around without any actual control over their own actions. Can anyone help me to fix it? I would have it released and proceed to the next one, but testing is stuck for like 2 weeks now. |
Re: Gotta AI problem here and I could use some help
Don't think it will help but have you set the rally point to the top edge of the map for the AI side & the bottom for the player side.
|
Re: Gotta AI problem here and I could use some help
SP has a natural order - left hand side plays Right hand side
- Retreaters will eventually head for their map side,, where they can exit. - Off map artillery arrives from the player's map side, never top or bottom |
Re: Gotta AI problem here and I could use some help
Try Johns suggestion and try using waypoints for the AI...Pyros wrote a "more detail than you thought possible" explanation of their use and limitations and it's in the Game Guild.
While I appreciate innovation and I wouldn't want to lose a prime map either.... North / South attacks are not highly recommended for all the reasons you have discovered. The game is designed to be played L-R and everything is geared towards that. Not the answer you really wanted but......that's it |
Re: Gotta AI problem here and I could use some help
If I understand waypoints well, I should create waypoints every couple of hexes for AI to work correctly? Or is it enough to place couple of those, marking general direction?
I rarely use waypoints, particularly scenarios this size. I could use some help with it. OR, but I guess that's pure fantasy, any chance I (or someone else) can "turn" the map? |
Re: Gotta AI problem here and I could use some help
The short answer is yes <you create waypoints every couple of hexes >but you really need to read Pyros write up..load the guide and search for "waypoints". It is VERY detailed but it's broken down into
The basic (very simple) "three five" waypoint method, The advanced "three five" waypoint method and The "Pyros" detailed formula There is a bit more to it than just clicking a waypoint then moving on to the next ... I've re-written it a bit Quote:
|
Re: Gotta AI problem here and I could use some help
I've done a lot of work with waypoints and can usually get formations to do what I want using Pyros methods, aside from the ongoing issues with vehicle vs infantry (or passengers) speeds. I usually use the editor to reduce vehicle speeds so the infantry can keep up. But this still doesn't solve the AI constantly unloading and reloading passengers issue.
|
Re: Gotta AI problem here and I could use some help
The waypoints and AI suggestions from previous posts are worth exploring. There are a number of scenarios, some by Camo Workshop that are North/South or top/bottom orientation.
Check out #32 Counterattack at Khafji 2/91. You may want to check your battle type. Also, check your VF and make sure all of them are on the map. So, my suggestion would be to go back over the fundamentals and review a number of scenarios with North/South orientation. ===== |
Re: Gotta AI problem here and I could use some help
There may well be some Top/Bottom (North and "Top of Map" are not synonymous!) scenarios out there, nevertheless its not recommended practice.
|
Re: Gotta AI problem here and I could use some help
I'll add some comments here.
I've never designed a scenario for exclusively top/bottom movement. I've done a few with flanking attacks from the top/bottom, and in those, I've used waypoint movement with fairly reasonable results. Now some explanation of that. I use waypoints for the attacking force (computer controlled) or meeting force (computer), but not for the human player. I generally use Pyros method of waypoints, 3/5, 5/3 or what ever it is (five hexes/ 3 waypoints at end). With the CD version of the game, I've not had a problem. Now, I'll mix units with way points sometimes with units coming in later waves simply controlled by the remaining objective points. Seems to work with me and doesn't annoy me as much, simply because some of the objectives may already have been taken. For those coming in later turns, I position them with the object of moving left/right. As others have said, waypoints won't help you with how either side retreats. I imagine rally points may address some of that, but I still think the program will default (not my area). I don't recall having an orientation problem with using waypoints in flanking engagements. I'll have to go back and check that with some of the scenarios I used that in. I think the program may still orient the vehicle towards the next waypoint, but again, I'll let someone with more program knowledge answer that. One recommendation I will make is to do your maps and save them in the map file as a base. When you do your scenario design, you can select the base map, and further define it as you want. I know what it is like to spend hours on a map, then go right into a scenario without saving it. You might be able to re-open the scenario, deselect your forces, and try over, but that S*$ks. Been there, done that. This is one of the reasons I love the Venhola program. You can get the terrain you want, then rotate the map so that you do a left/right scenario, regardless of the true compass direction. I recommend that program highly. Best to you in working this out. Tom |
Re: Gotta AI problem here and I could use some help
Rally points will direct the initial retreat towards them (if close enough, otherwise the map edge wins as far as I recollect). But then they will go for the left or right map edge as determined by the scenario side.
In addition the initial retreat from a burst of fire is almost always towards the appropriate map side for the player - so in a top-down scenario you can have infantry retreat from fire across the line of contact, so picking up additional shots at it. |
Re: Gotta AI problem here and I could use some help
Quote:
I keep forgetting and trying again and again ... must be an age thing ... or sheer stupidity ... |
Re: Gotta AI problem here and I could use some help
@Grand1pa - where I can find that Venhola program? Thay may come in handy. This is bloody 200x160 map painted clear from sat images. I WILL have a butthurt if this scenario won't work the way I want. And I want to fix it.
Now, my problem is NOT the way they retreat. Problem is they choose sorta "retarded" paths, going over and around. If you do not mind spoilers, I can show you the WIP version. When you watch the first turn, you will see that AI units are just going randomly to the left and then they eventually MAY turn, only to capture the flag nearby. I will try to move some flags around, may that's what messed up (but usually works in left/right orientation). This is typical scenario of mine, so brigade sized engagement - not that I'm lazy but you can guess I would do my best to avoid waypointing about 450 units. |
Re: Gotta AI problem here and I could use some help
Sorry Mate, I was at work.
http://www.venhola.com/maps/geo.html Check the sticky in the scenario forum: MAPS/HEIGHT MAPS for a lengthy discussion. You're going to come to love the program. Best, Tom |
Re: Gotta AI problem here and I could use some help
Quote:
Airdrop or similar normaly set about 3/4 the way along enemies map edge. |
Re: Gotta AI problem here and I could use some help
Quote:
Without waypoints, your OPFOR will often execute tactically unsound movement (I presume the path of least resistance). So if your terrain favors the defense, you're stuck with waypoints for survivability. So I use the "place and hope for the best" method sparingly. It works for me most of the time when I design large scale battles (which is most of what I do). This may eliminate some of the tedious nature of assigning way points for your second echelon in large scale engagements. I have no objection to you posting your Work In Progress and would surely look at it. Best. Tom |
Re: Gotta AI problem here and I could use some help
Quote:
enter 50.0575 19.9802 and you will centre right in the middle of Krakow It will make a 999 map for you but after you load it in the game you MUST flood fill it with page 2 clear terrain to see the contours... Page 2 upper left button. When it first load it will appear flat but look at the mini map. The is a detailed discussion and a link to the guide in the sticky section above this Don HERE IS THE GUIDE FOR THE PROGRAM Quote:
|
Re: Gotta AI problem here and I could use some help
This tool looks lovely! And is quick and easy to use, I believe I may try it in future scenarios. Sadly, this does not solve my problem with this scenario I'm having.
I tested Pyros' guide on tank battalion. Tanks are doing well, his system probably works well. It seems nothing is left for me than to apply it to the rest of the 450 units brigade. I should be done by around 2025. DO you still plan to update the game by then? One more question though: I got some units coming in as reinforcements. I read the guide on waypoints, but something worries me. My waypoint "line" is not going from unit which will appear on map, but its going from very top-left corner of the map (from grey area). Should I be worried? I would like to know that before I put 120 waypoints for this unit. |
Re: Gotta AI problem here and I could use some help
If your unit is off map then it is at -1,-1 and likely that waypoints will plot from there. It might be different if you have placed it on a reinforcement hex and given it an arrival turn, but as I never use waypoints in scenarios, I dont know the details.
|
Re: Gotta AI problem here and I could use some help
Quote:
This may not be according to the manual, but it works for me. If you don't correct it, I think the unit will move to the first waypoint (off map) before on map waypoints. Not my area, but I know I had units rolling past the course I set them. Best, Tom |
Re: Gotta AI problem here and I could use some help
A passenger is off map, so at -1,-1 as far as coordinates go. So the initial plot will be from -1,-1 -> top left of map.
As stated above - dismount passengers before issuing waypoints, then load if they are to be carried by APC. |
Re: Gotta AI problem here and I could use some help
Quote:
Tom |
Re: Gotta AI problem here and I could use some help
I have just tested it and it works just as you both say, so thank you again. Waypoints seems to be solving my problem pretty fine, though I am still not satisfied with little details.
1) If you have mechanized infantry going with the waypoints and infantry unloads due to contact, will AI units pick up that infantry (as they do on default) before proceeding further? Or will IFVs just leave infantry behind and dash happily forward? 2) what happens when there are no more waypoints? Will AI proceed to nearest flags as they normally do? If so, is it worth trying to set waypoints to like first half of the map, and then leave it to them? |
Re: Gotta AI problem here and I could use some help
Quote:
Generally once unloaded and contact is broken (due to line-of-sight or enemy elimination) APCs/IFVs will go into a cycle of "load infantry" - "unload infantry" and neither will move from the area where they unloaded. Sometimes they may pick up infantry and proceed to their next waypoint, but don't count on it. APCs/IFVs that share a formation with infantry will not dash forward leaving them behind, but if they are in a separate formation they may. #2 I generally find it best to plot the last waypoint (or several) near a "final objective" to encourage the AI to advance because sometimes when you use waypoints they just mill around when they reach the area where the last one was plotted. |
Re: Gotta AI problem here and I could use some help
Quote:
This is what I recall. And back to setting waypoints for mounted units...I prefer to buy my vehicles separately from the leg infantry. Another reason when creating scenarios I open MobHack (ScenHack, and the Extended Map Editor as well.) I seem always having to create formations. Say, you want to set a patrol around a perimeter, that patrol would behave better if you limit the formation to only one unit, say a squad when you set it's waypoints. Also, to get it right, you may have to factor terrain in your waypoint calcs...again see that guy Pyros' tutorial. ===== |
All times are GMT -4. The time now is 01:00 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.