Spectate mode

This is the place to request new mods or give ideas about what could be done.
Glockshna
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Tue Jan 21, 2014 7:57 am
Contact:

Spectate mode

Post by Glockshna »

Is there a way to separate the player's camera from his character? I'd like to somehow set the player's camera position to the position of someone else on the server in essence spectating them and then add another button to reset the camera back to the player.
jorgenRe
Filter Inserter
Filter Inserter
Posts: 535
Joined: Wed Apr 09, 2014 3:32 pm
Contact:

Re: Spectate mode

Post by jorgenRe »

I think it was just
/c game.players [1] = nil
now just be CAREFUL! !
also if you are on multilayer then the number is which player number you are.
Logo
Noticed the told change in FFF #111 so il continue to use my signature ^_^
Thanks for listening to our suggestions, devs :D!
I would jump of joy if we could specify which tiles spawned in a surfaces
orzelek
Smart Inserter
Smart Inserter
Posts: 3928
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Spectate mode

Post by orzelek »

You need to store current player entity somewhere or you can't go back :D
User avatar
Adil
Filter Inserter
Filter Inserter
Posts: 945
Joined: Fri Aug 15, 2014 8:36 pm
Contact:

Re: Spectate mode

Post by Adil »

orzelek wrote:You need to store current player entity somewhere or you can't go back :D
You just need to find character

Code: Select all

/c game.player.character=game.player.selected
You still need to leave the body somewhere out of biter reach though, or you won't be able to go back indeed.
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.
Post Reply

Return to “Ideas and Requests For Mods”