Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Invisible for one camera

Author
Message
vip11
15
Years of Service
User Offline
Joined: 29th Nov 2008
Location:
Posted: 29th Nov 2008 21:56
Hi all
I have one question:
How i can make a object only for 1 camera invisible? (for multiplayer game)
BlobVanDam
16
Years of Service
User Offline
Joined: 26th Jul 2008
Location: one of Cybertrons moons
Posted: 30th Nov 2008 09:56
The "set object mask" command will set what camera an object is visible to.
The first parameter is the object number, and the second parameter sets what cameras the object is visible to as a binary value. I only had to use this command for the first time myself yesterday for a pixel shader I'm using
vip11
15
Years of Service
User Offline
Joined: 29th Nov 2008
Location:
Posted: 30th Nov 2008 14:35 Edited at: 30th Nov 2008 17:06
Thank you, but I can't find that command
AndrewT
17
Years of Service
User Offline
Joined: 11th Feb 2007
Location: MI, USA
Posted: 30th Nov 2008 19:55
You're probably not using the latest version of DBP (7.0). Launch the DBP IDE, then click 'Help->DarkBASIC Professional Upgrades' and it'll bring you to the download page for the latest upgrade.

vip11
15
Years of Service
User Offline
Joined: 29th Nov 2008
Location:
Posted: 30th Nov 2008 20:58
I'm using the trailer vision until x-mas ^^
Then I'll have the full vision

Login to post a reply

Server time is: 2024-11-24 16:59:54
Your offset time is: 2024-11-24 16:59:54