[Mod] Spectator Mode [git] [spectator_mode]

User avatar
jp
Member
 
Posts: 754
Joined: Wed Dec 18, 2013 09:03
Location: France
GitHub: kilbith

[Mod] Spectator Mode [git] [spectator_mode]

by jp » Tue Dec 08, 2015 15:34

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
Last edited by jp on Sat Feb 13, 2016 19:00, edited 3 times in total.
 

User avatar
benrob0329
Member
 
Posts: 1308
Joined: Thu Aug 06, 2015 22:39
Location: Michigan
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03

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

by benrob0329 » Tue Dec 08, 2015 16:03

Nice! Could you make it so that you can watch a givin coordanince?

I see a Mesecons camera system in the making....
Social: YouTube Peertube Matrix Room: #minetest:matrix.org | Games: The Infinite IKEA
 

User avatar
jp
Member
 
Posts: 754
Joined: Wed Dec 18, 2013 09:03
Location: France
GitHub: kilbith

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

by jp » Tue Dec 08, 2015 16:04

benrob0329 wrote:Could you make it so that you can watch a givin coordanince?

No.
 

User avatar
firefox
Member
 
Posts: 1489
Joined: Wed Jan 14, 2015 07:34
Location: Xanadu
In-game: Red_Fox

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

by firefox » Wed Dec 09, 2015 08:00

cool =(0.0)=

but since the targeted player doesn't know when being watched, you should rename it to "Stalker" ;)
building inspiration: viewtopic.php?f=3&t=15550 --- my game: viewtopic.php?f=49&t=15860 --- =(^.^)= nyan~
 

User avatar
prof-turbo
Member
 
Posts: 518
Joined: Mon May 07, 2012 17:02
Location: MinetestForFun or Teeworlds master server list

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

by prof-turbo » Sun Dec 20, 2015 13:28

Nice !
The actual existing spectators modes are very buggy in PvP games/modes.
Thanks a lot !
 

User avatar
programmingchicken
Member
 
Posts: 540
Joined: Sat Apr 18, 2015 02:20
Location: not here
GitHub: pchicken
IRC: chicken pchicken

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

by programmingchicken » Tue Dec 22, 2015 03:16

Made my first pull request, and I think it's pretty useful! :DDD
<gamerdude> I apologize for the above content
 

User avatar
kaadmy
Member
 
Posts: 705
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

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

by kaadmy » Tue Dec 22, 2015 03:47

Cool! :D
Never paint white stripes on roads near Zebra crossings.

Pixture
 

User avatar
jp
Member
 
Posts: 754
Joined: Wed Dec 18, 2013 09:03
Location: France
GitHub: kilbith

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

by jp » Wed Dec 23, 2015 10:21

Update : the watcher is now able to switch of player while already watching someone. Thanks to programmingchicken for the idea.
 

User avatar
programmingchicken
Member
 
Posts: 540
Joined: Sat Apr 18, 2015 02:20
Location: not here
GitHub: pchicken
IRC: chicken pchicken

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

by programmingchicken » Wed Dec 23, 2015 21:42

Was an easy fix but I didn't look into it well enough lol
<gamerdude> I apologize for the above content
 

User avatar
Fixer
Member
 
Posts: 890
Joined: Sun Jul 31, 2011 11:23
Location: Ukraine
IRC: Fixer
In-game: Fixer

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

by Fixer » Wed Dec 23, 2015 23:14

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 :}
 

User avatar
jp
Member
 
Posts: 754
Joined: Wed Dec 18, 2013 09:03
Location: France
GitHub: kilbith
 

User avatar
luizrpgluiz
Member
 
Posts: 18
Joined: Thu Mar 19, 2015 18:11
IRC: luizrpgluiz
In-game: luizinho

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

by luizrpgluiz » Sat Jan 02, 2016 20:34

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?
 

User avatar
Fixer
Member
 
Posts: 890
Joined: Sun Jul 31, 2011 11:23
Location: Ukraine
IRC: Fixer
In-game: Fixer

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

by Fixer » Sun Jan 03, 2016 12:40

Does it work if the watched person deep in the cave around the blocks?
 

User avatar
jp
Member
 
Posts: 754
Joined: Wed Dec 18, 2013 09:03
Location: France
GitHub: kilbith

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

by jp » Sun Jan 03, 2016 14:23

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.
 

User avatar
maikerumine
Member
 
Posts: 1350
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

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

by maikerumine » Sun Jan 03, 2016 18:28

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.
 

User avatar
jp
Member
 
Posts: 754
Joined: Wed Dec 18, 2013 09:03
Location: France
GitHub: kilbith

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

by jp » Sun Jan 03, 2016 19:03

Trying to reproduce and working on this.

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

amadin
Member
 
Posts: 544
Joined: Tue Jun 16, 2015 16:23

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

by amadin » Tue Jan 05, 2016 12:25

This is good anti-griefing mod if you suspect of griefing or cheating someone. Also its presence on the server can terrify their :)
 

User avatar
Fixer
Member
 
Posts: 890
Joined: Sun Jul 31, 2011 11:23
Location: Ukraine
IRC: Fixer
In-game: Fixer

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

by Fixer » Thu Jan 07, 2016 19:06

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.
 

User avatar
jp
Member
 
Posts: 754
Joined: Wed Dec 18, 2013 09:03
Location: France
GitHub: kilbith

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

by jp » Thu Jan 07, 2016 19:22

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.
 

neoascetic
Member
 
Posts: 26
Joined: Wed Dec 24, 2014 08:56
GitHub: neoascetic
IRC: neoascetic
In-game: neoascetic
 

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
 

User avatar
jp
Member
 
Posts: 754
Joined: Wed Dec 18, 2013 09:03
Location: France
GitHub: kilbith
 

User avatar
SAMIAMNOT
Member
 
Posts: 416
Joined: Wed Sep 03, 2014 00:51
Location: Desert
In-game: notanewbie

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

by SAMIAMNOT » Mon May 27, 2019 17:52

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.
I test mines.
 

User avatar
FreeGamers
Member
 
Posts: 252
Joined: Sat May 25, 2019 00:15
Location: United States

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

by FreeGamers » Thu May 30, 2019 21:23

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.
 

User avatar
Miniontoby
Member
 
Posts: 196
Joined: Fri Mar 01, 2019 19:25
Location: The Netherlands
In-game: Miniontoby

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

by Miniontoby » Wed Oct 02, 2019 15:49

Cool mod and please put it on content.minetest.net because then we can download it simpler.
My English isn't very good because I'm Dutch ---- Check my mod "Doorbell"
 

Next

Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 5 guests