Uggardian retexturing
Posted: Wed Apr 06, 2016 7:35 pm
I'm trying to create a new monster which is exactly like an Uggardian, but with a different texture, and encountered a few problems.
1) How do I change the texture for the armor? The script for Uggardians in the asset pack has a defined material named 'uggardian' with all the required textures linked, but I don't see where its used in the script itself.
2) I can't define a new material and have the new monster use it without the editor crashing upon pressing the 'play' button. No error, just a CTD.
What I did is redefine 'uggardian_fire' to use a different diffuse_map, but this also effects Uggardians.
Here's what I have for the material:
Renaming it and having the monsters 'emitFromMaterial' use the new name CTDs. I assume this has to do with 'class = "UggardianFlames"', but I haven't found any traces of that in the asset pack.
1) How do I change the texture for the armor? The script for Uggardians in the asset pack has a defined material named 'uggardian' with all the required textures linked, but I don't see where its used in the script itself.
2) I can't define a new material and have the new monster use it without the editor crashing upon pressing the 'play' button. No error, just a CTD.
What I did is redefine 'uggardian_fire' to use a different diffuse_map, but this also effects Uggardians.
Here's what I have for the material:
Code: Select all
defineMaterial{
name = "uggardian_fire",
diffuseMap = "mod_assets/textures/monsters/SF_fire_dif.tga",
doubleSided = true,
lighting = false,
alphaTest = true,
blendMode = "Opaque",
textureAddressMode = "Wrap",
glossiness = 20,
depthBias = 0,
ambientOcclusion = false,
}