[mod] Teleporter Pads [1.1][tpad]

entuland
Member
 
Posts: 117
Joined: Wed May 09, 2018 15:47
GitHub: entuland
IRC: entuland
In-game: entuland

Re: [mod] Teleporter Pads [1.0][tpad]

by entuland » Sat Jul 28, 2018 07:41

luizsab wrote:Hello, thanks for your answer.

My Minetest Settings is disabled, all things, shadders ...

I did that you recommended and I can read tpad file in my world folder, moreover the teleport works very well, just texture is dark and I downloaded again from your git and the problem persists. I create a new world with just tpad mod active and happens the same so I guess the trouble is not about other mods.

My configurations is: Debian Stretch OS, i5 processor with 6GB Ram and video is simple Intel adapter.

You're welcome luizsab :)

Try opening the init.lua file inside of the /mods/tpad folder, you should see this at its bottom:

Code: Select all
minetest.register_node(tpad.nodename, {
   drawtype = "mesh",
   tiles = { tpad.texture },
   mesh = tpad.mesh,
   paramtype2 = "facedir",
   on_place = tpad.on_place,
   collision_box = collision_box,
   selection_box = collision_box,
   description = "Teleporter Pad",
   groups = {choppy = 2, dig_immediate = 2},
   on_rightclick = tpad.on_rightclick,
   can_dig = tpad.can_dig,
   on_destruct = tpad.on_destruct,
})


- edit it adding the paramtype line as follows:

Code: Select all
minetest.register_node(tpad.nodename, {
   drawtype = "mesh",
   tiles = { tpad.texture },
   mesh = tpad.mesh,

   -- line to be added, don't forget the comma
   paramtype = "light",

   paramtype2 = "facedir",
   on_place = tpad.on_place,
   collision_box = collision_box,
   selection_box = collision_box,
   description = "Teleporter Pad",
   groups = {choppy = 2, dig_immediate = 2},
   on_rightclick = tpad.on_rightclick,
   can_dig = tpad.can_dig,
   on_destruct = tpad.on_destruct,
})


- finally restart the game and see if the above makes any difference for the texture color - it's just a wildguess, but it may fix it, let me know.
 

User avatar
luizsab
Member
 
Posts: 32
Joined: Mon Jan 16, 2017 13:49

Re: [mod] Teleporter Pads [1.0][tpad]

by luizsab » Sat Jul 28, 2018 23:33

Great!! It works now! Thank you and congratulations for your job.
Luiz
[luizsab]
 

entuland
Member
 
Posts: 117
Joined: Wed May 09, 2018 15:47
GitHub: entuland
IRC: entuland
In-game: entuland

Re: [mod] Teleporter Pads [1.0][tpad]

by entuland » Sun Jul 29, 2018 12:26

luizsab wrote:Great!! It works now! Thank you and congratulations for your job.

Thank you, I'm glad it worked, it was really a blindshot :P

I'll push that change to the repo and release a new version for it.
 

Previous

Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 5 guests