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.

Post tutorial Report content RSS feed Basic scripting for Zero Hour Worldbuilder.

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

Posted by on - 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

good tutorial thanks

Reply Good karma Bad karma+1 vote
Supadestroyer
Supadestroyer

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

Reply Good karma Bad karma+3 votes
Crippsy
Crippsy

thats because u might have not done waypoint path right

Reply Good karma Bad karma+1 vote
EnlistedDiabetus
EnlistedDiabetus

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

Reply Good karma Bad karma+1 vote
Guest
Guest

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

Post a comment

You are not logged in, your comment will be anonymous unless you join the community. Or sign in with your social account:

Icon
C&C Generals: Zero Hour
Platforms
Windows
Developer & Publisher
Electronic Arts
Contact
Send Message
Homepage
Ea.com
Release date
Game watch
Start tracking
Tutorial
Browse
Tutorials
Share
Related Games
C&C Generals: Zero Hour
C&C Generals: Zero Hour Real Time Strategy
Related Engines
SAGE (Strategy Action Game Engine)
SAGE (Strategy Action Game Engine) Proprietary
Related Groups
Electronic Arts
Electronic Arts Developer & Publisher