[Mod] Advanced Trains [advtrains] [2.4.3]
- orwell
- Member
- Posts: 958
- Joined: Wed Jun 24, 2015 18:45
- GitHub: orwell96
- IRC: orwell96_mt
- In-game: orwell
- Location: Raxacoricofallapatorius
[Mod] Advanced Trains [advtrains] [2.4.3]
ADVANCED TRAINS
Update 2.3.0: The modpack no longer contains trains. Please install Basic Trains to get them back!
This mod features realistic trains and various equipment for railways, with a focus on automated train operation.
Main features:
- A small selection of different trains (passenger and goods trains) (see also "Extensions")
- Almost-realistic tracks with actual curves and switches
- Railway signals, controllable by various means
- ATC: Simple, command-like automatic train control
- LuaATC: Powerful Lua-scripted automatic train operation(requires some programming knowledge)*
- An Interlocking system, featuring track sections, routes and automatic stopping before signals
Planned features:
- A timetable-based automatic train operation system.
Website
Download / Git
Content Database:
https://content.minetest.net/packages/orwell/advtrains/
Git repository:
http://git.bananach.space/advtrains.git/
Issue tracker:
https://bugs.linux-forks.de/advtrains/
License of code: AGPLv3
License of media: CC-BY-SA 3.0
Recommended Addons
Basic Trains by me: http://git.bananach.space/basic_trains.git/
More trains by rubberduck: viewtopic.php?f=9&t=24112
Extensions
These are some additional mods that add more content to advtrains.
You just need to install those mods and enable them.
Disco Trains by sivarajansam: https://content.minetest.net/packages/s ... scotrains/
granite by Smacker: https://github.com/h-v-smacker/advtrains_granite
older (might not work):
various trains by mbb: https://mbblp.github.io/advanced-trains
Andrey's stuff: https://github.com/Andrey2470T/Advanced ... dditional-
Decoration blocks:
metrosigns (over 1300 items!)
https://git.bananach.space/railroad_paraphernalia.git/
viewtopic.php?f=9&t=19743
Tunnel building
Tunnelmaker: viewtopic.php?f=9&t=20159
Digtron: viewtopic.php?f=9&t=16295
Servers
There are some servers running the Advanced Trains mod:
Linuxworks Next Generation
- I am frequently online on this server. If you are in trouble with some railway setup or have a question, it's best to catch me there.
*) LuaATC is in use in a variety of applications, most notably the Spawn subway system, on this server
Grand Theft Auto Minetest
- This server has some subway lines operated by advtrains.
Pandorabox
ITALIAN ULLA SERVER
Сrimea HiTech&Magic (RUS) SERVER
Survivalworks Urban Edition
There might be more of which I am not aware.
Contributors
Advtrains wouldn't be what it is now without the help of numerous contributors providing bugfixes, new features or additional content.
Active contributors:
- gpcf (gabriel)
- yw05 (ywang)
- Blockhead
- Maverick2797
- rubberduck [moretrains]
- W3RQ01 (dario23)
- doxygen_spammer (doxydoxy)
Past contributors:
- mbb
- Smacker
- Hume2
- techniX
Special thanks also go to gpcf and all players of LinuxForks Next Generation for acting as a "live beta" of advtrains and enduring lag, crashes and disasters.
------
Get in touch: Discuss with us on IRC - https://libera.chat Channel #advtrains
------
Access code for Advanced Trains Wiki account creation:
SEMAPHORE
Update 2.3.0: The modpack no longer contains trains. Please install Basic Trains to get them back!
This mod features realistic trains and various equipment for railways, with a focus on automated train operation.
Main features:
- A small selection of different trains (passenger and goods trains) (see also "Extensions")
- Almost-realistic tracks with actual curves and switches
- Railway signals, controllable by various means
- ATC: Simple, command-like automatic train control
- LuaATC: Powerful Lua-scripted automatic train operation(requires some programming knowledge)*
- An Interlocking system, featuring track sections, routes and automatic stopping before signals
Planned features:
- A timetable-based automatic train operation system.
Website
Download / Git
Content Database:
https://content.minetest.net/packages/orwell/advtrains/
Git repository:
http://git.bananach.space/advtrains.git/
Issue tracker:
https://bugs.linux-forks.de/advtrains/
License of code: AGPLv3
License of media: CC-BY-SA 3.0
Recommended Addons
Basic Trains by me: http://git.bananach.space/basic_trains.git/
More trains by rubberduck: viewtopic.php?f=9&t=24112
Extensions
These are some additional mods that add more content to advtrains.
You just need to install those mods and enable them.
Disco Trains by sivarajansam: https://content.minetest.net/packages/s ... scotrains/
granite by Smacker: https://github.com/h-v-smacker/advtrains_granite
older (might not work):
various trains by mbb: https://mbblp.github.io/advanced-trains
Andrey's stuff: https://github.com/Andrey2470T/Advanced ... dditional-
Decoration blocks:
metrosigns (over 1300 items!)
https://git.bananach.space/railroad_paraphernalia.git/
viewtopic.php?f=9&t=19743
Tunnel building
Tunnelmaker: viewtopic.php?f=9&t=20159
Digtron: viewtopic.php?f=9&t=16295
Servers
There are some servers running the Advanced Trains mod:
Linuxworks Next Generation
- I am frequently online on this server. If you are in trouble with some railway setup or have a question, it's best to catch me there.
*) LuaATC is in use in a variety of applications, most notably the Spawn subway system, on this server
Grand Theft Auto Minetest
- This server has some subway lines operated by advtrains.
Pandorabox
ITALIAN ULLA SERVER
Сrimea HiTech&Magic (RUS) SERVER
Survivalworks Urban Edition
There might be more of which I am not aware.
Contributors
Advtrains wouldn't be what it is now without the help of numerous contributors providing bugfixes, new features or additional content.
Active contributors:
- gpcf (gabriel)
- yw05 (ywang)
- Blockhead
- Maverick2797
- rubberduck [moretrains]
- W3RQ01 (dario23)
- doxygen_spammer (doxydoxy)
Past contributors:
- mbb
- Smacker
- Hume2
- techniX
Special thanks also go to gpcf and all players of LinuxForks Next Generation for acting as a "live beta" of advtrains and enduring lag, crashes and disasters.
------
Get in touch: Discuss with us on IRC - https://libera.chat Channel #advtrains
------
Access code for Advanced Trains Wiki account creation:
SEMAPHORE
Last edited by orwell on Thu Jul 20, 2023 19:52, edited 160 times in total.
- TumeniNodes
- Member
- Posts: 2951
- Joined: Fri Feb 26, 2016 19:49
- GitHub: TumeniNodes
- IRC: tumeninodes
- In-game: TumeniNodes
- Location: in the dark recesses of the mind
- Contact:
- webdesigner97
- Member
- Posts: 1328
- Joined: Mon Jul 30, 2012 19:16
- GitHub: webD97
- IRC: webdesigner97
- In-game: webdesigner97
- Location: Cologne, Germany
- Contact:
Re: [Mod] Advanced Trains [WIP]
Sounds interesting! Minetest really needs a good mod for trains :)
I hope that one day we'll reach something like this:
Youtube | Official Build A World Channel: Trains & Tracks - Part 3 - 'Rails Demo'
I hope that one day we'll reach something like this:
Youtube | Official Build A World Channel: Trains & Tracks - Part 3 - 'Rails Demo'
Visit me: webD97.de | @GitHub | @DeviantArt
Mods: StreetsMod | Vehicles
Featured from my blog: Dockerize the Minetest server
On my own behalf: Chameleon - A PHP image manipulation library built around GD
Mods: StreetsMod | Vehicles
Featured from my blog: Dockerize the Minetest server
On my own behalf: Chameleon - A PHP image manipulation library built around GD
- benrob0329
- Member
- Posts: 1341
- Joined: Thu Aug 06, 2015 22:39
- GitHub: Benrob0329
- IRC: benrob0329
- In-game: benrob03
- Location: Michigan
- Contact:
Re: [Mod] Advanced Trains [WIP]
Is it based off of the railnet mod? If not, I'd recommended you take a look at it, its pretty cool.
- lightonflux
- Member
- Posts: 384
- Joined: Mon Nov 11, 2013 07:22
- In-game: lof
- Location: Germany
Re: [Mod] Advanced Trains [WIP]
First impressions:
* Rail blocks need different names, other wise it is hard to test as you have to use every block before you have an idea what it even does
* crashes when connecting wagons (nil value)
* check if wagon is placed on track_vert and deny placement to prevent bugs (wagon stuck in track_vert or other wagon)
* node highlight of track_vert (1 & 2) broken, and player can walk into the block
* don't let the player place wagons in the ground (place on != track block)
* traintester tool on wagon crashes the session (nil value)
Good enough as a first 0.1 release. Better release often, then almost never like some other mods.
* Rail blocks need different names, other wise it is hard to test as you have to use every block before you have an idea what it even does
* crashes when connecting wagons (nil value)
* check if wagon is placed on track_vert and deny placement to prevent bugs (wagon stuck in track_vert or other wagon)
* node highlight of track_vert (1 & 2) broken, and player can walk into the block
* don't let the player place wagons in the ground (place on != track block)
* traintester tool on wagon crashes the session (nil value)
Good enough as a first 0.1 release. Better release often, then almost never like some other mods.
- orwell
- Member
- Posts: 958
- Joined: Wed Jun 24, 2015 18:45
- GitHub: orwell96
- IRC: orwell96_mt
- In-game: orwell
- Location: Raxacoricofallapatorius
Re: [Mod] Advanced Trains [WIP]
in the end, ther will be only the track placer available and it won't be called trackplacer but just 'track'. you wil do anything other using the trackworkerlightonflux wrote:First impressions:
* Rail blocks need different names, other wise it is hard to test as you have to use every block before you have an idea what it even does
it shouldn't. can you please provide debug.txt entries?lightonflux wrote: * crashes when connecting wagons (nil value)
you're right, I will fix this. but i will allow placement and just fix positioning, because i plan to add cog railwayslightonflux wrote: * check if wagon is placed on track_vert and deny placement to prevent bugs (wagon stuck in track_vert or other wagon)
ok, this could be improved. you can walk through because these nodes are not set as walkable, because then you could place torches and rails on it, which you shouldn't do.lightonflux wrote: * node highlight of track_vert (1 & 2) broken, and player can walk into the block
will be done.lightonflux wrote: * don't let the player place wagons in the ground (place on != track block)
ah, I think I know what I did wrong...lightonflux wrote: * traintester tool on wagon crashes the session (nil value)
Just keep in mind that this mod is far away from being finished.
- orwell
- Member
- Posts: 958
- Joined: Wed Jun 24, 2015 18:45
- GitHub: orwell96
- IRC: orwell96_mt
- In-game: orwell
- Location: Raxacoricofallapatorius
Re: [Mod] Advanced Trains [WIP]
Nope. It's almost completely my work, except the rail texture (but I will improve this one too, so that it looks good even for 45deg rails)benrob0329 wrote:Is it based off of the railnet mod? If not, I'd recommended you take a look at it, its pretty cool.
But I will implement that train-not-being-unloaded stuff one day, maybe I can draw inspiration out of it (of course while giving credit to stu). Thanks for the suggestion.
EDIT: well, the texture does not look 'good' for 45deg rails, it looks 'acceptable for a wip mod'
Last edited by orwell on Mon May 30, 2016 19:47, edited 1 time in total.
- orwell
- Member
- Posts: 958
- Joined: Wed Jun 24, 2015 18:45
- GitHub: orwell96
- IRC: orwell96_mt
- In-game: orwell
- Location: Raxacoricofallapatorius
Re: [Mod] Advanced Trains [WIP]
No, but I will create some when I have better models and textures (that will be in about two weeks, when I have more time)TumeniNodes wrote:Sounds really cool! Do you have any screenshots?
- orwell
- Member
- Posts: 958
- Joined: Wed Jun 24, 2015 18:45
- GitHub: orwell96
- IRC: orwell96_mt
- In-game: orwell
- Location: Raxacoricofallapatorius
Re: [Mod] Advanced Trains [WIP]
Indeed, something like this is what I'm dreaming of.webdesigner97 wrote:Sounds interesting! Minetest really needs a good mod for trains :)
I hope that one day we'll reach something like this:
Youtube | Official Build A World Channel: Trains & Tracks - Part 3 - 'Rails Demo'
- AccidentallyRhine
- Member
- Posts: 252
- Joined: Sun Aug 02, 2015 05:43
Re: [Mod] Advanced Trains [WIP]
I would be really interested to see how those high-radius turn rails from the Build A World video might be implemented into a mod like yours.
- orwell
- Member
- Posts: 958
- Joined: Wed Jun 24, 2015 18:45
- GitHub: orwell96
- IRC: orwell96_mt
- In-game: orwell
- Location: Raxacoricofallapatorius
Re: [Mod] Advanced Trains [advtrains] [WIP]
Update
1. github
2. models
3. improvements
4. trains travel through unloaded mapchunks
next: better couple logic
EDIT: 5. screenshots
1. github
2. models
3. improvements
4. trains travel through unloaded mapchunks
next: better couple logic
EDIT: 5. screenshots
- Nathan.S
- Member
- Posts: 1149
- Joined: Wed Sep 24, 2014 17:47
- GitHub: NathanSalapat
- IRC: NathanS21
- In-game: NathanS21
- Location: Bigsby Texas
- Contact:
Re: [Mod] Advanced Trains [advtrains] [WIP]
You sir, are a master. (assuming Orwell is a guy name :S)
Either way, this looks AMAZING.
Let me know if you want any help with train models, I'm kinda okay at Blender.
Either way, this looks AMAZING.
Let me know if you want any help with train models, I'm kinda okay at Blender.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
Check out my website, and brand new Minetest Modding Course
- orwell
- Member
- Posts: 958
- Joined: Wed Jun 24, 2015 18:45
- GitHub: orwell96
- IRC: orwell96_mt
- In-game: orwell
- Location: Raxacoricofallapatorius
Re: [Mod] Advanced Trains [advtrains] [WIP]
You are always welcome to help. The locomotive is not animated, if you can animate it, that would just be so cool...
George Orwell was a famous author.
George Orwell was a famous author.
- TumeniNodes
- Member
- Posts: 2951
- Joined: Fri Feb 26, 2016 19:49
- GitHub: TumeniNodes
- IRC: tumeninodes
- In-game: TumeniNodes
- Location: in the dark recesses of the mind
- Contact:
Re: [Mod] Advanced Trains [advtrains] [WIP]
The screenshots look great!
And it is great that you decided to use 45* angles... makes much more sense then 90* turns.
I am still of the opinion though, that rails should be scaled up in size = double the width.
I wish they could be done as this example 2x4 sections of track.
It would add a lot of richness, and better proportion to the feature. As well as the ability to create larger engines and carts, and it may help with the collision space, by acting as a buffer zone, by extending outward x 1 on each side of the tracks?
I don't know if this is something anyone else would like to see, or if you think it is a good idea??
Of course they would actually be scaled down to the default 16x16 blocks, this example uses 64x64
Anyway, time for me to try out your great work : )
And it is great that you decided to use 45* angles... makes much more sense then 90* turns.
I am still of the opinion though, that rails should be scaled up in size = double the width.
I wish they could be done as this example 2x4 sections of track.
It would add a lot of richness, and better proportion to the feature. As well as the ability to create larger engines and carts, and it may help with the collision space, by acting as a buffer zone, by extending outward x 1 on each side of the tracks?
I don't know if this is something anyone else would like to see, or if you think it is a good idea??
Of course they would actually be scaled down to the default 16x16 blocks, this example uses 64x64
Anyway, time for me to try out your great work : )
- Attachments
-
- larger rails.png (79.43 KiB) Viewed 32508 times
A Wonderful World
- orwell
- Member
- Posts: 958
- Joined: Wed Jun 24, 2015 18:45
- GitHub: orwell96
- IRC: orwell96_mt
- In-game: orwell
- Location: Raxacoricofallapatorius
Re: [Mod] Advanced Trains [advtrains] [WIP]
Since the 45deg rail textures extend over node borders, actually every rail node is a mesh consisting just of a plane that spans 0,5 node lengths over th node border. So it is really easy to extend the rail width a bit.
May I use that rail texture you posted? it looks great...(it has even got a gravel bed...)
May I use that rail texture you posted? it looks great...(it has even got a gravel bed...)
- Nathan.S
- Member
- Posts: 1149
- Joined: Wed Sep 24, 2014 17:47
- GitHub: NathanSalapat
- IRC: NathanS21
- In-game: NathanS21
- Location: Bigsby Texas
- Contact:
Re: [Mod] Advanced Trains [advtrains] [WIP]
I'm not sure if I can get animation one an object like a train, as I wouldn't know how to make the model use animation, unless it uses something like the mob api where animation is an option. I guess I'll have to look at the code. I might still have an old train model sitting around from the last train mod that somebody started on, but then gave up on, or whatever happened to that mod. I'll try and get a little something together tomorrow. If nothing else, a slightly better texture than what's going on now, where it will actually look like a train engine, or car :Dorwell wrote:You are always welcome to help. The locomotive is not animated, if you can animate it, that would just be so cool...
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
Check out my website, and brand new Minetest Modding Course
- TumeniNodes
- Member
- Posts: 2951
- Joined: Fri Feb 26, 2016 19:49
- GitHub: TumeniNodes
- IRC: tumeninodes
- In-game: TumeniNodes
- Location: in the dark recesses of the mind
- Contact:
Re: [Mod] Advanced Trains [advtrains] [WIP]
Absolutely, I'd be honored if you did. Let me know if you want/need other textures, or even if you want me to make any changes to this one. I just threw it together as an exampleorwell wrote:Since the 45deg rail textures extend over node borders, actually every rail node is a mesh consisting just of a plane that spans 0,5 node lengths over th node border. So it is really easy to extend the rail width a bit.
May I use that rail texture you posted? it looks great...(it has even got a gravel bed...)
A Wonderful World
- orwell
- Member
- Posts: 958
- Joined: Wed Jun 24, 2015 18:45
- GitHub: orwell96
- IRC: orwell96_mt
- In-game: orwell
- Location: Raxacoricofallapatorius
Re: [Mod] Advanced Trains [advtrains] [WIP]
Well, I just need a model file with a well-working animation. I will write the code myself.Nathan.S wrote:I'm not sure if I can get animation one an object like a train, as I wouldn't know how to make the model use animation, unless it uses something like the mob api where animation is an option. I guess I'll have to look at the code. I might still have an old train model sitting around from the last train mod that somebody started on, but then gave up on, or whatever happened to that mod. I'll try and get a little something together tomorrow. If nothing else, a slightly better texture than what's going on now, where it will actually look like a train engine, or car :Dorwell wrote:You are always welcome to help. The locomotive is not animated, if you can animate it, that would just be so cool...
- Desour
- Member
- Posts: 1495
- Joined: Thu Jun 19, 2014 19:49
- GitHub: Desour
- IRC: Desour
- In-game: DS
- Location: I'm scared that if this is too exact, I will be unable to use my keyboard.
Re: [Mod] Advanced Trains [advtrains] [WIP]
looks very nice
Edit: its extremely buggy and the size of the mod is gigantic, maybe you should not make round meshes, cubic style is better and please scale the textures of train and wagon down
Edit: its extremely buggy and the size of the mod is gigantic, maybe you should not make round meshes, cubic style is better and please scale the textures of train and wagon down
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)
- orwell
- Member
- Posts: 958
- Joined: Wed Jun 24, 2015 18:45
- GitHub: orwell96
- IRC: orwell96_mt
- In-game: orwell
- Location: Raxacoricofallapatorius
Re: [Mod] Advanced Trains [advtrains] [WIP]
of course its buggy, its a WIP mod.
and have you ever seen locomotives with cubic boilers?
the textures may be scaled down.
Notice that the main size of the mod should come from 1. the xcf projects(they are huge) and 2. the .blend files that lie around everywhere...
BTW pushed an update, first part of better couple logic done.
EDIT: now the discouplers are done too, and trains collide again.
and have you ever seen locomotives with cubic boilers?
the textures may be scaled down.
Notice that the main size of the mod should come from 1. the xcf projects(they are huge) and 2. the .blend files that lie around everywhere...
BTW pushed an update, first part of better couple logic done.
EDIT: now the discouplers are done too, and trains collide again.
- Nathan.S
- Member
- Posts: 1149
- Joined: Wed Sep 24, 2014 17:47
- GitHub: NathanSalapat
- IRC: NathanS21
- In-game: NathanS21
- Location: Bigsby Texas
- Contact:
Re: [Mod] Advanced Trains [advtrains] [WIP]
So I added a little animation to the engine, the pistons and drive links move together. Everything is controlled by bones, and two empties. To change it up you only need to change the animation of the wheel center empty, everything else is either a child or is being modified by that with constraints.
The forum doesn't allow the .blend format so I've uploaded it to my website instead.
http://www.nathansalapat.com/downloads/ ... tion.blend
I do think you could drastically lower the amount of faces in the model without much of a notice of quality loss. The two pistons that go into the little cylinders and the cylinders themselves have lots of faces, but are small enough, especially the pistons that they could be at like 12 faces without anybody even being able to tell. I'm not going to try and tell you what you should be doing with models though, so I didn't touch anything other than to add the animation.
The forum doesn't allow the .blend format so I've uploaded it to my website instead.
http://www.nathansalapat.com/downloads/ ... tion.blend
I do think you could drastically lower the amount of faces in the model without much of a notice of quality loss. The two pistons that go into the little cylinders and the cylinders themselves have lots of faces, but are small enough, especially the pistons that they could be at like 12 faces without anybody even being able to tell. I'm not going to try and tell you what you should be doing with models though, so I didn't touch anything other than to add the animation.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
Check out my website, and brand new Minetest Modding Course
- TumeniNodes
- Member
- Posts: 2951
- Joined: Fri Feb 26, 2016 19:49
- GitHub: TumeniNodes
- IRC: tumeninodes
- In-game: TumeniNodes
- Location: in the dark recesses of the mind
- Contact:
Re: [Mod] Advanced Trains [advtrains] [WIP]
This is something we may be able to ask to have added to the forums? Especially now since meshes will most likely be utilized more often with recent changes?Nathan.S wrote: The forum doesn't allow the .blend format so I've uploaded it to my website instead.
Gonna check out your blend, sounds awesome so far
A Wonderful World
- Nathan.S
- Member
- Posts: 1149
- Joined: Wed Sep 24, 2014 17:47
- GitHub: NathanSalapat
- IRC: NathanS21
- In-game: NathanS21
- Location: Bigsby Texas
- Contact:
Re: [Mod] Advanced Trains [advtrains] [WIP]
I wouldn't know who to ask, but maybe I'll make a post in the feature request part of the forum.
I only added the animation to the model, it was created by orwell.
I only added the animation to the model, it was created by orwell.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
Check out my website, and brand new Minetest Modding Course
- TumeniNodes
- Member
- Posts: 2951
- Joined: Fri Feb 26, 2016 19:49
- GitHub: TumeniNodes
- IRC: tumeninodes
- In-game: TumeniNodes
- Location: in the dark recesses of the mind
- Contact:
Re: [Mod] Advanced Trains [advtrains] [WIP]
celeron55 would prob be the best person to pm regarding it. I think adding .blend and .obj would be very useful and justified (if they are options)
adding animation is no little feat... I'm sure orwell will agree
adding animation is no little feat... I'm sure orwell will agree
A Wonderful World
- Desour
- Member
- Posts: 1495
- Joined: Thu Jun 19, 2014 19:49
- GitHub: Desour
- IRC: Desour
- In-game: DS
- Location: I'm scared that if this is too exact, I will be unable to use my keyboard.
Re: [Mod] Advanced Trains [advtrains] [WIP]
maybe make mesh for rails, for more information, maybe ask wikipedia (de)
at now the 45° rail is wider than the normal
and i still dont like these cylinders in the trains, minetest is a cubic game
at now the 45° rail is wider than the normal
and i still dont like these cylinders in the trains, minetest is a cubic game
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)
Who is online
Users browsing this forum: No registered users and 2 guests