Re: [WIP] Grimrock Model Tookit
Posted: Thu Oct 25, 2012 10:03 pm
Can we get a screenshot?
Sure: https://docs.google.com/file/d/0B7cR7sc ... RYczQ/editNeikun wrote:Can we get a screenshot?
Code: Select all
defineObject{
name = "spell_projectile",
class = "Item",
uiName = "Spell projectile",
model = "mod_assets/models/spell_projectile.fbx",
gfxIndex = 109,
attackPower = 1,
impactSound = "fireball_hit",
stackable = false,
sharpProjectile = false,
projectileRotationY = 90,
weight = 0,
}
cloneObject{
name = "magic_missile",
baseObject = "spell_projectile",
uiName = "Magic missile",
--ammoType = "arrow",
gfxIndex = 109,
attackPower = 1,
impactSound = "fireball_hit",
particleEffect = "magic_missile",
stackable = false,
sharpProjectile = false,
projectileRotationY = 0,
weight = 0,
}
defineParticleSystem{
name = "magic_missile",
emitters = {
-- flames
{
emissionRate = 50,
emissionTime = 0,
maxParticles = 50,
boxMin = {-0.0, -0.0, 0.0},
boxMax = { 0.0, 0.0, -0.0},
sprayAngle = {0,360},
velocity = {0.3, 0.3},
texture = "assets/textures/particles/torch_flame.tga",
frameRate = 35,
frameSize = 64,
frameCount = 16,
lifetime = {0.8, 0.8},
colorAnimation = true,
color0 = {1, 1, 1},
opacity = 1,
fadeIn = 0.15,
fadeOut = 0.3,
size = {0.125, 0.25},
gravity = {0,0,0},
airResistance = 1,
rotationSpeed = 1,
blendMode = "Additive",
objectSpace = true,
},
-- glow
{
spawnBurst = true,
emissionRate = 1,
emissionTime = 0,
maxParticles = 1,
boxMin = {-0.0, -0.0, 0.0},
boxMax = { 0.0, 0.0, -0.0},
sprayAngle = {0,30},
velocity = {0,0},
texture = "assets/textures/particles/glow.tga",
lifetime = {1000000, 1000000},
colorAnimation = false,
color0 = {1, 1, 1},
opacity = 1,
fadeIn = 0.1,
fadeOut = 0.1,
size = {0.8, 0.8},
gravity = {0,0,0},
airResistance = 1,
rotationSpeed = 2,
blendMode = "Additive",
objectSpace = true,
}
}
}