Building collision distance

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

Post Reply
makigono1
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 93
Joined: Sat Jun 06, 2015 2:30 am

Building collision distance

Post by makigono1 »

I noticed that if I scale up a building by editing the .BAM file, the building is only enlarged graphically. It is not changed for gameplay purposes. If the building at 1.0 scale only covers one space on the map, if I enlarge it to cover two, a unit in the second space will not be considered in the building, but rather to occupying open ground. Is there a workaround for this?
pipfromslitherine
Site Admin
Site Admin
Posts: 9881
Joined: Wed Mar 23, 2005 10:35 pm

Re: Building collision distance

Post by pipfromslitherine »

You would need to have a small holder object (perhaps another instance of the original building scaled to zero) on the second tile. Objects can only be on a single tile.

Cheers

Pip
follow me on Twitter here
makigono1
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 93
Joined: Sat Jun 06, 2015 2:30 am

Re: Building collision distance

Post by makigono1 »

pipfromslitherine wrote:You would need to have a small holder object (perhaps another instance of the original building scaled to zero) on the second tile. Objects can only be on a single tile.

Cheers

Pip
Thanks! That will work great.
Post Reply

Return to “Battle Academy 2: Modders Corner”