dragons teeth

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

Post Reply
enric
Brigadier-General - 8.8 cm Pak 43/41
Brigadier-General - 8.8 cm Pak 43/41
Posts: 1855
Joined: Sun May 15, 2011 8:47 am

dragons teeth

Post by enric »

Morge noticed that the dragons teeth don't change after being fired several times, but it allow pass through.

This happens on my scenario City River.
I tested in a new scenario and there, yes the object changes to reflect the demolition after several fires.

Do you think the issue comes from the map that was created originally in BA1?
Where should I look for how damaged is an object by HE fire?

As the scenario has not a specific TERRAIN.TXT I assumed BA2 will use its core TERRAIN.TXT.
enric
Brigadier-General - 8.8 cm Pak 43/41
Brigadier-General - 8.8 cm Pak 43/41
Posts: 1855
Joined: Sun May 15, 2011 8:47 am

Re: dragons teeth

Post by enric »

Investigating about dragons teeth I notice an odd behavior that did not happened in BA1:

Comparing the OBJECTS.TXT of BA1 to BA2, the [DRAGONS_TEETH] is identical, both have DAMAGE 150, that in Stub_engine says: "amount of tile damage which will cause an object to show as damaged". I fired and fired on a dragons teeth in BA1 but never see it changes to damaged.

Another thing is TERRAIN.TXT where DAMAGETHRESHOLD, and DAMAGEDTYPE that in BA2 were added on [TankTraps] and that allow to suppress fire until demolish an object and make the tile open ground. (this is a too easy way to remove an obstacle in my opinion).

The oddity is that you may suppress only if the tile is not sighted, i.e. you may fire until demolition a dragons teeth but only if the tile is not sighted. For example, if a scout is two tiles away from the dragons teeth or an infantry is adjacent you can not fire at it.

Pip, can you please give me a little light :) ?
pipfromslitherine
Site Admin
Site Admin
Posts: 9923
Joined: Wed Mar 23, 2005 10:35 pm

Re: dragons teeth

Post by pipfromslitherine »

This again wasn't something I implemented so I will have to take a look at the code to see what is supposed to happen.

Cheers

Pip
follow me on Twitter here
Post Reply

Return to “Battle Academy 2: Modders Corner”