Here's someone else asking for teleporter help.
I've seen example maps with 2 teleporters like this:
teleporter
position -288.5 35 0
rotation 0
size 0.125 10 10
border 1
end
teleporter
position 246.5 -29.5 0
rotation 0
size 0.125 10 10
border 1
end
link
#!name Link
from 0
to 2
end
link
#!name Link
from 1
to 3
end
I'm confused... there are 2 teleporters but 4 numbers used in links, do they refer to the two faces of the teleporters? i.e. 0 and 1 are the faces of the first, and 2 and 3 are the faces of the second?
thanks for any help.
Teleporter help
- optic delusion
- Special Forces
- Posts: 1054
- Joined: Sat Sep 25, 2004 2:29 pm
- Location: Planet MoFo
- Contact:
might be easier for you if you give each tele a name, too.
Take a look at my Defender game mode concept.
Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
Read the "teleporter object" and "link object" sections:
http://my.bzflag.org/bzfman.cgi?bzw.5.in
http://my.bzflag.org/bzfman.cgi?bzw.5.in
The names are a bit unclear to me as well.
For example in this code:
# or, to link between known teleporters examp_tele1(front) and
examp_tele2(back)
link
name example_realLink
from examp_tele1:f
to examp_tele2:b
end
are f and b 0 and 1? or are they dependent on what order the teleporters are specified in the file?
Thanks for the help, I've been fiddling with some teleporters for hours trying to get them to work and the results are very confusing. These docs often aren't terribly clear to me.
For example in this code:
# or, to link between known teleporters examp_tele1(front) and
examp_tele2(back)
link
name example_realLink
from examp_tele1:f
to examp_tele2:b
end
are f and b 0 and 1? or are they dependent on what order the teleporters are specified in the file?
Thanks for the help, I've been fiddling with some teleporters for hours trying to get them to work and the results are very confusing. These docs often aren't terribly clear to me.
- optic delusion
- Special Forces
- Posts: 1054
- Joined: Sat Sep 25, 2004 2:29 pm
- Location: Planet MoFo
- Contact:
f is front, b is back
the numbers will depend on the order specified in the map, unless you give them names, in which case the numbers should be removed and replaced by names.
Trial and error is the only real solution, I've never heard of anybody that can get more than three teleporters to link correctly, the first time.
Just wait until you try to rotate a teleporter, then you'll really be confused.
the numbers will depend on the order specified in the map, unless you give them names, in which case the numbers should be removed and replaced by names.
Trial and error is the only real solution, I've never heard of anybody that can get more than three teleporters to link correctly, the first time.
Just wait until you try to rotate a teleporter, then you'll really be confused.
Take a look at my Defender game mode concept.
Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.