what is the problem with this material?

General talk about the map making process.
User avatar
Ratatosk
Private First Class
Private First Class
Posts: 277
Joined: Sun Nov 05, 2006 2:04 am
Location: Chicago, IL

what is the problem with this material?

Post by Ratatosk »

i have the following material but cannot make it work

material
name example_material
texture tadd_hazard_stripe.jpg
addtexture tadd_hazard_stripe.jpg
end
Courage is the magic that turns dreams into reality.
Image
User avatar
Winny
Grouchy
Grouchy
Posts: 2381
Joined: Wed Aug 24, 2005 12:27 am
Location: Ottawa eh?
Contact:

Post by Winny »

why do you have "addtexture" and "texture"? You should only use one.

Also, you need to have the FULL URL to the texture, not just "somerandomtexture.png"
User avatar
Ratatosk
Private First Class
Private First Class
Posts: 277
Joined: Sun Nov 05, 2006 2:04 am
Location: Chicago, IL

Post by Ratatosk »

it said so on the wiki site thats why
Courage is the magic that turns dreams into reality.
Image
User avatar
Ratatosk
Private First Class
Private First Class
Posts: 277
Joined: Sun Nov 05, 2006 2:04 am
Location: Chicago, IL

Post by Ratatosk »

material
name example_material
texture http://i159.photobucket.com/albums/t157 ... ard_stripe
end
this is what i have now still 0% success
Courage is the magic that turns dreams into reality.
Image
User avatar
Winny
Grouchy
Grouchy
Posts: 2381
Joined: Wed Aug 24, 2005 12:27 am
Location: Ottawa eh?
Contact:

Post by Winny »

The wiki is an example, you need to use your BRAIN and figure out what to put in the material...

Code: Select all

material
name example_material
texture http://i159.photobucket.com/albums/t157/corgi_04/tadd_hazard_stripe
end 
Should Be:

Code: Select all

material
name example_material
texture http://i159.photobucket.com/albums/t157/corgi_04/tadd_hazard_stripe.png
end 
Make sure in the object you are applying the material to, you are using the name "example_material".
Last edited by Winny on Sun Jun 03, 2007 7:46 pm, edited 1 time in total.
User avatar
CannonBallGuy
Private First Class
Private First Class
Posts: 2083
Joined: Wed Apr 12, 2006 1:31 am
Contact:

Post by CannonBallGuy »

The texture MUST be PNG.
You cannot use JPG or GIF files.
Image

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
User avatar
Ratatosk
Private First Class
Private First Class
Posts: 277
Joined: Sun Nov 05, 2006 2:04 am
Location: Chicago, IL

Post by Ratatosk »

[quote="Win Xp"]The wiki is an example, you need to use your BRAIN and figure out what to put in the material...


Well sorry for being so rude and unexperienced!
Courage is the magic that turns dreams into reality.
Image
User avatar
Ratatosk
Private First Class
Private First Class
Posts: 277
Joined: Sun Nov 05, 2006 2:04 am
Location: Chicago, IL

Post by Ratatosk »

Murtagh wrote:
Win Xp wrote:The wiki is an example, you need to use your BRAIN and figure out what to put in the material...

Well sorry for being so rude and unexperienced!

P.S. your tip still woulnt work
Courage is the magic that turns dreams into reality.
Image
User avatar
Winny
Grouchy
Grouchy
Posts: 2381
Joined: Wed Aug 24, 2005 12:27 am
Location: Ottawa eh?
Contact:

Post by Winny »

Well, then its something on your end that needs to be figured out.

This is what the material should/could look like:

material
name SuperCoolMaterial
texture http://insert.org/proper/BZFlag/approved/path.png
end'

Also, you can't host the texture there (since the client, by default, only allows textures from certain URLs), you need to upload it to the BZFlag Image Submission System:
http://my.bzflag.org/bb/viewtopic.php?t=7993
User avatar
Ratatosk
Private First Class
Private First Class
Posts: 277
Joined: Sun Nov 05, 2006 2:04 am
Location: Chicago, IL

Post by Ratatosk »

i have to have each approved?
Courage is the magic that turns dreams into reality.
Image
User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post by A Meteorite »

Murtagh wrote:i have to have each approved?
Only if you want everyone to be able to see your textures with a default DownloadAccess.txt.

The approval process is to be sure no inappropriate images are hosted on official BZFlag resources.
Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com
User avatar
Ratatosk
Private First Class
Private First Class
Posts: 277
Joined: Sun Nov 05, 2006 2:04 am
Location: Chicago, IL

Post by Ratatosk »

can i see ones that are already up?
Courage is the magic that turns dreams into reality.
Image
User avatar
Winny
Grouchy
Grouchy
Posts: 2381
Joined: Wed Aug 24, 2005 12:27 am
Location: Ottawa eh?
Contact:

Post by Winny »

http://images.bzflag.org/

Read the licenses, some images may not be allowed to be used on your own map, without consent from the author of the texture.
User avatar
Ratatosk
Private First Class
Private First Class
Posts: 277
Joined: Sun Nov 05, 2006 2:04 am
Location: Chicago, IL

Post by Ratatosk »

can you get some for me?
Courage is the magic that turns dreams into reality.
Image
User avatar
Winny
Grouchy
Grouchy
Posts: 2381
Joined: Wed Aug 24, 2005 12:27 am
Location: Ottawa eh?
Contact:

Post by Winny »

...OR!

You could click on http://images.bzflag.org and get some yourself!

It really isn't that hard to do. There are different texture authors on there, each of them may have a license that goes with their textures. If there is, then go ahead and read it, and check to make sure it is fine to use their texture. At least give them credit in the server message, or the map file's comments.

If there is no license, then it *should* be safe to use the texture, but I would ask the person first.
User avatar
Ratatosk
Private First Class
Private First Class
Posts: 277
Joined: Sun Nov 05, 2006 2:04 am
Location: Chicago, IL

Post by Ratatosk »

i dont even know how!
Courage is the magic that turns dreams into reality.
Image
User avatar
Tedius
Sergeant First Class
Sergeant First Class
Posts: 142
Joined: Tue Sep 19, 2006 6:10 pm
Contact:

Post by Tedius »

Murtagh, here is a tutorial on downloading images you may find helpful:
http://www.aphids.com/susan/imhelp/download.html
this signature intentionally left blank
User avatar
Ratatosk
Private First Class
Private First Class
Posts: 277
Joined: Sun Nov 05, 2006 2:04 am
Location: Chicago, IL

Post by Ratatosk »

what about firefox?
(does this get imgs 2 repository?)
Courage is the magic that turns dreams into reality.
Image
User avatar
Ratatosk
Private First Class
Private First Class
Posts: 277
Joined: Sun Nov 05, 2006 2:04 am
Location: Chicago, IL

Post by Ratatosk »

wait! i think i got it!
Courage is the magic that turns dreams into reality.
Image
User avatar
Ratatosk
Private First Class
Private First Class
Posts: 277
Joined: Sun Nov 05, 2006 2:04 am
Location: Chicago, IL

Post by Ratatosk »

how long does this take
Courage is the magic that turns dreams into reality.
Image
User avatar
Winny
Grouchy
Grouchy
Posts: 2381
Joined: Wed Aug 24, 2005 12:27 am
Location: Ottawa eh?
Contact:

Post by Winny »

How long does what take?

And dude, please learn to edit your previous post, not to keep adding 20 letters of nonsense. At least explain your problem, we aren't telepathic.
User avatar
Ratatosk
Private First Class
Private First Class
Posts: 277
Joined: Sun Nov 05, 2006 2:04 am
Location: Chicago, IL

Post by Ratatosk »

it as in uploding and approving pictures
Courage is the magic that turns dreams into reality.
Image
User avatar
Winny
Grouchy
Grouchy
Posts: 2381
Joined: Wed Aug 24, 2005 12:27 am
Location: Ottawa eh?
Contact:

Post by Winny »

A few admins get a email, saying that a new upload has been made, they will then choose to approve or deny your image, based on content, licensing, etc.

You will then get an email back, saying that your image has been approved or denied. It should probably take a day or so, it all depends on what admins are active, and when they check their mail.
User avatar
Ratatosk
Private First Class
Private First Class
Posts: 277
Joined: Sun Nov 05, 2006 2:04 am
Location: Chicago, IL

Post by Ratatosk »

sigh
Courage is the magic that turns dreams into reality.
Image
Legolas_
Private First Class
Private First Class
Posts: 513
Joined: Thu Jan 20, 2005 10:24 pm

Post by Legolas_ »

If you have a material, to be able to see it you need a mesh with the material applied, no?

Code: Select all

material
name example_material
texture http://www.yourimage/img.png
end

Code: Select all

meshbox
name meshyboxy
matref example_material
position 0 0 0
size 10 10 10
end

Right?
Post Reply