Different kind of color & drive throught not working
- fox in the fog
- Private First Class
- Posts: 237
- Joined: Fri Aug 06, 2010 7:21 am
Different kind of color & drive throught not working
I have set, using the diffuse line options, a colored pyramid a little bit translucent also "drivethrought". When the pyramid was only "drivethrought" this worked. When I added the diffuse line that worked (I mean the color a little bit translucent), but the pyramid isn't "drivethrought".... Why? If not clean I'll post the code.
(How to get the typical textures of a pyramid, with all the streaks, but not blue (default color) but green, red, purple ect...??)
thank you so much for all the replays
Fox
(How to get the typical textures of a pyramid, with all the streaks, but not blue (default color) but green, red, purple ect...??)
thank you so much for all the replays
Fox
Re: Different kind of color & drive throught not working
My guess it that you only included three values on the diffuse, not four. The diffuse option takes four values, so if you leave one off, it might be putting "drivethrough" in for the fourth value even if it's on another line.
However, feel free to post the relevant code so we can check for sure.
However, feel free to post the relevant code so we can check for sure.
- ahs3
- Private First Class
- Posts: 327
- Joined: Sun Mar 04, 2007 8:33 pm
- Location: Press '/' to search
- Contact:
Re: Different kind of color & drive throught not working
there is also a problem with pyramids and boxes with material references and drivethrough, simply change it to "meshpyr" and it should work fine.
ahs3
ahs3
- fox in the fog
- Private First Class
- Posts: 237
- Joined: Fri Aug 06, 2010 7:21 am
Re: Different kind of color & drive throught not working
ahs3, your advice was very useful, now the pyramid are colored and drive through.... Thank you.
But, what about my parentheses?
P.S.
How get the pyramid with the normal texture (blue with streaks ecc..), but a little bit translucent?
But, what about my parentheses?
Thank you(How to get the typical textures of a pyramid, with all the streaks, but not blue (default color) but green, red, purple ect...??)
P.S.
How get the pyramid with the normal texture (blue with streaks ecc..), but a little bit translucent?
- ahs3
- Private First Class
- Posts: 327
- Joined: Sun Mar 04, 2007 8:33 pm
- Location: Press '/' to search
- Contact:
Re: Different kind of color & drive throught not working
Fox in the Fog wrote:ahs3, your advice was very useful, now the pyramid are colored and drive through.... Thank you.
But, what about my parentheses?Thank you(How to get the typical textures of a pyramid, with all the streaks, but not blue (default color) but green, red, purple ect...??)
P.S.
How get the pyramid with the normal texture (blue with streaks ecc..), but a little bit translucent?
Code: Select all
material
name pyrdiff
texture pyrwall
diffuse 1 1 1 .5 #This would be 50% translucent
end
material
name pyrgreen
texture pyrwall
diffuse green #this would be diffused green
end
All this info is located here ---> http://my.bzflag.org/w/Material
ahs3
- fox in the fog
- Private First Class
- Posts: 237
- Joined: Fri Aug 06, 2010 7:21 am
Re: Different kind of color & drive throught not working
thank you ahs3, I was able to do it without your help, but in another way, worst... so thank you
I should grouping many objects (this colored and translucent object I made) with the name of one, to copy or move them all together and not one by one ... how do it?
Thnk you all
I should grouping many objects (this colored and translucent object I made) with the name of one, to copy or move them all together and not one by one ... how do it?
Thnk you all
- fox in the fog
- Private First Class
- Posts: 237
- Joined: Fri Aug 06, 2010 7:21 am
Re: Different kind of color & drive throught not working
Ok... thanks to all, I have discovered the way to do that...
Fox
Fox
- fox in the fog
- Private First Class
- Posts: 237
- Joined: Fri Aug 06, 2010 7:21 am
Re: Different kind of color & drive throught not working
All is written here --> http://my.bzflag.org/w/Editing_by_Hand
But the "colored trans lucid pyramid" isn't write there... So thanks for the help
But the "colored trans lucid pyramid" isn't write there... So thanks for the help
- Mopar Madness
- Private First Class
- Posts: 169
- Joined: Mon Jul 03, 2006 3:31 am
Re: Different kind of color & drive throught not working
Yuck meshpyrs and meshboxes are horrible, the textures always get messed up on them and require all sorts of work and texture matrixes and junk to fix, not to mention the problem of driving from a meshbox to a box (cant remember if boxes with matrefs on them have same problem or not) BTW, will that be fixed in 2.3?ahs3 wrote:there is also a problem with pyramids and boxes with material references and drivethrough, simply change it to "meshpyr" and it should work fine.
ahs3
Re: Different kind of color & drive throught not working
however you are forgetting that textured boxes have a horrible spawn bug that will periodically spawn a player inside the box.
Meshboxes do not have this problem
boxes should only ever be used for -vs 1.0 computability - if you are keeping them the same brick and concrete textures.
ps... I would like to see meshboxes fixed in 2.3
Meshboxes do not have this problem
boxes should only ever be used for -vs 1.0 computability - if you are keeping them the same brick and concrete textures.
ps... I would like to see meshboxes fixed in 2.3
For all of you who have asked what a hutty is, there is one as my avatar.
instant map... just add water
instant map... just add water
- fox in the fog
- Private First Class
- Posts: 237
- Joined: Fri Aug 06, 2010 7:21 am
Re: Different kind of color & drive throught not working
What do you mean for textured boxes?
this?
Code: Select all
material
name bluebasebox
diffuse blue
addtexture boxwall
notexalpha
end
box
position 0 0 0
size 20 20 10
matref bluebasebox
end
Re: Different kind of color & drive throught not working
and also you spelled drivethrough as drivethrought? not sure if that was any HELP but you never know
- fox in the fog
- Private First Class
- Posts: 237
- Joined: Fri Aug 06, 2010 7:21 am
Re: Different kind of color & drive throught not working
Hm... Ok but "textured boxes" mean this?
Code: Select all
material
name bluebasebox
diffuse blue
addtexture boxwall
notexalpha
end
box
position 0 0 0
size 20 20 10
matref bluebasebox
end
Re: Different kind of color & drive throught not working
Fox in the Fog wrote:Hm... Ok but "textured boxes" mean this?
Code: Select all
material name bluebasebox diffuse blue addtexture boxwall notexalpha end box position 0 0 0 size 20 20 10 matref bluebasebox end
diffuse blue? i think its diffuse 0 0 1 0
- fox in the fog
- Private First Class
- Posts: 237
- Joined: Fri Aug 06, 2010 7:21 am
Re: Different kind of color & drive throught not working
it's the same thing... it work as well as 0 0 1 0... you can put diffuse "purple" or "red" or "blue" or "green" try