[ModPack] Kaeza's Misc Stuff [kaeza_misc]

Post Reply
User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

[ModPack] Kaeza's Misc Stuff [kaeza_misc]

by kaeza » Post

Well, I've developed a few mods for testing new features in the engine (back when they were new anyway).

Since these mods have nothing in common, and are rather smallish, I don't want to clutter up the forums with lots of topics. I'll be posting more here as I push them to my repo (and I find where I left them :P).

Dependencies
default

License
WTFPL for code and media files.

Download
ZIP Archive
Browse Code

Mods

Currently, these are the things added:

bookex
This overrides the default book. When used, you can write something in it. Useful for taking notes and such.

testclock
This was to test the new Lua HUD system. It adds a clock that shows the time of the day (in-game).

crosshair_ex
Adds a new crosshair to the game. It does not replace the old crosshair, just overlays a new one.

hud_change
Shows how to show/hide built-in HUD items.

notice
Send notices very visibly :) (sends a PM but instead of printing to chat, shows in a formspec; useful when the user isn't paying attention to you).

To uninstall a mod, just remove it from the pack :)
Last edited by kaeza on Wed Apr 24, 2013 14:33, edited 1 time in total.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

ashenk69
Member
Posts: 230
Joined: Tue Jul 03, 2012 00:08

by ashenk69 » Post

You could improve the hud test code by using

Code: Select all

hud_change(id, stat, value)
instead of adding and removing the element every step.

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

by kaeza » Post

ashenk69 wrote:You could improve the hud test code by using

Code: Select all

hud_change(id, stat, value)
instead of adding and removing the element every step.
http://irc.minetest.ru/minetest/2013-04-20#i_3035409
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

by kaeza » Post

Small update:
- bookex: Fixed positioning errors in the widgets.
- bookex: Changed button to button_exit so it actually closes the dialog.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

ashenk69
Member
Posts: 230
Joined: Tue Jul 03, 2012 00:08

by ashenk69 » Post

That's stupid. Why wouldn't that work, it must just be a small bug in the engine.

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

by kaeza » Post

I know. I'm fixing up some other HUD-related stuff now, and looking into the matter as well.
Last edited by kaeza on Tue Apr 23, 2013 00:31, edited 1 time in total.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

by kaeza » Post

Update!

Added 'crosshair_ex' mod to show the new alignment capability of the LuaHUD.

Edit: You need the latest git to see it in action, otherwise the new crosshair will be misplaced.
Last edited by kaeza on Tue Apr 23, 2013 06:42, edited 1 time in total.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

by kaeza » Post

Update!

Added hud_change mod. This shows how to enable/disable things like the hotbar/crosshair/etc.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

Re: [ModPack] Kaeza's Misc Stuff [kaeza_misc]

by kaeza » Post

*BUMP*

Added `notice' mod which some server owners may find useful. It sends a private message to an user, but instead of printing on chat, it's shown in a dialog in the middle of the screen. Useful for when you want to grab their attention.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

Re: [ModPack] Kaeza's Misc Stuff [kaeza_misc]

by philipbenr » Post

Sounds good kaeza! I'll take a look later

User avatar
Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

Re: [ModPack] Kaeza's Misc Stuff [kaeza_misc]

by Minetestforfun » Post

very good misc mods !
I installed : testclock(can we change the yellow color ?) and notice, on my minetest-server !

EDIT :
Sometimes, the clock disappears, can you resolve the issue ?)
my server runs 0.4.10

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

Re: [ModPack] Kaeza's Misc Stuff [kaeza_misc]

by kaeza » Post

Some updates. Check the commit log for details.

MFF: Fixed the flickering bug (was an artifact due to a (very old) bug in Minetest). You can change the clock color by modifying the `number = 0xFFFF00` line. The format is 0xRRGGBB.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

KzoneDD
Member
Posts: 65
Joined: Wed Sep 17, 2014 09:29

Re: [ModPack] Kaeza's Misc Stuff [kaeza_misc]

by KzoneDD » Post

HI Kaeza, can I read up somewhere on how to use the notice mod?

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

Re: [ModPack] Kaeza's Misc Stuff [kaeza_misc]

by kaeza » Post

KzoneDD wrote:HI Kaeza, can I read up somewhere on how to use the notice mod?
The usage is:

Code: Select all

/notice playername Some text | another line | woo a third line!
Note: since we have no way to know the "width" of a text string in the GUI, you should split the message manually into multiple lines if it's too long. Also, don't use more than, say, 3 or 4 lines.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

User avatar
Ish
Member
Posts: 10
Joined: Fri Oct 06, 2017 07:49
GitHub: I3h
IRC: I3h or Ish2
In-game: Ish or Ish2

Re: [ModPack] Kaeza's Misc Stuff [kaeza_misc]

by Ish » Post

kaeza wrote:
KzoneDD wrote:HI Kaeza, can I read up somewhere on how to use the notice mod?
The usage is:

Code: Select all

/notice playername Some text | another line | woo a third line!
Note: since we have no way to know the "width" of a text string in the GUI, you should split the message manually into multiple lines if it's too long. Also, don't use more than, say, 3 or 4 lines.
Hi kaeza.. I was wondering if you could add something like this:

Code: Select all

/notice <player1-4/all> <text>
Essentially if you can add mutiple people (4 max) or all online players?
> not much to say here.
> my (very vip) website: i3h

hajo
Member
Posts: 606
Joined: Thu Oct 13, 2016 10:45
Location: DE
Contact:

Re: [ModPack] Kaeza's Misc Stuff [kaeza_misc]

by hajo » Post

Ish wrote:

Code: Select all

/notice <player1-4/all> <text>
Essentially if you can add mutiple people (4 max) or all online players?
That would be perfect for spamming, and for disrupting players during fights or doing parcours.

Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests