Jump to content

Harvester AI Pathfinding


moonsense715

Recommended Posts

Author: Läubi

Skill level: 2

 

 

This tutorial guides you how to let the AI Harvesters find their way from the Refinery/War Factory to the Tiberium/Resource field.

 

 

X. If you are making a map for Renegade:

Check in Gmax/RenX, that the airstrip building model sticks a little bit into the ground:

image-11-STRIP_GMAX.JPG

 

 

1. Export your Level and open it in Level Editor.

 

 

2. All waypathes you create for harvester must have the following settings checked:

image-11-WP_OPTIONS.JPG

 

 

3. Set three Waypathes for vehicle factories (for the nod airstrip, the vehicle must point to the direction of the arrow on the strip):

image-11-WF_WAYPATH.JPGimage-11-STRIP_WAYPATH.JPG

(If you don't have the building controller or car marker placed yet, you can find the controller under Buildings > Airstrip / WarFactory. Place the controller and press CTRL + P to create and place the carmarker.)

 

 

4. Then one waypath must go to the tiberiumfield (no difference between GDI and Nod):

image-11-TIB_WAYPATH.JPG

 

 

5. Now you must make a waypath from the refinery to the tiberiumfield:

image-11-HARV_WAYPATH.JPG

 

 

6. You must set a pathfindgenerator at your map (named "Human"):

image-11-PATHFIND.JPG

 

 

7. Now save your Level as it's time for generating pathfinding sectors.

This next step can take some hours, depending on the size of your map and the speed of your PC. You should also check, that there is enough free disk space for the Windows swapfile, because this process sometimes need 500MB swapfile, depends on the size of your RAM.

 

Goto Pathfinding > Generate Sectors. The the pathfinding generating will start. When the status changes from Floodfilling World to Compressing Sectors it may seem that your PC hang up! Don`t restart, just wait some minutes and the progress will continue.

image-11-GENERATEPATHFIND.JPG

 

When the progress is done save your level and try it out ingame.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...