I don't get it. Doesn't mtl_model affect ALL models?
This line of code is taken straight out of the manual yet it doesn't work.
#include <mtlFX.c>
...
action toon_warrior()
{
my.skill41 = floatv(50); // Shadow
my.skill42 = floatv(50); // Edgewidth
my.skill43 = floatv(50); // Threshold
my.skill44 = floatv(50); // Smooth
my.material = mtl_toon;
...
}
After I updated my gamestudio to version 8.10.3, I had to comment out all such lines because while the game still runs, the moment it tries to create any entity that has any material assignment within its code, I get an Error E1520 that says "Structs inconsistent - MATERIAL".