• Welcome to Battlezone Universe.
 

News:

Welcome to the BZU Archive dated December 24, 2009. Topics and posts are in read-only mode. Those with accounts will be able to login and browse anything the account had access granted to at the time. No changes to permissions will be made to be given access to particular content. If you have any questions, please reach out to squirrelof09/Rapazzini.

Main Menu

Building Collision problem

Started by shane ward, February 24, 2009, 08:57:26 AM

Previous topic - Next topic

shane ward

I have a building that has me completely stumped.

This building did work, but now it will not, The Collision on the building will not work no matter what I do, and I am at a loss to explane it, I am hoping that someone can help. I checked the model, Added a Collision box (Which I did not have to first time around) and redone the model 6 times, with the same result,

I do not want the player to walk trough the walls.... it is a room ;)

I have uploaded the file for all to see...

Hope someone has an answer and able to help me fix this annoying problem... It has affected another similar building...

Shane
Battlezone 2 Mod and Map Maker.
See my site: -
http://www.shanesdoomwads.freeservers.com/bz2

shane ward

OK, I think I have licked this, but with a small side effect, the building is sank into the terrain a little, but easily
overcome by adding 2 to the height in the editor,

But here is a little challenge, Why is building one, not working, and building 2 working? The odf are the same and the
xsi files are almost the same too...

Building 1 http://www.bzscrap.com/~shanesmods/files/dkpbl00.zip
Building 2 http://www.bzscrap.com/~shanesmods/files/dkpbl00a.zip

I just don't understand it : (

Shane
Battlezone 2 Mod and Map Maker.
See my site: -
http://www.shanesdoomwads.freeservers.com/bz2

Nielk1

do you have a terrain__h?

Is the pivot of your terrain__h where u want the old ground to be. (ie if it is high the thing will sink when made).

Click on the image...

shane ward

The game is using the pivot of the building which I exidently set to center, so thats what is making the building sink, But I can overcome that in the bzeditor...
Battlezone 2 Mod and Map Maker.
See my site: -
http://www.shanesdoomwads.freeservers.com/bz2

shane ward

I think I have narrowed it down to something to do with geometryScale and ownsTerrain. If geometryScale is set to in plane numbers like 1,2,3,4,5,6,7 then it will work OK, But if I use didgets like 1.5, 2.5 and so on, the building will become uncolideable...

Might help.... Not sure
Shane
Battlezone 2 Mod and Map Maker.
See my site: -
http://www.shanesdoomwads.freeservers.com/bz2

Nielk1

You really should never be scaling buildings (except for whole numbers in rare cases).

Click on the image...

Avatar

Be careful about how the building fits on a terrain square(s), making sure it fits entirely within however many squares you want it to 'own'.

Nothing can collide without 'owning' terrain, so if a wall extends past the edge of a terrain square it'll quit colliding...  causes very wonky walls...

-Av-