[deleted]
- D00Med
- Member
- Posts: 949
- Joined: Sat Feb 07, 2015 22:49
- GitHub: D00Med
- Location: Australia...somewhere
Re: [Mod] Vignette [vignette] - Surprisingly good for immers
The mod I've been waiting for, this is great! I'll try it out now...
Edit: I have been wanting to do this for a long time... D: 12 lines of code?
Anyway, great mod!
Edit: I have been wanting to do this for a long time... D: 12 lines of code?
Anyway, great mod!
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242
My subgame: viewtopic.php?f=15&t=14051#p207242
Re: [Mod] Vignette [vignette] - Surprisingly good for immers
Yep. Took me about five minutes, and most of it was remembering how to write Lua. :3
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: [Mod] Vignette [vignette] - Surprisingly good for immers
oh a question: if orking your mod and would like to know to remove an hud element just after placing it.
Can you help me?
Can you help me?
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
Re: [Mod] Vignette [vignette] - Surprisingly good for immers
If I understand your question correctly azekill_DIABLO, you're looking for player:hud_remove(id).
https://github.com/minetest/minetest/bl ... .txt#L2710
https://github.com/minetest/minetest/bl ... .txt#L2710
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: [Mod] Vignette [vignette] - Surprisingly good for immers
yes but how to get the id of the hud_element?
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
- ExeterDad
- Member
- Posts: 1717
- Joined: Sun Jun 01, 2014 20:00
- In-game: ExeterDad
- Location: New Hampshire U.S.A
Re: [Mod] Vignette [vignette] - Surprisingly good for immers
That really gives a nice effect.
HOMETOWN -Our little server. Keep the HOMETOWN chatter @ http://hometownserver.com - Our server map: http://media.hometownserver.com
Re: [Mod] Vignette [vignette] - Surprisingly good for immers
It is returned from add_hudazekill_DIABLO wrote:yes but how to get the id of the hud_element?
Or is your question how to get it from my mod?
I'd have to expose it in some way.
Re: [Mod] Vignette [vignette] - Surprisingly good for immers
I think it's one of the big factors that made MT feel so plastic compared to MC.ExeterDad wrote:That really gives a nice effect.
I may be wrong though. It's very hard to determine what causes subconscious feelings. ;)
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: [Mod] Vignette [vignette] - Surprisingly good for immers
i try to get it from your mod....i'm just modifing it :)TriBlade9 wrote:It is returned from add_hudazekill_DIABLO wrote:yes but how to get the id of the hud_element?
Or is your question how to get it from my mod?
I'd have to expose it in some way.
i'm adding a special hud on_damage (no problem with this)
buti want i leaves the screen some time after this....
Edit: this is a great mod
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
Re: [Mod] Vignette - Surprisingly good for immersion [vignet
Okay, I'll look into exposing the id.
- srifqi
- Member
- Posts: 570
- Joined: Sat Jun 28, 2014 04:31
- GitHub: srifqi
- IRC: srifqi
- In-game: srifqi
- Location: Indonesia
Re: [Mod] Vignette - Surprisingly good for immersion [vignet
Nice simple small mod! Just a function call and an image. :D
Saya dari Indonesia! · Terjemahkan Minetest! · my mods · My nickname in IPA: /es.rif.qi/
Re: [Mod] Vignette - Surprisingly good for immersion [vignet
Yeppers. :)srifqi wrote:Nice simple small mod! Just a function call and an image. :D
Re: [Mod] Vignette - Surprisingly good for immersion [vignet
Very nice effect to the game!
Very nice, i tested it and looks very great!
+100
Very nice, i tested it and looks very great!
+100
Have a nice day! :D
- Gael de Sailly
- Member
- Posts: 845
- Joined: Sun Jan 26, 2014 17:01
- GitHub: gaelysam
- IRC: Gael-de-Sailly
- In-game: Gael-de-Sailly gaelysam
- Location: Voiron, France
Re: [Mod] Vignette - Surprisingly good for immersion [vignet
Impressive simplicity.
On the first line I would prefer this: because creating global variables is not advised when it can be avoided, because it may create confusion if ever another mod uses a variable called "joinplayer". Here, a local variable is better.
On the first line I would prefer this:
Code: Select all
local function joinplayer (player)
Just realize how bored we would be if the world was perfect.
Re: [Mod] Vignette - Surprisingly good for immersion [vignet
Oops, I've been in Node.js-land too long. Forgot that creates a global function.
On the bright side, that will make exposing the id very simple.
On the bright side, that will make exposing the id very simple.
-
- Member
- Posts: 818
- Joined: Tue Apr 14, 2015 01:59
- GitHub: raymoo
- IRC: Hijiri
- In-game: Raymoo + Clownpiece
Re: [Mod] Vignette - Surprisingly good for immersion [vignet
It's not necessary to console yourself with the bright side, because it is a one keyword fix. To expose it you can just define a global table named after your mod, and put the function there.TriBlade9 wrote:Oops, I've been in Node.js-land too long. Forgot that creates a global function.
On the bright side, that will make exposing the id very simple.
Every time a mod API is left undocumented, a koala dies.
- Bas080
- Member
- Posts: 398
- Joined: Mon May 21, 2012 15:54
- GitHub: bas080
- IRC: bas080
- In-game: bas080
- Location: Netherlands
Re: [Mod] Vignette - Surprisingly good for immersion [vignet
I made a pull request which creates an api for the vignette mod. This allows for other mods to increase or decrease the darkness effect.
https://github.com/TriBlade9/minetest_vignette/pull/1
https://github.com/TriBlade9/minetest_vignette/pull/1
Re: [Mod] Vignette - Surprisingly good for immersion [vignet
Merged, thanks a ton Bas080!
Re: [Mod] Vignette - Surprisingly good for immersion [vignet
Love this mod! Thank you.
- jordan4ibanez
- Member
- Posts: 1923
- Joined: Tue Sep 27, 2011 18:44
- GitHub: jordan4ibanez
- IRC: jordan4ibanez
- In-game: jordan4ibanez
Re: [Mod] Vignette - Surprisingly good for immersion [vignet
This should be in the game by default, very nice.
hello, am program. do language in rust. make computer do. okay i go now.
- Calinou
- Moderator
- Posts: 3169
- Joined: Mon Aug 01, 2011 14:26
- GitHub: Calinou
- IRC: Calinou
- In-game: Calinou
- Location: Troyes, France
- Contact:
Re: [Mod] Vignette - Surprisingly good for immersion [vignet
Then it should be configurable, I don't personally like vignettes much and I don't think any "competitive" player does.jordan4ibanez wrote:This should be in the game by default, very nice.
- BrunoMine
- Member
- Posts: 1082
- Joined: Thu Apr 25, 2013 17:29
- GitHub: BrunoMine
- Location: SP-Brasil
- Contact:
Re: [Mod] Vignette - Surprisingly good for immersion [vignet
No matter which the server. This mod is awesome.
- Diamond knight
- Member
- Posts: 475
- Joined: Sun Apr 19, 2015 19:50
- GitHub: Diamondknight
- In-game: Ferrumprinceps
- Location: Chilling in Constantinople
- Contact:
Re: [Mod] Vignette - Surprisingly good for immersion [vignet
should be a setting in the same submenu as enable fullscreen in advanced settingsCalinou wrote:Then it should be configurable, I don't personally like vignettes much and I don't think any "competitive" player does.jordan4ibanez wrote:This should be in the game by default, very nice.
My modding team: https://github.com/basilea-rhomaion
- BrunoMine
- Member
- Posts: 1082
- Joined: Thu Apr 25, 2013 17:29
- GitHub: BrunoMine
- Location: SP-Brasil
- Contact:
Re: [Mod] Vignette - Surprisingly good for immersion [vignet
I believe that this feature should not exist in minetest. This is a unique recusro for survival servers. (Slightly increases the difficulty and puts insecurity player)
I've added to my server.
I've added to my server.
Who is online
Users browsing this forum: Ahrefs [Bot] and 39 guests