First pass at RCS

This commit is contained in:
Chris Adderley 2018-11-30 21:12:19 -08:00
parent c9da8a9fb3
commit 3b4d3db179
16 changed files with 135 additions and 0 deletions

View File

@ -29,5 +29,8 @@ Localization
#LOC_Restock_variant-heat-shield-brown = Classic
#LOC_Restock_variant-heat-shield-red = Unpainted
#LOC_Restock_variant-linear-rcs-pod = Podded
#LOC_Restock_variant-linear-rcs-bare = Bare
}
}

View File

@ -0,0 +1,60 @@
// Patches applying art changes to RCS blocks
// Contents:
// - RV-105 RCS Thruster Block (RCSBlock)
// - Place-Anywhere 7 Linear RCS Port (linearRcs)
// RCS block
@PART[RCSBlock]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL {}
MODEL {
model = ReStock/Assets/Control/restock-rcs-block-1
}
}
// Linear RCS port
@PART[linearRcs]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL {}
MODEL {
model = ReStock/Assets/Control/restock-rcs-linear-1
}
MODULE
{
name = ModulePartVariants
baseVariant = Pod
VARIANT
{
name = Pod
displayName = #LOC_Restock_variant-linear-rcs-pod
primaryColor = #ffffff
secondaryColor = #ffffff
GAMEOBJECTS
{
RCSLinear = true
RCSLinearBase = false
}
}
VARIANT
{
name = Bare
displayName = #LOC_Restock_variant-linear-rcs-bare
primaryColor = #999999
secondaryColor = #999999
GAMEOBJECTS
{
RCSLinear = false
RCSLinearBase = true
}
}
}
}

View File

@ -0,0 +1,72 @@
// Patches applying art changes to RCS tanks
// Contents:
// - Stratus-V Roundified Monopropellant Tank (radialRCSTank)
// - Stratus-V Cylindrified Monopropellant Tank (rcsTankRadialLong)
// - FL-R10 RCS Fuel Tank (rcsTankMini)
// - FL-R25 RCS Fuel Tank (RCSFuelTank)
// - FL-R1 RCS Fuel Tank (RCSTank1-2)
// Spherical Radial Tank
@PART[radialRCSTank]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL {}
MODEL {
model = ReStock/Assets/FuelTank/restock-fueltank-rcs-radial-1
}
}
// Capsule Radial Tank
@PART[rcsTankRadialLong]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL {}
MODEL {
model = ReStock/Assets/FuelTank/restock-fueltank-rcs-radial-2
}
}
// 0.625m Tank
@PART[rcsTankMini]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL {}
MODEL {
model = ReStock/Assets/FuelTank/restock-fueltank-rcs-0625-1
}
}
// 1.25m Tank
@PART[RCSFuelTank]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL {}
MODEL {
model = ReStock/Assets/FuelTank/restock-fueltank-rcs-125-1
}
}
// 2.5m Tank
@PART[RCSTank1-2]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL {}
MODEL {
model = ReStock/Assets/FuelTank/restock-fueltank-rcs-25-1
}
!MODULE[ModulePartVariants] {}
}