Multiple particle effects on a single monster?

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
Kasarul
Posts: 9
Joined: Tue Oct 09, 2012 1:54 am

Multiple particle effects on a single monster?

Post by Kasarul »

Hello!

I am trying to add multiple particle effects and lights to a single monster and I'm not having much luck.
I have tried adding multiple lines of effects but the game just recognizes the first effect and ignores the others even if they are placed at different points on the model.

For example:

particleSystem = "fire_head",
particleSystemNode = "head",
particleSystem = "fire_head",
particleSystemNode = "ball",
particleSystem = "fire_head",
particleSystemNode = "l_ball",

will only play the 'fire_head' effect on the head node.

Thanks in advance! :)
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Multiple particle effects on a single monster?

Post by Neikun »

This is a question that has been floating around the forums for awhile now.
As far as we can tell, we can only have one.
However, I'm fairly certain you can redefine the size of a particle system.
-It feels like it's been forever since I made my water slime with custom particle effect.
SpoilerShow
Image
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
Kasarul
Posts: 9
Joined: Tue Oct 09, 2012 1:54 am

Re: Multiple particle effects on a single monster?

Post by Kasarul »

I was afraid of that.
Thanks for the info!
User avatar
HaunterV
Posts: 676
Joined: Mon Apr 16, 2012 9:54 pm
Location: Barrie, Ontario, Canada

Re: Multiple particle effects on a single monster?

Post by HaunterV »

yeah i asked earlier this month and through trial and error it seems only one is all you can have atm... thoguh the secret to the uggardian flames might be the key we seek.
Grimrock Community 'FrankenDungeon 2012. Submit your entry now!: http://tinyurl.com/cnupr7h
SUBMIT YOUR ASSETS! Community Asset Pack (C.A.P.): http://tinyurl.com/bqvykrp
Behold! The HeroQuest Revival!: http://tinyurl.com/cu52ksc
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Multiple particle effects on a single monster?

Post by Neikun »

I think I've got it.
You define a new particle system with more than one particle in it.
Lets say you wanted a creature with two firey hands, you would make two identical emitters with the only change being the boxMin and boxMax

It's bed time for me now, so I'll likely test this tomorrow.
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Multiple particle effects on a single monster?

Post by Neikun »

It takes a loooot of tweaking to get things to look right.
One draw back to this method is that it will be specfic to each model.
Another is the animation will only move with the node you put it on.
For example, using the capsule as a node for the ogre and doing two flaming hands will most likely look bad when the ogre smashes you with his hammer. (just a prediction)

EDIT: The problem presented itself in the right hand, too.
SpoilerShow
Image
(his hand is supposed to be flaming)
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
HaunterV
Posts: 676
Joined: Mon Apr 16, 2012 9:54 pm
Location: Barrie, Ontario, Canada

Re: Multiple particle effects on a single monster?

Post by HaunterV »

Neikun wrote:It takes a loooot of tweaking to get things to look right.
One draw back to this method is that it will be specfic to each model.
Another is the animation will only move with the node you put it on.
For example, using the capsule as a node for the ogre and doing two flaming hands will most likely look bad when the ogre smashes you with his hammer. (just a prediction)

EDIT: The problem presented itself in the right hand, too.
SpoilerShow
Image
(his hand is supposed to be flaming)

What the hell am i seeing?

is he being attacked by an electricity spell? or did you get shock and flame effects on him at once? if so, step in the right direction.
Grimrock Community 'FrankenDungeon 2012. Submit your entry now!: http://tinyurl.com/cnupr7h
SUBMIT YOUR ASSETS! Community Asset Pack (C.A.P.): http://tinyurl.com/bqvykrp
Behold! The HeroQuest Revival!: http://tinyurl.com/cu52ksc
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Multiple particle effects on a single monster?

Post by Neikun »

HaunterV wrote:
Neikun wrote:It takes a loooot of tweaking to get things to look right.
One draw back to this method is that it will be specfic to each model.
Another is the animation will only move with the node you put it on.
For example, using the capsule as a node for the ogre and doing two flaming hands will most likely look bad when the ogre smashes you with his hammer. (just a prediction)

EDIT: The problem presented itself in the right hand, too.
SpoilerShow
Image
(his hand is supposed to be flaming)

What the hell am i seeing?

is he being attacked by an electricity spell? or did you get shock and flame effects on him at once? if so, step in the right direction.
He's swinging the hammer at you.
In this particle effect, he has an electric aura all about him. I positioned the flame particle on his hand, but since it's still attached to the node "capsule" it didn't move with the hand.
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
HaunterV
Posts: 676
Joined: Mon Apr 16, 2012 9:54 pm
Location: Barrie, Ontario, Canada

Re: Multiple particle effects on a single monster?

Post by HaunterV »

Neikun wrote:
HaunterV wrote:
Neikun wrote:It takes a loooot of tweaking to get things to look right.
One draw back to this method is that it will be specfic to each model.
Another is the animation will only move with the node you put it on.
For example, using the capsule as a node for the ogre and doing two flaming hands will most likely look bad when the ogre smashes you with his hammer. (just a prediction)

EDIT: The problem presented itself in the right hand, too.
SpoilerShow
Image
(his hand is supposed to be flaming)

What the hell am i seeing?

is he being attacked by an electricity spell? or did you get shock and flame effects on him at once? if so, step in the right direction.
He's swinging the hammer at you.
In this particle effect, he has an electric aura all about him. I positioned the flame particle on his hand, but since it's still attached to the node "capsule" it didn't move with the hand.

Well in any case it's a start.
Grimrock Community 'FrankenDungeon 2012. Submit your entry now!: http://tinyurl.com/cnupr7h
SUBMIT YOUR ASSETS! Community Asset Pack (C.A.P.): http://tinyurl.com/bqvykrp
Behold! The HeroQuest Revival!: http://tinyurl.com/cu52ksc
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Multiple particle effects on a single monster?

Post by Neikun »

HaunterV wrote:

Well in any case it's a start.
Every particle effect can hold multiple graphics.
Here is my arcane ogre's particle effect:
It has lightning, smoke and teleporter stars.

Code: Select all

defineParticleSystem{
	name = "lightning_bolt_hit_loop",
	emitters = {
		-- sparks
		{
			emissionRate = 60,
			emissionTime = 0,
			maxParticles = 50,
			boxMin = {-1.0, -1.0,-1.0},
			boxMax = { 1.0, 1.0, 1.0},
			sprayAngle = {0,360},
			velocity = {0,0},
			objectSpace = false,
			texture = "assets/textures/particles/lightning01.tga",
			frameRate = 4,
			frameSize = 256,
			frameCount = 4,
			lifetime = {0.2,0.4},
			color0 = {2.5,2.5,2.5},
			opacity = 1,
			fadeIn = 0.1,
			fadeOut = 0.3,
			size = {0.1, 1.5},
			gravity = {0,0,0},
			airResistance = 1,
			rotationSpeed = 0,
			blendMode = "Additive",
		},

		-- fog
		{	
			emissionRate = 1,
			emissionTime = 0,
			spawnBurst = false,
			maxParticles = 10,
			boxMin = {-1.0, -0.8,-1.5},
			boxMax = { 1.0, 0.5, 1.3},
			sprayAngle = {90,270},
			velocity = {0,0},
			objectSpace = false,
			texture = "assets/textures/particles/smoke_01.tga",
			lifetime = {2,3},
			color0 = {0.25, 0.5, 1},
			opacity = 0.7,
			fadeIn = 1,
			fadeOut = 3,
			size = {2, 2.2},
			gravity = {0,0,0},
			airResistance = 1,
			rotationSpeed = 2,
			blendMode = "Additive",
		},

		-- small stars
		{
			emissionRate = 300,
			emissionTime = 0,
			maxParticles = 1000,
			boxMin = {-1.0,-1.5,-1.0},
			boxMax = { 1.0, 1.0, 1.0},
			sprayAngle = {0,360},
			velocity = {0.5,1.0},
			objectSpace = false,
			texture = "assets/textures/particles/teleporter.tga",
			lifetime = {1,1},
			color0 = {1.6,1.8,1.8},
			opacity = 1,
			fadeIn = 0.1,
			fadeOut = 0.1,
			size = {0.05, 0.1},
			gravity = {0,-0.2,0},
			airResistance = 0.1,
			rotationSpeed = 2,
			blendMode = "Additive",
		}

	}
}	
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
Post Reply