pass flag to middle

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

pass flag to middle

Post by mathiaz » Sat Jun 15, 2019 12:44 pm

Hi,

I pass flag to the middle while dropping it on non standard surface (pyramid, teleport ...).
It works, but when there is a meshbloc middle, the flag goes in it. So what is the algorythm behind this pass? why the flag is not put ON the bloc?

Thanks
<°)))><|

User avatar
blast
General
General
Posts: 4744
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: pass flag to middle

Post by blast » Sat Jun 15, 2019 2:15 pm

Is it specifically a "meshbox" object you're using, or is it a "mesh" object? If it's a "mesh" object, you can add an inside point somewhere inside the object to make it a solid object. I believe that in that situation, the flag would then fly back to the base instead of the center, at least if you don't have any safety zones.
"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
Zehra
Private First Class
Private First Class
Posts: 621
Joined: Sun Oct 18, 2015 3:36 pm
Location: Arctic

Re: pass flag to middle

Post by Zehra » Sat Jun 15, 2019 3:25 pm

If I'm not mistaken, the '-fb' option will likely be needed as well.
Simply pass it as an option within BZFS or include it within the 'options' section of your map.

Code: Select all

options
  -fb
end
-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: pass flag to middle

Post by mathiaz » Sat Jun 15, 2019 6:22 pm

Thanks for the answers.
But It s running with -fb options and it s a meshbox.
:?
So i don t understand.

I send the map in attached file, if you have time.
Just run it with "bzfs -world test.bzw".
Attachments
test.bzw
(21.21 KiB) Downloaded 34 times
<°)))><|

User avatar
blast
General
General
Posts: 4744
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: pass flag to middle

Post by blast » Sat Jun 15, 2019 9:44 pm

Tried using a box instead of a meshbox? I don't think there much of any reason to use the mesh variants of our primitive objects. The normal box and pyramid objects can use mesh options like materials.
"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
tainn
Private First Class
Private First Class
Posts: 171
Joined: Sun Nov 18, 2018 7:25 pm
Location: zone of the phantoms

Re: pass flag to middle

Post by tainn » Mon Jun 17, 2019 10:19 am

It is not a meshbox that is causing you trouble, but a regular box. Specifically, this box here:

Code: Select all

# Line
box
  position -7 -2 0
  size 16 16 15
  rotation 12.467799419733344
  color 0.1 0.1 0.1 1
end
The issue here is that you are trying to add a color attribute to a normal box. Doing that breaks essentially everything that it can break. For example, adding the drivethrough attribute to that object would make it glitch really hard when trying to drive through it.

You want to do one of the two things, either:

1. turn that box into a meshbox (recommended), or
2. remove the color attribute and keep it as a normal box

One of the primary advantages of a meshbox in comparison to a normal box, is the attributes that you can actually use without the object misbehaving.

In fact, I would recommend you turn all boxes into meshboxes, for possible future adjustments.

User avatar
blast
General
General
Posts: 4744
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: pass flag to middle

Post by blast » Mon Jun 17, 2019 12:25 pm

Ah, yes, I was mistakenly thinking that it was meshboxes that had the glitchy behavior, but it is indeed the 'meshed' box (normal box with mesh attributes added) that has the drivethrough glitch.
"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
mathiaz
Private First Class
Private First Class
Posts: 44
Joined: Sat May 27, 2006 11:59 pm

Re: pass flag to middle

Post by mathiaz » Mon Jun 17, 2019 12:50 pm

Tanks a lot.
I notice , i won t use anymore box object.
:wink:
<°)))><|

Post Reply