Minetest logo

IRC log for #minetest-mods, 2015-01-26

| Channels | #minetest-mods index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:06 Fadi_ it never got to me but can we do something like position = { x=-1, y=-2 },
00:06 Fadi_ negative positions is a thing? Well I assume it is but ya never know
00:06 T4im yes
00:07 T4im 0,0,0 is the center of the map
00:07 T4im well, of the max-map
00:07 T4im ±1 ;)
00:09 Fadi_ hm I don't get it, whenever I change y=2 it just dissapears from the screen
00:10 T4im well what's your position?
00:10 T4im y=2 might be underground already
00:11 T4im if you are on a hill
00:11 Fadi_ N ono no, you're getting me all wrong, I'm trying to change the hud elements
00:11 Fadi_ like the health bar and the breath bar
00:11 T4im oh
00:11 Fadi_ :)
00:11 T4im well… in that case, I'd not expect negative positioning
00:12 T4im but might be
00:12 T4im check the api ;)
00:12 * T4im hasn't touched hud yet
00:12 Fadi_ never been a big fan of reading apis :p
00:12 T4im I am… always been a big fan of serendipity ;)
00:13 T4im "Oh wait… you can do THAT to?"
00:13 T4im ;)
00:13 Fadi_ =)
00:13 T4im position = {x=0.5, y=0.5},
00:13 T4im --  ^ Left corner position of element
00:14 T4im there ya go
00:14 Fadi_ thanks!
00:15 Fadi_ am i evil for trying to change the hearts and bubbles into bars :p?
00:15 T4im no :)
00:16 Fadi_ ok so {x=1, y=0.5} puts it in the right side too so if I want to have a bar under it I would do {x=1, y=0.3}?
00:16 T4im I think that might put it on top
00:16 T4im though
00:16 T4im not sure of direction here
00:16 Fadi_ I'll try 0.6
00:16 T4im just that: 0 - 1 is the range
00:17 T4im meaning x=1 might already push it off the screen
00:17 T4im or at the very least very right
00:17 Fadi_ hold on I'll take a screenshot
00:18 T4im http://rubenwardy.com/minetest_doc/chapters/hud.html
00:18 T4im there's the rest
00:18 T4im ;)
00:18 Fadi_ http://faaf.me/ebi1/8ee1d3
00:18 Fadi_ not the fanciest of bars, just a placeholder
00:19 Fadi_ thanks for the link
00:20 Fadi_ well I got it to be like that now http://faaf.me/NQC5/f1924c
00:28 Fadi_ any idea how to make the breath bar always show anyone?
00:36 Cylus joined #minetest-mods
01:06 Nate123 joined #minetest-mods
01:50 Fadi_ joined #minetest-mods
02:13 LazyJ joined #minetest-mods
02:26 Fadi_ Can anyone help me see why my stuff isn't working? I'm just editing the default game lua files to change how the HUD looks and I keep getting an error coming from init.lua in my mod..
02:26 Fadi_ I'll paste the github link if anyone is willing to look
02:46 Wuzzy joined #minetest-mods
02:52 Wayward_One joined #minetest-mods
02:57 everamzahh joined #minetest-mods
02:57 LazyJ I havent' messed with HUD stuff. Maybe some clues can be found in VanessaE's "Dreambuilder" sub-game. That changes the hot bar size and color. Also check the lua_api.txt in the /docs directory and the game_api.txt in the minetest_game directory. One of those two might have some info. That's about all I can contribute. Good luck. ;)
02:59 LazyJ Google the forums for a time display mod that shows the in-game time and lag. kaeza has a couple, small mods on his GitHub called "kaeza_misc". One of the little mods changes the target symbol.
03:03 Fadi_ ok ty :)
04:00 Miner_48er joined #minetest-mods
04:35 Cylus joined #minetest-mods
04:37 Wayward_One Fadi_: not sure if that mod is on the forums, so here's the link to it's github: https://github.com/crazyginger72/minetest_time
04:38 Wayward_One that's the mod that shows the time and lag btw
04:39 Fadi_ Ohh nice
04:39 Fadi_ I fixed it but I'm facing one issue, how can I disable the game's hud since they both appear for me, the game's and my mod's
04:41 Wayward_One hmm
04:41 Wayward_One i'm not sure how to do that :/
04:42 Fadi_ :\
04:45 Wayward_One well, you an press f1 in game to remove it temporarily, but i don't know if that'll hide your mod's hud too
04:45 Wayward_One *can
04:47 Fadi_ i'll try it :o
05:09 Fadi_ joined #minetest-mods
11:03 Fadi_ joined #minetest-mods
11:19 rubenwardy joined #minetest-mods
11:38 FR^2 joined #minetest-mods
11:49 rubenwardy joined #minetest-mods
12:12 Fadi joined #minetest-mods
12:50 ShadowBot` joined #minetest-mods
13:20 everamzahh joined #minetest-mods
14:05 T4im joined #minetest-mods
14:33 Wuzzy joined #minetest-mods
15:16 Fadi_ joined #minetest-mods
15:30 Fadi joined #minetest-mods
16:13 roniz joined #minetest-mods
17:13 Fadi joined #minetest-mods
17:57 Fadi_ joined #minetest-mods
18:04 Wayward_One joined #minetest-mods
18:05 rubenwardy joined #minetest-mods
18:10 Wayward_One joined #minetest-mods
18:53 Miner_48er joined #minetest-mods
20:36 Robert_Zenz joined #minetest-mods
21:08 roniz_ joined #minetest-mods
21:57 LazyJ joined #minetest-mods
22:43 roniz joined #minetest-mods

| Channels | #minetest-mods index | Today | | Google Search | Plaintext