PGM icon indicating copy to clipboard operation
PGM copied to clipboard

Allow negated angle attribues to have players look away from a coordinate

Open RuedigerLP opened this issue 4 years ago • 4 comments
trafficstars

for example something like this angle="!x,y,z"

RuedigerLP avatar Sep 15 '21 20:09 RuedigerLP

So the idea is the players will look exactly the opposite (180 degrees) of this angle?

CoWinkKeyDinkInc avatar Sep 19 '21 00:09 CoWinkKeyDinkInc

I do assume the idea is that the normal vector of player direction is inverted, so invert both yaw and pitch (rotate both of them by 180 degrees)

I assume this is targeted at the spawn tag, although this never mentions it so i'm not sure, it'd be nice if @RuedigerLP could give more of an explanation.

My main concern with this is it looks like a super nieche thing that will be used by one single map and will add more code-burden than help At the end of the day you can just define the pitch & yaw manually to point wherever you want

Is there another use-case for this?

Pablete1234 avatar Sep 19 '21 07:09 Pablete1234

Yes ^, well the specific use case would be for obs spawns if they are in the middle of a map and you want obs to be able to see the map better when they join the server. I could also imagine it being useful in ffa maps though.

RuedigerLP avatar Sep 20 '21 10:09 RuedigerLP

If obs spawn is in the middle of the map you don't really get much value out of making view away from center, since the distance will be small either way, pointing towards mid and away from mid will get you pretty much the same view regardless, plus-minus a the size of the region

Even for FFA i don't see any real use, you usually will want players to all look towards the center

Pablete1234 avatar Sep 22 '21 13:09 Pablete1234