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 RSS 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 - - 34 comments

good tutorial thanks

Reply Good karma Bad karma+1 vote
Supadestroyer
Supadestroyer - - 52 comments

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 - - 28 comments

thats because u might have not done waypoint path right

Reply Good karma Bad karma+1 vote
EnlistedDiabetus
EnlistedDiabetus - - 174 comments

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 - - 689,335 comments

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

Guest
Guest - - 689,335 comments

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

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: