Author Topic: Glowing, burning objects  (Read 503 times)

Offline 8thJinx

  • Silver Member
  • ****
  • Posts: 991
Glowing, burning objects
« on: December 16, 2017, 02:31:32 PM »
I believe I have figured out how to make the inside of a building glow in-game when it is on fire. 

In the text file for the object, for all of the poly's representing the inside walls of the dead building or object, assign material 171 (or "AHM172") to the object.  The neat thing about that defined material is that it shifts in color from yellow to orange as you drive by it.


It would look like this in the ac file:

mat 171

And it gets inserted as follows, in the section where the surfaces are defined:

SURF 0x10
mat 171
refs 4
0 0.044645 0.461822
1 0.044645 0.394181
2 0.018724 0.394181
3 0.018724 0.461822

I plan on testing some objects out in an AvA terrain soon.  I am making a destroyed rail car, M-3, and tank, and will be adding this glow effect to the interior polys.  This will be used in the AvA terrain I'm working on, for the strafe-able supply trains and armored columns.  I will also test this out with a town building.
« Last Edit: December 16, 2017, 02:35:52 PM by 8thJinx »
Join Date: Nov 2012

B-24H Liberator SN 294837-T, "The Jinx", 848th BS, 490th BG, 8th AF, RAF Station Eye, delivered 1943.  Piloted by Lt. Thomas Keyes, named by by his crew, and adorned with bad luck symbols, the aircraft survived the entire war.