[Mod] Advanced Trains [advtrains] [2.4.3]

User avatar
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] [r. 1.1]

by orwell » Post

Do you know how to animate stuff?
maybe try to make a door animation... I would just need to figure out how to get it into minetest. Maybe it works now...
Lua is great!
List of my mods
I like singing. I like dancing. I like ... niyummm...

User avatar
mbb
Member
Posts: 256
Joined: Sat Jan 17, 2015 17:47
GitHub: mbruchert
IRC: mBb
In-game: MBB

Re: [Mod] Advanced Trains [advtrains] [r. 1.1]

by mbb » Post

orwell wrote:Do you know how to animate stuff?
maybe try to make a door animation... I would just need to figure out how to get it into minetest. Maybe it works now...


sorry i cant
cdb_2fcfab1b41f9

User avatar
krokoschlange
Member
Posts: 62
Joined: Sat Jul 02, 2016 08:33
GitHub: krokoschlange
In-game: krokoschlange

Re: [Mod] Advanced Trains [advtrains] [r. 1.1]

by krokoschlange » Post

I think this should do it?
https://github.com/krokoschlange/U-Bahn ... master.zip

the opening animaion is from 1 - 20 and closing is from 20 - 40

User avatar
mbb
Member
Posts: 256
Joined: Sat Jan 17, 2015 17:47
GitHub: mbruchert
IRC: mBb
In-game: MBB

Re: [Mod] Advanced Trains [advtrains] [r. 1.1]

by mbb » Post

cdb_2fcfab1b41f9

User avatar
mbb
Member
Posts: 256
Joined: Sat Jan 17, 2015 17:47
GitHub: mbruchert
IRC: mBb
In-game: MBB

Re: [Mod] Advanced Trains [advtrains] [r. 1.1]

by mbb » Post

@krokoschlange cool work
cdb_2fcfab1b41f9

User avatar
mbb
Member
Posts: 256
Joined: Sat Jan 17, 2015 17:47
GitHub: mbruchert
IRC: mBb
In-game: MBB

Re: [Mod] Advanced Trains [advtrains] [r. 1.1]

by mbb » Post

new underground with krokoschlanges animation
https://ia601509.us.archive.org/31/item ... ancy.blend
cdb_2fcfab1b41f9

User avatar
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] [r. 1.1.1]

by orwell » Post

v1.1.1 Bugfixes:
- Fix ATC controller resending the command every 10 seconds, clearing delayed instructions
- Fix immovable, indestructible wagons polluting the world
Lua is great!
List of my mods
I like singing. I like dancing. I like ... niyummm...

User avatar
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] [r. 1.1]

by Desour » Post

celeron55 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.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

User avatar
mbb
Member
Posts: 256
Joined: Sat Jan 17, 2015 17:47
GitHub: mbruchert
IRC: mBb
In-game: MBB

Re: [Mod] Advanced Trains [advtrains] [r. 1.1.1]

by mbb » Post

how I can get trains?
cdb_2fcfab1b41f9

User avatar
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] [r. 1.1.1]

by Desour » Post

mbb wrote:how I can get trains?
advtrains is a modpack now, perhaps you need to enable its mods again in world configuration.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

User avatar
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] [r. 1.1.1]

by orwell » Post

Ah, that's why everyone told me about problems. DS-Minetest thanks for pointing this out.

If you have trouble, make sure that the whole 'advtrains' modpack is enabled!

People who pulled it from GitHub with Git, remember that the actual modpack is contained inside the 'advtrains' directory. I made the repo's root directory a modpack itself. Minetest supports nested modpacks, but the menu does not, you may need to enable the modules in world.mt directly.
Lua is great!
List of my mods
I like singing. I like dancing. I like ... niyummm...

User avatar
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] [r. 1.1.1]

by Desour » Post

I've added to world.mt this:

Code: Select all

load_mod_advtrains = true
load_mod_advtrains_train_industrial = true
load_mod_advtrains_train_japan = true
load_mod_advtrains_train_steam = true
load_mod_advtrains_train_subway = true
I got an error, so I updated Minetest to the newest dev version.

Then I still got an error. A part of debug.txt:

Code: Select all

2017-01-12 16:14:25: ACTION[Main]: Server for gameid="minetest" listening on 0.0.0.0:49865.
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:29: WARNING[Main]: Irrlicht: Could not open file of texture: rail.png
2017-01-12 16:14:30: ACTION[Server]: singleplayer [127.0.0.1] joins game. 
2017-01-12 16:14:30: ACTION[Server]: singleplayer joins game. List of players: singleplayer
2017-01-12 16:14:30: WARNING[Server]: core.env:[...] is deprecated and should be replaced with core.[...]
2017-01-12 16:14:30: ERROR[Server]: LuaEntity name "advtrains:engine_industrial" not defined
2017-01-12 16:14:30: ERROR[Main]: ServerError: Runtime error from mod 'advtrains' in callback environment_Step(): ...netest/mods/advtrains/advtrains/advtrains/trainlogic.lua:576: attempt to index local 'wagon' (a nil value)
2017-01-12 16:14:30: ERROR[Main]: stack traceback:
2017-01-12 16:14:30: ERROR[Main]: 	...netest/mods/advtrains/advtrains/advtrains/trainlogic.lua:576: in function 'update_trainpart_properties'
2017-01-12 16:14:30: ERROR[Main]: 	...netest/mods/advtrains/advtrains/advtrains/trainlogic.lua:294: in function 'train_step'
2017-01-12 16:14:30: ERROR[Main]: 	...netest/mods/advtrains/advtrains/advtrains/trainlogic.lua:140: in function <...netest/mods/advtrains/advtrains/advtrains/trainlogic.lua:127>
2017-01-12 16:14:30: ERROR[Main]: 	/usr/share/minetest/builtin/game/register.lua:412: in function </usr/share/minetest/builtin/game/register.lua:392>
2017-01-12 16:14:30: ACTION[Server]: singleplayer leaves game. List of players: 
Also every time the mods are set to false:

Code: Select all

load_mod_advtrains = true
load_mod_advtrains_train_industrial = false
load_mod_advtrains_train_japan = false
load_mod_advtrains_train_steam = false
load_mod_advtrains_train_subway = false
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

User avatar
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] [r. 1.1.1]

by orwell » Post

The problem is that advtrains_train_industrial is not loaded.
I suppose that you just inserted the 5 code lines to the bottom of world.mt. Probably there are entries for this at any other place in the file, so there are duplicate entries for the same mod. Delete the duplicates and try again.

If this doesn't work and you don't worry about your trains, deleting the files 'advtrains' and 'advtrains_wagon_save' in your world directory will temporarily fix the crash at startup (but all your trains get deleted and you still can't create new ones).
Lua is great!
List of my mods
I like singing. I like dancing. I like ... niyummm...

User avatar
mbb
Member
Posts: 256
Joined: Sat Jan 17, 2015 17:47
GitHub: mbruchert
IRC: mBb
In-game: MBB

Re: [Mod] Advanced Trains [advtrains] [r. 1.1.1]

by mbb » Post

@orvel96 make rails walkable please
cdb_2fcfab1b41f9

User avatar
mbb
Member
Posts: 256
Joined: Sat Jan 17, 2015 17:47
GitHub: mbruchert
IRC: mBb
In-game: MBB

Re: [Mod] Advanced Trains [advtrains] [r. 1.1.1]

by mbb » Post

@krokoschlange I saw that you can animate things in blender.Can you please animate my lever like this
https://www.youtube.com/watch?v=lH6YX15ZwjQ
download .blend:https://www.youtube.com/watch?v=lH6YX15ZwjQ
cdb_2fcfab1b41f9

User avatar
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] [r. 1.1.1]

by Desour » Post

@mbpl: Both links are the same. If I find time I could perhaps animate something for you, too.

@orwell(and not orvel96):
I had added the lines in world.mt at the place of the load_mod_advtrains.
I will try deleting the files 'advtrains' and 'advtrains_wagon_save'.
Edit:
I found the mods very far down in world.mt and activated them and deleted the from me added lines. It seems like it wasn't sorted by alphabet.
It all worked fine.
The "installation"/activation of the modpack should be easier or documented (for dummies).
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

User avatar
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] [r. 1.1.1]

by orwell » Post

It is indeed very easy if you just do what is suggested in first post and download the zip file. You then just need to activate the modpack in the world config dialog.
Only pulling the git repo makes this complex procedure necessary.
Lua is great!
List of my mods
I like singing. I like dancing. I like ... niyummm...

ShadMOrdre
Member
Posts: 1118
Joined: Mon Dec 29, 2014 08:07
Location: USA

Re: [Mod] Advanced Trains [advtrains] [r. 1.1.1]

by ShadMOrdre » Post

orwell,

I downloaded the zip file, not the git master. I've run this same issue.

What I experienced was just restarting a world with the new modpack in the mods folder, but not necessarily configured in the world config window. This meant that advtrains was loaded, but nothing else. After going in to world config window, and enabling all the other mods, I get errors about nil values and whatnot. This is seen with the 'advtrains' and 'advtrains_wagon_save' files both present and absent.

It seems that once a world has been started with the modpack incorrectly enabled, it refuses to work. I've had to step back to the advtrains_v1 just to keep the world from dying on me. I haven't had much time to actually test some things to pinpoint the issue, but will share what I find, when I do.

Shad

User avatar
krokoschlange
Member
Posts: 62
Joined: Sat Jul 02, 2016 08:33
GitHub: krokoschlange
In-game: krokoschlange

Re: [Mod] Advanced Trains [advtrains] [r. 1.1.1]

by krokoschlange » Post

DS-minetest wrote:@mbpl: Both links are the same. If I find time I could perhaps animate something for you, too.
[...]
yep thats a problem or is the download somwhere where i can't find it?

User avatar
mbb
Member
Posts: 256
Joined: Sat Jan 17, 2015 17:47
GitHub: mbruchert
IRC: mBb
In-game: MBB

Re: [Mod] Advanced Trains [advtrains] [r. 1.1.1]

by mbb » Post

oh I see :D here is the download link:[url]https://ia801500.us.archive.org/16/item ... .blend/url]
cdb_2fcfab1b41f9

User avatar
mbb
Member
Posts: 256
Joined: Sat Jan 17, 2015 17:47
GitHub: mbruchert
IRC: mBb
In-game: MBB

Re: [Mod] Advanced Trains [advtrains] [r. 1.1.1]

by mbb » Post

I am making a maglevtrain:
Image,
Attachments
maglev train.png
maglev train.png (99.44 KiB) Viewed 511 times
cdb_2fcfab1b41f9

User avatar
mbb
Member
Posts: 256
Joined: Sat Jan 17, 2015 17:47
GitHub: mbruchert
IRC: mBb
In-game: MBB

Re: [Mod] Advanced Trains [advtrains] [r. 1.1.1]

by mbb » Post

i made new railtextures too:
download:
advtrains_dtrack_rail_detector_on.png
advtrains_dtrack_rail_detector_on.png (4.47 KiB) Viewed 511 times
advtrains_dtrack_rail_atc.png
advtrains_dtrack_rail_atc.png (4.49 KiB) Viewed 511 times
advtrains_dtrack_rail.png
advtrains_dtrack_rail.png (4.47 KiB) Viewed 511 times
cdb_2fcfab1b41f9

User avatar
mbb
Member
Posts: 256
Joined: Sat Jan 17, 2015 17:47
GitHub: mbruchert
IRC: mBb
In-game: MBB

Re: [Mod] Advanced Trains [advtrains] [r. 1.1.1]

by mbb » Post

and a new wagon texture
advtrains_wagon.png
advtrains_wagon.png (70.58 KiB) Viewed 511 times
cdb_2fcfab1b41f9

User avatar
mbb
Member
Posts: 256
Joined: Sat Jan 17, 2015 17:47
GitHub: mbruchert
IRC: mBb
In-game: MBB

Re: [Mod] Advanced Trains [advtrains] [r. 1.1.1]

by mbb » Post

cdb_2fcfab1b41f9

User avatar
krokoschlange
Member
Posts: 62
Joined: Sat Jul 02, 2016 08:33
GitHub: krokoschlange
In-game: krokoschlange

Re: [Mod] Advanced Trains [advtrains] [r. 1.1.1]

by krokoschlange » Post

I animated it but is it even possible to animate nodes? Or is it ment to be an entity?
Get it!
Next time if you want me to animate something, would it be possible to make the moving things extra objets (lever is an extra object). The most time I spend on cleaning up your mesh. You can use the option "remove doubles" in edit mode if you work with blender. For the subway I deleted ~300 vertices that way

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests