meshbox / box & meshbox / teleport links

Questions and answers about the how and why of making maps.
Post Reply
User avatar
mathiaz
Private First Class
Private First Class
Posts: 44
Joined: Sat May 27, 2006 11:59 pm

meshbox / box & meshbox / teleport links

Post by mathiaz » Thu Mar 07, 2019 12:06 pm

I use simple meshbox:

meshbox
position 0 -290 0
size 300 10 1
matref wall
shootthrough
end
material
name wall
color 0.000000f 0.000000f 0.000000f 0.7
end

- meshbox/box :
when the ground/stair is made of mixed tiles, box next to meshbox, tank can t drive from one to the other

-meshox/teleport:

when i put a teleport on it, it doesnt work. Tank is stuck in teleport.

Do i need to add some option in material or meshbox blocs.

Thanks
<°)))><|

User avatar
tainn
Private First Class
Private First Class
Posts: 158
Joined: Sun Nov 18, 2018 7:25 pm
Location: zone of the phantoms

Re: meshbox / box & meshbox / teleport links

Post by tainn » Thu Mar 07, 2019 1:11 pm

Both of the issues you are describing are tied to meshboxes; they are annoyingly buggy.

The meshbox/box scenario you are describing also applies to meshbox/meshbox. Even though they are of the same height, the tank will get virtually stuck.

Teleports are also affected, where one is forced to jump into the teleport a lot of times in order to pass it, as they get stuck trying to drive into it from a meshbox.

There is no real way to avoid this other than creating your map differently / adjusting it just in order to prevent these scenarios. Either don't let meshboxes meet on the same height and/or put teleports on normal boxes.

User avatar
Zehra
Private First Class
Private First Class
Posts: 600
Joined: Sun Oct 18, 2015 3:36 pm
Location: Arctic

Re: meshbox / box & meshbox / teleport links

Post by Zehra » Thu Mar 07, 2019 1:30 pm

mathiaz wrote:
Thu Mar 07, 2019 12:06 pm
- meshbox/box :
when the ground/stair is made of mixed tiles, box next to meshbox, tank can t drive from one to the other
This is a known issue and is caused by the inconsistency of the handling of '1.0' and '2.0' objects. (Non-mesh and mesh objects.)
There is a few tricks which can be done, such as having boxes hidden under the mesh or simply converting the entire map to mesh objects.
Depending on exactly what you are trying to do, the solution may vary quite a bit.
The following threads should provide some insights: Can't drive on a meshbox... only if I jump over it, _maxBumpHeight and meshes... and Physics: Linear - Cannot drive on.
mathiaz wrote:
Thu Mar 07, 2019 12:06 pm
-meshox/teleport:

when i put a teleport on it, it doesnt work. Tank is stuck in teleport.
This is a known issue with mesh and teleporter objects.
One way to work around the situation is by raising or lowering the objects slightly. (Generally the teleporter is adjusted in most cases.)
(You may also wish to adjust the height slightly for this purpose as well from the object adjusted.)
The following threads should provide some insights: Teleports and links?, Teleporter Help, Teleporter problems, help with teleporters
tainn wrote:
Thu Mar 07, 2019 1:11 pm
Both of the issues you are describing are tied to meshboxes; they are annoyingly buggy.
The issue is actually tied to how BZFlag handles mesh and non-mesh objects differently.
tainn wrote:
Thu Mar 07, 2019 1:11 pm
The meshbox/box scenario you are describing also applies to meshbox/meshbox. Even though they are of the same height, the tank will get virtually stuck.
It also applies to meshes in a few cases, see the following thread: Weird mesh bug...I think.
tainn wrote:
Thu Mar 07, 2019 1:11 pm
Teleports are also affected, where one is forced to jump into the teleport a lot of times in order to pass it, as they get stuck trying to drive into it from a meshbox.
This occurs with mesh objects as well, and not just simply meshboxes, but usually some form of a workaround is done and the effect is not seen.
Additionally the client version itself can affect if one is able to drive-through a teleporter.

-Zehra
Those who are critical of me, I'll likely be the same of them. ~Zehra
There's always something to remember and it's been a game I love. ~Zehra
The time spent is a time which can never be regained, so it's a time to enjoy. ~Zehra
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra

See where I've last been active at Strayers.

User avatar
mathiaz
Private First Class
Private First Class
Posts: 44
Joined: Sat May 27, 2006 11:59 pm

Re: meshbox / box & meshbox / teleport links

Post by mathiaz » Fri Mar 08, 2019 12:13 pm

Thanks for your answers.

I put the teleporter on a box.
The box tile is little higher (0.1) than meshbox, so it s possible to pass from one to the other.
<°)))><|

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests