ERZMASH doesn't animate

Status
Not open for further replies.

pastel

‫‬‭‮‪‫‬‭‮
ERZMASH(1 through 8) is supposedly an animated flat, and is named like one. Place in it a level, however, and it's static.

srb20003d.png


It just stays like that, doing nothing. I checked the ANIMATED lump and there's no entry for it.
 
There is no official ANIMATED lump, unless the srb2 team put it there in the recent IWAD. It would be nice for editors if there was one though.

The one generated by SWANTBLS on the srb2 wiki might be outdated if the SRB2 team added more animated flats. It could be that I might have copied the code for making the animated lump incorrectly.

Check the code for the animated lump stuff (I would look for one of the known animated flat names) and make sure it is correct.

If you didn't add an animated lump to your wad, then I guess the problem is with srb2.
 
Last edited:
The one generated by SWANTBLS on the srb2 wiki might be outdated if the SRB2 team added more animated flats. It could be that I might have copied the code for making the animated lump incorrectly.
Yeah, that's what I looked in, there was no ANIMATED in srb2.srb.
Check the code for the animated lump stuff (I would look for one of the known animated flat names) and make sure it is correct.
Code:
//
// P_InitPicAnims
//
/** Hardcoded animation sequences.
  * Used if no ANIMATED lump is found in a loaded wad.
  */
static animdef_t harddefs[] =
{
    // flat animations.
    {false,     "LITEY3",       "LITEY1",       4},
    {false,     "FWATER16",     "FWATER1",      4},
    {false,     "BWATER16",     "BWATER01",     4},
    {false,     "LWATER16",     "LWATER1",      4},
    {false,     "WATER7",       "WATER0",       4},
    {false,     "SWATER4",      "SWATER1",      8},
    {false,     "LAVA4",        "LAVA1",        8},
    {false,     "DLAVA4",       "DLAVA1",       8},
    {false,     "RLAVA8",       "RLAVA1",       8},
    {false,     "LITER3",       "LITER1",       8},
    {false,     "SURF08",       "SURF01",       4},

    {false,     "CHEMG16",      "CHEMG01",      4}, // THZ Chemical gunk
    {false,     "GOOP16",       "GOOP01",       4}, // Green chemical gunk
    {false,     "OIL16",        "OIL01",        4}, // Oil
    {false,     "THZBOXF4",     "THZBOXF1",     2}, // Moved up with the flats
    {false,     "ALTBOXF4",     "ALTBOXF1",     2},

    {false,     "LITEB3",       "LITEB1",       4},
    {false,     "LITEN3",       "LITEN1",       4},
    {false,     "ACZRFL1H",     "ACZRFL1A",     4},
    {false,     "ACZRFL2H",     "ACZRFL2A",     4},
    {false,     "EGRIDF3",      "EGRIDF1",      4},
    {false,     "ERZFAN4",      "ERZFAN1",      1},
    {false,     "ERZFANR4",     "ERZFANR1",     1},
    {false,     "DISCO4",       "DISCO1",      15},

    // animated textures
    {true,      "GFALL4",       "GFALL1",       2}, // Short waterfall
    {true,      "CFALL4",       "CFALL1",       2}, // Long waterfall
    {true,      "TFALL4",       "TFALL1",       2}, // THZ Chemical fall
    {true,      "AFALL4",       "AFALL1",       2}, // Green Chemical fall
    {true,      "QFALL4",       "QFALL1",       2}, // Quicksand fall
    {true,      "Q2FALL4",      "Q2FALL1",      2},
    {true,      "Q3FALL4",      "Q3FALL1",      2},
    {true,      "Q4FALL4",      "Q4FALL1",      2},
    {true,      "Q5FALL4",      "Q5FALL1",      2},
    {true,      "Q6FALL4",      "Q6FALL1",      2},
    {true,      "Q7FALL4",      "Q7FALL1",      2},
    {true,      "LFALL4",       "LFALL1",       2},
    {true,      "MFALL4",       "MFALL1",       2},
    {true,      "OFALL4",       "OFALL1",       2},
    {true,      "DLAVA4",       "DLAVA1",       8},
    {true,      "ERZLASA2",     "ERZLASA1",     1},
    {true,      "ERZLASB4",     "ERZLASB1",     1},
    {true,      "ERZLASC4",     "ERZLASC1",     1},
    {true,      "THZBOX04",     "THZBOX01",     2},
    {true,      "ALTBOX04",     "ALTBOX01",     2},
    {true,      "SFALL4",       "SFALL1",       4}, // Lava fall
    {true,      "RVZFALL8",     "RVZFALL1",     4},
    {true,      "BFALL4",       "BFALL1",       2}, // HPZ waterfall
    {true,      "GREYW3",       "GREYW1",       4},
    {true,      "BLUEW3",       "BLUEW1",       4},
    {true,      "COMP6",        "COMP4",        4},
    {true,      "RED3",         "RED1",         4},
    {true,      "YEL3",         "YEL1",         4},
    {true,      "ACWRFL1D",     "ACWRFL1A",     1},
    {true,      "ACWRFL2D",     "ACWRFL2A",     1},
    {true,      "ACWRFL3D",     "ACWRFL3A",     1},
    {true,      "ACWRFL4D",     "ACWRFL4A",     1},
    {true,      "ACWRP1D",      "ACWRP1A",      1},
    {true,      "ACWRP2D",      "ACWRP2A",      1},
    {true,      "ACZRP1D",      "ACZRP1A",      1},
    {true,      "ACZRP2D",      "ACZRP2A",      1},
    {true,      "OILFALL4",     "OILFALL1",     2},
    {true,      "SOLFALL4",     "SOLFALL1",     2},
    {true,      "DOWN1C",       "DOWN1A",       4},
    {true,      "DOWN2C",       "DOWN2A",       4},
    {true,      "DOWN3D",       "DOWN3A",       4},
    {true,      "DOWN4C",       "DOWN4A",       4},
    {true,      "DOWN5C",       "DOWN5A",       4},
    {true,      "UP1C",         "UP1A",         4},
    {true,      "UP2C",         "UP2A",         4},
    {true,      "UP3D",         "UP3A",         4},
    {true,      "UP4C",         "UP4A",         4},
    {true,      "UP5C",         "UP5A",         4},
    {true,      "EGRID3",       "EGRID1",       4},
    {true,      "ERFANW4",      "ERFANW1",      1},
    {true,      "ERFANX4",      "ERFANX1",      1},
    {true,      "DISCOD4",      "DISCOD1",     15},
    {true,      "DANCE4",       "DANCE1",       8},

    // begin dummy slots
    {false,     "DUMYSLOT",    "DUMYSLOT",    8},
    {false,     "DUMYSLOT",    "DUMYSLOT",    8},
    {false,     "DUMYSLOT",    "DUMYSLOT",    8},
    {false,     "DUMYSLOT",    "DUMYSLOT",    8},
    {false,     "DUMYSLOT",    "DUMYSLOT",    8},
    {false,     "DUMYSLOT",    "DUMYSLOT",    8},
    {false,     "DUMYSLOT",    "DUMYSLOT",    8},
    {false,     "DUMYSLOT",    "DUMYSLOT",    8},
    {false,     "DUMYSLOT",    "DUMYSLOT",    8},
    {false,     "DUMYSLOT",    "DUMYSLOT",    8},
    {false,     "DUMYSLOT",    "DUMYSLOT",    8},
    {false,     "DUMYSLOT",    "DUMYSLOT",    8},
    {false,     "DUMYSLOT",    "DUMYSLOT",    8},
    {false,     "DUMYSLOT",    "DUMYSLOT",    8},
    {false,     "DUMYSLOT",    "DUMYSLOT",    8},
    {false,     "DUMYSLOT",    "DUMYSLOT",    8},

    {   -1,             "",            "",    0},
};
TL;DR: ERZMASH is missing from the code.
If you didn't add an animated lump to your wad, then I guess the problem is with srb2.
Yeah, there's no ANIMATED lump in my WAD. :P
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top