Author Topic: SetPlayerToScreen & for spect.  (Read 513 times)

READ EVERYTHING BEFORE SAYING SOMETHING STUPID!

It would work something like this-

Onactivate-Player-Client-SetPlayerToScreen-ClosestPlayer
                                                             FarthestPlayer
                                                             Playername [Type name here]

Basics of this event (how it should work)

It sets the client's screen into the view of another player as if you where that player but you cant move them and its always in first person. To escape this mode you would Right Click.

Closest Player

If the event where to be Onactivate-player-client-SPTS-ClosestPlayer

It would make the client's screen the closest player to the brick's screen.

Farthest Player

If the event where to be Onactivate-player-client-SPTS-FarthestPlayer

It would make the client's screen the farthest player from the brick's screen.

Playername

If the event where to be Onactivate-player-client-SPTS-Playername

A box would apear next to Playername, and you could type in the name of the player, IF the player is not dead or loading it will set the client's screen to the player typed in's screen.

For Spectate

Basics of how it SHOULD work

It should be an edit of the Spectating mod.
Where if you press a certain key it will put you in the player your spectating's client view, (First person view).

I would suggest making it a bind key, and default it would be Tab.

More Stuff You Should Know

SPTS in the event line means SetPlayerToScreen, just to shorten it.

This is a REQUEST, I would love to use this for a number of things on my servers.

If it is possible, and someone makes it, can you put up a download for Only the server.cs and other codes in one folder without the other stuff.

And ofc a download for the whole add on(s).

I am bad at making examples of the GUI so can you try to imagine it yourself?

It says "Read everything before saying something stupid" to prevent people from looking at something and not bothering to read the part saying "More things you should know" then going and posting a quote on something they saw.

One more thing, I am only 11 and I do not spell everything correctly.
This could be prevented if the Message box had a better spell check,
and ofc I payed more attention in grammar classes. (insult to myself, i know, but its the truth)


Where if you press a certain key it will put you in the player your spectating's client view, (First person view).
No can do, sorry.

No can do, sorry.

I thought this could be accomplished by using one of the events I saw one time (cant remember) where it changes how your screen views.

By editing the code.


(post edit once)
« Last Edit: February 11, 2014, 05:24:44 PM by Ducky duck »

I thought this could be accomplished by using one of the events I saw one time (cant remember) where it changes how your screen views.
I'm assuming you mean my camera mod.

Unfortunately, you cannot view from another person's first person view. Even the 'hacky' way would cause you to see the back of their head when they look down, and their helmet/hat, etc.

I'm assuming you mean my camera mod.

Unfortunately, you cannot view from another person's first person view. Even the 'hacky' way would cause you to see the back of their head when they look down, and their helmet/hat, etc.

Crap, no kiddin unfortunately.

I spent an hour making sure this thread was perfect lol.

I'm assuming you mean my camera mod.

Unfortunately, you cannot view from another person's first person view. Even the 'hacky' way would cause you to see the back of their head when they look down, and their helmet/hat, etc.
You can't mount an image or bot and view from said image or bot?

Shouldn't it be possible through some kind of weapon, that when hit with a projectile/raycast, mounts an image or bot to the player's head, with some kind of joint/bone/what-have-you on it.  Using that, could a link be made using a modification of the ironsights mod?

I know he's asking for an event, but is it possible through a tool, using this method?
« Last Edit: February 12, 2014, 07:28:07 AM by SWAT One »

You can't mount an image or bot and view from said image or bot?

Shouldn't it be possible through some kind of weapon, that when hit with a projectile/raycast, mounts an image or bot to the player's head, with some kind of joint/bone/what-have-you on it.  Using that, could a link be made using a modification of the ironsights mod?

I know he's asking for an event, but is it possible through a tool, using this method?
Greek2me even tried first person spectating view, it doesn't work well.

You can't mount an image or bot and view from said image or bot?

Shouldn't it be possible through some kind of weapon, that when hit with a projectile/raycast, mounts an image or bot to the player's head, with some kind of joint/bone/what-have-you on it.  Using that, could a link be made using a modification of the ironsights mod?

I know he's asking for an event, but is it possible through a tool, using this method?

Even the 'hacky' way would cause you to see the back of their head when they look down, and their helmet/hat, etc.