Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FrostBallSpikes =
- {
- EffectAdd =
- {
- spawnRate = 1.2,
- velocityRand = 0.1,
- color = {0.2, 0.2, 0.7, 1},
- scale = {1, 3, 0},
- spawnRadius = lerp(1, 1, 2, 0.2),
- decay = lerp(2, 3, 4, 0.5),
- textureIndex = 2
- },
- }
- FrostBallFog =
- {
- EffectAdd =
- {
- spawnRate = 0.5,
- velocityRand = 0.01,
- color = {0.1, 0.3, 0.4, 1},
- scale = {8, 7, 1},
- spawnRadius = lerp(1, 1, 2, 0.2),
- decay = lerp(2, 3, 4, 0.5),
- textureIndex = 0
- },
- }
- FrostBallTone =
- {
- EffectAdd =
- {
- spawnRate = 0.1,
- velocityRand = 0.0,
- color = {0.25, 0.5, 1, 1},
- scale = {0, 5, 12},
- spawnRadius = lerp(0, 0, 0, 0.2),
- decay = lerp(8, 5, 1, 0.5),
- textureIndex = 1,
- sourceForce = 0.9,
- facing = 1
- },
- }
- FrostBall =
- {
- cast = "Projectile",
- cooldown = 20,
- delay = 10,
- Network =
- {
- create = true,
- collision = true,
- destroy = true
- },
- Light =
- {
- color = Color(0.1, 0.3, 0.4, 1),
- scale = 6
- },
- Affect =
- {
- --damageOnImpact = 30
- },
- --Render =
- --{
- -- mesh = "Mesh@IdentitySphere",
- -- texture = "textures/blue.png",
- -- visible = true,
- -- scale = 0.5
- --},
- Physics =
- {
- radius = 2.5,
- moveSpeed = 0.2,
- mass = 10,
- friction = 0,
- frictionDamage = 0.75,
- deflect = 0,
- solid = true,
- reactByParent = false,
- reactOnParent = false,
- affectOnParent = false,
- reactOnChilds = false,
- canModifyParent = true
- },
- Timer =
- {
- {0, 200}
- },
- Script =
- {
- onCreated = function()
- Object.mountToSelf("FrostBallFog");
- Object.mountToSelf("FrostBallSpikes");
- Object.mountToSelf("FrostBallTone");
- end,
- onPostCreated = function()
- end,
- onDestroy = function()
- end,
- onTimer = function(slot)
- if (slot == 0) then
- Object.destroy(Object.SELF)
- end
- end,
- onDestinationReached = function(x, y, z)
- end,
- onTriggerEnter = function(name, solid)
- if (solid) then
- Object.postToSelf("RemoveOwnership")
- end
- end,
- onTriggerLeave = function()
- end
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement