mirror of
https://github.com/PorktoberRevolution/ReStocked
synced 2024-09-01 17:34:42 +00:00
Merge branch 'master' of git@github.com:PorktoberRevolution/ReStocked.git
This commit is contained in:
commit
ad98e85d1a
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 4.0 MiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 1.0 MiB |
Binary file not shown.
After Width: | Height: | Size: 1.0 MiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -70,7 +70,7 @@
|
||||
%rescaleFactor = 1
|
||||
@MODULE[ModuleAnchoredDecoupler]
|
||||
{
|
||||
@anchor = LargeDecouplerBase
|
||||
@anchorName = LargeDecouplerBase
|
||||
}
|
||||
}
|
||||
|
||||
@ -88,7 +88,7 @@
|
||||
%rescaleFactor = 1
|
||||
@MODULE[ModuleAnchoredDecoupler]
|
||||
{
|
||||
@anchor = SmallDecouplerBase
|
||||
@anchorName = SmallDecouplerBase
|
||||
}
|
||||
}
|
||||
|
||||
@ -105,6 +105,6 @@
|
||||
%rescaleFactor = 1
|
||||
@MODULE[ModuleAnchoredDecoupler]
|
||||
{
|
||||
@anchor = WeirdDecouplerBase
|
||||
@anchorName = WeirdDecouplerBase
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,149 @@
|
||||
// Patches applying art changes to solar panels
|
||||
// Contents:
|
||||
// - (solarPanels4)
|
||||
|
||||
// 1x6
|
||||
@PART[solarPanels4]
|
||||
{
|
||||
@author = Beale
|
||||
!mesh = DELETE
|
||||
!MODEL,* {}
|
||||
MODEL
|
||||
{
|
||||
model = ReStock/Assets/Electrical/restock-solarpanel-1x6
|
||||
position = 0.0, 0.0, 0.0
|
||||
scale = 1,1,1
|
||||
rotation = 0, 0, 0
|
||||
}
|
||||
@MODULE[ModuleDeployableSolarPanel]
|
||||
{
|
||||
@secondaryTransformName = panel6
|
||||
}
|
||||
|
||||
MODULE
|
||||
{
|
||||
name = ModuleRestockModifyMaterials
|
||||
MATERIAL
|
||||
{
|
||||
shader = KSP/Bumped Specular (Mapped)
|
||||
TEXTURE_PROPERTY
|
||||
{
|
||||
name = _MainTex
|
||||
textureUrl = ReStock/Assets/Electrical/restock-solarpanel-1
|
||||
}
|
||||
TEXTURE_PROPERTY
|
||||
{
|
||||
name = _SpecMap
|
||||
textureUrl = ReStock/Assets/Electrical/restock-solarpanel-1-s
|
||||
}
|
||||
FLOAT_PROPERTY
|
||||
{
|
||||
name = _SpecTint
|
||||
value = 0.08
|
||||
}
|
||||
FLOAT_PROPERTY
|
||||
{
|
||||
name = _Shininess
|
||||
value = 0.8
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 1x6 shielded
|
||||
@PART[solarPanels2]
|
||||
{
|
||||
@author = Beale
|
||||
!mesh = DELETE
|
||||
!MODEL,* {}
|
||||
MODEL
|
||||
{
|
||||
model = ReStock/Assets/Electrical/restock-solarpanel-1x6-shrouded
|
||||
position = 0.0, 0.0, 0.0
|
||||
scale = 1,1,1
|
||||
rotation = 0, 0, 0
|
||||
}
|
||||
@MODULE[ModuleDeployableSolarPanel]
|
||||
{
|
||||
@secondaryTransformName = panel6
|
||||
}
|
||||
|
||||
MODULE
|
||||
{
|
||||
name = ModuleRestockModifyMaterials
|
||||
|
||||
MATERIAL
|
||||
{
|
||||
shader = KSP/Bumped Specular (Mapped)
|
||||
baseTransform = panel1
|
||||
TEXTURE_PROPERTY
|
||||
{
|
||||
name = _MainTex
|
||||
textureUrl = ReStock/Assets/Electrical/restock-solarpanel-1
|
||||
}
|
||||
TEXTURE_PROPERTY
|
||||
{
|
||||
name = _SpecMap
|
||||
textureUrl = ReStock/Assets/Electrical/restock-solarpanel-1-s
|
||||
}
|
||||
FLOAT_PROPERTY
|
||||
{
|
||||
name = _SpecTint
|
||||
value = 0.08
|
||||
}
|
||||
FLOAT_PROPERTY
|
||||
{
|
||||
name = _Shininess
|
||||
value = 0.8
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 2x3
|
||||
@PART[solarPanels3]
|
||||
{
|
||||
@author = Beale
|
||||
!mesh = DELETE
|
||||
!MODEL,* {}
|
||||
MODEL
|
||||
{
|
||||
model = ReStock/Assets/Electrical/restock-solarpanel-2x3
|
||||
position = 0.0, 0.0, 0.0
|
||||
scale = 1,1,1
|
||||
rotation = 0, 0, 0
|
||||
}
|
||||
@MODULE[ModuleDeployableSolarPanel]
|
||||
{
|
||||
@secondaryTransformName = solar6
|
||||
}
|
||||
MODULE
|
||||
{
|
||||
name = ModuleRestockModifyMaterials
|
||||
MATERIAL
|
||||
{
|
||||
shader = KSP/Bumped Specular (Mapped)
|
||||
TEXTURE_PROPERTY
|
||||
{
|
||||
name = _MainTex
|
||||
textureUrl = ReStock/Assets/Electrical/restock-solarpanel-1
|
||||
}
|
||||
TEXTURE_PROPERTY
|
||||
{
|
||||
name = _SpecMap
|
||||
textureUrl = ReStock/Assets/Electrical/restock-solarpanel-1-s
|
||||
}
|
||||
FLOAT_PROPERTY
|
||||
{
|
||||
name = _SpecTint
|
||||
value = 0.08
|
||||
}
|
||||
FLOAT_PROPERTY
|
||||
{
|
||||
name = _Shininess
|
||||
value = 0.8
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,17 @@
|
||||
// Patches applying art changes to Making History decouplers
|
||||
// Contents:
|
||||
- TD-18 Decoupler (Decoupler_1p5)
|
||||
|
||||
|
||||
// TD-18 Decoupler
|
||||
@PART[Decoupler_1p5] {
|
||||
@author = Chris Adderley (Nertea)
|
||||
|
||||
!mesh = DELETE
|
||||
!MODEL {}
|
||||
MODEL {
|
||||
model = ReStock/Assets/Coupling/restock-decoupler-1875-1
|
||||
}
|
||||
|
||||
%rescaleFactor = 1
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
// Patches applying art changes to Making History separators
|
||||
// Contents:
|
||||
- TS-18 Separator (Separator_1p5)
|
||||
|
||||
// TS-18 Separator
|
||||
@PART[Separator_1p5] {
|
||||
@author = Chris Adderley (Nertea)
|
||||
|
||||
!mesh = DELETE
|
||||
!MODEL {}
|
||||
MODEL {
|
||||
model = ReStock/Assets/Coupling/restock-separator-1875-1
|
||||
}
|
||||
|
||||
%rescaleFactor = 1
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
// Patches applying art changes to Making History RCS tanks
|
||||
// Contents:
|
||||
// - (MonoPropMini)
|
||||
|
||||
// Spherical Radial Tiny Tank
|
||||
@PART[MonoPropMini]
|
||||
{
|
||||
@author = Chris Adderley (Nertea)
|
||||
!mesh = DELETE
|
||||
!MODEL {}
|
||||
MODEL {
|
||||
model = ReStock/Assets/FuelTank/restock-fuel-tank-rcs-radial-tiny-1
|
||||
}
|
||||
}
|
@ -0,0 +1,118 @@
|
||||
// Patches applying art changes to Making History fairings
|
||||
// Contents:
|
||||
- AE-FF1.5 Airstream Protective Shell (1.875m) (fairingSize1p5)
|
||||
|
||||
@PART[fairingSize1p5]
|
||||
{
|
||||
@author = Chris Adderley (Nertea)
|
||||
|
||||
!mesh = DELETE
|
||||
!MODEL {}
|
||||
MODEL {
|
||||
model = ReStock/Assets/Payload/restock-fairing-base-1875-1
|
||||
}
|
||||
MODEL
|
||||
{
|
||||
model = Squad/Parts/Aero/fairings/AutoTruss
|
||||
scale = 1.5,1.5,1.5
|
||||
position = 0.0,0.22,0.0
|
||||
}
|
||||
|
||||
@MODULE[ModuleProceduralFairing]
|
||||
{
|
||||
@pivot = 0,0.151, 0
|
||||
@TextureURL = ReStock/Assets/Payload/restock-fairing-25-1
|
||||
@CapTextureURL = ReStock/Assets/Payload/restock-fairing-cap-1
|
||||
@TextureNormalURL = ReStock/Assets/Payload/restock-fairing-25-1-n
|
||||
}
|
||||
|
||||
@MODULE[ModulePartVariants]
|
||||
{
|
||||
@VARIANT[White]
|
||||
{
|
||||
!TEXTURE {}
|
||||
!EXTRA_INFO {}
|
||||
TEXTURE
|
||||
{
|
||||
materialName=FairingIconShell
|
||||
mainTextureURL = ReStock/Assets/Payload/restock-fairing-125-1
|
||||
}
|
||||
EXTRA_INFO
|
||||
{
|
||||
FairingsTextureURL= ReStock/Assets/Payload/restock-fairing-125-1
|
||||
FairingsNormalURL= ReStock/Assets/Payload/restock-fairing-125-1-n
|
||||
CapTextureURL = ReStock/Assets/Payload/restock-fairing-cap-1
|
||||
}
|
||||
GAMEOBJECTS
|
||||
{
|
||||
FairingBase1875White = true
|
||||
FairingBase1875Orange = false
|
||||
FairingBase1875BlackWhite = false
|
||||
}
|
||||
}
|
||||
@VARIANT[Grey]
|
||||
{
|
||||
!TEXTURE {}
|
||||
!EXTRA_INFO {}
|
||||
TEXTURE
|
||||
{
|
||||
materialName=FairingIconShell
|
||||
mainTextureURL = ReStock/Assets/Payload/restock-fairing-125-1
|
||||
}
|
||||
EXTRA_INFO
|
||||
{
|
||||
FairingsTextureURL= ReStock/Assets/Payload/restock-fairing-125-1
|
||||
FairingsNormalURL= ReStock/Assets/Payload/restock-fairing-125-1-n
|
||||
CapTextureURL = ReStock/Assets/Payload/restock-fairing-cap-1
|
||||
}
|
||||
GAMEOBJECTS
|
||||
{
|
||||
FairingBase1875White = false
|
||||
FairingBase1875Orange = false
|
||||
FairingBase1875BlackWhite = true
|
||||
}
|
||||
}
|
||||
@VARIANT[Dark?Grey]
|
||||
{
|
||||
!TEXTURE {}
|
||||
!EXTRA_INFO {}
|
||||
TEXTURE
|
||||
{
|
||||
materialName=FairingIconShell
|
||||
mainTextureURL = ReStock/Assets/Payload/restock-fairing-125-1-orange
|
||||
}
|
||||
EXTRA_INFO
|
||||
{
|
||||
FairingsTextureURL= ReStock/Assets/Payload/restock-fairing-125-1-orange
|
||||
FairingsNormalURL= ReStock/Assets/Payload/restock-fairing-125-1-n
|
||||
CapTextureURL = ReStock/Assets/Payload/restock-fairing-cap-1-orange
|
||||
}
|
||||
GAMEOBJECTS
|
||||
{
|
||||
FairingBase1875White = false
|
||||
FairingBase1875Orange = true
|
||||
FairingBase1875BlackWhite = false
|
||||
}
|
||||
}
|
||||
}
|
||||
MODULE
|
||||
{
|
||||
name = ModuleRestockModifyFairingMaterials
|
||||
COLOR_PROPERTY
|
||||
{
|
||||
name = _Color
|
||||
color = 1.0, 1.0, 1.0, 1.0
|
||||
}
|
||||
COLOR_PROPERTY
|
||||
{
|
||||
name = _SpecColor
|
||||
color = 0.753, 0.753, 0.753, 1.0
|
||||
}
|
||||
|
||||
FLOAT_PROPERTY
|
||||
{
|
||||
name = _Shininess
|
||||
value = 0.3
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
v0.1.0
|
||||
------
|
||||
- Initial release
|
||||
- Parts included:
|
||||
- Stock parts included:
|
||||
- Command
|
||||
- Mk1 Command Pod (Nertea)
|
||||
- Mk1-3 Command Pod (Nertea)
|
||||
@ -20,8 +20,8 @@
|
||||
- RC-001S Remote Guidance Unit (Nertea)
|
||||
- Control
|
||||
- Small Inline Reaction Wheel (Andrew Cassidy)
|
||||
- Advanced Inline Stabilizer (advSasModule)
|
||||
- Advanced Reaction Wheel Module, Large (asasmodule1-2)
|
||||
- Advanced Inline Stabilizer (Nertea)
|
||||
- Advanced Reaction Wheel Module, Large (Nertea)
|
||||
- RV-105 RCS Thruster Block (Nertea)
|
||||
- Place-Anywhere 7 Linear RCS Port (Nertea)
|
||||
- Vernor Engine (Nertea)
|
||||
@ -130,7 +130,7 @@
|
||||
- Z-400 Rechargeable Battery (Nertea)
|
||||
- Z-100 Rechargeable Battery Pack (Nertea)
|
||||
- PB-NUK Radioisotope Thermoelectric Generator (Beale)
|
||||
- Science
|
||||
- Science
|
||||
- Science Mobile Processing Lab MPL-LG-2 (Nertea)
|
||||
- Thermometer (Andrew Cassidy)
|
||||
- Barometer (Andrew Cassidy)
|
||||
@ -140,12 +140,20 @@
|
||||
- SC-9001 Science Jr. (Andrew Cassidy)
|
||||
- Atmospheric Fluid Spectro-Variometer (Andrew Cassidy)
|
||||
- Experiment Storage Unit (Andrew Cassidy)
|
||||
- Communications
|
||||
- Communications
|
||||
- Communotron 88-88 (Andrew Cassidy)
|
||||
- HG-5 High Gain Antenna (Andrew Cassidy)
|
||||
- RA-2 Relay Antenna (Andrew Cassidy)
|
||||
- RA-15 Relay Antenna (Andrew Cassidy)
|
||||
- RA-100 Relay Antenna (Andrew Cassidy)
|
||||
- Making History parts included
|
||||
- Coupling
|
||||
- TD-18 Decoupler (Nertea)
|
||||
- TS-18 Separator (Nertea)
|
||||
- Fuel Tanks
|
||||
- Stratus-V Minified Monopropellant Tank (Nertea)
|
||||
- Payload
|
||||
- AE-FF1.5 Airstream Protective Shell (Nertea)
|
||||
- Additions/new variants:
|
||||
- Probe cores now all have consistent 'Bare' and 'Gold Foil' variants, plus a generally new 'Silver' foil variant
|
||||
- 'Dark' variant for 1.25m tanks has been completely reworked (it is no longer white)
|
||||
|
@ -104,12 +104,16 @@ Localization
|
||||
|
||||
#LOC_RestockPlus_restock-decoupler-1875-1_title = TD-18 Decoupler
|
||||
#LOC_RestockPlus_restock-decoupler-1875-1_description = The TD-18 Stack Decoupler is a medium sized tool for splitting rockets.
|
||||
#LOC_RestockPlus_restock-decoupler-1875-1_tags = restock reak decouple explo kerbodyne separat split
|
||||
#LOC_RestockPlus_restock-decoupler-1875-1_tags = restock break decouple explo kerbodyne separat split
|
||||
|
||||
#LOC_RestockPlus_restock-separator-1875-1_title = TS-18 Separator
|
||||
#LOC_RestockPlus_restock-separator-1875-1_description = The TS-18 Stack Separator is a medium sized separator, much like the other separators. Unlike Decouplers, Separators will eject anything connected to themselves. This is good, as it removes the need to worry about which side needs to be pointed away from face. Try to not look at it too much though.
|
||||
#LOC_RestockPlus_restock-separator-1875-1_tags = restock break decouple separat split stag
|
||||
|
||||
#LOC_RestockPlus_restock-decoupler-radial-tiny-1_title = TT-14 Radial Decoupler
|
||||
#LOC_RestockPlus_restock-decoupler-radial-tiny-1_description = The TT-14 is an extra small decoupler for very small separation events.
|
||||
#LOC_RestockPlus_restock-decoupler-radial-tiny-1_tags = restock break decouple separat split stag
|
||||
|
||||
// Aerodynamic
|
||||
#LOC_RestockPlus_restock-nosecone-1875-1_title = Protective Rocket Nose Mk18
|
||||
#LOC_RestockPlus_restock-nosecone-1875-1_description = For capping off those medium size boosters, you can't beat the Mark 18, unless you're the Mark 19.
|
||||
|
@ -37,13 +37,16 @@ PART
|
||||
tags = #LOC_RestockPlus_restock-decoupler-1875-1_tags
|
||||
fx_gasBurst_white = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, decouple
|
||||
sound_decoupler_fire = decouple
|
||||
|
||||
|
||||
/// Flag to disable this part if MH is installed
|
||||
MHReplacement = True
|
||||
|
||||
MODULE
|
||||
{
|
||||
name = ModuleDecouple
|
||||
ejectionForce = 125
|
||||
isOmniDecoupler = false
|
||||
explosiveNodeID = top
|
||||
explosiveNodeID = top
|
||||
}
|
||||
MODULE
|
||||
{
|
||||
@ -149,10 +152,10 @@ PART
|
||||
body = _NotSun
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
DRAG_CUBE
|
||||
{
|
||||
cube = Default, 0.1988,0.7448,0.8757, 0.1988,0.7448,0.8757, 1.217,0.9952,0.1299, 1.217,0.9952,0.1299, 0.1988,0.7442,0.8871, 0.1988,0.7442,0.8871, 0,0,0, 1.25,0.16,1.25
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -37,12 +37,15 @@ PART
|
||||
tags = #LOC_RestockPlus_restock-separator-1875-1_tags
|
||||
fx_gasBurst_white = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, decouple
|
||||
sound_decoupler_fire = decouple
|
||||
|
||||
|
||||
/// Flag to disable this part if MH is installed
|
||||
MHReplacement = True
|
||||
|
||||
MODULE
|
||||
{
|
||||
name = ModuleDecouple
|
||||
ejectionForce = 125
|
||||
isOmniDecoupler = true
|
||||
isOmniDecoupler = true
|
||||
}
|
||||
MODULE
|
||||
{
|
||||
@ -148,10 +151,10 @@ PART
|
||||
body = _NotSun
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
DRAG_CUBE
|
||||
{
|
||||
cube = Default, 0.1988,0.7448,0.8757, 0.1988,0.7448,0.8757, 1.217,0.9952,0.1299, 1.217,0.9952,0.1299, 0.1988,0.7442,0.8871, 0.1988,0.7442,0.8871, 0,0,0, 1.25,0.16,1.25
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,150 @@
|
||||
// ReStock+ 0.1.0
|
||||
// Tiny Radial Decoupler
|
||||
PART
|
||||
{
|
||||
name = restock-decoupler-radial-tiny-1
|
||||
module = Part
|
||||
author = Chris Adderley
|
||||
MODEL {
|
||||
model = ReStock/Assets/Coupling/restock-decoupler-radial-4
|
||||
}
|
||||
scale = 1
|
||||
rescaleFactor = 1
|
||||
node_attach = 0.00, 0.0, 0.0, 1.0, 0.0, 0.0
|
||||
fx_gasBurst_white = -0.056, 0.0, 0, -1.0, 0.0, 0.0, decouple
|
||||
sound_vent_large = decouple
|
||||
TechRequired = stability
|
||||
entryCost = 1000
|
||||
cost = 250
|
||||
category = Coupling
|
||||
subcategory = 0
|
||||
title = #LOC_RestockPlus_restock-decoupler-radial-tiny-1_title
|
||||
manufacturer = #autoLOC_501629 //#autoLOC_501629 = O.M.B. Demolition Enterprises
|
||||
description = #LOC_RestockPlus_restock-decoupler-radial-tiny-1_description
|
||||
attachRules = 0,1,0,1,0
|
||||
mass = 0.0125
|
||||
dragModelType = default
|
||||
maximum_drag = 0.2
|
||||
minimum_drag = 0.2
|
||||
angularDrag = 1
|
||||
crashTolerance = 8
|
||||
maxTemp = 2000 // = 3200
|
||||
stagingIcon = DECOUPLER_HOR
|
||||
stageOffset = 1
|
||||
childStageOffset = 1
|
||||
bulkheadProfiles = srf
|
||||
tags = #LOC_RestockPlus_restock-decoupler-radial-tiny-1_tags
|
||||
fuelCrossFeed = False
|
||||
MODULE
|
||||
{
|
||||
name = ModuleAnchoredDecoupler
|
||||
anchorName = TinyDecouplerBase
|
||||
ejectionForce = 70
|
||||
explosiveNodeID = srf
|
||||
}
|
||||
MODULE
|
||||
{
|
||||
name = ModuleToggleCrossfeed
|
||||
crossfeedStatus = false
|
||||
toggleEditor = true
|
||||
toggleFlight = true
|
||||
techRequired = fuelSystems
|
||||
}
|
||||
MODULE
|
||||
{
|
||||
name = ModuleTestSubject
|
||||
useStaging = True
|
||||
useEvent = False
|
||||
situationMask = 127
|
||||
CONSTRAINT
|
||||
{
|
||||
type = REPEATABILITY
|
||||
value = ALWAYS
|
||||
prestige = Trivial
|
||||
}
|
||||
CONSTRAINT
|
||||
{
|
||||
type = REPEATABILITY
|
||||
value = BODYANDSITUATION
|
||||
prestige = Significant
|
||||
}
|
||||
CONSTRAINT
|
||||
{
|
||||
type = REPEATABILITY
|
||||
value = ONCEPERPART
|
||||
prestige = Exceptional
|
||||
}
|
||||
CONSTRAINT
|
||||
{
|
||||
type = ALTITUDE
|
||||
test = GT
|
||||
value = 0 // this just registers altitude as something to care about
|
||||
situationMask = 8
|
||||
}
|
||||
CONSTRAINT
|
||||
{
|
||||
type = ALTITUDEENV
|
||||
test = GT
|
||||
value = 4000
|
||||
prestige = Trivial
|
||||
}
|
||||
CONSTRAINT
|
||||
{
|
||||
type = ALTITUDEENV
|
||||
test = LT
|
||||
value = 8000
|
||||
prestige = Trivial
|
||||
}
|
||||
CONSTRAINT
|
||||
{
|
||||
type = ALTITUDEENV
|
||||
test = GT
|
||||
value = 2000
|
||||
prestige = Significant
|
||||
}
|
||||
CONSTRAINT
|
||||
{
|
||||
type = ALTITUDEENV
|
||||
test = LT
|
||||
value = 4000
|
||||
prestige = Significant
|
||||
}
|
||||
CONSTRAINT
|
||||
{
|
||||
type = ALTITUDEENV
|
||||
test = GT
|
||||
value = 1000
|
||||
prestige = Exceptional
|
||||
}
|
||||
CONSTRAINT
|
||||
{
|
||||
type = ALTITUDEENV
|
||||
test = LT
|
||||
value = 2000
|
||||
prestige = Exceptional
|
||||
}
|
||||
CONSTRAINT
|
||||
{
|
||||
type = SPEED
|
||||
test = LT
|
||||
value = 2000
|
||||
situationMask = 8
|
||||
}
|
||||
CONSTRAINT
|
||||
{
|
||||
type = ALTITUDE
|
||||
test = LT
|
||||
value = 300000
|
||||
situationMask = 16
|
||||
body = _NotSun
|
||||
}
|
||||
CONSTRAINT
|
||||
{
|
||||
type = ALTITUDE
|
||||
test = LT
|
||||
value = 600000
|
||||
situationMask = 32
|
||||
body = _NotSun
|
||||
}
|
||||
}
|
||||
}
|
@ -1,6 +1,5 @@
|
||||
// ReStock+ 0.1.0
|
||||
// Super tiny radial RCS tank
|
||||
|
||||
PART
|
||||
{
|
||||
name = restock-fuel-tank-rcs-radial-tiny-1
|
||||
@ -9,7 +8,7 @@ PART
|
||||
|
||||
MODEL
|
||||
{
|
||||
model = ReStockPlus/Assets/FuelTank/restock-fuel-tank-rcs-radial-tiny-1
|
||||
model = ReStock/Assets/FuelTank/restock-fuel-tank-rcs-radial-tiny-1
|
||||
scale = 1.0, 1.0, 1.0
|
||||
}
|
||||
|
||||
@ -45,6 +44,9 @@ PART
|
||||
breakingForce = 50
|
||||
breakingTorque = 50
|
||||
|
||||
/// Flag to disable this part if MH is installed
|
||||
MHReplacement = True
|
||||
|
||||
// Resources
|
||||
RESOURCE
|
||||
{
|
||||
|
@ -74,6 +74,10 @@ PART
|
||||
bulkheadProfiles = size1p5
|
||||
|
||||
tags = #LOC_RestockPlus_restock-fairing-base-1875-1_tags
|
||||
|
||||
/// Flag to disable this part if MH is installed
|
||||
MHReplacement = True
|
||||
|
||||
MODULE
|
||||
{
|
||||
name = ModuleProceduralFairing
|
||||
|
@ -0,0 +1,7 @@
|
||||
// Hides all the MH replacing parts if MH is installed
|
||||
@PART[*]:HAS[MHReplacement[True]]:FOR[zReStockPlus]:NEEDS[SquadExpansion/MakingHistory]
|
||||
{
|
||||
TechHidden = True
|
||||
category = none
|
||||
subcategory = 0
|
||||
}
|
@ -70,7 +70,7 @@ namespace Restock
|
||||
{
|
||||
if (value.name == "transform")
|
||||
{
|
||||
Transform[] modelTransforms = part.FindModelTransforms(value.name);
|
||||
Transform[] modelTransforms = part.FindModelTransforms(value.value);
|
||||
|
||||
if (modelTransforms.Length == 0)
|
||||
{
|
||||
@ -89,12 +89,12 @@ namespace Restock
|
||||
transformRenderers.Add(renderer);
|
||||
}
|
||||
|
||||
renderers.Concat(transformRenderers);
|
||||
renderers = renderers.Concat(transformRenderers);
|
||||
useAllRenderers = false;
|
||||
}
|
||||
else if (value.name == "baseTransform")
|
||||
{
|
||||
Transform[] modelTransforms = part.FindModelTransforms(value.name);
|
||||
Transform[] modelTransforms = part.FindModelTransforms(value.value);
|
||||
|
||||
if (modelTransforms.Length == 0)
|
||||
{
|
||||
@ -109,7 +109,7 @@ namespace Restock
|
||||
if (transformRenderers.Length == 0)
|
||||
this.LogError($"No renderers found on transform '{transform.name}' or its children");
|
||||
else
|
||||
renderers.Concat(transform.GetComponentsInChildren<Renderer>());
|
||||
renderers = renderers.Concat(transform.GetComponentsInChildren<Renderer>());
|
||||
}
|
||||
|
||||
useAllRenderers = false;
|
||||
|
Loading…
Reference in New Issue
Block a user