The materials are color but mostly shading imo. They can turn a poly to black, blue,white or invisible etc.
Three things affect hardness in the case you describe.
a. the name used in the ac3d object, "vhh0" or "str" etc.
b. the flags. In ah2 these were called polyIDs. Now they show in the .ac file as FaceFlags or GroupFlags. These are very powerful settings. I've never been able to see them in the OE's Edit Tree.
c. In the TE, there is a setting to change the hardness of an object but it was not straight forward in ah2.
Thanks for the reply.
I eventually figured out 'a' through trial and error. It was part of my problem. Although I have found many HTC object exported from AHObEdit that did not have that node and started with LOD groups directly below the "objects" level and they seemed to blow up fine.
Through trial and error, a lot of error, I found that at least the HTC shapes "testobject" and "brief" exhibit the same behavior as my broken objects.
Take the HTC "testobject" and place it in a terrain and set it's type to "fact fuel" it's hardness to 0.001.
It is impervious to machine gun fire. But a single cannon round will destroy it.
I have a pattern now that works, but I am a little OCD, and would really like to understand all the various magical meanings and implications of those different names and materials (if those have effects). There might be something cool content providers could do with that info. I'm pretty certain the material was part of my problems, but that would take more work to confirm. If someone just had a list, that would be awesome.
But I admit this is pretty esoteric stuff and won't really affect most people. I just hate mysteries.
I'm guessing the face and group flags are binary "AND"ing of the various flags in the Editor you see like Alpha phased and Freeze Center in hexadecimal form. So like it (making up values) alpha phased = 0x20000000 and freeze center = 0x00040000 and void component type was 0x00000008 you might get a group flag in the actual AC3D file like 0x20040008.
That is mostly speculation, but it's how I'd do it.
I usually set the hardness in the TE. I had assume that overrides any other settings, but it may be more complicated.
Do you have any information how "twn0" vs "vh0" vs "str0" affect hardness?
(Someday maybe you need to make a custom object handbook.
)
Thanks in advance,
CptTrips