Page 1 of 1

[Mod] invisible V2 [invis]

PostPosted: Tue Jul 21, 2015 10:53
by AiTechEye
A very much wanted mod: become invisible!

This is a glitch based mod, that kill you, but you can still move in a death mode.

Another invisible / glitch based mod that are better: viewtopic.php?f=9&t=13508

Note: this mod is glitch-based death mode, so you cant make any effect when you are in this mode or load the map!

Be invisiable: /invis

Normal mode: /inbac
(or just hurt your self)

Default priv-requires: kick
Licenses: code LGPL 2.1 media CC BY-SA 3.0
Depends: default
Requires 0.4.13 or older

Re: [Mod] invis (invisible)

PostPosted: Tue Jul 21, 2015 13:18
by Hybrid Dog
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
local invis_requires_priv=kick

kick is nil l think and so invis_requires_priv is also nil, so
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest.check_player_privs(name, {interact=invis_requires_priv})==false

does the same as
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
not minetest.check_player_privs(name, {})

l think and checking for no privilege is always true l guess
how about this code?
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
local invis_requires_priv = "kick"
local privs = {[invis_requires_priv] = true}

if not minetest.check_player_privs(name, privs) then return false end



there's this function, you don't need to search for the player in the player list
http://dev.minetest.net/minetest.get_player_by_name

Re: [Mod] invis 2 (invisible)

PostPosted: Thu Oct 08, 2015 11:04
by AiTechEye
Fixed

Re: [Mod] invis 2 (invisible)

PostPosted: Thu Oct 08, 2015 16:35
by Hybrid Dog
you could also use the camera offset to stalk others

Re: [Mod] invis 2 (invisible)

PostPosted: Thu Oct 08, 2015 22:31
by Dragonop
Yay, stalking on Minetest :D
btw, I remember a server where the "jojoa" skin was broken and if you used it your nametag and skin won't show, wich would make you invisible.

Nice mod

Re: [Mod] invis 2 (invisible)

PostPosted: Thu Oct 08, 2015 22:42
by kaadmy
Hmm, would be nice to make the player like a ghost, maybe change the player skin to transparent?

Re: [Mod] invis 2 (invisible)

PostPosted: Sat Oct 10, 2015 08:17
by prof-turbo
kaadmy wrote:Hmm, would be nice to make the player like a ghost, maybe change the player skin to transparent?


Great idea :)
And also maybe change the screen color with something like purple or grey ?
(Like in this mod : viewtopic.php?f=11&t=9240&hilit=creatures )
Image