[Custom Object] Train(Tracks Included)!!

Started by soulshaker, Sep 07, 2015, 12:03 PM

Previous topic - Next topic

soulshaker

Important:-

I don't own or made the tracks or train model.

Tracks:-
X-Seti
http://www.gtagarage.com/mods/show.php?id=23002


Train:-
Ported for VC:MP by @sseebbyy (I don't know the original creator of the model)

Screens:-








Note:- Installation instruction is given in the file

Update:-

#1 Added Automatic Train System.

#2 Added bridge at the back of stadium.

Thanks to @Kusanagi for providing this

KAKAN

oh no

Xmair

Woohoo! Hogwarts Express for my server! @Thijn mirror plx my download is failing.

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

FinchDon

@Xmair If you want that track i can give you it Thanks Souly For share i already have that given by your member Can you release whole System Of Running Train on Track? :P
For any help and support Join #s-s at IRC for Help in Scripting
( For Newbies )

soulshaker

Quote from: FinchDon on Sep 07, 2015, 02:24 PMCan you release whole System Of Running Train on Track? :P
The system @karan20000000000 created, which was used by me and @Kusanagi was created by lots of timers, and I don't want to release a code full of timers which may lag the server.

MacTavish

#5
Ah souly, actually the one i was using that just has one timer me and kp together made that system btw here is a bridge for main station

function createbridges()
{
try{
CreateObject(2753,1,Vector(-1624, 1471.01, -18.7188),255).RotateToEuler(Vector(0, 0, -0.65),1);
CreateObject(583,1,Vector(-1575.97, 1449.44, 7.48677),255).RotateToEuler(Vector(-1.85957e-008, -5.73468e-009, 1.05),1);
CreateObject(583,1,Vector(-1579.47, 1443.33, 7.48677),255).RotateToEuler(Vector(0, 0, 1.05),1);
CreateObject(583,1,Vector(-1581.56, 1439.54, 7.45458),255).RotateToEuler(Vector(0, 0, 1.05),1);
CreateObject(324,1,Vector(-1584.59, 1441.93, 8.87629),255).RotateToEuler(Vector(1.79242e-007, 1.05, 1.05),1);
CreateObject(324,1,Vector(-1579.75, 1450.42, 8.87629),255).RotateToEuler(Vector(0.0126411, 1.00061, 1.05282),1);
CreateObject(417,1,Vector(-1592.46, 1452.21, 15.2214),255).RotateToEuler(Vector(0, 0, 1.05),1);
CreateObject(417,1,Vector(-1614.46, 1464.93, 15.2214),255).RotateToEuler(Vector(0, 0, 1.05),1);
CreateObject(417,1,Vector(-1635.01, 1477.08, 15.2214),255).RotateToEuler(Vector(0, 0, 1.05),1);
CreateObject(417,1,Vector(-1651.06, 1486.87, 15.2214),255).RotateToEuler(Vector(0, 0, 1.05),1);
CreateObject(417,1,Vector(-1662.8, 1494.16, 15.2214),255).RotateToEuler(Vector(0, 0, 1.05),1);
CreateObject(429,1,Vector(-1658.77, 1500.79, 13.6263),255).RotateToEuler(Vector(0, 0, 1.05),1);
CreateObject(429,1,Vector(-1597.71, 1446.1, 13.5148),255).RotateToEuler(Vector(-3.14159, -3.14159, -1.00841),1);
CreateObject(429,1,Vector(-1647.03, 1493.77, 13.5148),255).RotateToEuler(Vector(-1.74471e-009, 1.9812e-009, 0.9),1);
CreateObject(429,1,Vector(-1630.6, 1483.62, 13.5148),255).RotateToEuler(Vector(0, 0, 0.9),1);
CreateObject(429,1,Vector(-1609.96, 1471.54, 13.5148),255).RotateToEuler(Vector(0, 0, 1),1);
CreateObject(429,1,Vector(-1588.87, 1459.12, 13.5148),255).RotateToEuler(Vector(0, 0, 0.9),1);
CreateObject(429,1,Vector(-1618.98, 1458.27, 13.5148),255).RotateToEuler(Vector(3.14159, 3.14159, -0.991593),1);
CreateObject(429,1,Vector(-1639.57, 1470.78, 13.5148),255).RotateToEuler(Vector(-3.14159, -3.14159, -0.958407),1);
CreateObject(429,1,Vector(-1655.3, 1480.37, 13.5148),255).RotateToEuler(Vector(3.14159, 3.14159, -1.09159),1);
CreateObject(429,1,Vector(-1667.22, 1487.75, 13.5148),255).RotateToEuler(Vector(3.14159, 3.14159, -1.04159),1);
CreateObject(389,1,Vector(-1668.69, 1489.56, 10.1263),255).RotateToEuler(Vector(3.14159, 3.14159, 0.591593),1);
CreateObject(389,1,Vector(-1666.04, 1493.61, 10.1263),255).RotateToEuler(Vector(3.14159, 3.14159, 0.591593),1);
CreateObject(389,1,Vector(-1663.42, 1497.58, 10.1263),255).RotateToEuler(Vector(3.14159, 3.14159, 0.591593),1);
CreateObject(389,1,Vector(-1660.76, 1501.4, 10.1263),255).RotateToEuler(Vector(3.14159, 3.14159, 0.591593),1);
 print("Bridge Created At Main Station Of Train");
 }
catch(e) print( "Main Station Bridge Error: " + e );
 }
@soulshaker must check it

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

soulshaker

Not this, I mean by the timers, which we used for the movement of train.

MacTavish

Quote from: soulshaker on Sep 07, 2015, 05:02 PMNot this, I mean by the timers, which we used for the movement of train.

Ok i understood, now try the bridge that i've posted

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

KAKAN

Quote from: soulshaker on Sep 07, 2015, 05:02 PMNot this, I mean by the timers, which we used for the movement of train.

Oh please post it, players may include it or not, I need it
oh no

soulshaker


KAKAN

oh no

FinchDon

:( I tried my best to run train on track but train give me bad way
For any help and support Join #s-s at IRC for Help in Scripting
( For Newbies )

KAKAN

LOL, he gave a total snippet, and u can't just run it XD
oh no

soulshaker

Quote from: FinchDon on Sep 08, 2015, 09:35 AM:( I tried my best to run train on track but train give me bad way

Please read the Readme.txt, and before saying something not working, please use it in a blank script. For example just load train.nut in your server.cfg and add the store folder then test it. If it works in a blank script but not when you adapt it to your main script then please stop scripting and sorry I can't help you

soulshaker

Quote from: Kusanagi on Sep 07, 2015, 04:58 PMAh souly, actually the one i was using that just has one timer me and kp together made that system btw here is a bridge for main station
 @soulshaker must check it
Wow man it looks cool, Added and file updated. Please refer to the first post.