Page 1 of 1

Links arent working.

Posted: Wed May 25, 2011 7:47 am
by -roo
Hello all im just about done with my map.. but there is one huge problem. The tele links are not working which is weird because when i run the map by BZWTestLauncher the links work fine.. but when i attempt to run the map outside my home the links dont work. I use BZedit and windows 7. Any suggestions would be appreciated

Re: Links arent working.

Posted: Wed May 25, 2011 7:49 am
by Yrogirg
what is your code for links (and maybe teles)?

Re: Links arent working.

Posted: Wed May 25, 2011 7:54 am
by -roo
teleporter
name Teleporter
position 310.5 21.5 0
rotation 0
size 0.125 10 10
border 1
end

teleporter
name Teleporter
position -310.5 21.5 0
rotation 0
size 0.125 10 10
border 1
end

link
from 0
to 2
end

link
from 2
to 0
end

link
from 1
to 3
end

link
from 3
to 1
end

Re: Links arent working.

Posted: Wed May 25, 2011 7:55 am
by -roo
teleporter
name Teleporter
position -64.5 -361 0
rotation 90
size 0.125 10 10
border 1
end

teleporter
name Teleporter copy
position 64.5 -361 0
rotation 90
size 0.125 10 10
border 1
end

teleporter
name Teleporter copy
position -64.5 -150 50
rotation 90
size 0.125 10 10
border 1
end

teleporter
name Teleporter copy 1
position 64.5 -150 50
rotation 90
size 0.125 10 10
border 1
end

link
from 4
to 8
end

link
from 6
to 10
end

link
from 8
to 4
end

link
from 10
to 6
end

teleporter
name Teleporter copy 5
position -64.5 150 50
rotation 90
size 0.125 10 10
border 1
end

teleporter
name Teleporter copy
position -64.5 361 0
rotation 90
size 0.125 10 10
border 1
end

teleporter
name Teleporter copy 1
position 64.5 361 0
rotation 90
size 0.125 10 10
border 1
end

teleporter
name Teleporter copy 2
position 64.5 150 50
rotation 90
size 0.125 10 10
border 1
end

link
#!name Link
from 17
to 19
end

link
#!name Link
from 19
to 17
end

link
from 13
to 15
end

link
from 15
to 13
end

Re: Links arent working.

Posted: Wed May 25, 2011 8:05 am
by Yrogirg
You'd better try to make one working pair of teleporters to understand how they work. Your links missing sides of the teles (:b for back :f for front). I also guess teles should have unique names which you are refering to in links sections.

Code: Select all

teleporter
  name Teleporter1
  position 310.5 21.5 0
  rotation 0
  size 0.125 10 10
  border 1
end

teleporter
  name Teleporter2
  position -310.5 21.5 0
  rotation 0
  size 0.125 10 10
  border 1
end

link
  from Teleporter1:f
  to   Teleporter2:f
end

link
  from Teleporter1:b
  to   Teleporter2:b
end

Re: Links arent working.

Posted: Wed May 25, 2011 8:09 am
by -roo
i rename teles from bzedit?

Re: Links arent working.

Posted: Wed May 25, 2011 9:36 am
by Yrogirg
not sure, never used bzedit. Try just adding :f and :b

Re: Links arent working.

Posted: Wed May 25, 2011 10:03 am
by blast
I don't think you use :f and :b unless you are using named teleporters, right? Just try removing the name line from all of your teleporters.

Re: Links arent working.

Posted: Thu May 26, 2011 1:15 am
by Tanx
If you don't use :f or :b you have to use "?" or "*", otherwise it won't work.

Re: Links arent working.

Posted: Thu May 26, 2011 11:53 am
by Cobra_Fast
I thought teleporter names are specified like

Code: Select all

teleporter name
    ...
end
with the name property it never worked for me.

Re: Links arent working.

Posted: Thu May 26, 2011 1:01 pm
by blast
If you don't use names on the teleporters, it only uses numbers (with each side of the teleporter being a different number). If you use names on the teleporters, I don't think you can use the numbers anymore.

Re: Links arent working.

Posted: Tue May 31, 2011 2:16 pm
by -roo
thanks all blast's method worked :)