Thanks, i will try so to doorwell wrote:No, not in inventory, it appears between the two wagons you want to couple. If it's not there, try to move the engine around (a bit forward and then backward until it stops itself because of collision). This may not work with the industrial engine, but however you can couple the japanese engine to it.
Also keep in mind that ATM you can't couple any steam-related wagons/engines to electric or subway trains and the other way round, and subways do not couple to electric trains. I will remove this limitation in a future version, now it is needed for the maximum speed a train can drive.
train types:
steam: steam engine, box wagon, passenger wagon (max 10m/s)
subway: subway (max 15 m/s)
electric: japanese and industrial wagons/engines. (max 20 m/s)
No wagon couples when placed, it may look like this but is not. Better place wagons with >2 nodes space between them and then use an engine to connect them all. It's not that difficult.
[Mod] Advanced Trains [advtrains] [2.4.3]
- Andrey01
- Member
- Posts: 2574
- Joined: Wed Oct 19, 2016 15:18
- GitHub: Andrey2470T
- In-game: Andrey01
- Location: Russia, Moscow
Re: [Mod] Advanced Trains [advtrains] [1.3.0]
Re: [Mod] Advanced Trains [advtrains] [1.3.0]
Here's a rather silly video I happened to make about this: https://www.youtube.com/watch?v=yFn6VX_8VCM
It's basically a timelapse of me trying to use this mod, including all mishaps and entanglements.
Keep up the good work; I can't even imagine how painful it has been to make something even this functional with the current modding API.
It's basically a timelapse of me trying to use this mod, including all mishaps and entanglements.
Keep up the good work; I can't even imagine how painful it has been to make something even this functional with the current modding API.
- Andrey01
- Member
- Posts: 2574
- Joined: Wed Oct 19, 2016 15:18
- GitHub: Andrey2470T
- In-game: Andrey01
- Location: Russia, Moscow
Re: [Mod] Advanced Trains [advtrains] [1.3.0]
Nice video!Now i`ve understood as i must connect all wagons,I will try so to doceleron55 wrote:Here's a rather silly video I happened to make about this: https://www.youtube.com/watch?v=yFn6VX_8VCM
It's basically a timelapse of me trying to use this mod, including all mishaps and entanglements.
Keep up the good work; I can't even imagine how painful it has been to make something even this functional with the current modding API.
- 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] [1.3.0]
Comments on the video:
- Thanks for making a video, that's cool.
- The switch did not work because it was adjusted at 'straight' but you came from the side. The train couldn't pass the switch. Right-click on the switch (without holding any tool) to change the switch direction.
Ah the collision detection. It's really hard to write something that detects collisions and that works...
- Thanks for making a video, that's cool.
- The switch did not work because it was adjusted at 'straight' but you came from the side. The train couldn't pass the switch. Right-click on the switch (without holding any tool) to change the switch direction.
Ah the collision detection. It's really hard to write something that detects collisions and that works...
- krokoschlange
- Member
- Posts: 62
- Joined: Sat Jul 02, 2016 08:33
- GitHub: krokoschlange
- In-game: krokoschlange
- Desour
- Member
- Posts: 1469
- 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] [1.3.0]
wow, c55s pc is good and what honor, that he replied here and spent so much time playing with the mod
minetest also had 777 issues today hmkrokoschlange wrote:and btw 7777 views
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] [1.3.1]
Update
Introduced intelligent slope placing just by using the "Track slope" item this way:
_ = ground level; # = 1 level higher. 2D from above:
_ _ _ #
^ right click with slope here
_ _ #
^ or here
_ _ #
_ _ _
_ _ _
^ or here to place diagonal slope
when facing in the wanted direction.
Introduced intelligent slope placing just by using the "Track slope" item this way:
_ = ground level; # = 1 level higher. 2D from above:
_ _ _ #
^ right click with slope here
_ _ #
^ or here
_ _ #
_ _ _
_ _ _
^ or here to place diagonal slope
when facing in the wanted direction.
Re: [Mod] Advanced Trains [advtrains] [1.3.1]
Sounds great! I'll have a look at it when I have time. If it doesn't have any major bugs, I'll roll out the new version at my server.
Play on Linuxworks server. We have got lots of trains.
My mods (Industrial Livestock Farming, Farebox and Faregate, Moving Walkways, Atm)
My mods (Industrial Livestock Farming, Farebox and Faregate, Moving Walkways, Atm)
- Desour
- Member
- Posts: 1469
- 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] [1.3.1]
nice update
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)
- Andrey01
- Member
- Posts: 2574
- Joined: Wed Oct 19, 2016 15:18
- GitHub: Andrey2470T
- In-game: Andrey01
- Location: Russia, Moscow
Re: [Mod] Advanced Trains [advtrains] [1.3.1]
1.Will come new update with trains?
2.I can`t connect wagons themselves, when i move by Japanese Locomotive it goes between other next wagon and that`s why wagons don`t connect.Maybe is that unfinished yet with trains?
2.I can`t connect wagons themselves, when i move by Japanese Locomotive it goes between other next wagon and that`s why wagons don`t connect.Maybe is that unfinished yet with trains?
- 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] [1.3.1]
It's a bit buggy.
New trains probably after new year
New trains probably after new year
- Andrey01
- Member
- Posts: 2574
- Joined: Wed Oct 19, 2016 15:18
- GitHub: Andrey2470T
- In-game: Andrey01
- Location: Russia, Moscow
Re: [Mod] Advanced Trains [advtrains] [1.3.1]
How to understand with that error?
-
- Member
- Posts: 361
- Joined: Tue Jan 19, 2016 16:46
- GitHub: jdc843
- IRC: jdc843
- In-game: 843jdc
- Location: USA
Advtrains is installed on Cash's World
I've been watching this mod's forum for a while now. I reached a point where I decided to install this mod on my server. My server seems to attract a lot of young kids and I knew that this mod would be an instant hit with them.
I built a switch yard with 5 tracks and 5 trains that serve a simple loop around a city center. When I announced that I had installed this mod and that there were trains waiting for engineers to drive them, I had a 'traffic jam' of trains within an hour. I fully expected that :)
General Observations:
I am installing mesecons mod soon. I hope to get some automatic switching happening.
This mod is *lots* of fun! Over time it will only get better.
I built a switch yard with 5 tracks and 5 trains that serve a simple loop around a city center. When I announced that I had installed this mod and that there were trains waiting for engineers to drive them, I had a 'traffic jam' of trains within an hour. I fully expected that :)
General Observations:
- Placing track can be tricky at first. Switches are the worst. These tasks get easier with experience. I've had to redo my track layout a few times for the switch yard. That was expected also. IMHO the tracks need more angles. It has 30, 45, and 60 degree turns. That gives 15 degree difference between 30 and 45, and 45 and 60. With a large 30 degree difference between 0 and 30, and 60 and 90. That makes the tracks look odd.
- I was driving a train and a player 'clicked' me out of the driver's seat and took control of my train! Maybe I should make a gallows to hang train thiefs >:)
- The view around the area can be obstructed by the train. I use F7 often to solve this.
- More than one rider per car would be nice.
- Trains kill players that get hit by a train. Hmm. I don't know about changing this behavior. Leave as is with no bones generated but inventory items dropped. See next list item.
- Trains come to an instant stop if they hit something. This hasn't been extensively examined. If a train hits a 'brick wall' in real life, yes it's going to stop. Eventually. But running over a player's bones? Nope. The train should keep right on rolling along. Hmm. Can we have a mangled player bones node added? haha.
- Controls - Not sure how to do this. Kinda good as is. Maybe add a small button to show help text for controls?
- Train vanishes if track is dug near the train. I need to look it this more closely to find out exactly what is happening.
- Can't see the train from very far. This may be caused by something outside of this mod
- Signs - Oh yes we need signs! xD
- Should engines have "keys to the cab"? IOW, engine is only usable by the player that placed it and by admins. Make this an option.
- I've jumped off a moving train and died. I also sometimes didn't take any damage. Jumping off a moving train should cause automatic damage based on train speed. hmm. Same if fly is enabled?
- Head light for engines
- Trains need whistles! I'm an adult and I want to blow the whistle also xD
- For various reasons, players often abandon their trains while they are moving. If trains can pass through one another, this won't be too much of a problem. But if not, then having the ability for trains to 'auto-drive' to a certain point or type of block would be very desirable to prevent train-jams.
I am installing mesecons mod soon. I hope to get some automatic switching happening.
This mod is *lots* of fun! Over time it will only get better.
- TumeniNodes
- Member
- Posts: 2941
- 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] [1.3.1]
This is really coming along nicely.... great work!
A Wonderful World
Re: Advtrains is installed on Cash's World
Maybe include some schematics for some common rail-constructs ?843jdc wrote: [*]Placing track can be tricky at first. Switches are the worst.
(To be used with handle_schematics / worldedit)
Stop-signals at every station ?[*]players often abandon their trains while they are moving. ..
having the ability for trains to 'auto-drive' to a certain point or type of block
Every 30s a check to see if a driver is onboard, otherwise emergency-brake ?
'My' wiki-pages: Build-a-home - basic-robot - basic_robot_csm - basic-machines - digtron - xdecor -
Map-Database
Map-Database
- Desour
- Member
- Posts: 1469
- 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: Advtrains is installed on Cash's World
let the driver press a button like in real life...hajo wrote: Every 30s a check to see if a driver is onboard, otherwise emergency-brake ?
emergency brakes would be needed some time
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)
Re: Advtrains is installed on Cash's World
That would be too distracting for a game (as opposed to a sim).DS-minetest wrote:let the driver press a button like in real life...hajo wrote: Every 30s a check to see if a driver is onboard, otherwise emergency-brake ?
'My' wiki-pages: Build-a-home - basic-robot - basic_robot_csm - basic-machines - digtron - xdecor -
Map-Database
Map-Database
-
- Member
- Posts: 1118
- Joined: Mon Dec 29, 2014 08:07
- Location: USA
Re: [Mod] Advanced Trains [advtrains] [1.3.1]
orwell,
I wouldn't call myself a 3D or graphics specialist, but I might be able to make some additional models and textures, if you are interested.
How difficult would it be to add additional engines and wagons into the code? Could I just copy paste the relevant sections that register the nodes and crafts, and give them different names/models/textures? My thinking here, is that I could add the tanker and lumber car models to the steam engine type trains, using the code for the brown box car. Also, the opposite could occur, where the box car could be added to the diesel engine type trains, using the code for the tanker car. This would add so much flexibility, while, IMHO, requiring little mod of the actual code.
Additional engines/locomotives could be added using the same models, with different textures, of which, I will certainly assist.
I'm certainly willing to help where possible, as this mod is ADDICTING!!! Oh, yeah, and my 5 year old likes it too.
Shad MOrdre
I wouldn't call myself a 3D or graphics specialist, but I might be able to make some additional models and textures, if you are interested.
How difficult would it be to add additional engines and wagons into the code? Could I just copy paste the relevant sections that register the nodes and crafts, and give them different names/models/textures? My thinking here, is that I could add the tanker and lumber car models to the steam engine type trains, using the code for the brown box car. Also, the opposite could occur, where the box car could be added to the diesel engine type trains, using the code for the tanker car. This would add so much flexibility, while, IMHO, requiring little mod of the actual code.
Additional engines/locomotives could be added using the same models, with different textures, of which, I will certainly assist.
I'm certainly willing to help where possible, as this mod is ADDICTING!!! Oh, yeah, and my 5 year old likes it too.
Shad MOrdre
- 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] [1.3.1]
Yes, it's that simple. I need to document the api.
"Every time a mod api is left undocumented a koala dies."
How many koalas have died becahse of me yet???
"Every time a mod api is left undocumented a koala dies."
How many koalas have died becahse of me yet???
-
- Member
- Posts: 1118
- Joined: Mon Dec 29, 2014 08:07
- Location: USA
Re: [Mod] Advanced Trains [advtrains] [1.3.1]
orwell,
As promised, here is a zip file that includes a steam engine model, a tender model, and a couple of simple color 64x64 textures. Not sure if the models will actually look correct or measure correct for MT, but this is a first, and a learning experience. All help, pointers, constructive advise, ..... is welcome. Also, I will gladly make any corrections to dimensions and such.
All are my own creations, and are hereby licensed as Public Domain herein forthright and forever, or WTF, whichever is the most FREE.
The models were created in the Opensimulator software, exported to DAE, imported to/exported from Blender as an .obj, changing all the geometries from objects to groups. Material files are included for the models, using the 64x64 textures. Textures were created using The GIMP.
My limited knowledge of Blender stops me here. Can someone convert these into the .b3d format and generate a UV texture map?
Shad MOrdre
As promised, here is a zip file that includes a steam engine model, a tender model, and a couple of simple color 64x64 textures. Not sure if the models will actually look correct or measure correct for MT, but this is a first, and a learning experience. All help, pointers, constructive advise, ..... is welcome. Also, I will gladly make any corrections to dimensions and such.
All are my own creations, and are hereby licensed as Public Domain herein forthright and forever, or WTF, whichever is the most FREE.
The models were created in the Opensimulator software, exported to DAE, imported to/exported from Blender as an .obj, changing all the geometries from objects to groups. Material files are included for the models, using the 64x64 textures. Textures were created using The GIMP.
My limited knowledge of Blender stops me here. Can someone convert these into the .b3d format and generate a UV texture map?
Shad MOrdre
- Attachments
-
- TRAIN_MODELS.zip
- Zip file includes Steam_Engine.obj/.mtl Steam_Tender.obj/.mtl and Black, LtBlue, Green, LtGrey, Grey, DkGrey .png 64x64 textures.
- (95 KiB) Downloaded 88 times
- 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] [1.3.1]
OK, thank you ShadMOrdre and merry christmas all of you.
I will probably have not much time for this over christmas. In the new year I will push a couple of changes, mostly mod-internal, but with some new stuff (and a proper api documentation :) ). Then I will have time to integrate all your contributions.
I will probably have not much time for this over christmas. In the new year I will push a couple of changes, mostly mod-internal, but with some new stuff (and a proper api documentation :) ). Then I will have time to integrate all your contributions.
- MinisterFarrigut
- Member
- Posts: 75
- Joined: Fri Oct 14, 2016 14:59
- In-game: singleplayer
- Location: The ruins of my basement
Re: [Mod] Advanced Trains [advtrains] [1.3.1]
Hellooo...I have downloaded your trains mod multiple times. The only thing that comes up is the minecart mod...no actual trains....could I have some help?
I build buildings. I don't usually make mods...I use them.
-
- Member
- Posts: 1118
- Joined: Mon Dec 29, 2014 08:07
- Location: USA
Re: [Mod] Advanced Trains [advtrains] [1.3.1]
Minister,
What version of Minetest are you using, and on what platform? As long as the mod is enabled for the world, it should just work.
Shad
What version of Minetest are you using, and on what platform? As long as the mod is enabled for the world, it should just work.
Shad
- Desour
- Member
- Posts: 1469
- 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] [1.3.1]
did you put the mod into the mods folder?MinisterFarrigut wrote:Hellooo...I have downloaded your trains mod multiple times. The only thing that comes up is the minecart mod...no actual trains....could I have some help?
and did you configure the world and enable the mod?
and did it say anything in chat?
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] [1.3.1]
Does your "mods" folder contain these files:
init.lua, couple.lua, wagons.lua...
Then you haven't installed it properly.
Create a directory "advtrains" inside "mods".
Extract the ZIP into the "advtrains" directory.
Start minetest, select world, configure, activate "advtrains".
Try creative mode and look if you see stuff.
init.lua, couple.lua, wagons.lua...
Then you haven't installed it properly.
Create a directory "advtrains" inside "mods".
Extract the ZIP into the "advtrains" directory.
Start minetest, select world, configure, activate "advtrains".
Try creative mode and look if you see stuff.
Who is online
Users browsing this forum: Ahrefs [Bot] and 16 guests