another question... textures

Questions and answers about the how and why of making maps.
Post Reply
User avatar
Mopar Madness
Private First Class
Private First Class
Posts: 169
Joined: Mon Jul 03, 2006 3:31 am

another question... textures

Post by Mopar Madness » Mon Jul 02, 2007 8:11 am

i followed the wiki model and that didnt work, so i looked at a couple other maps and how they put on textures and still no luck, here's my coding:

Code: Select all

material
  name Castle_Texture
  addtexture http://img404.imageshack.us/img404/6535/stonewalljl1.png
end

material
  name Castle_Top
  addtexture http://img267.imageshack.us/img267/213/62005616122937slateslabsc9.png
end

meshbox
  position -350 -250 12
  size 15 15 150
  rotation 0
  outside matref Castle_Texture
  top matref Castle_Top
end
there texture and add texture are on same line in coding for the Castle_Top texture.

User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Post by joevano » Mon Jul 02, 2007 9:31 am

Ok, again I know nothing here, but someone on IRC was having a similar issue last week. So this is like the blind leading the blind ;).They were told just to use 'texture' instead of 'addtexture'. The other thing that may be happening (and this I do know about), is that by default the bzflag client only allows textures from *.bzflag.bz and *.bzflag.org. This is easily changed by editing your DownloadAccess.txt file, there are instructions inside the file on how to do it.
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln

User avatar
Mopar Madness
Private First Class
Private First Class
Posts: 169
Joined: Mon Jul 03, 2006 3:31 am

Post by Mopar Madness » Mon Jul 02, 2007 9:37 am

that worked!

User avatar
Lan
Private First Class
Private First Class
Posts: 296
Joined: Sun Jun 13, 2004 1:21 am
Contact:

Post by Lan » Mon Jul 02, 2007 10:21 am

Doesn't the DownloadAccess.txt only affect the client it belongs to? If this is the case, your joiners won't be able to get these textures unless they do the same. While I am not entirely sure how this works, I recommend you make sure it truly works for your joiners too.

User avatar
CannonBallGuy
Private First Class
Private First Class
Posts: 2083
Joined: Wed Apr 12, 2006 1:31 am
Contact:

Post by CannonBallGuy » Mon Jul 02, 2007 10:31 am

Lan is right. Submit the image to be uploaded to images.bzflag.org...
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
Mopar Madness
Private First Class
Private First Class
Posts: 169
Joined: Mon Jul 03, 2006 3:31 am

Post by Mopar Madness » Tue Jul 03, 2007 2:19 am

CannonBallGuy wrote:Lan is right. Submit the image to be uploaded to images.bzflag.org...
ok stupid question... how, i couldnt find an upload button

User avatar
Winny
Grouchy
Grouchy
Posts: 2381
Joined: Wed Aug 24, 2005 12:27 am
Location: Ottawa eh?
Contact:

Post by Winny » Tue Jul 03, 2007 2:34 am

The forum search button is your friend...

Look what it turned up.

http://my.bzflag.org/bb/viewtopic.php?t=7993

User avatar
Mopar Madness
Private First Class
Private First Class
Posts: 169
Joined: Mon Jul 03, 2006 3:31 am

Post by Mopar Madness » Tue Jul 03, 2007 6:45 pm

here we go again... i searched wiki and forums first :P im trying to put in a texture matrex... all i know is that texmat -1 is no texture matrex, how do i put one on?

User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Post by joevano » Tue Jul 03, 2007 7:13 pm

Does this help?
http://my.bzflag.org/bb/viewtopic.php?t=7078

It has an example of one...
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln

Post Reply