Jump to content

Harvester AI Without War Factories


moonsense715

Recommended Posts

Author: Läubi

Skill level: 2

 

 

This tutorial guides you how to place AI Harvesters and help them find their way from the Refinery to the Tiberium/Resource field when there is no Vehicle Production Facility present on the map that creates them.

 

 

1. Create the Harvester:

 

There are two ways:

 

I. If you only want to have a harvester that don`t come back if it is destroyed, just browse in the Presets to Objects -> Vehicles -> (Nod or GDI = xxx) -> xxx_Harvester - CnC_xxx_Harvester

image-2-IMG01.JPG

 

II. The second way is using a spawner, that means if the harvester gets destroyed, a new one will spawn. Goto Object -> Spawner

 

If you making a map you must click to Temp, if you use this in a Mod use Add.

image-2-IMG02.JPG

 

Enter a name e.g. Nod_Harv_Spawn. Then go to the "Settings" tab and click "Pick Presets". Then select Vehicle -> xxx Vehicles -> xxx_Harvester -> CnC_xxx_Harvester. Double click the preset so that it appears in the left list. Press Ok. (two times, your now back at Commando Editor Screen)

image-2-IMG03.JPG

 

 

2. Place the Harvester and setting up the envoirment:

 

Select the Harvester on the preset list, click at Make, and move the Harvester somewhere in the Tiberium field. Also place a Tiberium field zone and waypath from the refinery to the Tiberium, with the two way, Ground vehicles and inniate pathfind options enabled.

image-2-IMG04.JPG

 

Now write down the following ID`s (doubleclick on the object)

  • Tiberium refinery Controller
  • WaypathID (not the ID from a waypoint! The wapath ID is needed!)
  • Tiberium field
image-2-IMG05.JPG

 

 

3. Setting up the harvester script:

 

Double click an the Harvester and add the PDS_Test_Harvester script and fill in the following parameters:

  • TiberiumID = ID of Tiberiumfielde
  • DriveToID = ID of the waypath
  • EntranceID = ID of the Tiberiumrefinery Controller
  • DockID = ID of the Tiberiumrefinery Controller
image-2-IMG06.JPG

 

 

4. Finish your work:

 

Save your level. Also place a human pathfind generator on your map and then generate the pathfinding, then save again, and enjoy your work.

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.

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...