Craters

Download scenarios and talk about scenario design.
Moderators: Slitherine Core, BA Moderators

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

Craters

Post by makigono1 »

How does one add shellholes or bomb craters to a map in the editor, please?
pipfromslitherine
Site Admin
Site Admin
Posts: 9896
Joined: Wed Mar 23, 2005 10:35 pm

Re: Craters

Post by pipfromslitherine »

I don't think you can apply damage in the editor. You would need to script in calls doing damage to an area of the map in the scenario script.

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: Craters

Post by makigono1 »

pipfromslitherine wrote:I don't think you can apply damage in the editor. You would need to script in calls doing damage to an area of the map in the scenario script.

Cheers

Pip
Thanks, Pip. So, I know how to set the buildings to be damaged, by editing the damage state for each one in the .bam file. Are you saying that I can do the same for each terrain tile I want to set to be damaged (i.e. shelled or bombed) in the .bam? Or am I misinterpreting? (I'm at work right now, otherwise, I'd just go ahead and try it and find out! LoL)
pipfromslitherine
Site Admin
Site Admin
Posts: 9896
Joined: Wed Mar 23, 2005 10:35 pm

Re: Craters

Post by pipfromslitherine »

No - you cannot change this in the BAM, you need to script (in the scenario BSF) adding damage to the tiles as part of the initial startup.

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: Craters

Post by makigono1 »

pipfromslitherine wrote:No - you cannot change this in the BAM, you need to script (in the scenario BSF) adding damage to the tiles as part of the initial startup.

Cheers

Pip
Ah. Since I don't know know how to do that, I took the coward's way out and added a new folder of terrain tiles with the type 'Crater' (stole the artwork from other folders' craters) and manually placed them on top of the terrain tiles and roads in the .BAM file. It seems to work nicely, but I will test it more thoroughly later.

Also, does anyone know how to script initial damage in the .BSF file? I presume a call to DamageTile is in order, but I don't know how to properly put it together, as the times I've tried, I've failed miserably.
Post Reply

Return to “Battle Academy 2: Scenario Design”