Glorious Transit Train System

This resource is a result of the original script I’ve made for my server.
Standalone, ESX and VRP compatible with lua files as interface.
The core is in C# (.dll).

Features (Not limited, I surely forget…) :

-Automated trains when no employees online
-Player-driven trains can derail on collision or explosion
-Alarm system (emergency stop for passenger, customizable sound file) that stop train (no conductor, speed too high, derailled train)
-Door closing signal for player-driven trains (customizable sound file)
-Fully configurable in lua config file: hud, colors, lines, stops, interval between trains in auto mode, default radio station etc…
-Integrated two trains.dat for metrotram line and train line (stops sets with our customized version of TrainStation). Any other can be added esaily (follow configuration of included lines)
-Next stop announce with Text-To-Speech or your custom sound files
-Custom announces (ad or other as you want) can be streamed (in auto and manual trains) with TTS or custom sound files
-Ticket machine can be used (need to adapt to your framework/items)
-Radio (FM/music) can be played in all trains (webradio or game radios)
-Passenger can stay on foot or sit in trains (8 sittable places/vehicle, 100% compatible with metrotram model, no other model tested)
-Conductor/player can switch between driver and passenger cabin (when train stopped ^^)
-Ticket control can be made by employees and trade a ticket by a used ticket
-Lua files to customize your menus as you want for ticket machine and ticket control, you can customize all things !

And more to come (like: no cloackroom for the moment…forgot it…)
Contains only the train and tram lines built into the game.

And same as my others resources, updates are always free !

Note:
-To rename the resource, you must to update two files with the new name, if not, you cannot play on your server (error), show fxmanifest.lua for more information
-To drive train, you must to disable jobs in fxmanifest.lua, or set your job framework and target job in the fxmanifest.lua
-All trains are always inconsistent for another train, this is normal gta 5 operation, regardless of the script creating the train

Available on my tebex: https://glorious-rp.tebex.io/package/4248991

Tell me what you think or if you have any remark or suggestion !

4 Likes

This is pretty dope, whats the resmon usage, active and at idle?
This also can be set as a job?

its encrypted or ip locked?

Resmon is showed on video so you can see the resource consumption.
And yes, you can use it from a specific job(s), esx1 and vrp can be used with it.

1 Like

Hello? [Paid] ?

The only reason why I not buy this script because of C#. Even the simplest C# resoursec take 20-30% based on resmon while lua scripts less than 1%. They causes very big server hitch what can cause very bad performance on large playerbase.

3 Likes

Server part has protected because yes it’s limited to 3 differents ip at same time.
Client part has no encrypted but minified for performance.
I have work long time on this script to make it better and that it be efficient and not very resource intensive.
And, because i’ve make it in lua first, I understand that only C # could be robust enough to handle such a complete system and multiple trains and lines at once. And I was right about the results I got.

Yea… 0.55ms it’s kinda much though

god nice

Isn’t it too expensive?

1 Like

I see gcphone in the video resmon

2 Likes

Very nice idea and a well done result. :+1:

Go at 5~6min, my bad !

2 Likes

Nice concept but poor optimization, 0.80 ms spikes is like having 2 vMenu installed on server

1 Like

Yes, the detection of stops still generates a few spikes but it will be fixed in a future version =)

Thats what I wrote. Main problem is C#. Even 2 line C# resource would have 0.50-0.80ms :frowning:

@Gyzzmo If you keep client part in C# but change server side to LUA then it will be 100 times better performance. I use many script on my server what is combined C# client and serverside lua.

Can you please share that train rails map on legion square please?
Thank you!

1 Like

id really like this but spending 50 bucks is hard to do with how much this script uses.
If it has less usage id be all about it. Really cool, but for price and usage just cant make sense of it