textures again
textures again
ok i have my textures except i cant make my png images show up on them can some 1 help?
Courage is the magic that turns dreams into reality.
here this is my box/material
meshbox
position 184 110 10
size 80 10 2
matref danger material
end
material
name danger material
texture tadd_hazard_stripe
addtexture tadd_hazard_stripe
# notextures
# notexcolor
# notexalpha
texmat -1
dyncol -1
ambient 0.0 0.0 0.0 1.0
diffuse 1.0 1.0 1.0 1.0
color 1.0 1.0 1.0 1.0
specular 0.0 0.0 0.0 1.0
emission 0.0 0.0 0.0 1.0
shininess 0.0
resetmat
end
meshbox
position 184 110 10
size 80 10 2
matref danger material
end
material
name danger material
texture tadd_hazard_stripe
addtexture tadd_hazard_stripe
# notextures
# notexcolor
# notexalpha
texmat -1
dyncol -1
ambient 0.0 0.0 0.0 1.0
diffuse 1.0 1.0 1.0 1.0
color 1.0 1.0 1.0 1.0
specular 0.0 0.0 0.0 1.0
emission 0.0 0.0 0.0 1.0
shininess 0.0
resetmat
end
Courage is the magic that turns dreams into reality.
- Spazzy McGee
- Sergeant Major
- Posts: 1405
- Joined: Mon Mar 21, 2005 4:59 pm
- Location: Planet MoFo, Sheffield Division; United Kingdom
Firstly, don't put spaces in your material names.
Secondly, the material needs to come before the meshbox.
Thirdly, you don't need these since they are all defaults:
Secondly, the material needs to come before the meshbox.
Thirdly, you don't need these since they are all defaults:
- dyncol, texmat, ambient, diffuse, color, specular, emission, shininess, resetmat,
"Life is what happens to you while you're busy making other plans." - John Lennon
- CannonBallGuy
- Private First Class
- Posts: 2083
- Joined: Wed Apr 12, 2006 1:31 am
- Contact:
Fifthly, put in the full path or URL to the texture.
In your code above, you trying to use a non-standard texture, so it'll have to be hosted somewhere online - preferably on images.bzflag.org but this isn't a necessity - and the full URL should be used in the material code.
In your code above, you trying to use a non-standard texture, so it'll have to be hosted somewhere online - preferably on images.bzflag.org but this isn't a necessity - and the full URL should be used in the material code.
Merry Christmas!
"Look, if I don't buy booze for the kids, I don't get any incriminating pictures to show to their parents, my business goes down the sink, my girlfriend leaves me and the baby goes on ebay. So help me search..."
"go Play With Toys urself in a dark alley u donkey ******" - Lt-Kirby2007
I have this now but still no success
material
name danger_material
addtexture http://i159.photobucket.com/albums/t157 ... ard_stripe
notextures
notexcolor
end
meshbox
position -184 -110 10
size 80 10 2
matref danger_material
end
material
name danger_material
addtexture http://i159.photobucket.com/albums/t157 ... ard_stripe
notextures
notexcolor
end
meshbox
position -184 -110 10
size 80 10 2
matref danger_material
end
Courage is the magic that turns dreams into reality.
- CannonBallGuy
- Private First Class
- Posts: 2083
- Joined: Wed Apr 12, 2006 1:31 am
- Contact:
add .png to the end of the texture url.
Merry Christmas!
"Look, if I don't buy booze for the kids, I don't get any incriminating pictures to show to their parents, my business goes down the sink, my girlfriend leaves me and the baby goes on ebay. So help me search..."
"go Play With Toys urself in a dark alley u donkey ******" - Lt-Kirby2007
- Spazzy McGee
- Sergeant Major
- Posts: 1405
- Joined: Mon Mar 21, 2005 4:59 pm
- Location: Planet MoFo, Sheffield Division; United Kingdom