Page 1 of 2

[Mod] Spectator Mode [git] [spectator_mode]

Posted: Tue Dec 08, 2015 15:34
by jp
A simple mod allowing you to watch and continuously follow the other players in their 3rd person view.
You're invisible and undetectable for the players when you're in this mode.

Can be useful for admins or moderators in their task of monitoring.

Requires the privilege "watch".

Commands :

Code: Select all

/watch <player name>
/unwatch (get back to your initial position)
Download | Sources | Bug report

Image

Re: [Mod] Spectator Mode [git] [spectator_mode]

Posted: Tue Dec 08, 2015 16:03
by benrob0329
Nice! Could you make it so that you can watch a givin coordanince?

I see a Mesecons camera system in the making....

Re: [Mod] Spectator Mode [git] [spectator_mode]

Posted: Tue Dec 08, 2015 16:04
by jp
benrob0329 wrote:Could you make it so that you can watch a givin coordanince?
No.

Re: [Mod] Spectator Mode [git] [spectator_mode]

Posted: Wed Dec 09, 2015 08:00
by firefox
cool =(0.0)=

but since the targeted player doesn't know when being watched, you should rename it to "Stalker" ;)

Re: [Mod] Spectator Mode [git] [spectator_mode]

Posted: Sun Dec 20, 2015 13:28
by prof-turbo
Nice !
The actual existing spectators modes are very buggy in PvP games/modes.
Thanks a lot !

Re: [Mod] Spectator Mode [git] [spectator_mode]

Posted: Tue Dec 22, 2015 03:16
by programmingchicken
Made my first pull request, and I think it's pretty useful! :DDD

Re: [Mod] Spectator Mode [git] [spectator_mode]

Posted: Tue Dec 22, 2015 03:47
by kaadmy
Cool! :D

Re: [Mod] Spectator Mode [git] [spectator_mode]

Posted: Wed Dec 23, 2015 10:21
by jp
Update : the watcher is now able to switch of player while already watching someone. Thanks to programmingchicken for the idea.

Re: [Mod] Spectator Mode [git] [spectator_mode]

Posted: Wed Dec 23, 2015 21:42
by programmingchicken
Was an easy fix but I didn't look into it well enough lol

Re: [Mod] Spectator Mode [git] [spectator_mode]

Posted: Wed Dec 23, 2015 23:14
by Fixer
Trololo! This is very good and useful, what is TODO for now? Also, make it able to fly on its own (without attach to play), that will be VERY-VERY useful :}

Re: [Mod] Spectator Mode [git] [spectator_mode]

Posted: Wed Dec 23, 2015 23:56
by jp
No TODO actually, I don't have a big ambition for this mod.

Re: [Mod] Spectator Mode [git] [spectator_mode]

Posted: Sat Jan 02, 2016 20:34
by luizrpgluiz
you can create a new command to see first person with the camera fixed on the player? For you will be very complicated to program it?

Re: [Mod] Spectator Mode [git] [spectator_mode]

Posted: Sun Jan 03, 2016 12:40
by Fixer
Does it work if the watched person deep in the cave around the blocks?

Re: [Mod] Spectator Mode [git] [spectator_mode]

Posted: Sun Jan 03, 2016 14:23
by jp
Fixerol wrote:Does it work if the watched person deep in the cave around the blocks?
You can use F7 for avoid the black screen in tight areas. The 3rd person view makes the camera "collide-able" with the nodes.

Re: [Mod] Spectator Mode [git] [spectator_mode]

Posted: Sun Jan 03, 2016 18:28
by maikerumine
Hello!

I just tested this out and found a few bugs:

*on exit of game as watcher the game crashes.
*on unwatch, watcher is teleported to the person being watched.
*during watch mode you are able to break all nodes and even hurt the player.

Re: [Mod] Spectator Mode [git] [spectator_mode]

Posted: Sun Jan 03, 2016 19:03
by jp
Trying to reproduce and working on this.

EDIT: seems like the troublemaker was the latest feature added. Now reverted.

Re: [Mod] Spectator Mode [git] [spectator_mode]

Posted: Tue Jan 05, 2016 12:25
by amadin
This is good anti-griefing mod if you suspect of griefing or cheating someone. Also its presence on the server can terrify their :)

Re: [Mod] Spectator Mode [git] [spectator_mode]

Posted: Thu Jan 07, 2016 19:06
by Fixer
Looks like if you have hunger mod, it will show double one over your hud after watching someone with it.
Another problem, if someone you watch leaves the server, you will stay as a ghost on that place.

Re: [Mod] Spectator Mode [git] [spectator_mode]

Posted: Thu Jan 07, 2016 19:22
by jp
Fixerol wrote:Looks like if you have hunger mod, it will show double one over your hud after watching someone with it.
I know, Hunger mod uses HUD elements in a special manner it seems.
Second problem is not fixable without checking within a globalstep (meaning more lag).

Anyways I won't bother to fix this. Don't expect much from me for this mod.

Re: [Mod] Spectator Mode [git] [spectator_mode]

Posted: Sun Jan 10, 2016 09:44
by neoascetic

Re: [Mod] Spectator Mode [git] [spectator_mode]

Posted: Sat Jan 23, 2016 19:37
by Minetestforfun
The MinetestForFun Team [spectator_mode] improved from the jp's mod : https://github.com/MinetestForFun/serve ... tator_mode

New features listed here : https://github.com/MinetestForFun/serve ... /issues/79

Re: [Mod] Spectator Mode [git] [spectator_mode]

Posted: Tue Mar 22, 2016 09:59
by jp
Update : project moved on Minetest Mods.

Re: [Mod] Spectator Mode [git] [spectator_mode]

Posted: Mon May 27, 2019 17:52
by SAMIAMNOT
It's kinda cool but when you unwatch it screws everything up, I don't think it's been updated for the new Minetest 5 positioning system.

Re: [Mod] Spectator Mode [git] [spectator_mode]

Posted: Thu May 30, 2019 21:23
by FreeGamers
I also ran into this bug, it seems to offset the player's position to be 1 node higher off the ground when /unwatch is used.

Re: [Mod] Spectator Mode [git] [spectator_mode]

Posted: Wed Oct 02, 2019 15:49
by Miniontoby
Cool mod and please put it on content.minetest.net because then we can download it simpler.