Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Thu Apr 18, 2024 2:27 am
All times are UTC + 0
Train and The Cargo Cars
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [13 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Zero18
Commander


Joined: 10 Dec 2012
Location: I'm too busy conquering the world!

PostPosted: Wed Dec 12, 2012 5:22 pm    Post subject:  Train and The Cargo Cars Reply with quote  Mark this post and the followings unread

Hi, another question here. I'm wondering how do I make train cargo that will follow the train? How can I start that train in-game? (Like when you start the game, that train will start itself and go around the loop on the monorail)

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Wed Dec 12, 2012 6:06 pm    Post subject: Reply with quote  Mark this post and the followings unread

double click the train, then set on "Follows ID" the ID of the next cargo wagon. You can see its ID in the bottom left of FinalSun in the info bar.
Follows ID tells the game which other unit should follow the currently selected unit.
So you can set on Wagon1 that Wagon2 should follow it. etc

Create a new Taskforce with the locomotive as the only unit
Create a script which has several "Move to waypoint" commands and at the end "Jump to line #" = 1. All waypoints need to be on the train track.
Create a new Team with
-house = train house
-group =train group (in case you have more than one train, so it knows which to use)
-script and taskforce the ones you just created
-nothing checked except "Loadable"

Create a Trigger with Event "Any Event", Action "Create Team" and use as team the train teamtype

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Zero18
Commander


Joined: 10 Dec 2012
Location: I'm too busy conquering the world!

PostPosted: Wed Dec 12, 2012 7:34 pm    Post subject: Reply with quote  Mark this post and the followings unread

Whoa that sounds complex! #Tongue Thanks, if i have any questions I will post.

Back to top
View user's profile Send private message
Zero18
Commander


Joined: 10 Dec 2012
Location: I'm too busy conquering the world!

PostPosted: Wed Dec 12, 2012 9:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

I'm confused with taskforce.

When i tried to add locomotive as you said, it add light infantry instead... How can i make it add locomotive instead of light infantry?

EDIT: I solved it, I have all of those set up, but the train won't move at all...

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Wed Dec 12, 2012 9:37 pm    Post subject: Reply with quote  Mark this post and the followings unread

Check if all the houses match (train, trigger, team need to be the same).
Make sure nothing is checked on the team. By default it has autocreate and full checked, which are wrong here.

Check if the first waypoint can be actually reached by the train. Make sure there is no gap in the track. (Best place for testing the first waypoint only 5 cells away in front of the train; later you can still move it to the right place)

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Zero18
Commander


Joined: 10 Dec 2012
Location: I'm too busy conquering the world!

PostPosted: Wed Dec 12, 2012 9:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

I still can't get it to move. What i did is...

House = "Neutral"
First waypoint is "8" - which is 4 cells away from front train.

I think it might be house, if incase of that... I don't know how to make a new house such as house="train house"

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Wed Dec 12, 2012 9:59 pm    Post subject: Reply with quote  Mark this post and the followings unread

If the train is Neutral, the trigger is Neutral and the team Neutral too, then it works perfect.
You could also upload the map so we can have a look.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Zero18
Commander


Joined: 10 Dec 2012
Location: I'm too busy conquering the world!

PostPosted: Wed Dec 12, 2012 10:13 pm    Post subject: Reply with quote  Mark this post and the followings unread

I got Locomotive moving Smile but train cars doesn't follow locomotive >.>

My locomotive ID is 51

So i set the train car (ID 52) next to locomotive to follow (ID 51), but it didnt follow locomotive.



Train3.png
 Description:
 Filesize:  14.24 KB
 Viewed:  3397 Time(s)

Train3.png



Train2.png
 Description:
 Filesize:  11.4 KB
 Viewed:  3397 Time(s)

Train2.png



Train1.png
 Description:
 Filesize:  7.06 KB
 Viewed:  3397 Time(s)

Train1.png



Last edited by Zero18 on Wed Dec 12, 2012 10:22 pm; edited 1 time in total

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Wed Dec 12, 2012 10:20 pm    Post subject: Reply with quote  Mark this post and the followings unread

Then you've set the wrong ID on Follows ID.
e.g.
Train has ID 20
Wagon1 has ID 21
Wagon2 had ID 25
then you have to set
Train Follows ID 21
Wagon1 Follows ID 25
Wagon2 can keep -1

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
RP
Commander


Joined: 12 Jul 2012
Location: Mapping God Heaven

PostPosted: Wed Dec 12, 2012 10:21 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hover with mouse over the locomotive, remember it's ID and set the Follow ID tag on the first car behind it to the one you just had to remember.
Do the same for the other cars.

IDs:
Loc -> Car1 -> Car2 -> Car3

That's the right order.

EDIT: LKO ninja'd me.

EDIT2: Where's your locomotive in the FS screenshot? Shouldn't it be prebuild/present on the map at start (so it has a valid ID)?

_________________


Mental Omega 3.0 Mission creator - Creator of FinalOmega: APYR 3.0 Map Editor

/ppm/'s stupidity

Last edited by RP on Wed Dec 12, 2012 10:54 pm; edited 1 time in total

Back to top
View user's profile Send private message
Zero18
Commander


Joined: 10 Dec 2012
Location: I'm too busy conquering the world!

PostPosted: Wed Dec 12, 2012 10:29 pm    Post subject: Reply with quote  Mark this post and the followings unread

my locomotive is at south corner. here is what i did.

Locomotive ID:51
Train Car 1 ID: 52
Train Car 2 ID: 53
Train Car 3 ID: 54

I left locomotive follow id = -1
train car 1 follow id = 51
train car 2 follow id = 52
train car 3 follow id = 53

Edit: Its prebuild.

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Wed Dec 12, 2012 10:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

Wrong way around.
Follows ID sets the ID of the object that should follow the current one
It's not the ID which this object is following.
You don't have to connect the wagon to the locomotive. You have to connect the locomotive to the wagon.

Locomotive needs Follows ID 52
Car1 needs 53
Car2 needs 54
Car3 needs -1

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Zero18
Commander


Joined: 10 Dec 2012
Location: I'm too busy conquering the world!

PostPosted: Wed Dec 12, 2012 10:36 pm    Post subject: Reply with quote  Mark this post and the followings unread

Yay! It works now! Thank so much! Very Happy Laughing Surprised

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [13 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1663s ][ Queries: 16 (0.0129s) ][ Debug on ]