Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Infantry And Vechile WayPaths...
Infantry And Vechile WayPaths... [message #-993484] Thu, 24 October 2002 06:33 Go to previous messageGo to previous message
Anonymous
ok...

you need to create a spawner for the vehicle OR create an instance of the vehicle on the map...

create the waypath that you would like to use.
record the Waypath startpoint, Waypath endpoint and the Waypath its self ID's.

attach the "PDS_Test_Follow_Waypath" script to the vehicle or spawner object.

fill in the appropriate settings on the script.

NEXT TWO STEPS ARE MOST IMPORTANT!!!!

make SURE when you place the waypath, so that the vehicle has a DIRECT line of site to the start point, or else it will end up constantly driving into a wall.

Place a HUMAN PATHFIND object in EACH base.
goto PathFinding -> Generate on the menu, and sit back and relax (usually takes about 20minutes to 8 hours, depending on size of map, and speed of computer)

now, load up your map as a .pkg (for testing you should always start with .pkg), go into a 1 player LAN game, and watch the vehicle go [Smile]

you can also add "M00_Base_Defense" script to the vehicle if you want them to fire, but they WILL stop if they kill something.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: FAQ for Renegade Modding
Next Topic: Black Textures
Goto Forum:
  


Current Time: Sun Dec 22 08:10:18 MST 2024

Total time taken to generate the page: 0.00730 seconds