[Mod] MT Logo [mtlogo]

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

[Mod] MT Logo [mtlogo]

by duane » Mon Jul 10, 2017 13:44

This is a drop-in replacement for the old nyancat mod. I've slightly modified the code, but kept the original placement algorithm. Instead of nyancats, it places the name, Minetest, in rainbow letters at random points throughout the world. They're not terribly common.

You can also modify the messages table in the init.lua file to add any number of short messages composed of letters and spaces. A random message will be placed where nyancats used to show up.

Image

By default, any existing nyancats will be replaced by rainbow letters, provided there is room for them, along the same path as the original structure. They will overwrite stone, air, water, and (of course) nyancat rainbow blocks. Mining the letters will get you the same number of mtlogo rainbow blocks. Only a nyancat block itself (the head) will trigger a replacement with letters. Any other rainbow blocks will be replaced with identical mtlogo rainbow blocks (so you can remove the nyancat mod).

If you didn't quite follow the above, know that this mod will modify your world and any nyancats. If you aren't sure that you want this, don't use it.

There's no attempt to be faithful to the spirit of the original nyancats here. I just like hiding neat geegaws in my world.

The source is available on github.

Code: LGPL2.1, textures: CC-BY-SA 3.0

Mod dependencies: default

Download: https://github.com/duane-r/mtlogo/archive/master.zip
(or, if you're Lone Wolf, click here. : p )
Attachments
t01.jpg
(520.63 KiB) Not downloaded yet
Last edited by duane on Tue Jul 25, 2017 08:33, edited 3 times in total.
Believe in people and you don't need to believe anything else.
 

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

Problems

by duane » Mon Jul 10, 2017 13:45

- I've made no attempt to alias nyancat blocks to mtlogo blocks, as I don't know how that will affect the lbms that replace the blocks. Recipes dependent on nyancat will not work without changes.

- Obviously, you can only read the text from one direction.
Believe in people and you don't need to believe anything else.
 

User avatar
BBmine
Member
 
Posts: 3460
Joined: Sun Jul 12, 2015 22:51
Location: USA
GitHub: BBmine
IRC: BBmine
In-game: Baggins
 

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

Re: [Mod] MT Logo [mtlogo]

by azekill_DIABLO » Mon Jul 10, 2017 14:05

i like this replacement, should be default! this should also be preceded by the minetest logo, in 3d
 

User avatar
Lone_Wolf
Member
 
Posts: 1983
Joined: Sun Apr 09, 2017 05:50
Location: Hopefully very far from yours, snoop :P
GitHub: LoneWolfHT
IRC: Lone_Wolf
In-game: Lone_Wolf

Re: [Mod] MT Logo [mtlogo]

by Lone_Wolf » Tue Jul 11, 2017 04:33

Awesome! Please ask the Devs to add this to default MT_game!
EDIT: Please change download link to this: Download
(OCD? Idk)
 

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

Update

by duane » Tue Jul 25, 2017 08:29

I've added the remaining letters and support for spaces. You can now add any number of texts to the messages table and random choices will appear instead of nyancats. Note that they still appear in a single line, so one or two words would be best.

Image

Image
Attachments
t01.jpg
(240.17 KiB) Not downloaded yet
t02.jpg
(213.08 KiB) Not downloaded yet
Believe in people and you don't need to believe anything else.
 

User avatar
Lone_Wolf
Member
 
Posts: 1983
Joined: Sun Apr 09, 2017 05:50
Location: Hopefully very far from yours, snoop :P
GitHub: LoneWolfHT
IRC: Lone_Wolf
In-game: Lone_Wolf

Re: [Mod] MT Logo [mtlogo]

by Lone_Wolf » Tue Jul 25, 2017 15:12

Image
Lol
If your goal was to allow players to spell their name you might want to consider adding:
0123456789 and _
 


Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 2 guests