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

Notification

Icon
Error

3 Pages123>
Options
Go to last post Go to first unread
Offline gamemastax  
#1 Posted : Tuesday, May 6, 2003 12:58:35 PM(UTC)
gamemastax
General
Joined: 4/25/2003(UTC)
Posts: 47
Location: USA

<table width= 0 style="filter:glow(color=black, strength= 20)">

  Ok, I am obsessed with trains in worldbuilder, so I think I'll make a tutorial on them.  

</table>

Quote:
First off, to make a train, lay down the tracks. if you want it to go through a tunnel in a hill, make the tracks first, then delete them later; it looks a lot better. Tight curves are very bad... the train will look real messed up as it goes around the curve.

Secondly, make waypoints following the track EXACTLY. Around a curve, you should have at least 3 waypoints, I usually use 7. And make sure that you are modeling a waypath; that is, make sure that you are dragging from waypoint to waypoint and not just making waypoints. Make sure that when you finish following the tracks you connect the last waypoint to the first again, making a loop.
[Screenshot]
Next, place the train on the map, next to or on top of the waypoint path. Placing an engine will make there be cars behind it as well, so don't worry about them for now. Just place the engine.

Now, click on one of the waypoints in your waypath, and down where there are three boxes with the words 'waypoint path label' above them, type "Railroad" in the box, without the quotes.

Also, to make the train stop at a certain area for a certain period of time, Label the waypoint [waypoint name]Station. Replace [waypoint name] with anything you want. The default name for a waypoint is Waypoint [Number] (i.e. Waypoint 146).

To make the train go through a tunnel, first you should make sure there is a waypoint in the waypoint path right in front of the tunnel.
Label it [waypoint name]Tunnel (i.e. Railroad183Tunnel). This will make the train stay at the altitude it is at until you have a point not labeled with Tunnel. Make sure all waypoints underground have the word "Tunnel" at the end of their names, unless you want the train popping up from the ground!
[Screenshot]

ADVANCED TRAINS:CHANGING THE CARS IN A TRAIN AND MAKING IT GARRISONABLE!

This is for you advanced people who want to be able to put troops in the cars of trains and make them go in the train to the enemy base Evil

Open up your favorite text editor (Notepad, Wordpad, etc.) and make a new file.


Include the following in it:

Code:

Object TrainEngineVerySlow  

   
  ReplaceModule    ModuleTag_03
    Behavior     = RailroadBehavior ModuleTag_03_Override
    PathPrefixName    = Railroad
    
    RunningGarrisonSpeedMax = 8
    KillSpeedMin            = 9
    Friction                = 0.995
    BigMetalBounceSound     = BuildingFallingMetal
    SmallMetalBounceSound   = VehicleImpactHeavy
    MeatyBounceSound        = InfantryCrush
    ClicketyClackSound      = TrainClicketyClack
    WhistleSound            = TrainWhistle
   

    IsLocomotive         = Yes
    SpeedMax             = 8.0
    Acceleration         = 1.005
    WaitAtStationTime    = 20000     ; twenty seconds
    Braking              = 0.97
    CrashFXTemplateName  = SpecialEffectsTrainCrashObject


  
    CarriageTemplateName = TrainCar03
    CarriageTemplateName = TrainCar03
    CarriageTemplateName = TrainCar03
    CarriageTemplateName = TrainCar03
    CarriageTemplateName = TrainCarFlat
    CarriageTemplateName = TrainCarRocket
    CarriageTemplateName = TrainCarFlat
    CarriageTemplateName = TrainCarFlat
    CarriageTemplateName = TrainCar03
    CarriageTemplateName = TrainCar03
    CarriageTemplateName = TrainCab
    End
  End
End


Object TrainCar03
 
   ReplaceModule   ModuleTag_02
    Body            = ActiveBody ModuleTag_02_Override
    MaxHealth       = 10000.0
    InitialHealth   = 10000.0
    End
  End

  AddModule   ModuleTag_03_Override
    Behavior = GarrisonContain ModuleTag_03
    ContainMax          = 10
    AllowInsideKindOf   = INFANTRY VEHICLE
    EnterSound          = GarrisonEnter
    ExitSound           = GarrisonExit
    DamagePercentToUnits = 50%
    MobileGarrison      = Yes
    
    End
  End

  ReplaceModule       ModuleTag_04
   Behavior        = RailroadBehavior ModuleTag_04_Override
    IsLocomotive   = No
    PathPrefixName    = Railroad

  
    RunningGarrisonSpeedMax = 8
    KillSpeedMin            = 9
    Friction                = 0.995
    BigMetalBounceSound     = BuildingFallingMetal
    SmallMetalBounceSound   = VehicleImpactHeavy
    MeatyBounceSound        = InfantryCrush
    ClicketyClackSound      = TrainClicketyClack
    End
  End
  
End


Object TrainCab

  ReplaceModule   ModuleTag_02
    Body            = ActiveBody ModuleTag_02_Override
    MaxHealth       = 10000.0
    InitialHealth   = 10000.0
    End
  End


 AddModule   ModuleTag_03_Override
    Behavior = GarrisonContain ModuleTag_03
    ContainMax          = 10
    EnterSound          = GarrisonEnter
    ExitSound           = GarrisonExit
    DamagePercentToUnits = 50%
    MobileGarrison      = Yes
    End
  End
 ReplaceModule      ModuleTag_04
   Behavior        = RailroadBehavior ModuleTag_04_Override
    IsLocomotive   = No
    PathPrefixName    = Railroad

    RunningGarrisonSpeedMax = 8
    KillSpeedMin            = 9
    Friction                = 0.995
    BigMetalBounceSound     = BuildingFallingMetal
    SmallMetalBounceSound   = VehicleImpactHeavy
    MeatyBounceSound        = InfantryCrush
    ClicketyClackSound      = TrainClicketyClack
     End
  End
End



Quote:
Save the file as map.ini in the directory where your map is (My Documents\Command and Conquer Generals Data\Maps\[yourmap]\map.ini). If you place the object TrainVerySlow on the map, it will be not slow, it will have a bunch of cars on it (versus the rocket it usually has), and it will be able to garrison troops and vehicles in its cars.

Ok, some of this may seem pretty obvious (ClicketyClackSound), but some of it may be one of those things you think "What the hell is that for?" So, I'll explain as much as I can right now.


[to be continued when I can get back online. Sorry!]

Pictures courtesy of CNCDEN.com

[EDIT: Moved to Tutorials forum -- CommieDog]

Edited by moderator Saturday, March 29, 2008 5:08:24 PM(UTC)  | Reason: Not specified

Sponsor
Offline Crazy MoFo  
#2 Posted : Tuesday, May 6, 2003 2:35:42 PM(UTC)
Crazy MoFo
Commander in Chief
Joined: 4/9/2003(UTC)
Posts: 14
Location: USA

good job gamemastax. very nice. although i already knew a lot of this....
Offline gamemastax  
#3 Posted : Tuesday, May 6, 2003 2:43:28 PM(UTC)
gamemastax
General
Joined: 4/25/2003(UTC)
Posts: 47
Location: USA

thanks crazy!

did you know how to change the carriages and make the trains garrisonable?

Edited by user Tuesday, May 6, 2003 2:44:44 PM(UTC)  | Reason: Not specified

Offline Crazy MoFo  
#4 Posted : Tuesday, May 6, 2003 2:47:23 PM(UTC)
Crazy MoFo
Commander in Chief
Joined: 4/9/2003(UTC)
Posts: 14
Location: USA

yeah, but i didnt learn it myself. i found a post explaining how to do it the deezire forums. i learned quite a bit there.... lots of flamers tho.
Offline gamemastax  
#5 Posted : Tuesday, May 6, 2003 4:23:07 PM(UTC)
gamemastax
General
Joined: 4/25/2003(UTC)
Posts: 47
Location: USA

I taughted myself :-p

too bad I haven't taught anyone anything yet...

Edited by user Tuesday, May 6, 2003 4:24:43 PM(UTC)  | Reason: Not specified

Offline Blaine  
#6 Posted : Tuesday, May 6, 2003 4:42:31 PM(UTC)
Blaine
Colonel
Joined: 4/16/2003(UTC)
Posts: 653
Location: USA

Id learn if i read it and wanted to make maps... Good job i hope some people get a use out of it.

Edited by user Tuesday, May 6, 2003 4:57:00 PM(UTC)  | Reason: Not specified

UserPostedImage<map name="blaine"><area shape="rect" alt="Send Blaine an email" coords="0,130,30,148" href="javascript:openWindow('pop_mail.asp?id=707)" title="Send Blaine an email"><area shape="poly" alt="View Blaine's Profile" coords="125,57,123,91,160,91,172,59" href="pop_profile.asp?mode=display&id=707" title="View Blaine's Profile"><area shape="default" nohref></map>
Offline gamemastax  
#7 Posted : Tuesday, May 6, 2003 4:50:11 PM(UTC)
gamemastax
General
Joined: 4/25/2003(UTC)
Posts: 47
Location: USA

thank you!
Offline Sagi  
#8 Posted : Tuesday, May 6, 2003 8:34:19 PM(UTC)
Sagi
General
Joined: 2/26/2003(UTC)
Posts: 105
Location: Israel

yes. nice job. :)
UserPostedImage
Sagi.
Offline Manatee 05x  
#9 Posted : Wednesday, May 7, 2003 1:31:31 AM(UTC)
Manatee 05x
General
Joined: 3/13/2003(UTC)
Posts: 1,094
Location: Australia

Wow, nice little tutorial Smile I read it even though I don't make maps, and it's really well written! Big Smile That's a brilliant little piece of work. Maybe it should be sticky on this forum so everyone always sees it?
[Insert bandwidth hungry gif here.]
Offline Crazy MoFo  
#10 Posted : Wednesday, May 7, 2003 4:23:21 AM(UTC)
Crazy MoFo
Commander in Chief
Joined: 4/9/2003(UTC)
Posts: 14
Location: USA

that's a good idea....
*looks for little icon that allows him to make the topic sticky*
it has been done... now should i lock the topic too?

Edited by user Wednesday, May 7, 2003 4:24:43 AM(UTC)  | Reason: Not specified

Offline gamemastax  
#11 Posted : Wednesday, May 7, 2003 7:08:54 AM(UTC)
gamemastax
General
Joined: 4/25/2003(UTC)
Posts: 47
Location: USA

no don't lock it. I want people to be able to ask questions.

Thank you all for the praise!

Edited by user Wednesday, May 7, 2003 7:09:50 AM(UTC)  | Reason: Not specified

Offline xspyking  
#12 Posted : Thursday, May 8, 2003 9:44:58 AM(UTC)
xspyking
Colonel
Joined: 4/15/2003(UTC)
Posts: 664
Location: USA

nioce job, i will come back here fi i ever want to feature a train in one of my maps! :)
I wanted to send you somthing sexy...good-looking...attractive...but then, the postman told me to get out of his damn box!
Offline gamemastax  
#13 Posted : Saturday, May 10, 2003 8:55:16 AM(UTC)
gamemastax
General
Joined: 4/25/2003(UTC)
Posts: 47
Location: USA

Mic, can you HTMLize that post up there?
Offline incia  
#14 Posted : Wednesday, May 21, 2003 12:38:38 AM(UTC)
incia
Commander in Chief
Joined: 5/17/2003(UTC)
Posts: 1,602
Location: Sweden

i think the map editors should be alot easier, that you could just place a tunnel and then write that the train goes in to it. And not this complicated. I can't even do a skirmish map, and still i can't download eny tutorials.
Offline Blbpaws  
#15 Posted : Saturday, May 24, 2003 9:17:28 AM(UTC)
Blbpaws
Administrator
C&C Labs Staff: Labs Staff MemberThe Forgotten Staff: The Forgotten StaffRed Alert Staff: Red Alert Staff MemberAll Stars Staff: All Stars Staff
Joined: 1/1/2003(UTC)
Posts: 6,526
Location: USA

Thanks: 3 times
Was thanked: 48 time(s) in 33 post(s)
yeah WB is annoying sometimes...

are u going to finsih ur tutorial or is it done?

Edited by user Saturday, May 24, 2003 1:41:19 PM(UTC)  | Reason: Not specified

UserPostedImage
Offline gamemastax  
#16 Posted : Saturday, May 24, 2003 3:03:01 PM(UTC)
gamemastax
General
Joined: 4/25/2003(UTC)
Posts: 47
Location: USA

I'm gonna finish it... I'm too lazy though.
Offline Blbpaws  
#17 Posted : Saturday, May 31, 2003 4:47:58 AM(UTC)
Blbpaws
Administrator
C&C Labs Staff: Labs Staff MemberThe Forgotten Staff: The Forgotten StaffRed Alert Staff: Red Alert Staff MemberAll Stars Staff: All Stars Staff
Joined: 1/1/2003(UTC)
Posts: 6,526
Location: USA

Thanks: 3 times
Was thanked: 48 time(s) in 33 post(s)
oh let us know when u do
UserPostedImage
Offline gamemastax  
#18 Posted : Saturday, May 31, 2003 12:25:18 PM(UTC)
gamemastax
General
Joined: 4/25/2003(UTC)
Posts: 47
Location: USA

I certainly will.
Offline Blbpaws  
#19 Posted : Saturday, May 31, 2003 3:48:23 PM(UTC)
Blbpaws
Administrator
C&C Labs Staff: Labs Staff MemberThe Forgotten Staff: The Forgotten StaffRed Alert Staff: Red Alert Staff MemberAll Stars Staff: All Stars Staff
Joined: 1/1/2003(UTC)
Posts: 6,526
Location: USA

Thanks: 3 times
Was thanked: 48 time(s) in 33 post(s)
thanks
UserPostedImage
Offline Tommy  
#20 Posted : Friday, July 4, 2003 1:54:21 AM(UTC)
Tommy
Captain
Joined: 7/3/2003(UTC)
Posts: 57
Location: Australia

nice work gamemastax! i have a neat look train buzzing around my neat looking dam thanks to you!
Hope you can finish this tutorial so i can get some guys in the train but no rush!
Seya
"Ahhh, the sweet smell of anthrax in the morning"
Users browsing this topic
Guest
3 Pages123>
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.