Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline zero hour mad map maker  
#1 Posted : Saturday, December 28, 2013 7:25:30 PM(UTC)
zero hour mad map maker
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 12/27/2013(UTC)
Posts: 681
Canada
Location: MLP

Thanks: 181 times
Was thanked: 143 time(s) in 119 post(s)
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! Blush

UserPostedImage


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

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? Big Smile Big Smile Smile Cool
Ready for Anything! --- C&C Labs Staff , Maps Staff , Moderator
thanks 1 user thanked zero hour mad map maker for this useful post.
Gameanater on 1/22/2014(UTC)
Sponsor
Offline Gameanater  
#2 Posted : Wednesday, January 22, 2014 10:39:38 PM(UTC)
Gameanater
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 5/13/2013(UTC)
Posts: 1,537
United States
Location: Right Behind You

Thanks: 574 times
Was thanked: 166 time(s) in 144 post(s)
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.
Offline zero hour mad map maker  
#3 Posted : Thursday, January 23, 2014 7:14:53 AM(UTC)
zero hour mad map maker
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 12/27/2013(UTC)
Posts: 681
Canada
Location: MLP

Thanks: 181 times
Was thanked: 143 time(s) in 119 post(s)
Originally Posted by: Gameanater Go to Quoted Post
Same rules apply to making civilian units move in a Skirmish map, right?


Correct! Big Smile Big Smile Just put the scripts under PlyrCivilian Big Smile Big Smile
Ready for Anything! --- C&C Labs Staff , Maps Staff , Moderator
Offline UTD^Force  
#4 Posted : Thursday, January 23, 2014 4:34:20 PM(UTC)
UTD^Force
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 8/13/2013(UTC)
Posts: 817
Jordan
Location: Middle east

Thanks: 430 times
Was thanked: 184 time(s) in 168 post(s)
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.

Edited by user Thursday, January 23, 2014 4:55:27 PM(UTC)  | Reason: Not specified

Proud Muslim

UTD^Force

Moderator and former map reviewer
CnC Labs
Offline UTD^Force  
#5 Posted : Thursday, January 23, 2014 5:08:12 PM(UTC)
UTD^Force
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 8/13/2013(UTC)
Posts: 817
Jordan
Location: Middle east

Thanks: 430 times
Was thanked: 184 time(s) in 168 post(s)
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

Edited by user Thursday, January 23, 2014 5:09:12 PM(UTC)  | Reason: Not specified

Proud Muslim

UTD^Force

Moderator and former map reviewer
CnC Labs
Offline zero hour mad map maker  
#6 Posted : Thursday, January 23, 2014 6:42:23 PM(UTC)
zero hour mad map maker
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 12/27/2013(UTC)
Posts: 681
Canada
Location: MLP

Thanks: 181 times
Was thanked: 143 time(s) in 119 post(s)
Originally Posted by: UTD^Force Go to Quoted Post
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


Thanks haha I'm just using an unfinished map for this tutorial Big Smile 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!

Edited by user Thursday, January 23, 2014 9:14:07 PM(UTC)  | Reason: Not specified

Ready for Anything! --- C&C Labs Staff , Maps Staff , Moderator
Offline UTD^Force  
#7 Posted : Friday, January 24, 2014 3:47:57 PM(UTC)
UTD^Force
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 8/13/2013(UTC)
Posts: 817
Jordan
Location: Middle east

Thanks: 430 times
Was thanked: 184 time(s) in 168 post(s)
Originally Posted by: Zero Hour Mad Map
Maker Go to Quoted Post
Originally Posted by: UTD^Force Go to Quoted Post
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


Thanks haha I'm just using an unfinished map for this tutorial Big Smile
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!


i have just answered your question here
Proud Muslim

UTD^Force

Moderator and former map reviewer
CnC Labs
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.