[Mod] Means of transport tracking lines [linetrack]

User avatar
Hume2
Member
Posts: 709
Joined: Tue Jun 19, 2018 08:24
GitHub: Hume2
In-game: Hume2
Location: Czech Republic

Re: [Mod] Means of transport tracking lines [linetrack]

by Hume2 » Post

I will look at it. Note that some issues may vanish and other may appear when I assign the model to an entity. If you give me the model you made so far, I can test it myself and tell you how to fix it.
If you lack the reality, go on a trip or find a job.

User avatar
MisterE
Member
Posts: 693
Joined: Sun Feb 16, 2020 21:06
GitHub: MisterE123
IRC: MisterE
In-game: MisterE

Re: [Mod] Means of transport tracking lines [linetrack]

by MisterE » Post

https://github.com/MisterE123/wip-busmodel

ok, so here it is. The file you probably want to use is bus.b3d, and the texture is bus_texture3.png

the bus.blend corresponds to bus.b3d, and the bus2 and bus3 are attempts to fix the model. Feel free to play around with them

Everything is CC0

User avatar
Hume2
Member
Posts: 709
Joined: Tue Jun 19, 2018 08:24
GitHub: Hume2
In-game: Hume2
Location: Czech Republic

Re: [Mod] Means of transport tracking lines [linetrack]

by Hume2 » Post

I discovered a few things. The faces which are shown only from one side are shown from both sides if I assign the model to an entity. No need to care about that. The faces in wheels which aren't shown aren't present in the .b3d file either. Maybe something went wrong in export. It looks like the animation didn't export well to the .b3d also. Unfortunately, it looks like my blender is too old so I can't open your .blender file. However, it won't be hard to continue from this point. Thanks a lot for your work!
If you lack the reality, go on a trip or find a job.

User avatar
MisterE
Member
Posts: 693
Joined: Sun Feb 16, 2020 21:06
GitHub: MisterE123
IRC: MisterE
In-game: MisterE

Re: [Mod] Means of transport tracking lines [linetrack]

by MisterE » Post

Ok, here is the model,I put hubcaps on to hide the missing wheel centers. Please let me know if you have any trouble with it. I hope the animations work... I have been having trouble with them myself with another model for a subgame I'm making. Let me know.

User avatar
Hume2
Member
Posts: 709
Joined: Tue Jun 19, 2018 08:24
GitHub: Hume2
In-game: Hume2
Location: Czech Republic

Re: [Mod] Means of transport tracking lines [linetrack]

by Hume2 » Post

I have already implemented the bus. The display doesn't display anything yet, I will do it after I have more time. Thanks for the model again!
Also, I will have to tweak moreblocks a little so slope roads don't act as an obstacle.
If you lack the reality, go on a trip or find a job.

User avatar
MisterE
Member
Posts: 693
Joined: Sun Feb 16, 2020 21:06
GitHub: MisterE123
IRC: MisterE
In-game: MisterE

Re: [Mod] Means of transport tracking lines [linetrack]

by MisterE » Post

Hume2 wrote:
Fri Nov 27, 2020 20:27
I have already implemented the bus. The display doesn't display anything yet, I will do it after I have more time. Thanks for the model again!
Also, I will have to tweak moreblocks a little so slope roads don't act as an obstacle.
Y/W glad it works.

I would suggest not using moreblocks, but instead making your own road system. Using your own road system, you mark where the road will go, and then the mod places the road blocks. This would allow for gentler slopes than 1/2 as well as various road markings.

blocker
Member
Posts: 42
Joined: Fri Jan 08, 2021 06:14
Location: Germany

Re: [Mod] Means of transport tracking lines [linetrack]

by blocker » Post

Nice Mod. I use this in my word for some shiplines.
Hume2 sre you still working on the Mod?
I have a few suggestions
1. reduce the max speet. The ships are to fast.
2. Add mor Windows to the Ship to get a better view out of passanger area
3. More ships. For example, a transport ship to transport blocks/items

How can i add a bus? I found the Bus. Bad preview Image ;-)

Maybe it would be better to make two mods out of it. One for buses and one for ships

User avatar
loppi
Member
Posts: 162
Joined: Sat May 29, 2021 11:30
In-game: loppi Lolstadt
Location: Niedersachsen,Germany

Re: [Mod] Means of transport tracking lines [linetrack]

by loppi » Post

i also wanted to wish me a freight ship.

or wait,i have a better idea :-D. what about freight pontoons pulled by ships? working like waggons at the advtrains mod? or a bulker for sand/gravel?
or ferry for the [cars] mod?
"ich liebe industrie!" And yes, its a Russian Bulldozer 😁

blocker
Member
Posts: 42
Joined: Fri Jan 08, 2021 06:14
Location: Germany

Re: [Mod] Means of transport tracking lines [linetrack]

by blocker » Post

Airlines ;-)

User avatar
apercy
Member
Posts: 638
Joined: Wed Mar 25, 2020 16:31
GitHub: APercy
In-game: APercy
Location: Pinheiral - RJ - Brazil

Re: [Mod] Means of transport tracking lines [linetrack]

by apercy » Post

blocker wrote:
Tue Sep 21, 2021 14:12
Airlines ;-)
okay, I understood... Give me time, a lot of time...

User avatar
loppi
Member
Posts: 162
Joined: Sat May 29, 2021 11:30
In-game: loppi Lolstadt
Location: Niedersachsen,Germany

Re: [Mod] Means of transport tracking lines [linetrack]

by loppi » Post

this thing would be cool in minetest: https://www.nps.gov/places/green-river-ferry.htm

when i get expierienced with blender i maybe make it myself ;-)
but i dont know anything about scripting it XD
"ich liebe industrie!" And yes, its a Russian Bulldozer 😁

User avatar
amelaye
Member
Posts: 32
Joined: Sun Jun 14, 2020 10:47
GitHub: amelaye
Contact:

Re: [Mod] Means of transport tracking lines [linetrack]

by amelaye » Post

Hi,
Any update for this mod ?
First, the thumbnail for the bus is wrong, i had to put another image.
Second, the bus does not climb on slopes, am I the only one ?
Thanks :)
My server : 188.165.239.63:30000 - My website : http://minetest.amelieonline.net

User avatar
Hume2
Member
Posts: 709
Joined: Tue Jun 19, 2018 08:24
GitHub: Hume2
In-game: Hume2
Location: Czech Republic

Re: [Mod] Means of transport tracking lines [linetrack]

by Hume2 » Post

amelaye wrote:
Mon Jun 20, 2022 17:34
Hi,
Any update for this mod ?
First, the thumbnail for the bus is wrong, i had to put another image.
Second, the bus does not climb on slopes, am I the only one ?
Thanks :)
I didn't update the mod for a long time but I plan to do so.
The thumbnail of bus is a placeholder, I'm aware of this.
By default, trains collide with slabs and slopes. That requires a patch in the moreblocks mod. Try this patch.
If you lack the reality, go on a trip or find a job.

User avatar
amelaye
Member
Posts: 32
Joined: Sun Jun 14, 2020 10:47
GitHub: amelaye
Contact:

Re: [Mod] Means of transport tracking lines [linetrack]

by amelaye » Post

Thanks for your answer. I'll try your patch.
My server : 188.165.239.63:30000 - My website : http://minetest.amelieonline.net

User avatar
Blockhead
Member
Posts: 1602
Joined: Wed Jul 17, 2019 10:14
GitHub: Montandalar
IRC: Blockhead256
In-game: Blockhead Blockhead256
Location: Land Down Under
Contact:

Re: [Mod] Means of transport tracking lines [linetrack]

by Blockhead » Post

Hume2 wrote:
Wed Jun 22, 2022 09:15
amelaye wrote:
Mon Jun 20, 2022 17:34
Hi,
Any update for this mod ?
First, the thumbnail for the bus is wrong, i had to put another image.
Second, the bus does not climb on slopes, am I the only one ?
Thanks :)
I didn't update the mod for a long time but I plan to do so.
The thumbnail of bus is a placeholder, I'm aware of this.
By default, trains collide with slabs and slopes. That requires a patch in the moreblocks mod. Try this patch.
It depends on what you want: To have to patch every mod, or to possibly let some things not collide that probably should collide. The moreblocks patch is the former, the latter is to enable forgiving collision mode (advtrains_forgiving_collision = true), a feature added in Advtrains 2.4.0. That way trains only collide with drawtype normal nodes.
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

tanavit
New member
Posts: 2
Joined: Tue Jun 21, 2022 12:24
In-game: tanavit

Re: [Mod] Means of transport tracking lines [linetrack]

by tanavit » Post

Hello,

In order to train myself with linetrack, I create a solo world (v7) with only advtrains and linetrack activated mods.

The server (5.5.1) crashes on start. Following is an excerpt of the server's messages :

Code: Select all

2022-07-06 16:09:55: WARNING[Main]: Undeclared global variable "default" accessed at /home/miko/.minetest/mods/linetrack/interlocking.lua:69
2022-07-06 16:09:55: ERROR[Main]: ModError: Failed to load and run script from /home/miko/.minetest/mods/linetrack/init.lua:
2022-07-06 16:09:55: ERROR[Main]: /home/miko/.minetest/mods/linetrack/interlocking.lua:69: attempt to index global 'default' (a nil value)
2022-07-06 16:09:55: ERROR[Main]: stack traceback:
2022-07-06 16:09:55: ERROR[Main]:       /home/miko/.minetest/mods/linetrack/interlocking.lua:69: in main chunk
2022-07-06 16:09:55: ERROR[Main]:       [C]: in function 'dofile'
2022-07-06 16:09:55: ERROR[Main]:       /home/miko/.minetest/mods/linetrack/init.lua:381: in main chunk
I guess my server misses some mod, but i am unable to figure which one.

Please, could somebody suggests me a way to solve this not so important issue ?

Sincerely yours

Josselin2
Member
Posts: 102
Joined: Thu May 28, 2020 15:32
GitHub: axcore
In-game: Josselin
Location: Tunnelers' Abyss

Re: [Mod] Means of transport tracking lines [linetrack]

by Josselin2 » Post

Try adding default to the mod's depends.txt.

(I have not tested that, but it looks like a good solution).

tanavit
New member
Posts: 2
Joined: Tue Jun 21, 2022 12:24
In-game: tanavit

Re: [Mod] Means of transport tracking lines [linetrack]

by tanavit » Post

Hello
Josselin2 wrote:
Wed Jul 06, 2022 16:46
Try adding default to the mod's depends.txt.

(I have not tested that, but it looks like a good solution).
That is the solution.

Thanks.

User avatar
Blockhead
Member
Posts: 1602
Joined: Wed Jul 17, 2019 10:14
GitHub: Montandalar
IRC: Blockhead256
In-game: Blockhead Blockhead256
Location: Land Down Under
Contact:

Re: [Mod] Means of transport tracking lines [linetrack]

by Blockhead » Post

Technically linetrack does depend on default because it uses some default textures, default sounds and drops default steel blocks. However it would be pretty easy to port it to other games as well..
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

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] Means of transport tracking lines [linetrack]

by orwell » Post

Hume2 wrote:
Wed Jun 22, 2022 09:15

By default, trains collide with slabs and slopes. That requires a patch in the moreblocks mod. Try this patch.
Since some time we have the "forgiving collision" setting in advtrains. With this, trains (buses and ferries in this mod) will only collide with nodes that are fully opaque nodes (drawtype normal). Perhaps that would be the better solution. Check in the advanced settings menu!

Also @Hume2, you may want to mess with the "coupler types" properties to forbid coupling boats to each other. See http://git.bananach.space/advtrains.git ... oc.txt#n78
Lua is great!
List of my mods
I like singing. I like dancing. I like ... niyummm...

User avatar
56independent_actual
Member
Posts: 452
Joined: Sun May 23, 2021 16:10
IRC: independent56
In-game: 56independent
Location: Girona Province
Contact:

Re: [Mod] Means of transport tracking lines [linetrack]

by 56independent_actual » Post

It would be nice to have, say:
  • Cargo ships which use loading/unloading tracks (which can be connected to cranes connected to pipeworks)
  • Boats checking in front of them for boats instead of relying on signals
  • Boats able to freely routefind to their destination.
Warnig: Al my laguage ekscept English is bad, includig Hungarian (magyàränoлиски), Spanish (esпagnyoл), and Russian (рÿсскïанöл).

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests