Jump to content

Recommended Posts

Posted

Does anyone knows how to play engine sound with EFM?

 

I suppose this is somewhere here

 

double ed_fm_get_param(unsigned index)
{
if (index <= ED_FM_END_ENGINE_BLOCK)
{
	switch (index)
	{
		case ED_FM_ENGINE_1_RPM:	
			[b]return 0;[/b]
		case ED_FM_ENGINE_1_RELATED_RPM:
			return 0;
		case ED_FM_ENGINE_1_THRUST:		
			return 0;
		case ED_FM_ENGINE_1_RELATED_THRUST:	
			return 0;
		case ED_FM_ENGINE_2_RPM:
			return 0;
		case ED_FM_ENGINE_2_RELATED_RPM:
			return 0;
		case ED_FM_ENGINE_2_THRUST:
			return 0;
		case ED_FM_ENGINE_2_RELATED_THRUST:
			return 0;//////////////
	}
}

 

I tried to return 0..1 range or 0..maxRPM,

but engine sound does not play.

  • 2 weeks later...
Posted
Does anyone knows how to play engine sound with EFM?

 

I suppose this is somewhere here

 

double ed_fm_get_param(unsigned index)
{
if (index <= ED_FM_END_ENGINE_BLOCK)
{
	switch (index)
	{
		case ED_FM_ENGINE_1_RPM:	
			[b]return 0;[/b]
		case ED_FM_ENGINE_1_RELATED_RPM:
			return 0;
		case ED_FM_ENGINE_1_THRUST:		
			return 0;
		case ED_FM_ENGINE_1_RELATED_THRUST:	
			return 0;
		case ED_FM_ENGINE_2_RPM:
			return 0;
		case ED_FM_ENGINE_2_RELATED_RPM:
			return 0;
		case ED_FM_ENGINE_2_THRUST:
			return 0;
		case ED_FM_ENGINE_2_RELATED_THRUST:
			return 0;//////////////
	}
}

 

I tried to return 0..1 range or 0..maxRPM,

but engine sound does not play.

 

I have found that the only important one is "case ED_FM_ENGINE_1_CORE_RELATED_RPM:", that will give you sound, heatblur, and rpm in F2 view. It doesn't seem like any of the others are important.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...