Jump to content

[help] MM CFG Model


Xyphos

Recommended Posts

update: it's still doing this in Nuclear mode, after the oxidizer is gone.

ntBBcN9.png

 


// Special Thanks to: Mecripp

+PART[nuclearEngine]
{
  @name = LVBNTR
  @author = Xyphos 
  @node_stack_top = 0.0, 1.40383, 0.0, 0.0, 1.0, 0.0
  @node_stack_bottom = 0.0, -1.731957, 0.0, 0.0, -1.0, 0.0
  !fx_exhaustFlame_blue = DELETE
  !fx_exhaustLight_blue = DELETE
  !fx_smokeTrail_light = DELETE
  !sound_vent_medium = DELETE
  !sound_rocket_hard = DELETE
  !sound_vent_soft = DELETE
  !sound_explosion_low = DELETE
  @mass = 4.5
  @maxTemp = 2600 
  @entryCost = 50000
  @cost = 16000 
  @title = LV-BNTR
  @manufacturer = Xyphos Aerospace Industries
  @description = After smuggling research documents out of a science lab in a lunch pail, Xyphos Aerospace Industries was able to re-create a Bi-operational Nuclear Thermal Rocket engine. It works just like it's LV-N cousin, but includes an oxidizer-injected afterburner for augmented thrust in atmospheric conditions. It also utilizes it's nuclear core to provide electricity. WARNING: This engine has been banned from use due to environmental hazard.
  
  !MODULE[ModuleEngines] {}
  !MODULE[ModuleAlternator] {}

	EFFECTS
	{
		running_closed // Ox Augmented
		{
			AUDIO
			{
				channel = Ship
				clip = sound_rocket_hard
				volume = 0.0 0.0
				volume = 1.0 1.0
				pitch = 0.0 0.0
				pitch = 1.0 1.0
				loop = true
			}
			PREFAB_PARTICLE
			{
				prefabName = fx_smokeTrail_light
				transformName = thrustTransform
				emission = 0.0 0.0
				speed = 0.0 0.25
				speed = 1.0 1.0
				localOffset = 0, 0, 2
			}
			MODEL_MULTI_PARTICLE
			{
				modelName = Squad/FX/hydroLOXFlame
				transformName = thrustTransform
				emission = 0.0 0.0
				emission = 0.05 0.0
				emission = 0.075 0.25
				emission = 1.0 1.25
				speed = 0.0 0.5
				speed = 1.0 1.2
				localPosition = 0, 0, 1.6
				
			}
		}
		power_open // LF Only
		{
			AUDIO
			{
				channel = Ship
				clip = sound_rocket_hard
				volume = 0.0 0.0
				volume = 0.05 0.0
				volume = 1.0 1.0
				pitch = 0.0 0.2
				pitch = 1.0 1.0
				loop = true
			}
			MODEL_MULTI_PARTICLE
			{
				modelName = Squad/FX/exhaustFlames_blue
				transformName = thrustTransform
				emission = 0.0 0.0
				emission = 0.05 0.0
				emission = 0.075 0.25
				emission = 1.0 1.25
				speed = 0.0 0.5
				speed = 1.0 1.2
				localPosition = 0, 0, 1.6
			}
		}
		running_open
		{
			AUDIO
			{
				channel = Ship
				clip = sound_rocket_hard
				volume = 0.0 0.0
				volume = 0.05 0.6
				volume = 1.0 1.0
				pitch = 0.0 0.7
				pitch = 1.0 1.4
				loop = true
			}
			PREFAB_PARTICLE
			{
				prefabName = fx_smokeTrail_aeroSpike
				transformName = thrustTransform
				emission = 0.0 0.0
				emission = 0.05 0.0
				emission = 0.075 0.25
				emission = 1.0 1.25
				speed = 0.0 0.25
				speed = 1.0 1.0
				localPosition = 0, 0, 2
			}
		}
		engage
		{
			AUDIO
			{
				channel = Ship
				clip = sound_vent_soft
				volume = 1.0
				pitch = 2.0
				loop = false
			}
		}
		flameout
		{
			PREFAB_PARTICLE
			{
				prefabName = fx_exhaustSparks_flameout_2
				transformName = thrustTransform
				oneShot = true
				localPosition = 0, 0, 1.6
			}
			AUDIO
			{
				channel = Ship
				clip = sound_explosion_low
				volume = 1.0
				pitch = 2.0
				loop = false
			}
		}
	}
	
	MODULE
	{
		name = MultiModeEngine
		primaryEngineID = OxAugmented
		primaryEngineModeDisplayName = Oxidizer Augmented
		secondaryEngineID = LfOnly
		secondaryEngineModeDisplayName = Nuclear Only
	}
	MODULE
	{
		name = ModuleEnginesFX
		engineID = LfOnly
		powerEffectName = power_open
		thrustVectorTransformName = thrustTransform
		exhaustDamage = True
		ignitionThreshold = 0.1
		minThrust = 0
		maxThrust = 60
		heatProduction = 250
		//fxOffset = 0, 0, 1.6
		EngineType = Nuclear
		exhaustDamageDistanceOffset = 1.86
		PROPELLANT
		{
			name = LiquidFuel
			resourceFlowMode = STAGE_STACK_FLOW_BALANCE
			ratio = 0.9
			DrawGauge = True
		}
		atmosphereCurve
		{
			key = 0 800
			key = 1 185
			key = 2 0.001
		}
	}
	MODULE
	{
		name = ModuleEnginesFX
		engineID = OxAugmented
		runningEffectName = running_closed
		thrustVectorTransformName = thrustTransform
		exhaustDamage = True
		ignitionThreshold = 0.1
		minThrust = 0
		maxThrust = 180
		heatProduction = 475 // afterburner runs very hot!
		fxOffset = 0, 0, 1.6
		localOffset = 0, 0, 1.6
		EngineType = LiquidFuel
		exhaustDamageDistanceOffset = 1.86
		PROPELLANT
		{
			name = LiquidFuel
			resourceFlowMode = STAGE_STACK_FLOW_BALANCE
			ratio = 0.151 // Fuel flow remains constant in afterburner mode, it's just the oxidizer helping it to burn with more thrust.
			DrawGauge = True
		}
		PROPELLANT
		{
			name = Oxidizer
			resourceFlowMode = STAGE_STACK_FLOW_BALANCE
			ratio = 1.1
			DrawGauge = True
		}
		atmosphereCurve
		{
			key = 0 290
			key = 1 265
			key = 9 0.001
		}
	}
	MODULE
	{
		name = ModuleGenerator
		isAlwaysActive = true
		OUTPUT_RESOURCE
		{
			name = ElectricCharge
			rate = 1.2
		}
	}

	@MODULE[ModuleSurfaceFX]
	{
		@thrustProviderModuleIndex = 1
		@fxMax = 0.5
		@maxDistance = 20
		@falloff = 2
		@thrustTransformName = thrustTransform
	}
	MODULE
	{
		name = ModuleSurfaceFX
		thrustProviderModuleIndex = 2
		fxMax = 0.6
		maxDistance = 30
		falloff = 1.6
		thrustTransformName = thrustTransform
	}
}

 

Link to comment
Share on other sites

15 hours ago, Xyphos said:

update: it's still doing this in Nuclear mode, after the oxidizer is gone.

Don't worry too much,just tune it to the right place:

localPosition = -2.25,-1.21,-3.25

EDIT:There were some irregularities in cfg also the smoke didn't work so i took my liberty to edit it.

Spoiler

// Special Thanks to: Mecripp

+PART[nuclearEngine]
{
  @name = LVBNTR
  @author = Xyphos
  @node_stack_top = 0.0, 1.40383, 0.0, 0.0, 1.0, 0.0
  @node_stack_bottom = 0.0, -1.731957, 0.0, 0.0, -1.0, 0.0
  !fx_exhaustFlame_blue = DELETE
  !fx_exhaustLight_blue = DELETE
  !fx_smokeTrail_light = DELETE
  !sound_vent_medium = DELETE
  !sound_rocket_hard = DELETE
  !sound_vent_soft = DELETE
  !sound_explosion_low = DELETE
  @mass = 4.5
  @maxTemp = 2600
  @entryCost = 50000
  @cost = 16000
  @title = LV-BNTR
  @manufacturer = Xyphos Aerospace Industries
  @description = After smuggling research documents out of a science lab in a lunch pail, Xyphos Aerospace Industries was able to re-create a Bi-operational Nuclear Thermal Rocket engine. It works just like it's LV-N cousin, but includes an oxidizer-injected afterburner for augmented thrust in atmospheric conditions. It also utilizes it's nuclear core to provide electricity. WARNING: This engine has been banned from use due to environmental hazard.
 
  !MODULE[ModuleEngines] {}
  !MODULE[ModuleAlternator] {}

 EFFECTS
 {
  running_closed // Ox Augmented
  {
   AUDIO
   {
    channel = Ship
    clip = sound_rocket_hard
    volume = 0.0 0.0
    volume = 1.0 1.0
    pitch = 0.0 0.0
    pitch = 1.0 1.0
    loop = true
   }
   PREFAB_PARTICLE
   {
    prefabName = fx_smokeTrail_light
    transformName = thrustTransform
    emission = 0.0 0.0
    emission = 0.05 0.0
    emission = 0.075 0.25
    emission = 1.0 1.25
    speed = 0.0 0.25
    speed = 1.0 1.0
    localOffset = 0,0,5
    localRotation = 1,0,0,-90
   }
   MODEL_MULTI_PARTICLE
   {
    modelName = Squad/FX/hydroLOXFlame
    transformName = thrustTransform
    emission = 0.0 0.0
    emission = 0.05 0.0
    emission = 0.075 0.25
    emission = 1.0 1.25
    speed = 0.0 0.5
    speed = 1.0 1.2
    localPosition = 0, 0, 1.6
    
   }
  }
  power_open // LF Only
  {
   AUDIO
   {
    channel = Ship
    clip = sound_rocket_hard
    volume = 0.0 0.0
    volume = 0.05 0.0
    volume = 1.0 1.0
    pitch = 0.0 0.2
    pitch = 1.0 1.0
    loop = true
   }
   MODEL_MULTI_PARTICLE
   {
    modelName = Squad/FX/exhaustFlames_blue
    transformName = thrustTransform
    emission = 0.0 0.0
    emission = 0.05 0.0
    emission = 0.075 0.25
    emission = 1.0 1.25
    speed = 0.0 0.5
    speed = 1.0 1.2
    localPosition = -2.25,-1.21,-3.25
   }

   PREFAB_PARTICLE
   {
    prefabName = fx_smokeTrail_aeroSpike
    transformName = thrustTransform
    emission = 0.0 0.0
    emission = 0.05 0.0
    emission = 0.075 0.25
    emission = 1.0 1.25
    speed = 0.0 0.25
    speed = 1.0 1.0
    localOffset = 0,0,2
   }
  }
  engage
  {
   AUDIO
   {
    channel = Ship
    clip = sound_vent_soft
    volume = 1.0
    pitch = 2.0
    loop = false
   }
  }
  flameout
  {
   PREFAB_PARTICLE
   {
    prefabName = fx_exhaustSparks_flameout_2
    transformName = thrustTransform
    oneShot = true
    localOffset = 0, 0, 1.6
   }
   AUDIO
   {
    channel = Ship
    clip = sound_explosion_low
    volume = 1.0
    pitch = 2.0
    loop = false
   }
  }
 }
 
 MODULE
 {
  name = MultiModeEngine
  primaryEngineID = OxAugmented
  primaryEngineModeDisplayName = Oxidizer Augmented
  secondaryEngineID = LfOnly
  secondaryEngineModeDisplayName = Nuclear Only
 }
 MODULE
 {
  name = ModuleEnginesFX
  engineID = LfOnly
  powerEffectName = power_open
  thrustVectorTransformName = thrustTransform
  exhaustDamage = True
  ignitionThreshold = 0.1
  minThrust = 0
  maxThrust = 60
  heatProduction = 250
  EngineType = Nuclear
  exhaustDamageDistanceOffset = 1.86
  PROPELLANT
  {
   name = LiquidFuel
   resourceFlowMode = STAGE_STACK_FLOW_BALANCE
   ratio = 0.9
   DrawGauge = True
  }
  atmosphereCurve
  {
   key = 0 800
   key = 1 185
   key = 2 0.001
  }
 }
 MODULE
 {
  name = ModuleEnginesFX
  engineID = OxAugmented
  runningEffectName = running_closed
  thrustVectorTransformName = thrustTransform
  exhaustDamage = True
  ignitionThreshold = 0.1
  minThrust = 0
  maxThrust = 180
  heatProduction = 475 // afterburner runs very hot!
  EngineType = LiquidFuel
  exhaustDamageDistanceOffset = 1.86
  PROPELLANT
  {
   name = LiquidFuel
   resourceFlowMode = STAGE_STACK_FLOW_BALANCE
   ratio = 0.151 // Fuel flow remains constant in afterburner mode, it's just the oxidizer helping it to burn with more thrust.
   DrawGauge = True
  }
  PROPELLANT
  {
   name = Oxidizer
   resourceFlowMode = STAGE_STACK_FLOW_BALANCE
   ratio = 1.1
   DrawGauge = True
  }
  atmosphereCurve
  {
   key = 0 290
   key = 1 265
   key = 9 0.001
  }
 }
 MODULE
 {
  name = ModuleGenerator
  isAlwaysActive = true
  OUTPUT_RESOURCE
  {
   name = ElectricCharge
   rate = 1.2
  }
 }

 @MODULE[ModuleSurfaceFX]
 {
  @thrustProviderModuleIndex = 1
  @fxMax = 0.5
  @maxDistance = 20
  @falloff = 2
  @thrustTransformName = thrustTransform
 }
 MODULE
 {

  name = ModuleSurfaceFX
  thrustProviderModuleIndex = 2
  fxMax = 0.6
  maxDistance = 30
  falloff = 1.6
  thrustTransformName = thrustTransform
 }
}

 

Edited by sebi.zzr
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...