[ModPack] Kaeza's Misc Stuff [kaeza_misc]

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

[ModPack] Kaeza's Misc Stuff [kaeza_misc]

by kaeza » Mon Apr 22, 2013 02:01

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 | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

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

by ashenk69 » Mon Apr 22, 2013 02:59

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: 2158
Joined: Thu Oct 18, 2012 05:00
Location: Montevideo, Uruguay
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Mon Apr 22, 2013 03:12

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 | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

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

by kaeza » Mon Apr 22, 2013 04:49

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 | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

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

by ashenk69 » Mon Apr 22, 2013 13:26


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

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

by kaeza » Mon Apr 22, 2013 15:10

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 | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

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

by kaeza » Tue Apr 23, 2013 06:41

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 | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

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

by kaeza » Wed Apr 24, 2013 14:33

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 | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

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

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

by kaeza » Sat May 31, 2014 13:49

*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 | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

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

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

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

by Minetestforfun » Thu Aug 28, 2014 15:24

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: 2158
Joined: Thu Oct 18, 2012 05:00
Location: Montevideo, Uruguay
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

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

by kaeza » Thu Jul 09, 2015 09:26

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 | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

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

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

by KzoneDD » Thu Jul 21, 2016 23:16

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

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

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

by kaeza » Tue Aug 02, 2016 20:21

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 | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

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 » Sun Oct 22, 2017 12:28

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: 596
Joined: Thu Oct 13, 2016 10:45
Location: DE

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

by hajo » Sun Oct 22, 2017 22:50

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.
 


Return to WIP Mods



Who is online

Users browsing this forum: Gibeinumo and 5 guests