by Uberkreatur » Sat Dec 27, 2014 11:22 am
SetActorInvisibleFor (tid, tid of selected player)
SetActorVisibleFor (tid, tid of selected player)
Makes actor visible/invisible directly for selected player.
In combination with
this algorithm it can easily solve the problem with 3D positioning of overlapping models. For example, tank turret exists in two copies at the same place. First copy draws always above the base, second always below the base. Changing their visibility for the several players we can achieve, that each player will see correct position of models depending self position.
This way is possible to make complicated vertical voxel structures, which will always shown correctly even in multiplayer.
Also, this can make some solipsistic features to the diffirent players.
[b]SetActorInvisibleFor[/b] (tid, tid of selected player)
[b]SetActorVisibleFor[/b] (tid, tid of selected player)
Makes actor visible/invisible directly for selected player.
In combination with [url=http://forum.zdoom.org/viewtopic.php?f=7&t=47397&p=803587#p803587]this[/url] algorithm it can easily solve the problem with 3D positioning of overlapping models. For example, tank turret exists in two copies at the same place. First copy draws always above the base, second always below the base. Changing their visibility for the several players we can achieve, that each player will see correct position of models depending self position.
This way is possible to make complicated vertical voxel structures, which will always shown correctly even in multiplayer.
Also, this can make some solipsistic features to the diffirent players.