Jump to content
Sign in to follow this  
x3kj

where are effects defined?

Recommended Posts

Can somebody tell me where i can find the definition of bullet impact/ explosion effects?

e.g.

class HitEffects	{hitMetal="ImpactMetal";};

where can i find the definition of "ImpactMetal"?

Share this post


Link to post
Share on other sites

It's its own class. I found it in the allInOne config, so I don't know which PBO has it, but here is the definition for you.

class ImpactMetal
{
class SparksLight
{
	simulation = "light";
	type = "SparksLight";
	position[] = {0,0,0};
	intensity = 0.001;
	interval = 1;
	lifeTime = 1;
};
class ImpactSparks0
{
	simulation = "particles";
	type = "ImpactSparks0";
	position[] = {0,0,0};
	intensity = 1;
	interval = 1;
	lifeTime = 1;
};
class ImpactSparks2
{
	simulation = "particles";
	type = "ImpactSparks2";
	position[] = {0,0,0};
	qualityLevel = 2;
	intensity = 1;
	interval = 1;
	lifeTime = 1;
};
class ImpactSparks2Med
{
	simulation = "particles";
	type = "ImpactSparksMed2";
	position[] = {0,0,0};
	qualityLevel = 1;
	intensity = 1;
	interval = 1;
	lifeTime = 1;
};
class ImpactSmoke2
{
	simulation = "particles";
	type = "ImpactSmoke2";
	position[] = {0,0,0};
	qualityLevel = 2;
	intensity = 1;
	interval = 1;
	lifeTime = 1;
};
class ImpactSmoke2Med
{
	simulation = "particles";
	type = "ImpactSmokeMed2";
	position[] = {0,0,0};
	qualityLevel = 1;
	intensity = 1;
	interval = 1;
	lifeTime = 1;
};
class ImpactSmoke2Low
{
	simulation = "particles";
	type = "ImpactSmokeLow2";
	position[] = {0,0,0};
	qualityLevel = 0;
	intensity = 1;
	interval = 1;
	lifeTime = 1;
};
};

Abs

Share this post


Link to post
Share on other sites

Hm, thanks. I already assumed it would have a class, i just don't know where to look

"Dear Mr/Mrs ImpactSparks2, please come to the infopoint. Your child is waiting there."

class ImpactSparks2 {type = "ImpactSparks2";};

does it reference itself ? :confused:

Share this post


Link to post
Share on other sites

I don't have arma 3 on this computer, but if you go to the ingame configviewer (on the toolbar in the scenario editor), you should find the individual effects in CfgCloudets.

Then the individual effects like "ImpactSparks2" are combined into complex effects like "ImpactMetal".

Share this post


Link to post
Share on other sites

Is there a way to use hitMetal particle effects in my helicopter's config ? I really dont like a dust effect instead of metal particles while getting hit.

Share this post


Link to post
Share on other sites
Hm, thanks. I already assumed it would have a class, i just don't know where to look

"Dear Mr/Mrs ImpactSparks2, please come to the infopoint. Your child is waiting there."

class ImpactSparks2 {type = "ImpactSparks2";};

does it reference itself ? :confused:

Almost all particle effects are defined in addon Data_F. And no, it doesn't reference itself. There is just the same name of class, but the path is different:

  • The path of that ImpactSparks2 main class is configFile >> ImpactMetal >> ImpactSparks2. This class is called in that hitMetal parameter in your first post.
  • The path of that ImpactSparks2 class used in parameter type is configFile >> CfgCloudlets >> ImpactSparks2. This class contains basic definition of the particle effect (for more info see particle documentation).

Is there a way to use hitMetal particle effects in my helicopter's config ? I really dont like a dust effect instead of metal particles while getting hit.

You just need to assign right materials for your model. If you use metal material on your model, it should use effect for metal.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×