Legend of Grimrock

File information

Last updated

Original upload

Created by

Neikun

Uploaded by

Neikun

Virus scan

Safe to use

6 comments

  1. Neikun
    Neikun
    • premium
    • 4 kudos
    Thanks again, Karna. I always like to see my work used, so I am looking forward to your mod! =D
  2. misskarna
    misskarna
    • member
    • 2 kudos
    your welcome Neikun, and thank you for this quick fix, I will do this now so I can get him working with cool look as I want to debut him soon!

    It works now btw perfectly looks cool when it gets hit!

    I have used a few of your other things and will give you full credit when I finally finish this new dungeon I am working on!
  3. Neikun
    Neikun
    • premium
    • 4 kudos
    Hey Karma. Thank you for the bug report.
    I actually don't get this error.
    But after checking the released file, you are absolutely right.
    To fix it without needing to install over again, select the entire defineParticleSystem[ hit_dirt,
    and replace it with:
    defineParticleSystem{
    name = "hit_dirt",
    emitters = {
    {
    spawnBurst = true,
    maxParticles = 200,
    sprayAngle = {0,40},
    velocity = {1,4.5},
    objectSpace = false,
    texture = "mod_assets/textures/urgardian_textures/dirt_particle.tga",
    frameRate = 40,
    frameSize = 32,
    frameCount = 40,
    lifetime = {0.7,1.5},
    colorAnimation = false,
    color0 = {2.0, 2.0, 2.0},
    color1 = {1.0, 1.0, 1.0},
    color2 = {1.0, 0.5, 0.25},
    color3 = {1.0, 0.3, 0.1},
    opacity = 1,
    fadeIn = 0.1,
    fadeOut = 0.3,
    size = {0.05, 0.17},
    gravity = {0,-10,0},
    airResistance = 0.1,
    rotationSpeed = 2,
    blendMode = "Additive",
    clampToGroundPlane = true,
    },

    {
    spawnBurst = true,
    maxParticles = 30,
    sprayAngle = {0,360},
    velocity = {1,4},
    objectSpace = false,
    texture = "mod_assets/textures/urgardian_textures/dirt_particle2.tga",
    frameRate = 30,
    frameSize = 32,
    frameCount = 40,
    lifetime = {0.3,0.5},
    color0 = {1, 1, 1},
    opacity = 1,
    fadeIn = 0.1,
    fadeOut = 0.3,
    size = {0.2, 0.4},
    gravity = {0,0,0},
    airResistance = 10,
    rotationSpeed = 2,
    blendMode = "Additive",
    clampToGroundPlane = true,
    },

    -- glow
    {
    spawnBurst = true,
    emissionRate = 1,
    emissionTime = 0,
    maxParticles = 1,
    boxMin = {0,0,-0.1},
    boxMax = {0,0,-0.1},
    sprayAngle = {0,30},
    velocity = {0,0},
    texture = "assets/textures/particles/glow.tga",
    lifetime = {0.5, 0.5},
    colorAnimation = false,
    color0 = {1.5, 1.5, 1.5},
    opacity = 0.6,
    fadeIn = 0.01,
    fadeOut = 0.5,
    size = {1.2, 1.2},
    gravity = {0,0,0},
    airResistance = 1,
    rotationSpeed = 2,
    blendMode = "Additive",
    }
    }
    }
  4. misskarna
    misskarna
    • member
    • 2 kudos
    That looks great, definitely going to use it my new dungeon I am making now, Thank you Neikun your designs are always great!

    I have an error on the particle file, not sure if its me or not. it says lua 147 Delving more into it is definitely is the particle system that is wrong as monster itself works fine when I take out particle link in LUA file.

    I am new to lua scripting but slowly getting the hang of it as it is simular to PHP/HTML must close your brackets etc. But this is far beyond my lua knowledge and cannot find where the error is.

    Kind regards
    Karna
  5. Neikun
    Neikun
    • premium
    • 4 kudos
    Know what I just realized? I didn't make a custom particle system for when it gets hit.
    Eep D:

    This is fixed now.
  6. Ciccigomma
    Ciccigomma
    • premium
    • 40 kudos
    Working great Neikun!