Prepare to unleash the absolute latest in modern weapons technology against the world's most powerful Generals in Command & Conquer Generals: Zero Hour. In the next era of military strategy and might, you'll need to command a more technologically advanced arsenal to defeat new, more powerful enemies.

Report article RSS Feed Basic scripting for Zero Hour Worldbuilder.

Some basic scripting such as how to make units move on their own.

Posted by Hahailost on Aug 20th, 2009
Basic Mapping/Technical.

I will let anyone edit this to add some more basics.

HOW TO MAKE TRAINS MOVE
Make the railroad, then click on the Waypoint tool. To make a waypoint path, Click, then drag to wherever you need to put it (If you put it in the wrong place, just click on the select and move tool and drag it there). Name the waypoint path Railroad. If you want to make one stop somewhere, name a waypoint (Not path) Station. There! The train should be moving and crushing your beloved tanks!

HOW TO MAKE CARS MOVE
Cars are a different story. Make a waypoint path, and name the path whatever you want. Now click on the car and name it something. Now go to the scripting tool and make a new script in PlyrCivillian, click on the tab Actions if True and edit the Null operation. Scroll down, click on Units, click on Move, then click on either Follow waypoint path or Follow waypoint path Exactly. Click on one.
It should say Unit "???" follows waypoints, beginning at at Waypoint path "???". Click on unit, select what you named the unit, click on waypoint path, select what waypoint path it is. There! You should be crushing moving cars when your done with the map.

If someone could edit this and make it sound simpler, that would be great.

Post comment Comments
ItachiBrolly2
ItachiBrolly2 Jun 15 2010, 4:34am says:

good tutorial thanks

+1 vote     reply to comment
Supadestroyer
Supadestroyer Apr 14 2011, 11:29am says:

i done the car one but when i play the map the car just goes round in circles........ weird

+3 votes     reply to comment
Crippsy
Crippsy Jul 14 2011, 11:27pm says:

thats because u might have not done waypoint path right

+1 vote     reply to comment
EnlistedDiabetus
EnlistedDiabetus Oct 5 2012, 7:05am says:

ya i have same problem as Supadestroyer but i'm new to this so anyone who could help thanks.

+1 vote     reply to comment
Guest
Guest Jan 20 2014, 12:22am says:

This comment is currently awaiting admin approval, join now to view.

Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Icon
C&C Generals: Zero Hour
Platform
Windows
Developer & Publisher
Electronic Arts
Contact
Send Message
Official Page
Ea.com
Release Date
Released Sep 25, 2003
Game Watch
Track this game
Tutorial
Browse
Tutorials
Report Abuse
Report article
Related Games
C&C Generals: Zero Hour
C&C Generals: Zero Hour Single & Multiplayer Real Time Strategy
Related Engines
SAGE (Strategy Action Game Engine)
SAGE (Strategy Action Game Engine) Proprietary Released Jun 14, 2001
Related Groups
Electronic Arts
Electronic Arts Developer & Publisher