Selective Client-Side Rendering
by Scott Doerrfeld · in Torque Game Engine · 06/18/2007 (7:57 pm) · 4 replies
I am trying to implement a cloaking feature that makes my player invisible, but only to certain clients. (i.e. Only members of my team can see me.) Anyone have any suggestions?
About the author
#2
and have each client filter the visibility of other players based on whether they're on the same team.
06/18/2007 (8:07 pm)
Alternatively, ghost down the player's team as part of Player::PackUpdate(),and have each client filter the visibility of other players based on whether they're on the same team.
#3
07/26/2007 (9:06 am)
What is the function/variable that will toggle a player's visibility?
#4
It also defines a cloakedTexture in the datablock.
07/26/2007 (3:42 pm)
ShapeBase defines setCloaked, isCloaked and canCloak as console methods.It also defines a cloakedTexture in the datablock.
Associate Orion Elenzil
Real Life Plus
when player X is being packed up for client/player Y,
you can test if they're on the same team.
using that you should be able to modify the standard invisible flag s.t. you're always visible to team-members.