Wierd wall color problem

Questions and answers about the how and why of making maps.
Post Reply
User avatar
Bambino
Private First Class
Private First Class
Posts: 1210
Joined: Mon Apr 21, 2008 10:27 pm
Location: Alberta, Canada

Wierd wall color problem

Post by Bambino »

I want to make a wall drive through and add color to it and make it slightly transparent. What I do is something like this:
box
name box
position 100 0 0
rotation 0
size 5 30 50
drivethrough
color 0.75 0.75 0.75 0.75
end

Then when I go to test it I can drive half way then I just get stick and can't go all the way though it, is there something I'm doing wrong?
"Anyone who has never made a mistake has never tried anything new." -- Albert Einstein
GU League | Ducati League | OpenLeague
User avatar
blast
General
General
Posts: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Wierd wall color problem

Post by blast »

It is likely that you are colliding with another object. As a test, try with just the above object and see if you can drive through it properly. If that works, then it's another object you're hitting.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
Bambino
Private First Class
Private First Class
Posts: 1210
Joined: Mon Apr 21, 2008 10:27 pm
Location: Alberta, Canada

Re: Wierd wall color problem

Post by Bambino »

Alright, tried it with just that object and I can only go about half way through it before I stop, then it's the same problem as above. :?
"Anyone who has never made a mistake has never tried anything new." -- Albert Einstein
GU League | Ducati League | OpenLeague
dango
Private First Class
Private First Class
Posts: 1400
Joined: Sun Feb 06, 2005 5:40 pm
Location: Somewhere over there.

Re: Wierd wall color problem

Post by dango »

There is a problem with the box and pyramid objects when they are drivethrough and have a material/textures/colors. Use meshboxes and meshpyramids instead. Or heck, just use meshes.
Image
User avatar
Bambino
Private First Class
Private First Class
Posts: 1210
Joined: Mon Apr 21, 2008 10:27 pm
Location: Alberta, Canada

Re: Wierd wall color problem

Post by Bambino »

So it's a bug, ok. Time to learn something new :D
"Anyone who has never made a mistake has never tried anything new." -- Albert Einstein
GU League | Ducati League | OpenLeague
User avatar
Agent West
Private First Class
Private First Class
Posts: 318
Joined: Thu Jan 31, 2008 1:32 pm

Re: Wierd wall color problem

Post by Agent West »

or do something like this:

material
name clear
diffuse .75 .75 .75
end

box
name box
position 100 0 0
rotation 0
size 5 30 50
matref clear
drivethrough
end

:)
Rest in peace, AliceD (AKA Happy Alice)! miss ya!
User avatar
Bambino
Private First Class
Private First Class
Posts: 1210
Joined: Mon Apr 21, 2008 10:27 pm
Location: Alberta, Canada

Re: Wierd wall color problem

Post by Bambino »

Ok, I copied and pasted exactly what Agent west did and I got stuck again around half way through. If it make any difference I run Windows Vista
"Anyone who has never made a mistake has never tried anything new." -- Albert Einstein
GU League | Ducati League | OpenLeague
trepan
Dev Wizard
Dev Wizard
Posts: 704
Joined: Fri Feb 21, 2003 7:50 pm

Re: Wierd wall color problem

Post by trepan »

Post Reply