Does anyone know where the script (or stats sheet) is that describes the different effects of the bombardment bonuses?
For example, how can I find out impact radius, the "number of bombs or shells", their approximate HE and AP effect, their (in)accuracy, the "invincibility" of the aircraft (ie. the difficulty of shooting it down with AA) for:
Hurricane
Typhoon
B17
Blenheim
He111
Me262
etc...
Bombardment & Airstrikes - Modding the impact
Moderators: Slitherine Core, BA Moderators
-
GottaLove88s
- Lieutenant-General - Do 217E

- Posts: 3151
- Joined: Fri Apr 06, 2012 6:18 pm
- Location: Palau
Bombardment & Airstrikes - Modding the impact
Last edited by GottaLove88s on Sun Aug 26, 2012 10:04 am, edited 2 times in total.
SCENARIO LINKS
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
Re: Bombardment - Script or worksheet?
Hi GL88's
This looks like it- in here
C:\Program Files\Slitherine\Battlefield Academy\Core\Cards
This looks like it- in here
C:\Program Files\Slitherine\Battlefield Academy\Core\Cards
Cheers
Richcat
Richcat
-
GottaLove88s
- Lieutenant-General - Do 217E

- Posts: 3151
- Joined: Fri Apr 06, 2012 6:18 pm
- Location: Palau
Re: Bombardment - Script or worksheet?
Thanks Richcat! You're a genuis. Exactly what I wanted.Richcat wrote:This looks like it - in here
C:\Program Files\Slitherine\Battlefield Academy\Core\Cards
So I'm guessing if I make any changes I want, in that cards.txt file, and place that in a folder called \cards, and then put that into \Multiplayer\MyScenario\Data that should work?
There's a lot in here that feels obvious... like the TyphoonDelay of 3 [turns], AAVulnerable of 50 [percent], etc.
But it seems to show two sets of conflicting values...
TyphoonHEAttack 60
TyphoonAPAttack 80
TyphoonSuppression 40
...and later...
TyphoonBombHEAttack 60
TyphoonBombAPAttack 80
TyphoonBombSuppression 80
I wonder which of the two it uses for its attack values? The plain Attack and Suppression? Or the BombAttack and BombSuppression? For the Typhoon, they're similar, but for other aircraft they're quite different...
Has anyone used these?
There's a lot of modding potential in this. Heck, you could even piggyback this code to create an A-bomb... and then run a post-nuclear scenario...
For illustration, full cards.txt for Typhoon is copied here:
TyphoonDelay 3
TyphoonHEAttack 60
TyphoonAPAttack 80
TyphoonIncomingSFX 84
TyphoonAAVulnerable 50
TyphoonImpactSFX 52
TyphoonImpactDelay 0
TyphoonTileDamage 0
TyphoonSuppression 40
TyphoonExplosionGFX 6
TyphoonFrontX 3
TyphoonLengthX 3
TyphoonSpreadY 0
TyphoonBombFrontX 3
TyphoonBombLengthX 3
TyphoonBombSpreadY 0
TyphoonBombSFX 8
TyphoonBombGFX 7
TyphoonBombHEAttack 60
TyphoonBombAPAttack 80
TyphoonBombSuppression 80
TyphoonBombTileDamage 70
TyphoonHitWait 1
TyphoonMarkerID -301
TyphoonBombEffect 1 // show the typhoon rocket effect
SCENARIO LINKS
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
-
pipfromslitherine
- Site Admin

- Posts: 9928
- Joined: Wed Mar 23, 2005 10:35 pm
Re: Bombardment & Airstrikes - Modding the impact
You can check out the DATA/SCRIPTS/AIRSTRIKE.BSF and ARTILLERY.BSF files for details on how they use the various bonus values.
Cheers
Pip
Cheers
Pip
-
GottaLove88s
- Lieutenant-General - Do 217E

- Posts: 3151
- Joined: Fri Apr 06, 2012 6:18 pm
- Location: Palau
Re: Bombardment & Airstrikes - Modding the impact
Thanks Pip,
I may be misreading, but it looks like airstrikes always run an APAttack or HEAttack, depending on target type...
But then BA does a further check
// THIS ONLY WORKS IF THE BOMB VALUES ARE INSIDE THE MG VALUES
if( (i>bx) && (i<=bmaxx) )
And may, or may not, also run a BombHEAttack or BombAPAttack, again depending on target type...
Does that sound about right? It looks like Iain authored most of this, but it was picked up later by somebody else.
Now I wonder if there are multiple bonus buttons for airstrikes... one for precision targeting, and one for area bombing?
Will go back and check the Editor...
I may be misreading, but it looks like airstrikes always run an APAttack or HEAttack, depending on target type...
But then BA does a further check
// THIS ONLY WORKS IF THE BOMB VALUES ARE INSIDE THE MG VALUES
if( (i>bx) && (i<=bmaxx) )
And may, or may not, also run a BombHEAttack or BombAPAttack, again depending on target type...
Does that sound about right? It looks like Iain authored most of this, but it was picked up later by somebody else.
Now I wonder if there are multiple bonus buttons for airstrikes... one for precision targeting, and one for area bombing?
Will go back and check the Editor...
SCENARIO LINKS
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
-
pipfromslitherine
- Site Admin

- Posts: 9928
- Joined: Wed Mar 23, 2005 10:35 pm
Re: Bombardment & Airstrikes - Modding the impact
Errrrr. Dunno
Was a long time ago, and you are probably right that Iain started them off. So there might be some oddness about the scripts. They do indeed do an appropriate attack depending on the target on a given tile.
There are two different 'types' of attack - the close support (Stuka, Typhoon, etc) where you can shoot them down and they select and hit a close target, and the high altitude bombing attacks (B17, etc) which are more like shaped artillery strikes.
Cheers
Pip
There are two different 'types' of attack - the close support (Stuka, Typhoon, etc) where you can shoot them down and they select and hit a close target, and the high altitude bombing attacks (B17, etc) which are more like shaped artillery strikes.
Cheers
Pip
-
GottaLove88s
- Lieutenant-General - Do 217E

- Posts: 3151
- Joined: Fri Apr 06, 2012 6:18 pm
- Location: Palau
Re: Bombardment & Airstrikes - Modding the impact
Hehe, you're not that old Pip! 
Yes, I'm sure you're right about the difference between the plain HEAttack or APAttack (which seems to be close support) and the HEBombAttack or APBombAttack (which feels like high altitude area bombing).
But some airstrikes have stats for both in cards.txt...
eg.
StukaHEAttack 70
StukaAPAttack 30
or
StukaBombHEAttack 100
StukaBombAPAttack 80
I just can't quite figure out what triggers whether BA runs the HEAttack or the BombHEAttack, or both...
One for Iain?
Yes, I'm sure you're right about the difference between the plain HEAttack or APAttack (which seems to be close support) and the HEBombAttack or APBombAttack (which feels like high altitude area bombing).
But some airstrikes have stats for both in cards.txt...
eg.
StukaHEAttack 70
StukaAPAttack 30
or
StukaBombHEAttack 100
StukaBombAPAttack 80
I just can't quite figure out what triggers whether BA runs the HEAttack or the BombHEAttack, or both...
One for Iain?
SCENARIO LINKS
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
Re: Bombardment & Airstrikes - Modding the impact
did this ever get figured out?
What is the difference between the HEattack and bombHEattack for the airstrikes?
Just airstrikes not artillery.
What is the difference between the HEattack and bombHEattack for the airstrikes?
Just airstrikes not artillery.

