[Mod] Mese Portals [meseportals]

User avatar
Piezo_
Member
 
Posts: 162
Joined: Fri Jul 20, 2018 21:36
Location: Chaotic Good
GitHub: is proprietary I use NotABug
In-game: Piezo_ or TheRealPiezo_

[Mod] Mese Portals [meseportals]

by Piezo_ » Mon Sep 10, 2018 07:38

They called me crazy.
They said that if I succeeded, the result would be a monstrosity.
But I knew better than that. I knew what I had to do...

FOR SCIENCE!

Using an electromesenetic coil and specially designed crystals that pinch into the fourth dimension, I have created a device capable of harnessing the power of quantum entanglement to instantly transport matter across incredible distance, by generating an isomorphically entangled field inside the mese coils of two portals registered in a network!

BEHOLD!

The Mese Portal!

Image

MUAHAHAHA!
So, who wants to step up and be the first one to travel using the power of electrons?

What?
Nobody?
Well, of course it's safe! I've sent my cat through loads of times!
What?
Oh, that's animal cruelty? Well, where do you think the leather for the seats in your expensive car that you always block my driveway with came from?
Well- clearly, none of you have any respect for scien-
OWW!
Who just threw a tomato at me?
Ugh!
I'll show you all, some day.
Just you wait...

Narratives and mad scientists aside, this mod adds fully functioning portals to minetest!
To craft them, though, you'll have to do quite a bit of digging.
Also worth noting, this mod is an overhaul of another mod made by RealBadAngel.

Recipes (for basic function):
Image
Image
Image

This mod also adds remote control panels that can be linked (probably also using quantum entanglement) to any portal by simply right-clicking. Once linked, it can be used from anywhere by left-clicking, or placed down for anyone to access via right-click. Erwin Schrödinger is probably rolling in his grave!
Image

Portals can be placed with the bottom embedded in a structure by sneaking while placing.

Portals can be accessed conveniently via a server-wide network, through a GUI which is available from any portal or remote controller.
Players can set a portal to "private" to hide it in the global network, making it only accessible to themselves and admins.

Speaking of admins, I've added some essential privilege functionality to the mod:
- A maximum number of portals allowed per-player can be set (msp_unlimited privilege and singleplayer bypass this)
- Players can access other players' public portals, but not change the description or public/private state, or break them.
- msp_admin grants full control of portals, including the ability to connect to an already active portal, see private portals, break other players' portals, and change their description or public/private state.

But enough talk! I need test subjects, so please!

Download the mod... FOR SCIENCE!
Credit: Piezo_ (For the overhaul), RealBadAngel (Original mod), TenPlus1 (mobs_npc, used in screenshot), RealBadAngel, Again (Unified_inventory, used for recipe screenshots)
Last edited by Piezo_ on Fri Sep 28, 2018 20:00, edited 2 times in total.
while (true) { suffer(); }
 

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

Re: [Mod] Mese Portals [meseportals]

by Hume2 » Mon Sep 10, 2018 07:57

Nice mod! It looks so impressive.
Just an idea: What about being able to change the colour, just for fun and science?

A few bugs:
  • If I click the portal with another portal, it is placed. It should be placed only when I hold the sneak key.
  • If I put a portal on snow, two portals are placed.
  • Portals are dropped in creative too when broken.
If you lack the reality, go on a trip or find a job.
 

User avatar
Piezo_
Member
 
Posts: 162
Joined: Fri Jul 20, 2018 21:36
Location: Chaotic Good
GitHub: is proprietary I use NotABug
In-game: Piezo_ or TheRealPiezo_

Re: [Mod] Mese Portals [meseportals]

by Piezo_ » Mon Sep 10, 2018 08:00

About being able to change the color: I'll consider it, but it might be a bit resource-heavy, no?

[*]If I click the portal with another portal, it is placed. It should be placed only when I hold the sneak key.

...Yeah, I've been meaning to fix that.

[*]If I put a portal on snow, two portals are placed.

...Also need to fix that.

[*]Portals are dropped in creative too when broken.[/list][/quote]

That's not a bug, that's an ugly hack. I'll definitely look into something cleaner, though...

FOR SCIENCE!
while (true) { suffer(); }
 

User avatar
Piezo_
Member
 
Posts: 162
Joined: Fri Jul 20, 2018 21:36
Location: Chaotic Good
GitHub: is proprietary I use NotABug
In-game: Piezo_ or TheRealPiezo_

Re: [Mod] Mese Portals [meseportals]

by Piezo_ » Mon Sep 10, 2018 08:44

UPDATE:
I have fixed the first two issues on your bulletpoint list. (Partially. Sneak-placing isn't fully implemented yet)
Now, it's incredibly late here in the U.S, I'm going to bed for now.
while (true) { suffer(); }
 

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

Re: [Mod] Mese Portals [meseportals]

by Hume2 » Mon Sep 10, 2018 09:31

You can use texture modifiers to colourise the texture. If you divide the texture into two layers, you can colourise the background layer. You can use something like:
Code: Select all
"(back.png^[colorize:#800080)^front.png"


Also when a map chunk with an active portal is loaded, it always plays a sound. Is it required?
If you lack the reality, go on a trip or find a job.
 

User avatar
Piezo_
Member
 
Posts: 162
Joined: Fri Jul 20, 2018 21:36
Location: Chaotic Good
GitHub: is proprietary I use NotABug
In-game: Piezo_ or TheRealPiezo_

Re: [Mod] Mese Portals [meseportals]

by Piezo_ » Mon Sep 10, 2018 18:14

Hume2 wrote:Also when a map chunk with an active portal is loaded, it always plays a sound. Is it required?


That sound should only be playing right when the portal is opened, or when the node updates. However, I currently don't have the mod set to autosave once the node has updated (performance concerns, I'll probably fix this shortly), so it's possible you left/rejoined the world and the portal forgot it had already updated.

EDIT: Fixed.
while (true) { suffer(); }
 

Cage
Member
 
Posts: 61
Joined: Mon Oct 24, 2016 21:07

Re: [Mod] Mese Portals [meseportals]

by Cage » Tue Sep 11, 2018 20:20

Looks good but have found another bug. When I try to change the default name of the portal the game crashes. I don't have that problem with RealBadAngel's Star Gate portal.
 

User avatar
Piezo_
Member
 
Posts: 162
Joined: Fri Jul 20, 2018 21:36
Location: Chaotic Good
GitHub: is proprietary I use NotABug
In-game: Piezo_ or TheRealPiezo_

Re: [Mod] Mese Portals [meseportals]

by Piezo_ » Tue Sep 11, 2018 22:27

Cage wrote:Looks good but have found another bug. When I try to change the default name of the portal the game crashes. I don't have that problem with RealBadAngel's Star Gate portal.


By change the default name, do you mean changing the default "description" assigned to the portal in meseportals_network.lua/meseportals.registerPortal, or using the description box ingame?

If it's the former, could you show me your version of registerPortal()?

Also, provide crash report, please.
while (true) { suffer(); }
 

Cage
Member
 
Posts: 61
Joined: Mon Oct 24, 2016 21:07

Re: [Mod] Mese Portals [meseportals]

by Cage » Wed Sep 12, 2018 04:40

Okay it was changing the description but I found the problem which was on my end and not your mod. So it works perfect now.
 

User avatar
Piezo_
Member
 
Posts: 162
Joined: Fri Jul 20, 2018 21:36
Location: Chaotic Good
GitHub: is proprietary I use NotABug
In-game: Piezo_ or TheRealPiezo_

Re: [Mod] Mese Portals [meseportals]

by Piezo_ » Wed Sep 12, 2018 05:05

Cage wrote:Okay it was changing the description but I found the problem which was on my end and not your mod. So it works perfect now.

Great to hear!
while (true) { suffer(); }
 

User avatar
Piezo_
Member
 
Posts: 162
Joined: Fri Jul 20, 2018 21:36
Location: Chaotic Good
GitHub: is proprietary I use NotABug
In-game: Piezo_ or TheRealPiezo_

Re: [Mod] Mese Portals [meseportals]

by Piezo_ » Wed Oct 03, 2018 01:10

Update
Improved right-click behavior
  • Portals and controllers can now be placed in item frames, and right-clicked with.
  • Controllers might not have worked properly with buildable_to nodes before, but they do, now
  • Fixed a *very* unlikely crash involving slabs/stairs
while (true) { suffer(); }
 

Christian_Soldier
Member
 
Posts: 147
Joined: Thu Feb 08, 2018 17:36
In-game: Christian_Soldier
 

User avatar
Piezo_
Member
 
Posts: 162
Joined: Fri Jul 20, 2018 21:36
Location: Chaotic Good
GitHub: is proprietary I use NotABug
In-game: Piezo_ or TheRealPiezo_

Re: [Mod] Mese Portals [meseportals]

by Piezo_ » Thu Dec 13, 2018 18:57

Update
  • Added a hint in the item name for burying portals in the ground.
  • Nodes that make up the base of a portal are now protected.
  • Portals no longer use an annoyingly slow ABM to update their world-node.
while (true) { suffer(); }
 

puzzlecube
Member
 
Posts: 16
Joined: Fri Oct 19, 2018 14:49
GitHub: puzzlecube
IRC: puzzlecube
In-game: puzzlecube KluppingOnion

Re: [Mod] Mese Portals [meseportals]

by puzzlecube » Sat Dec 15, 2018 18:47

Coolest and mese-est teleportation mod ever. Nice mesh too! Would be cool to have them be assignable to portal networks so that you could have private destinations though.
Better still is I think this is the only one that lets you shove a mob into a portal and be done with it though so that is pretty nice in a pinch.
Would you believe this came from an autistic guy with low vision? Believe it.
Check this out![url]https:github.com/puzzlecube[/url]
I also make models for 3d printing!
 

User avatar
Piezo_
Member
 
Posts: 162
Joined: Fri Jul 20, 2018 21:36
Location: Chaotic Good
GitHub: is proprietary I use NotABug
In-game: Piezo_ or TheRealPiezo_

Re: [Mod] Mese Portals [meseportals]

by Piezo_ » Sat Dec 15, 2018 22:44

puzzlecube wrote:Would be cool to have them be assignable to portal networks so that you could have private destinations though.


You can set private destinations, and sort portals by only the ones owned by you, which might be similar to what you're asking?
while (true) { suffer(); }
 

User avatar
SpaghettiToastBook
Member
 
Posts: 31
Joined: Sun Feb 22, 2015 21:11
Location: The Milky Way
In-game: STB

Re: [Mod] Mese Portals [meseportals]

by SpaghettiToastBook » Thu Dec 20, 2018 07:37

This is really cool. I like that the portals are rather difficult to craft, so it seems reasonable for a survival server. The only problem I've noticed is that if you try to place a portal and there's not enough room, you lose the portal forever. I assume that wasn't intended?
 

User avatar
Piezo_
Member
 
Posts: 162
Joined: Fri Jul 20, 2018 21:36
Location: Chaotic Good
GitHub: is proprietary I use NotABug
In-game: Piezo_ or TheRealPiezo_

Re: [Mod] Mese Portals [meseportals]

by Piezo_ » Thu Dec 20, 2018 07:51

SpaghettiToastBook wrote:The only problem I've noticed is that if you try to place a portal and there's not enough room, you lose the portal forever. I assume that wasn't intended?


Welp, that's a bug.

*Piezo_ opens up text editor

EDIT: Should be fixed now.
while (true) { suffer(); }
 

User avatar
SpaghettiToastBook
Member
 
Posts: 31
Joined: Sun Feb 22, 2015 21:11
Location: The Milky Way
In-game: STB
 

User avatar
Piezo_
Member
 
Posts: 162
Joined: Fri Jul 20, 2018 21:36
Location: Chaotic Good
GitHub: is proprietary I use NotABug
In-game: Piezo_ or TheRealPiezo_

Re: [Mod] Mese Portals [meseportals]

by Piezo_ » Thu Dec 20, 2018 22:32

SpaghettiToastBook wrote:Thanks!


Thank you for reporting the bug! I try to be thorough in debugging my mods, but feedback/testing is incredibly valuable. :D
while (true) { suffer(); }
 


Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 3 guests