[Mod] Translocators (Simple Teleport) [xlocate]

Post Reply
User avatar
duane
Member
Posts: 1715
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

[Mod] Translocators (Simple Teleport) [xlocate]

by duane » Post

Xlocate adds craftable translocators. When you combine the ingredients, you'll get a pair of translocators. Plant one, move to another location and plant the other. When you right-click on them, you'll teleport from one to the other. You can dig up either or both and move them at will.

This is a work in progress.

The source is available on github.

Code: LGPL2
Textures and Models: CC3

Mod dependencies: default

Download: https://github.com/duane-r/xlocate/archive/master.zip
Last edited by duane on Tue May 28, 2019 07:58, edited 1 time in total.
Believe in people and you don't need to believe anything else.

User avatar
duane
Member
Posts: 1715
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Re: [Mod] Translocators (Simple Teleport) [xlocate]

by duane » Post

Problems: None so far.
Believe in people and you don't need to believe anything else.

User avatar
cx384
Member
Posts: 653
Joined: Wed Apr 23, 2014 09:38
GitHub: cx384
IRC: cx384

Re: [Mod] Translocators (Simple Teleport) [xlocate]

by cx384 » Post

Another teleport mod nice. Image
Can your read this?

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] Translocators (Simple Teleport) [xlocate]

by azekill_DIABLO » Post

cx384 wrote:Another teleport mod nice. Image
XD another one!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
duane
Member
Posts: 1715
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Re: [Mod] Translocators (Simple Teleport) [xlocate]

by duane » Post

I've recoded this to use metarefs. Hopefully, it's more stable.
Believe in people and you don't need to believe anything else.

User avatar
FreeGamers
Member
Posts: 650
Joined: Sat May 25, 2019 00:15
GitHub: is proprietary I use NotABug
Location: United States
Contact:

Re: [Mod] Translocators (Simple Teleport) [xlocate]

by FreeGamers » Post

Allow me to telefrag poor innocent Minetesters and Mobs and I'll let you have an instagib rifle.
I'm still hoping for the day UT99 and UE1 is GPL'd.
https://forums.unrealengine.com/develop ... post263262
Last edited by FreeGamers on Thu May 30, 2019 18:46, edited 2 times in total.
FreeGamers.org has moved to MeseCraft.net | FreeGamers on this forum is now MeseCraft

ThorfinnS
Member
Posts: 311
Joined: Mon Feb 25, 2019 22:05
GitHub: ThorfinnS

Re: [Mod] Translocators (Simple Teleport) [xlocate]

by ThorfinnS » Post

Code: Select all

2019-05-30 11:13:36: WARNING[Server]: Undeclared global variable "data" accessed at C:\games\mt\mt510-38b\bin\..\mods\xlocate\init.lua:196
2019-05-30 11:13:36: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'xlocate' in callback item_OnPlace(): C:\games\mt\mt510-38b\bin\..\mods\xlocate\init.lua:196: attempt to index global 'data' (a nil value)
2019-05-30 11:13:36: ERROR[Main]: stack traceback:
2019-05-30 11:13:36: ERROR[Main]: 	C:\games\mt\mt510-38b\bin\..\mods\xlocate\init.lua:196: in function <C:\games\mt\mt510-38b\bin\..\mods\xlocate\init.lua:180>
Using sfan5's latest build (5.1.0-38b)

User avatar
duane
Member
Posts: 1715
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Re: [Mod] Translocators (Simple Teleport) [xlocate]

by duane » Post

ThorfinnS wrote:

Code: Select all

2019-05-30 11:13:36: WARNING[Server]: Undeclared global variable "data" accessed at C:\games\mt\mt510-38b\bin\..\mods\xlocate\init.lua:196
2019-05-30 11:13:36: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'xlocate' in callback item_OnPlace(): C:\games\mt\mt510-38b\bin\..\mods\xlocate\init.lua:196: attempt to index global 'data' (a nil value)
2019-05-30 11:13:36: ERROR[Main]: stack traceback:
2019-05-30 11:13:36: ERROR[Main]: 	C:\games\mt\mt510-38b\bin\..\mods\xlocate\init.lua:196: in function <C:\games\mt\mt510-38b\bin\..\mods\xlocate\init.lua:180>
Using sfan5's latest build (5.1.0-38b)
Thanks for catching that. Just pushed the fix.
Believe in people and you don't need to believe anything else.

ThorfinnS
Member
Posts: 311
Joined: Mon Feb 25, 2019 22:05
GitHub: ThorfinnS

Re: [Mod] Translocators (Simple Teleport) [xlocate]

by ThorfinnS » Post

Thank you!

User avatar
duane
Member
Posts: 1715
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Improvised Teleporter

by duane » Post

I've added a single-use, improvised teleporter that will take you on a one-way trip to somewhere else. It's meant to be an alternative to starting over when you find yourself in a terrible location. Take all the stone you've dug up and make one of these to wisk you away. If you're using my experimental mapgen, it will show most of the available worlds to teleport to.
Spoiler
Image
Warning: This teleporter is likely to drop you into lava, deep water, or high in the air. It can also teleport you into solid objects, which generally results in a horrific explosion. It wouldn't be as much fun if it was completely safe.

Recipe:
Spoiler
Strange Superposition:
group:stone, group:stone, group:stone,
group:stone, group:stone, group:stone,
group:stone, group:coal, group:stone,

Improvised Teleporter:
strange_superposition, strange_superposition, strange_superposition
strange_superposition, strange_superposition, strange_superposition
strange_superposition, empty, strange_superposition
Attachments
screenshot_20190728_070743.jpg
screenshot_20190728_070743.jpg (226.62 KiB) Viewed 489 times
Believe in people and you don't need to believe anything else.

ThorfinnS
Member
Posts: 311
Joined: Mon Feb 25, 2019 22:05
GitHub: ThorfinnS

Re: [Mod] Translocators (Simple Teleport) [xlocate]

by ThorfinnS » Post

Nice. 64 stone, 8 coal? Pretty much only a problem if you start in permafrost. And maybe desert, since I think you need an axe to get cactus, and you need cactus to get the axe.

Maybe the answer is some kind of pickaxe you can construct from permafrost or desert sand? Since those are really the only places that can be tricky to survive and don't have wood. (Not adds to your mod, necessarily. Just thinking out loud.)

User avatar
duane
Member
Posts: 1715
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Re: [Mod] Translocators (Simple Teleport) [xlocate]

by duane » Post

ThorfinnS wrote:Nice. 64 stone, 8 coal?
You can also use ice and charcoal, so that helps a bit.
Believe in people and you don't need to believe anything else.

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests