respawn inside of building

Questions and answers about the how and why of making maps.
Post Reply
User avatar
zaphod
Sergeant
Sergeant
Posts: 352
Joined: Sun Jan 23, 2005 3:20 pm
Location: beteigeuze-system
Contact:

respawn inside of building

Post by zaphod »

i took my CTF map (no problems there) and added flag zones and texture to a group of boxes which build the bases ...
now it happens once in a while that you respawn inside of a box (only inside the boxes which are part of the bases)

spawn on buildings is set in the config:

Code: Select all

-sb
texture i used:

Code: Select all

material
  name blue
  diffuse 1 1 1 1
  specular 0 0 0 1
  emission 0 0 0 1
  addtexture blue_basewall
end
the zone code:

Code: Select all

zone
  name BZBase_1
  position 0 370 32
  size 25 25 1
  rotation 0
  zoneflag N 4
  zoneflag T 4
  zoneflag QT 4
  #team 1
  #safety 1
 end
how the boxes are made:

Code: Select all

box
  name Base1_1
  position 400 0 0
  size 120 120 8
  rotation 45
  outside matref blue
  top matref top
end
(i changed the outside/top matrefs to a simple matref ... doesn't change the behavior!)

first time i see this!!!
anyone an idea what makes that inside-respawn?

(you find the entire map in the attachment)
Attachments
GUXmapFFA.bzw
the map file
(9.57 KiB) Downloaded 207 times
.
.
.
Image
User avatar
Teppic
Private First Class
Private First Class
Posts: 576
Joined: Mon Mar 07, 2005 10:00 pm
Location: The North Block

Post by Teppic »

Can't read, redundant post with no delete button.....

EDIT:Maybe I'm not as useless as previously summised, do you ever spawn outside of the zone entirely?
User avatar
zaphod
Sergeant
Sergeant
Posts: 352
Joined: Sun Jan 23, 2005 3:20 pm
Location: beteigeuze-system
Contact:

Post by zaphod »

spawn is not set to a zone ....
lets say 1 out of 10 ::: you spawn inside ...
9 times ::: no problem ... even on the bases!

ist just that 1 time that you spawn stuck inside the boxes ....
.
.
.
Image
User avatar
blast
General
General
Posts: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Post by blast »

Make the spawn zone a bit smaller then.
"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
zaphod
Sergeant
Sergeant
Posts: 352
Joined: Sun Jan 23, 2005 3:20 pm
Location: beteigeuze-system
Contact:

Post by zaphod »

Make the spawn zone a bit smaller then.
i dont have a spawn zone ....
i want them to spawn accidentally (to avoid the player with genocide flag camping in front of the spawn zone!)
and i dont want spawns inside of buildings ;-)
.
.
.
Image
User avatar
Tedius
Sergeant First Class
Sergeant First Class
Posts: 142
Joined: Tue Sep 19, 2006 6:10 pm
Contact:

Post by Tedius »

That is some strange behavior, I'm not sure why it is doing that. It seems that the client spawns in-between the cake layers of the bases.

I think if you build your cake differently it will solve the problem:

Code: Select all

box
  name Base1_2
  position 400 0 0
  size 100 100 16
  rotation 45
  outside matref blue
  top matref top
end

box
  name Base1_3
  position 400 0 0
  size 80 80 24
  rotation 45
  outside matref blue
  top matref top
end

box
  name Base1_4
  position 400 0 0
  size 60 60 33
  rotation 45
  outside matref blue
  top matref top
end

#etc....
this signature intentionally left blank
User avatar
zaphod
Sergeant
Sergeant
Posts: 352
Joined: Sun Jan 23, 2005 3:20 pm
Location: beteigeuze-system
Contact:

Post by zaphod »

thanks Tedius ... !
i tried that solution (see code) but still same spawn inside a building!!!
i really don't understand .... the CTF version (without textures) works just fine!!???
has it to do with the texturing of the blocks?????? hhmm ........ i just dont get it!!!

Code: Select all

box
  name Base1_1
  position 400 0 0
  size 120 120 8
  rotation 45
  outside matref blue
  top matref top
end

box
  name Base1_2
  position 400 0 0
  size 100 100 16
  rotation 45
  outside matref blue
  top matref top
end

box
  name Base1_3
  position 400 0 0
  size 80 80 24
  rotation 45
  outside matref blue
  top matref top
end

box
  name Base1_4
  position 400 0 0
  size 60 60 33
  rotation 45
  outside matref blue
  top matref top
end
.
.
.
Image
User avatar
zaphod
Sergeant
Sergeant
Posts: 352
Joined: Sun Jan 23, 2005 3:20 pm
Location: beteigeuze-system
Contact:

Post by zaphod »

or another idea to check could be theses settings in the map file :::
-set _spawnMaxCompTime 0.01
-set _spawnSafeRadMod 20
-set _spawnSafeSRMod 8
-set _spawnSafeSWMod 1.5

maybe they provoce a "inside-building-spawn" ????
lets see ...
.
.
.
Image
User avatar
zaphod
Sergeant
Sergeant
Posts: 352
Joined: Sun Jan 23, 2005 3:20 pm
Location: beteigeuze-system
Contact:

Post by zaphod »

nope .....
i tried everything to make it work!!!
for example ::: disabled sb "spawn on buildings" so players would spawn on the open-field ...
boom::re-spawn::: back and stuck inside of a building!!!!

my only conclusion is the texturing that provokes that behavior!!!
and with this post i send in a bug ;-)

or anybody an idea?????
.
.
.
Image
Post Reply