Page 1 of 1
Can you model different Armor types for HEAT vs. AP?
Posted: Fri Feb 20, 2015 5:15 pm
by brian heard
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
Re: Can you model different Armor types for HEAT vs. AP?
Posted: Fri Feb 20, 2015 6:26 pm
by pipfromslitherine
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
Re: Can you model different Armor types for HEAT vs. AP?
Posted: Fri Feb 20, 2015 7:13 pm
by brian heard
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
Re: Can you model different Armor types for HEAT vs. AP?
Posted: Fri Feb 20, 2015 9:56 pm
by pipfromslitherine
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
Re: Can you model different Armor types for HEAT vs. AP?
Posted: Fri Feb 20, 2015 10:25 pm
by brian heard
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
Re: Can you model different Armor types for HEAT vs. AP?
Posted: Tue Feb 24, 2015 10:37 am
by pipfromslitherine
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
Re: Can you model different Armor types for HEAT vs. AP?
Posted: Tue Feb 24, 2015 1:02 pm
by brian heard
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

Re: Can you model different Armor types for HEAT vs. AP?
Posted: Tue Feb 24, 2015 1:17 pm
by pipfromslitherine
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
Re: Can you model different Armor types for HEAT vs. AP?
Posted: Tue Feb 24, 2015 7:02 pm
by brian heard
thanks sir, will give it a whirl