Skip to content

Commit

Permalink
* FIX - SC-C-CM - Enable bottom-diameter adjustment for fairing
Browse files Browse the repository at this point in the history
* FIX - MEC - Clean up some unnecessary editor updates; cleans up some fairing interaction issues and general optimization
* FIX - MEC - 'None' mount type switched to 'fairing enabled'; the 'mount diameter' determines the fairing top diameter.
* FIX - NodeFairing can now be force-disabled via external module; used by MEC to force disabling of fairing for specific mount types (lower-stage mounts).  This previously was not working properly and fairings could still be enabled even when not intended.
* FIX - NodeFairing - Only check status at most once per frame (cleans up some editor event loops..)
* FIX - RBDC - Not updating its cost properly for the current scaled resources and base cost.
* FIX - RBDC - Remove custom node size specification.  Cleans up some joint instability when KJR is not installed (and likely even when it is...)
* FIX - ISDC,RBDC,BPCs - Fix 'Cannot find fx group of that name for decoupler' (real-plumes was deleting the sound-fx); re-add the fx in a FINAL patch when real-plumes is installed
* FIX - MFT-D - 'Cannot find fx group of that name for decoupler'; it was actually missing the fx group :)
* FIX - MechJeb patch was missing the NEEDS block for some parts
* CHANGE - VolumeContainer - minor code changes to -maybe- let them play nicely with RF/MFT.  No clue if it works, I don't have time to install them just to test it.
* CHANGE - VolumeContainer - disable fuel type selection buttons if container has zero volume
* CHANGE - VolumeContainer - add config toggle to determine if it will zero out the part mass/cost (subtractMass/subtractCost); both default to true
* CHANGE - Add CLS patch for crewed parts
* UPDATE - Add emissive texture for H-1 engine
* UPDATE - Add Soyuz-orange texture set for Nova, DIRECT, and Shroud3/4/5/6 mounts.
* UPDATE - Add black texture set for S-IVB and S-II mounts.
* OLD PART - LC2-POD
  * Uses new ModelSwitch module to enable/disable the ascent fuel tanks
  * Uses VolumeContainer module to manage its resources; tied in with ModelSwitch this enables each sub-container to be configured independently.  As such the ascent tanks can hold any fuel type resource.  The built-in internal storage is currently configured for MP/EC only but will have life-support supplies added through a patch.  The Fuel-type preset buttons adjust the fuel type for the ascent tanks if they are present; you will need to open the config GUI to configure the built-in MP tanks.
  * It now has included docking port model and module; untested.  Added through MODEL nodes so can be end-user configured if desired.
  * Will likely break a few more times before I finish up all the modules for it, so consider it a temporary/test/prototype part
  * Added selectable node module for the very bottom node; defaults to node disabled; right-click on the part to enable it
  * KNOWN ISSUE: RCS are untextured; I need to re-export the model without the RCS and manually add the new RCS blocks through MODEL nodes (was using old models/textures)
  * KNOWN ISSUE: Using placeholder IVA until I can re-add the old IVA models and such
  * KNOWN ISSUE: No mechjeb module
  * KNOWN ISSUE: No cabin lighting animation/module
  * KNOWN ISSUE: Ladder is really hard to climb up; need to re-export the part  (already planned, see above)
* TEST PART - SC-MSW - in the Pods tab; it is merely a test part for the model switching module, will not be sticking around, nor is it intended to be useful for anything.
  * Yes, the GUI is obnoxious
  * No, the volume for the models does not yet take into account that they are rescaled; working on the model positioning and actual functionality at the moment
  * Config for complex parts will be equally as complex as the part setup and potential model tree and depth; not for the feint of heart
  * Very much a WIP, but exposes enough functionality to test stuff
  * Persistence untested; does it persist model setups when launched?
  * Mass and cost updating code not yet in place
  • Loading branch information
shadowmage45 committed Apr 23, 2016
1 parent d633350 commit d2fad11
Show file tree
Hide file tree
Showing 46 changed files with 1,972 additions and 241 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,16 @@
mesh = #$../../varMesh$
}
}
TEXTURESET
{
name = Mount-Orange
TEXTURE
{
diffuseTexture = SSTU-TextureSets/TextureSets/SC-ENG-MOUNTS2-ALT3-DIFF
normalTexture = SSTU/Assets/SC-ENG-MOUNTS2-NRM
mesh = #$../../varMesh$
}
}
}
@SSTU_MODEL[Mount-Direct]:FOR[SSTU]
{
Expand All @@ -166,11 +176,31 @@
mesh = #$../../varMesh$
}
}
TEXTURESET
{
name = Mount-Orange
TEXTURE
{
diffuseTexture = SSTU-TextureSets/TextureSets/SC-ENG-MOUNTS2-ALT3-DIFF
normalTexture = SSTU/Assets/SC-ENG-MOUNTS2-NRM
mesh = #$../../varMesh$
}
}
}
@SSTU_MODEL[Mount-S-II]:FOR[SSTU]
{
varMesh = SC-ENG-MOUNT-S-II
TEXTURESET
{
name = Mount-Black
TEXTURE
{
diffuseTexture = SSTU-TextureSets/TextureSets/SC-ENG-MOUNTS2-ALT3-DIFF
normalTexture = SSTU/Assets/SC-ENG-MOUNTS2-NRM
mesh = #$../../varMesh$
}
}
TEXTURESET
{
name = Mount-White
TEXTURE
Expand All @@ -195,6 +225,16 @@
{
varMesh = SC-ENG-MOUNT-S-IVB
TEXTURESET
{
name = Mount-Black
TEXTURE
{
diffuseTexture = SSTU-TextureSets/TextureSets/SC-ENG-MOUNTS2-ALT3-DIFF
normalTexture = SSTU/Assets/SC-ENG-MOUNTS2-NRM
mesh = #$../../varMesh$
}
}
TEXTURESET
{
name = Mount-White
TEXTURE
Expand Down Expand Up @@ -238,6 +278,16 @@
mesh = #$../../varMesh$
}
}
TEXTURESET
{
name = Mount-Orange
TEXTURE
{
diffuseTexture = SSTU-TextureSets/TextureSets/SC-ENG-MOUNTS2-ALT3-DIFF
normalTexture = SSTU/Assets/SC-ENG-MOUNTS2-NRM
mesh = #$../../varMesh$
}
}
}
@SSTU_MODEL[Mount-Shroud4]:FOR[SSTU]
{
Expand All @@ -262,6 +312,16 @@
mesh = #$../../varMesh$
}
}
TEXTURESET
{
name = Mount-Orange
TEXTURE
{
diffuseTexture = SSTU-TextureSets/TextureSets/SC-ENG-MOUNTS2-ALT3-DIFF
normalTexture = SSTU/Assets/SC-ENG-MOUNTS2-NRM
mesh = #$../../varMesh$
}
}
}
@SSTU_MODEL[Mount-Shroud5]:FOR[SSTU]
{
Expand All @@ -286,6 +346,16 @@
mesh = #$../../varMesh$
}
}
TEXTURESET
{
name = Mount-Orange
TEXTURE
{
diffuseTexture = SSTU-TextureSets/TextureSets/SC-ENG-MOUNTS2-ALT3-DIFF
normalTexture = SSTU/Assets/SC-ENG-MOUNTS2-NRM
mesh = #$../../varMesh$
}
}
}
@SSTU_MODEL[Mount-Shroud6]:FOR[SSTU]
{
Expand All @@ -310,6 +380,16 @@
mesh = #$../../varMesh$
}
}
TEXTURESET
{
name = Mount-Orange
TEXTURE
{
diffuseTexture = SSTU-TextureSets/TextureSets/SC-ENG-MOUNTS2-ALT3-DIFF
normalTexture = SSTU/Assets/SC-ENG-MOUNTS2-NRM
mesh = #$../../varMesh$
}
}
}

@SSTU_MODEL[Mount-Delta-IV]:FOR[SSTU]
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added GameData/SSTU/Assets/LC2-ASCF.mu
Binary file not shown.
Binary file added GameData/SSTU/Assets/LC2-POD-DIFF.dds
Binary file not shown.
Binary file added GameData/SSTU/Assets/LC2-POD-GLOW.dds
Binary file not shown.
Binary file added GameData/SSTU/Assets/LC2-POD-NRM.dds
Binary file not shown.
Binary file added GameData/SSTU/Assets/LC2-POD.mu
Binary file not shown.
Binary file added GameData/SSTU/Assets/LC3-ASCF.mu
Binary file not shown.
Binary file added GameData/SSTU/Assets/LC3-POD-DIFF.dds
Binary file not shown.
Binary file added GameData/SSTU/Assets/LC3-POD-GLOW.dds
Binary file not shown.
Binary file added GameData/SSTU/Assets/LC3-POD-NRM.dds
Binary file not shown.
Binary file added GameData/SSTU/Assets/LC3-POD.mu
Binary file not shown.
Binary file added GameData/SSTU/Assets/LC5-ASCF.mu
Binary file not shown.
Binary file added GameData/SSTU/Assets/LC5-POD-DIFF.dds
Binary file not shown.
Binary file added GameData/SSTU/Assets/LC5-POD-GLOW.dds
Binary file not shown.
Binary file added GameData/SSTU/Assets/LC5-POD-NRM.dds
Binary file not shown.
Binary file added GameData/SSTU/Assets/LC5-POD.mu
Binary file not shown.
Binary file modified GameData/SSTU/Assets/SC-ENG-H-1-GLOW.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion GameData/SSTU/Data/ModelData/ModelData-EngineMounts.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SSTU_MODEL
techLimit = start
cost = 0
defaultTextureSet = none
fairingDisabled = true
fairingDisabled = false
fairingTopOffset = 0
rcsVerticalPosition = 0
rcsHorizontalPosition = 2.5
Expand Down
68 changes: 68 additions & 0 deletions GameData/SSTU/Data/ModelData/ModelData-LanderPods.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
SSTU_MODEL
{
name = Model-None
// modelName = SSTU/Assets/LC2-ASCF
invertForTop = false
invertForBottom = false
verticalOffset = 0
height = 0
diameter = 5
mass = 0
volume = 0
techLimit = start
cost = 0
fairingDisabled = true
fairingTopOffset = 0
defaultTextureSet = none
}
SSTU_MODEL
{
name = LC2-ASCF
modelName = SSTU/Assets/LC2-ASCF
invertForTop = false
invertForBottom = false
verticalOffset = 0
height = 1.4
diameter = 2.25
mass = 0
volume = 0.9
techLimit = start
cost = 0
fairingDisabled = true
fairingTopOffset = 0
defaultTextureSet = none
}
SSTU_MODEL
{
name = LC3-ASCF
modelName = SSTU/Assets/LC3-ASCF
invertForTop = false
invertForBottom = false
verticalOffset = 0
height = 1.4
diameter = 2.25
mass = 0
volume = 0.9
techLimit = start
cost = 0
fairingDisabled = true
fairingTopOffset = 0
defaultTextureSet = none
}
SSTU_MODEL
{
name = LC5-ASCF
modelName = SSTU/Assets/LC5-ASCF
invertForTop = false
invertForBottom = false
verticalOffset = 0
height = 1.4
diameter = 2.25
mass = 0
volume = 0.9
techLimit = start
cost = 0
fairingDisabled = true
fairingTopOffset = 0
defaultTextureSet = none
}
17 changes: 17 additions & 0 deletions GameData/SSTU/Data/ModelData/ModelData-StockModels.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,21 @@ SSTU_MODEL
fairingDisabled = false
fairingTopOffset = -0.1
defaultTextureSet = none
}
SSTU_MODEL
{
name = StationHub
modelName = Squad/Parts/Structural/stationHub/model
invertForTop = false
invertForBottom = false
verticalOffset = 0.9121535
height = 1.824307
diameter = 1.824307
mass = 1
volume = 2
techLimit = start
cost = 100
fairingDisabled = true
fairingTopOffset = 0
defaultTextureSet = none
}
27 changes: 1 addition & 26 deletions GameData/SSTU/Data/ResourceVolumes.cfg
Original file line number Diff line number Diff line change
@@ -1,32 +1,7 @@
SSTU_RESOURCEVOLUME
{
name = LiquidFuel
volume = 5
}
SSTU_RESOURCEVOLUME
{
name = Oxidizer
volume = 5
}
SSTU_RESOURCEVOLUME
{
name = SolidFuel
volume = 5
}
SSTU_RESOURCEVOLUME
{
name = MonoPropellant
volume = 5
}
SSTU_RESOURCEVOLUME
{
name = Ore
volume = 5
}
SSTU_RESOURCEVOLUME
{
name = ElectricCharge
volume = 1
volume = 0.25
}
SSTU_RESOURCEVOLUME
{
Expand Down
12 changes: 12 additions & 0 deletions GameData/SSTU/Data/ZeroMassResources.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
SSTU_ZEROMASSRESOURCE
{
//taken from the 4k battery; 4000u/0.02t
//these use the default 5l unit?
name = ElectricCharge
mass = 0.00005
}
SSTU_ZEROCOSTRESOURCE
{
name = ElectricCharge
cost = 1.125
}
Loading

0 comments on commit d2fad11

Please sign in to comment.