Teleporters

Questions and answers about the how and why of making maps.
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: Teleporters

Post by fox in the fog »

edited like you said to do... now the shoot in the teleporters don't make the hexagon, the link are working but the teleporters into the frame at yellow and black stripes in invisible. so, sorry but this didn't work... .(
User avatar
blast
General
General
Posts: 4934
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Teleporters

Post by blast »

It's really hard to understand what you are referring to.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: Teleporters

Post by fox in the fog »

really? i'm gonna post a screenshots... maybe doing like this it will be easy to understand for you :)
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: Teleporters

Post by fox in the fog »

screenshot of how i see the tele on my map
Attachments
bzfi0026.png
(614.33 KiB) Not downloaded yet
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Re: Teleporters

Post by joevano »

Do you have the file C:\Program Files\BZFlag2.0.16\data\telelink.png (adjust for other OSes)? That is the texture that a standard teleporter uses
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
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: Teleporters

Post by fox in the fog »

Is amazing and worrying, but i don't have the data folder... I'm on home -> .bzf -> cache -> http -> image.bzflag.org, image.planet-mofo ect.
no data folder. :?: :?:
User avatar
blast
General
General
Posts: 4934
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Teleporters

Post by blast »

That's not where the data directory is. It would probably be somewhere under /usr/share/ or /usr/local/share/
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: Teleporters

Post by fox in the fog »

Oh... ok blast, under windows i have founded the data folder, now i'm gonna try found it under linux thank you!
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: Teleporters

Post by fox in the fog »

I have found usr/share/doc/bzflag-data where there are 2 changelog file .zip
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: Teleporters

Post by fox in the fog »

I don't know if you have understand... i see the tele like in the screenshot only in my map... in other server i can see the tele good
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: Teleporters

Post by fox in the fog »

Ok, i found the correct directory! usr/share/bzflag there are all the .wav file of explosion sound and all the image of shot, i have found the telelink.png, I have this file joevano... i post it
Attachments
telelink.png
telelink.png (24.04 KiB) Viewed 3060 times
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: Teleporters

Post by fox in the fog »

SOLVED
there was too much stuff on the:
Texture Matrices option and
Materials option.

Now is like this:

Code: Select all

#--Texture Matrices------------------------------

texturematrix
  name LinkMaterial
  shift 0.000000 -0.050000
end

#--Materials-------------------------------------

material
  name LinkMaterial
  dyncol LinkMaterial
  diffuse 0 0 0 0.5
  nolighting
  addtexture telelink
  texmat LinkMaterial
end
before was:

Code: Select all

#--Texture Matrices------------------------------
texturematrix
  name LinkMaterial
  scale 0.000000 0.000000 0.000000 0.000000
  spin 0.000000
  shift 0.000000 -0.050000
  center 0.000000 0.000000
  fixedscale 0.000000 0.000000
  fixedspin 0.000000
  fixedshift 0.000000 0.000000
  fixedcenter 0.000000 0.000000
end

#--Materials-------------------------------------

material
  name LinkMaterial
  dyncol LinkMaterial
  notextures
  nolighting
  ambient 1.000000 1.000000 1.000000 1.000000
  diffuse 0.000000 0.000000 0.000000 0.500000
  specular 0.000000 0.000000 0.000000 1.000000
  emission 1.000000 1.000000 1.000000 1.000000
  shininess 0.000000
  alphathresh 1.000000
  addtexture telelink
  texmat LinkMaterial
end
OK thanks all for your time :P
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Re: Teleporters

Post by joevano »

joevano wrote:Do you have LinkMaterial defined as being transparent?
Huh, imagine that.... I asked you that over 3 days ago!
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
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: Teleporters

Post by fox in the fog »

sorry if i have not answer your question in time... but now is all solved and i have also posted the code. Now the other player know how adjust their maps and make right their texture matrices and materials options :)
Post Reply