Can you model different Armor types for HEAT vs. AP?
Moderators: Slitherine Core, BA Moderators
-
brian heard
- Private First Class - Wehrmacht Inf

- Posts: 5
- Joined: Fri Feb 20, 2015 4:38 pm
Can you model different Armor types for HEAT vs. AP?
So I searched and searched, but could not find anything. Is it possible to model different Armour types?
For example if I have a T-64BV with explosive reactive armour, If I fire a HEAT round or missile it's Front armour value would be 60 but if I fire an AP round (APDS) the Front armour value would be 30.
That would allow cold war and modern games.
thanks!
Brian
For example if I have a T-64BV with explosive reactive armour, If I fire a HEAT round or missile it's Front armour value would be 60 but if I fire an AP round (APDS) the Front armour value would be 30.
That would allow cold war and modern games.
thanks!
Brian
-
pipfromslitherine
- Site Admin

- Posts: 9923
- Joined: Wed Mar 23, 2005 10:35 pm
Re: Can you model different Armor types for HEAT vs. AP?
It would be fairly simple to do that - the modelling of AP combat is all done in scripts. Check out the Fire_AP.bsf and FireLogic_AP.bsf files in DATA/BATTLE/SCRIPTS. The Unit_FireAP function is the starting point for when a player fires.
IIRC if you make a custom campaign and create a script file in the same folder structure inside it then your script should be used in place of the main game one.
Cheers
Pip
IIRC if you make a custom campaign and create a script file in the same folder structure inside it then your script should be used in place of the main game one.
Cheers
Pip
follow me on Twitter here
-
brian heard
- Private First Class - Wehrmacht Inf

- Posts: 5
- Joined: Fri Feb 20, 2015 4:38 pm
Re: Can you model different Armor types for HEAT vs. AP?
thanks Pip for the fast response will do!
One other thing from the mod wiki on using 2D units is that still valid?
I looked and could not see the 2D folder.
thanks!
Brian
One other thing from the mod wiki on using 2D units is that still valid?
I looked and could not see the 2D folder.
thanks!
Brian
-
pipfromslitherine
- Site Admin

- Posts: 9923
- Joined: Wed Mar 23, 2005 10:35 pm
Re: Can you model different Armor types for HEAT vs. AP?
No, 2D units are no longer supported in BA2. Nobody was using them, and the work to maintain the code didn't make sense 
Cheers
Pip
Cheers
Pip
follow me on Twitter here
-
brian heard
- Private First Class - Wehrmacht Inf

- Posts: 5
- Joined: Fri Feb 20, 2015 4:38 pm
Re: Can you model different Armor types for HEAT vs. AP?
Thanks again for the quick response. I think I figured out how to implement the Composite and ERA armor arrays. The coding and data structure are very well thought out and easy to understand. Brilliant job!!
Too bad about the 2D. Is there any way to put a 2D counter in somehow, or is there a way to get a depreciated version that would support it? I would really like to try and import some Cold War counters I had made.
thanks
B
Too bad about the 2D. Is there any way to put a 2D counter in somehow, or is there a way to get a depreciated version that would support it? I would really like to try and import some Cold War counters I had made.
thanks
B
-
pipfromslitherine
- Site Admin

- Posts: 9923
- Joined: Wed Mar 23, 2005 10:35 pm
Re: Can you model different Armor types for HEAT vs. AP?
Unfortunately not - you could probably build very easily a flat counter 3D model which would do the same job. Either as a horizontal plane, or something like a card in a holder.
Cheers
Pip
Cheers
Pip
follow me on Twitter here
-
brian heard
- Private First Class - Wehrmacht Inf

- Posts: 5
- Joined: Fri Feb 20, 2015 4:38 pm
Re: Can you model different Armor types for HEAT vs. AP?
thanks Pip, I'll look into it. Last question, what program do you recommend for creating a simple 3D counter model?
Max seems like overkill
Max seems like overkill
-
pipfromslitherine
- Site Admin

- Posts: 9923
- Joined: Wed Mar 23, 2005 10:35 pm
Re: Can you model different Armor types for HEAT vs. AP?
If you have MAX is would be very simple to create the model. There is also an exporter for Blender (in the BA1 modding forum).
Cheers
Pip
Cheers
Pip
follow me on Twitter here
-
brian heard
- Private First Class - Wehrmacht Inf

- Posts: 5
- Joined: Fri Feb 20, 2015 4:38 pm
Re: Can you model different Armor types for HEAT vs. AP?
thanks sir, will give it a whirl