Quote: "How exactly does one hide an object from being seen by one camera but not by another? For example, the player's model."
I am assuming you want both a first person cam, and a third person cam?
There really isn't need for a sync mask to do this.
You could try and use variables and the hide object command.
For example (Not actually attempted in DBPro):
If player1firstperson#=0 then show object head#
If player1firstperson#=1 then hide object head#
Most games only hide the head in first person past Quake III.
The head in games like Quake IV and F.E.A.R are an attatchment to the model. If you spawn a replica soldier in F.E.A.R, unless you include HEAD=REPLICA# then you get a headless enemy that trips over himself and shoots like an idiot.
People should not be looking at Doom 3, it may have okay graphics, but it's features are not good.
If you really want the player's full model to be gone, then just do something like this:
If player1firstperson#=0 then show object playermodel001#
If player1firstperson#=1 then hide object playermodel001#
Lets say the cam switch into first person is activated by the control key, and third person is activated by alt (Using the HIDE OBJECT command):
DO
HX#=object position X(HEAD#)
HY#=object position Y(HEAD#)
HZ#=object position Z(HEAD#)
if in_game=1
if controlkey()=1 and dead=0
position camera HX#, HY#, HZ#
hide object HEAD#
endif
if altkey()=1 and dead=0
position camera HX#, HY#+5, HZ#-5
show object HEAD#
endif
endif
Or if you want it to hide the entire player model:
DO
P1X#=object position X(PLAYER1#)
P1Y#=object position Y(PLAYER1#)
P1Z#=object position Z(PLAYER1#)
if in_game=1
if controlkey()=1 and dead=0
position camera P1X#, P1Y#+2, P1Z#
hide object PLAYER1#
endif
if altkey()=1 and dead=0
position camera P1X#, P1Y#+5, P1Z#-5
show object PLAYER1#
endif
endif
The codes may need a little syntax editing.
Do you think that one of these codes would work?
I can edit the codes with comments if you can't understand it.
The Person99 awards go to: 1. Jack the Ripper for hardest crime scenes. 2. Peter Petrelli for most powers. 3. Superman for longest flight. 4. "The Doctor" for best time travel machine.