Page 1 of 1
Flag-Texture
Posted: Tue Nov 30, 2010 8:44 am
by zaphod
does anybody know if it's possible to load a different texture for the flag/s?
we all know how to replace the std_ground texture and I am curious to find out, if it also works for flags?
I tried already:
Code: Select all
material
name flag
addtexture http://images.bzflag.org/path/to/a/texture.png
end
and like in std_ground, no matref added ... but it doesn't work!
did anybody of you guys try or know how to make this work?
THX!
Re: Flag-Texture
Posted: Tue Nov 30, 2010 10:20 am
by Cobra_Fast
I've heard something about this being possible with LUA in 3.0, but as far as I know it's not possible in 2.0.
You could still change the texture in your data folder ... but I guess that's not what you want.
Re: Flag-Texture
Posted: Tue Nov 30, 2010 8:11 pm
by Mark_IV
If you want to change them for YOUR client, yes. Go to the BZFlag Data folder, and change the default flag texture. If you mean like std_ground, where you would do
Code: Select all
material
name GroundMaterial
texture..........
end
and change it server side, so everybody sees it, I am pretty sure this is a no.
Re: Flag-Texture
Posted: Wed Dec 01, 2010 1:20 am
by mrapple
Mark_IV wrote:If you mean like std_ground, where you would do...
zaphod wrote:we all know how to replace the std_ground texture and I am curious to find out, if it also works for flags?
Mark_IV: He already knows how to replace the std_ground texture
Zaphod: No, it is not possible to do so in 2.0. The client loads the texture from the data path, end of story.
Sorry to crush your hopes and dreams of maybe a soccer flag?
Re: Flag-Texture
Posted: Wed Dec 01, 2010 1:43 pm
by zaphod
mrapple wrote:Sorry to crush your hopes and dreams of maybe a soccer flag?
indeed
orbit made a nice texture for the flag and I hoped we could share that with all BzMatchBall player's.
but well ... then I use it just locally .
if someone else wants to use it: the texture can be
downloaded here
(ups ... was wrong link and is fixed now)
and thanks to all for your inputs!
Re: Flag-Texture
Posted: Wed Dec 01, 2010 11:07 pm
by mrapple
I would, but it affects the purple team flag on other servers too.