Is it possible to make certain things/actors only visible in the first person or third person view respectively?
Cause i heard the mode Quake Champion: Doom Edition managed to pull it off but i have absolutely no idea how they did so, and i never heard of another mod pulling this off, so hard to tell if there is something else that can be checked for reference.
Its mostly to make unique entities/particles to only be visible to a calling player or such.
[DECORATE] Things only visible in First/Third person?
- FranckyFox2468
- Forum Regular
- Posts: 180
- Joined: Sat May 07, 2016 8:30 pm
[DECORATE] Re: Things only visible in First/Third person?
Depents what you want. Mods like Samsara do the same, and out of my head I assume they spawn some client variant to show the weapon, unless it uses some special way that isn't this. You can't really do this with monsters as their angle and pitch will adjust.
So in the particles' case, you can do this by calling a script that checks for the cvar that tracks player's perspective, and adjust with the result accordingly.
So in the particles' case, you can do this by calling a script that checks for the cvar that tracks player's perspective, and adjust with the result accordingly.
- FranckyFox2468
- Forum Regular
- Posts: 180
- Joined: Sat May 07, 2016 8:30 pm
[DECORATE] Re: Things only visible in First/Third person?
And what Cvar may that be?Fused wrote: ↑Mon Mar 05, 2018 11:21 pmDepents what you want. Mods like Samsara do the same, and out of my head I assume they spawn some client variant to show the weapon, unless it uses some special way that isn't this. You can't really do this with monsters as their angle and pitch will adjust.
So in the particles' case, you can do this by calling a script that checks for the cvar that tracks player's perspective, and adjust with the result accordingly.