zero hour mad map maker
12 years ago
Here is another tutorial for command and conquer generals zero hour world builder! In this one I am going to tell you have to move a Unit and how to move a Team of Units!
The reason I called this thread SMALL BUT POWERFUL Is because this comes in handy for a lot of things, CINE Intros the is the main one (I'll do a tutorial on that topic too.) IN skirmish maps for destructo fun! And many others.

How to make Units move.

Here we go! The first step is to place an object such as a vehicle or a plane. Don't do a plane yet they're a bit different. So I will place a nuke truck and name it Truck1. That white line is just his sight range so don't worry if your object doesn't have that, it doesn't make a difference.
UserPostedImage

Step2,

Add a waypoint path, to do this click to make a waypoint and then click and drag until you have an arrow.
UserPostedImage
Like that. Then release your finger from the mouse and another waypoint will appear.
UserPostedImage

Keep doing this until you have a path connecting back to your first waypoint.
UserPostedImage

Under the column Waypoint path labels name it TruckPath1 (OR whatever name you gave it CarPath1 VanPath1 etc.,

Now go to the scripting menu under PlyrCivilian make a new script called:Move Truck. Then go to the actions if true tab click Null Operation (Does nothing) Then click edit. GO to Unit>Move> Set a specific unit to EXACTLY follow a waypoint Path.
Now, pick the unit that you named and the waypoint path. WA LA! TEST IT OUT! 😊

UserPostedImage


How to move a Team of units
(Don't have pictures for this part 😞 😞 )

Let's say you have a lot of units, and if you make a whole bunch of scripts like that, it doesn't work! (At least that's what happened to me I had 19 Nuke Trucks!)

So there is a easier form of moving them all BUT! The bad news if they all have to be in a straight line they can't be dotted everywhere. ANYWAY!
You don't need to name your units!

Add your Units, and a waypoint path I will name the waypoint path Move Units Path1
Now select the edit tab in the upper left corner. then select Edit Teams. You'll see all the Players what we want it PlyrCivilian select it. Then click Add new Team. Name it Move Units then click OK.

Now exit out of the teams window and select all your units. Under Team select your team that you named it So mine is Move Units. Now they all belong to plyrcivilian's team Move Units.

Now go to the scripting menu under PyrCivilian make a new script named Move Team. Under the Actions if true tab click Null Operation (does nothing) then click edit.

Go to Team>Move> Select to EXACTLY follow a waypoint path.

So now it looks like

Team Move Units, Set to exactly follow waypoint path Move Units Path1 as a team TRUE

There we are test it out!
Any questions? 😁 😁 😄 😎

Ready for Anything! --- C&C Labs Staff , Maps Staff , Moderator
Sponsor
Gameanater
12 years ago
Same rules apply to making civilian units move in a Skirmish map, right?
Any old friends still on here can add me on discord @jcdenton2187. I'm far more likely to respond there.
zero hour mad map maker
12 years ago

Same rules apply to making civilian units move in a Skirmish map, right?

Originally Posted by: Gameanater 



Correct! 😁 😁 Just put the scripts under PlyrCivilian 😁 😁
Ready for Anything! --- C&C Labs Staff , Maps Staff , Moderator
UTD^Force
12 years ago
Note
: these ways aren't used with trains.
Here 
is how to do it with a train and
Here 
is how to make a garrisonable train.
A Muslim, ask me anything about Islam if you want
UTD^Force
Moderator and former map reviewer
Big fan of C&C Labs
UTD^Force
12 years ago
By the way you have a nicely done map there at image TUT_1_Pic_1 .
Look's like it from you a while. Mad maker
A Muslim, ask me anything about Islam if you want
UTD^Force
Moderator and former map reviewer
Big fan of C&C Labs
zero hour mad map maker
12 years ago

By the way you have a nicely done map there at image TUT_1_Pic_1 .
Look's like it from you a while. Mad maker

Originally Posted by: UTD^Force 



Thanks haha I'm just using an unfinished map for this tutorial 😁 Yeah, trains are different I can make them move on maps with nothing there but, went I do the same thing on a map that's done, the game just crashes, And I really want to put an invincible train that can destroy stuff BOOM!
Ready for Anything! --- C&C Labs Staff , Maps Staff , Moderator
UTD^Force
12 years ago

By the way you have a nicely done
map there at image TUT_1_Pic_1 .
Look's like it from you a while. Mad maker

Originally Posted by: Zero Hour Mad Map
Maker 



Thanks haha I'm just using an unfinished map for this tutorial 😁
Yeah, trains are different I can make them move on maps with nothing
there but, went I do the same thing on a map that's done, the game just
crashes, And I really want to put an invincible train that can destroy
stuff BOOM!

Originally Posted by: UTD^Force 



i have just answered your question here 
A Muslim, ask me anything about Islam if you want
UTD^Force
Moderator and former map reviewer
Big fan of C&C Labs