Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Forum Support

    3. Suggestions

[IV]Driving a train


v-driver_s4g
 Share

Recommended Posts

v-driver_s4g

This .NET script allows you to drive subway train in GTA IV.

 

Requirments:

- GTA IV 1.0.7.0 or lower

- .Net ScriptHook v1.7.1.6

- ASI Loader

 

Installation:

Make sure you have installed all programs required to run this script, then copy *.net file to your Grand Theft Auto IV/scripts folder.

 

When you want to drive a train, press middle mouse button. Then press F5, F6, F7 or F8 to select subway line or press F9 to cancel. To accelerate/slow down use W and S. Press V to change camera view. To open/close doors press numpad 7/9(right doors) or numpad 1/3(left doors). Press MMB to exit/enter the train. if you don't need train anymore, press f9.

 

[Download Link]

 

Screenshot:

Click to view screenshot (400*320, *.gif)

 

Video

 

 

Changes

v1.0

- First release

v2.0

- Added new camera modes

- Added cancel option

- Added subway line selection

- Added open/close doors option

v2.1

- Fixed cancel option

- Fixed pressing of W and S buttons

- Added speed limit

- Train moves more smoothly

Edited by v-driver_s4g
Link to comment
Share on other sites

hungryforthepower

Looks great, nice stuff mate. icon14.gif

 

Are you going to plan an update for 1.0.3.0. if theres a new .Net ScriptHook version?

Link to comment
Share on other sites

v-driver_s4g

When new script hook will be released my mod will work with 103 patch. Just wait for new scripthook.

Edited by v-driver_s4g
Link to comment
Share on other sites

wow this is great! now i don't have to attach a train image to my invisible bus on the tracks anymore. great work man, 3 questions for you, in future versions can you make it so u can hold down the button instead of continuously pressing W and if possible change camera views. Also have you tested this in MP before the patch the other day, just wondering what would happen as there seems to be no train in MP.

Link to comment
Share on other sites

v-driver_s4g
can you make it so u can hold down the button instead of continuously pressing W and if possible change camera views. Also have you tested this in MP before the patch the other day, just wondering what would happen as there seems to be no train in MP.

I have one idea about keys... And yes, it s possible to change camera modes.

P.s i cant test my script in MP because .net script hook doesnt work with patch 1.0.3.0 sad.gif

Link to comment
Share on other sites

It works! I setup v1.0.2.0 as a LAN over a vpn and am able to successfully use my mods and all their glory with private multiplayer. i was told the train looks very jerky from the other persons side, but he saw it! nice.

 

 

Link to comment
Share on other sites

v-driver_s4g

Now i'm working on new version. im going to add new camera modes. You also will be able to select train direction and line.

Link to comment
Share on other sites

v-driver_s4g

 

Can you make us able to open/close doors too?

Yes. New version will be released in a hour.

----

New version is ready! Download link doesn't change.

Now you can open/close doors, select line and change camera view!

Edited by v-driver_s4g
Link to comment
Share on other sites

TheRealPcGamer

Owww I can't wait until the new .Net ScriptHook is released.

 

Link to comment
Share on other sites

v-driver_s4g

I updated the script.. again

Now you can hold w/s buttons instead of continiously pressing them, also fixed bug with cancel option (f9) and added speed limit.

Link to comment
Share on other sites

Excellent mod like the last update got a bit sick of pressing wwwwwww biggrin.gif

Do you think you can change or add camera position inside train at front looking forward like in vechile camera hack cool.gif

 

Is it posible to make the train solid (it is solid but) so that the other trains don't go through it??

 

Next step is to be able to pick up passengers at stations you can the have a train sim in gta iv smile.gif

Keep up the good work m8

Edited by azam8
Link to comment
Share on other sites

v-driver_s4g

 

Do you think you can change or add camera position inside train at front looking forward like in vechile camera hack cool.gif

Yes i can do that.

Is it posible to make the train solid (it is solid but) so that the other trains don't go through it??
is's impossible. All i can do is turn off random game trains.
Link to comment
Share on other sites

KingBulleT 8747

Cant you use the nearest vehicle freezing?

 

It would be f*cking NICE with first person view, but the GTA IV Train has no cockpit, so, can you use the very first door what leads to the railroads?

 

And add that we can pick up peoples, that will be nice. Like World of Subways just in GTA IV smile.gif

Link to comment
Share on other sites

I have a few suggestions:

 

Can you make it just like stealing cars?

Maybe you hold the enter car key or button your the gamepad and you enters the nearest train.

When there's no train nearby, you can't steal one of course.

I don't like it being spawned over the whole map.

 

Also, can you use only one button for the doors? On every station, except Francis International Airport, the doors open on the right side. And with only one key, you could toggle the doors:

First press: door opens

Second press: door closes

 

In my opinion, the trains accelerate/decelerate way too fast. Can you make the acceleration/deceleration slower, please?

Link to comment
Share on other sites

Can you remove the speed limit, I want to see how fast the train can go. Can you release a separate version with the speed limit and no speed limit?

Link to comment
Share on other sites

KingBulleT 8747

I think the Subs cant derail, but im not sure.

 

The Train's Physic is just like the SA one, cars lagg on it, other trains drive through it, and the handling is the same.

Link to comment
Share on other sites

I like the fact you can still shoot passengers waiting to board the train waiting at there predetermined stations biggrin.gif

I'm loving this mod so far and i think it has alot of potential to become one of the leading mods out there keep up the great work v-driver_s4g cool.gif

 

ps it would be great if we could derail the train like in gta sa like what KingBulleT 8747 has suggested devil.gif

i still think what you have done thus far is excellent apart from changing that camera posi biggrin.gif

 

pps can you add speed like in vechile cause i use in game trainer with speedo that would just add to the relism of it all.

 

oh oh and add train horn that would just kill it (in a good way) im pretty sure that there is audio for it, if not the truck one would suffice.

Edited by azam8
Link to comment
Share on other sites

v-driver_s4g

 

Can you make it just like stealing cars?

Maybe you hold the enter car key or button your the gamepad and you enters the nearest train.

When there's no train nearby, you can't steal one of course.

I don't like it being spawned over the whole map.

I'm sure it's 100% possible. I'll try to do this.

 

In my opinion, the trains accelerate/decelerate way too fast. Can you make the acceleration/deceleration slower,please?
There is a little bug with speed. While the train is turning, speed is decreasing. If i make train accelerate slower, it will stop in turns.

 

I think the Subs cant derail, but im not sure.
There is native function "SET_RENDER_TRAIN_AS_DERAILED" but i never tried this
Link to comment
Share on other sites

v-driver_s4g

The link is fixed. My site was unavailable for some time because of hosting.

Link to comment
Share on other sites

  • 2 months later...

v-driver_s4g, could you please make this mod compatible with patch 1.0.3.0?

Link to comment
Share on other sites

  • 2 months later...
KingBulleT 8747

Lol doesnt need update. I checked it right now and it doesnt need a new update for 1.0.4.0

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.