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 / See Through Walls.

Author
Message
dbdel
20
Years of Service
User Offline
Joined: 20th Jun 2004
Location: UK
Posted: 27th Jun 2004 18:57
Ive made a level in cshop4 load it in as an x file no probs.
walk around it collide with it etc.But when i place another object
say a german soldier and make him walk around when he turns the corner and goes behind a building i can see him through the walls.

Any help or advice would be great.

Just Learning????
Kain
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: NJ, USA
Posted: 27th Jun 2004 20:43
How exactly are you seeing him? Are the walls semi-transparent or is it as if he is just behind nothing?

If they are semitransparent, then you probably have turned ghosting on. Try GHOST OBJECT OFF levelobjectnumber

If it is as if he is not behind the object at all, you might have disabled his zdepth? Try ENABLE OBJECT ZDEPTH soldierobjectnumber. That's a command in DBC, I'm not sure about pro though.

The only other thing it could be is a glitch in DB, and it wouldn't be the first of this kind. Sometimes with very large objects DB has problems recognizing which one should be in front of which.

bibz1st
21
Years of Service
User Offline
Joined: 2nd Jan 2003
Location:
Posted: 4th Jul 2004 01:09
if your wall is a simple plain then SET OBJECT objnum 1,0,0
the first zero is the transparency flag, the second is the cull flag
DeepBlue
21
Years of Service
User Offline
Joined: 17th May 2003
Location: A little box in the UK
Posted: 4th Jul 2004 08:00
If the above suggestions don't work...

If you mean that you can walk up to a wall & see through it (try walking into a corner) it may be a camera range issue try

set camera range 0.01,3000

The coder formerly known as Twynklet.
dbdel
20
Years of Service
User Offline
Joined: 20th Jun 2004
Location: UK
Posted: 4th Jul 2004 08:23
deepblue

cheers but this one is sorted.
it was the zdepth and thanks to kain.

Just Learning????

Login to post a reply

Server time is: 2024-09-22 15:28:28
Your offset time is: 2024-09-22 15:28:28