Skip to content

Commit

Permalink
Fixing modules and transform references so that solar panels and ante…
Browse files Browse the repository at this point in the history
…nnas work properly. New categories as well.
  • Loading branch information
Kerbas-ad-astra committed Oct 29, 2016
1 parent ba02004 commit a3aa459
Show file tree
Hide file tree
Showing 6 changed files with 83 additions and 6 deletions.
2 changes: 1 addition & 1 deletion GameData/HGRCommunityFixes/HGRCommunityFixes.version
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"VERSION":{
"MAJOR":1,
"MINOR":5,
"PATCH":0,
"PATCH":1,
"BUILD":0
},
"KSP_VERSION":{
Expand Down
4 changes: 2 additions & 2 deletions GameData/HGRCommunityFixes/HGR_CommNet.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
-startEventGUIName = Extend Antenna
-endEventGUIName = Retract Antenna
-actionGUIName = Toggle Antenna

pivotName = pCylinder9
showStatus = false
trackToBody = false
isTracking = false
}

@MODULE[ModuleDataTransmitter]
Expand Down
56 changes: 56 additions & 0 deletions GameData/HGRCommunityFixes/HGR_SoyJuice_engines.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,60 @@
}
}

@PART[SoySvcMod]:FIRST
{
EFFECTS
{
running
{
AUDIO
{
channel = Ship
clip = sound_rocket_mini
volume = 0.0 0.0
volume = 1.0 1.0
pitch = 0.0 0.75
pitch = 1.0 0.95
loop = true
}
PREFAB_PARTICLE
{
prefabName = fx_exhaustFlame_yellow_tiny_Z
transformName = thrustTransform
emission = 0.0 0.0
emission = 1.0 1.0
speed = 0.0 0.8
speed = 1.0 1.0
}
}
engage
{
AUDIO
{
channel = Ship
clip = sound_vent_medium
loop = false
}
}
disengage
{
AUDIO
{
channel = Ship
clip = sound_vent_soft
loop = false
}
}
}

@MODULE[ModuleEngines]
{
@name = ModuleEnginesFX
EngineType = LiquidFuel
exhaustDamageDistanceOffset = 0.21
}
}

@PART[SoySvcMod]:NEEDS[BDAnimationModules,!DeployableEngines]
{
-MODULE[ModuleAnimateGeneric]{}
Expand All @@ -80,5 +134,7 @@
name = ModuleDeployableEngine
EngineAnimationName = cover
WaitForAnimation = 0.5
Layer = 1
OneAnimationForAll = true
}
}
4 changes: 3 additions & 1 deletion GameData/HGRCommunityFixes/HGR_solar_curve_removal.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
@MODULE[ModuleDeployableSolarPanel]
{
retractable = false
-powerCurve{ }
-raycastTransformName = Panel
secondaryTransformName = Panel
-powerCurve{ }
}
}
19 changes: 17 additions & 2 deletions GameData/HGRCommunityFixes/HGR_tags_and_tests.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
@PART[HGRG47b]:FIRST
{
@title = HGR FG-47b "Teddy" Liquid Fuel Engine
@category = Engine
tags = propuls rocket lander orbit hgr (teddy

@MODULE[ModuleTestSubject]
Expand Down Expand Up @@ -254,6 +255,7 @@
@PART[FG120]:FIRST
{
@title = HGR FG-120 "Grizzly" Liquid Fuel Engine
@category = Engine
tags = ascent launch main propuls (grizzly rocket hgr

@MODULE[ModuleTestSubject]
Expand Down Expand Up @@ -438,6 +440,7 @@
@PART[HGR_FG90_Engine]:FIRST
{
@title = HGR FG-90 "Sunbear" Liquid Fuel Engine
@category = Engine
tags = sustain propuls rocket hgr (sunbear

@MODULE[ModuleTestSubject]
Expand Down Expand Up @@ -623,18 +626,20 @@

@PART[HGRRadial]:FIRST
{
@category = FuelTank
tags = hgr fueltank ?lfo liquid oxidizer propellant mono monopropellant rocket radial
}

@PART[SoySvcMod]:FIRST
{
@category = FuelTank
tags = hgr edamame progress shenzhou soy service fueltank ?lfo liquid oxidizer propellant mono monopropellant rocket cmg command control fly gyro moment react stab steer torque
}

@PART[RadishSvcMod]:FIRST
{
@bulkheadProfiles ^= :^:size1,:

@category = FuelTank
tags = hgr radish gemini mercury service fueltank ?lfo liquid oxidizer propellant mono monopropellant rocket cmg command control fly gyro moment react stab steer torque

MODULE
Expand Down Expand Up @@ -738,28 +743,33 @@

@PART[HGR_RCS_Tank]:FIRST
{
@category = FuelTank
tags = hgr fueltank propellant mono monopropellant
}

@PART[HGR_RadialBooster,HGR_NoseCone_Angled,HGR_NoseCone]:FIRST
{
@category = FuelTank
tags = hgr fueltank ?lfo liquid oxidizer propellant rocket booster cone nose
}

@PART[HGR_1875_125_Tank,HGR_1875_250_Tank]:FIRST
{
@category = FuelTank
tags = hgr fueltank ?lfo liquid oxidizer propellant rocket cone adapt )cap nose plate
}

@PART[HGR_Huge_Tank,HGR_Large_Tank,HGR_Normal_Tank,HGR_Small_Tank]:FIRST
{
@category = FuelTank
tags = hgr fueltank ?lfo liquid oxidizer propellant rocket
}

// **** Structural ****

@PART[HGR_StackDecoupler]:FIRST
{
@category = Coupling
tags = break decouple explo hgr separat split

@MODULE[ModuleTestSubject]
Expand Down Expand Up @@ -860,6 +870,7 @@

@PART[SoyDecoupler]:FIRST
{
@category = Coupling
tags = break decouple explo hgr separat split soy shenzhou

MODULE
Expand Down Expand Up @@ -968,6 +979,7 @@

@PART[RadishDecoupler]:FIRST
{
@category = Coupling
tags = hgr radish gemini break decouple explo separat split

MODULE
Expand Down Expand Up @@ -1073,6 +1085,7 @@

@PART[1.875HeatShield]:FIRST
{
@category = Thermal
tags = hgr ablat drag entry insulate protect re- rocket therm soy shenzhou

MODULE
Expand Down Expand Up @@ -1258,7 +1271,7 @@
@PART[fairingSize1.5]:FIRST
{
@title = HGR 1.875m Airstream Protective Shell

@category = Payload
tags = hgr aero )cap cargo cone contain drag fairing hollow inter nose payload protect rocket shroud stage (stor transport

MODULE
Expand Down Expand Up @@ -1955,6 +1968,7 @@

@PART[dockingPortHGR]:FIRST
{
@category = Coupling
tags = hgr soy shenzhou progress clamp berth capture connect couple dock fasten join moor socket
}

Expand Down Expand Up @@ -2121,5 +2135,6 @@

@PART[HGRSolarPanels1]:FIRST
{
@category = Electrical
tags = hgr soy shenzhou progress aerial antenna radio signal transmi array charge deploy e/c elect energ extend fold generat (light photo power retract solar sun track unfold volt watt
}
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ From there, just unzip the "HGR" and "HGRCommunityFixes" folders into your GameD
* AntennaRange patch removed. (Since AntennaRange is superseded by the stock CommNet.)
* CommNet and KerbNet support added.
* New RCS plume and sound effects added to RCS parts.
* 02016 10 29 (1.5.1): Transform and Deploy
* Fixed transform references for solar panel/antenna.
* Updated Edamame service module to ModuleEnginesFX.
* Moved parts to new categories (Engine, FuelTank, Coupling, Thermal, Payload, Electrical)

##Roadmap

Expand Down

0 comments on commit a3aa459

Please sign in to comment.