Skip to content

Commit

Permalink
New parts added, thanks to forum user @stephm
Browse files Browse the repository at this point in the history
 Resized new vent parts to 50% scale
  • Loading branch information
linuxgurugamer committed Nov 25, 2020
1 parent 6d25578 commit ddfa930
Show file tree
Hide file tree
Showing 22 changed files with 542 additions and 36 deletions.
6 changes: 5 additions & 1 deletion Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,8 @@ ChangeLog
0.1.10
Updated AssemblyVersion
Added InstallChecker
Updated for KSP 1.8
Updated for KSP 1.8

0.1.11
New parts added, thanks to forum user @stephm
Resized new vent parts to 50% scale
Binary file not shown.
Binary file not shown.
Binary file added GameData/VaporVent/Assets/vent/fumée.dds
Binary file not shown.
Binary file added GameData/VaporVent/Assets/vent/modelfx1.mu
Binary file not shown.
Binary file added GameData/VaporVent/Assets/vent/modelfx2.mu
Binary file not shown.
Binary file added GameData/VaporVent/Assets/vent/modelfx3.mu
Binary file not shown.
41 changes: 41 additions & 0 deletions GameData/VaporVent/Localization/dictionaryEN-US.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
Localization
{
en-us
{
//title
#titlefx1 = Vapor Vent Effect 1
#titlefx2 = Vapor Vent Effect 2
#titlefx3 = Vapor Vent Effect 3
// nom variantes
#vent1 = <color=blue>Vapor Vent standard.</color>
#vent2 = <color=blue>Vapor Vent medium.</color>
#vent3 = <color=blue>Vapor Vent small.</color>
//manufacturer
#vent4 = Squalid-State Devices Inc.
// description
#ventfx1 = All those snacks... need a vent. Attach to your spacecraft for that all-important ambiance. Only works at launch time. finely smoked and drooping
#ventfx2 = All those snacks... need a vent. Attach to your spacecraft for that all-important ambiance. Only works at launch time. smoked wide and drooping.
#ventfx3 = All those snacks... need a vent. Attach to your spacecraft for that all-important ambiance. Only works at launch time. original effect.
// tags
#vent5 = <b>vent</b>
// variant theme
#ventname_st = Standard
#ventname_st_descrip = standard size suitable for size mk3
#ventname_md = Medium
#ventname_md_descrip = standard size suitable for size mk2
#ventname_sm = Small
#ventname_sm_descrip = standard size suitable for size mk1
// Apu
//title
#apu1 = APU generator

//manufacturer
#apu2 = Bureau Squalid-State Devices Inc.

// description
#apu3 = apu for start-up assistance for aircraft; only works on the ground..

// tags
#apu4 = <b>APU</b>
}
}
41 changes: 41 additions & 0 deletions GameData/VaporVent/Localization/dictionaryFR.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
Localization
{
fr-fr
{
//title
#titlefx1 = Vapor Vent effet 1
#titlefx2 = Vapor Vent effet 2
#titlefx3 = Vapor Vent effet 3
// nom variantes
#vent1 = <color=blue>Vapor Vent standard.</color>
#vent2 = <color=blue>Vapor Vent medium.</color>
#vent3 = <color=blue>Vapor Vent small.</color>
//manufacturer
#vent4 = Bureau Squalid-State Devices Inc.
// description
#ventfx1 = Attacher le a votre vaisseau, pour une meilleur ambiance au depart. Ne fonctionne seulement qu'au lancement. effet de fumée leger et fin uniforme.
#ventfx2 = Attacher le a votre vaisseau, pour une meilleur ambiance au depart. Ne fonctionne seulement qu'au lancement. effet de fumée large.
#ventfx3 = Attacher le a votre vaisseau, pour une meilleur ambiance au depart. Ne fonctionne seulement qu'au lancement. original effet.
// tags
#vent5 = <b>vent</b>
// variant theme
#ventname_st = Standard
#ventname_st_descrip = Taille standard convient pour taille mk3
#ventname_md = Medium
#ventname_md_descrip = Taille medium convient pour taille mk2
#ventname_sm = Small
#ventname_sm_descrip = Taille petite convient pour taille mk1
// APU
//title
#apu1 = Genérateur Auxiliaire

//manufacturer
#apu2 = Bureau Squalid-State Devices Inc.

// description
#apu3 = Générateur auxiliaire avion, pour assistance au départ, ne fonctionne pas en vol.

// tags
#apu4 = <b>APU</b>
}
}
2 changes: 1 addition & 1 deletion GameData/VaporVent/VaporVent.version
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"VERSION": {
"MAJOR": 1,
"MINOR": 1,
"PATCH": 10,
"PATCH": 11,
"BUILD": 0
},
"KSP_VERSION_MIN": {
Expand Down
92 changes: 92 additions & 0 deletions GameData/VaporVent/parts/Apu_Unit/Apu.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
PART
{
// --- general parameters ---
name = ApuUnit
module = Part
author = stephane masset
mesh = apu.mu

// --- asset parameters ---
scale = 1
rescaleFactor = 0.15

// --- node definitions ---
node_attach = 0.0, 0.0, 0.0, 0.0, 0.0, -1.0, 1
node_stack_bottom = 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1

// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,1,1,1,0

// --- Tech tree ---
TechRequired = advElectrics

// --- editor parameters ---
entryCost = 2000
cost = 100
category = Electrical
subcategory = 0
title = #apu1
manufacturer = #apu2
description = #apu3
tags = #apu4

// --- standard part parameters ---
mass = 0.02
dragModelType = default
maximum_drag = 0.1
minimum_drag = 0.1
angularDrag = 0.2
breakingForce = 50
breakingTorque = 50
crashTolerance = 7
PhysicsSignificance = 1
maxTemp = 2500
heatConductivity = 0.02
skinInternalConductionMult = 2.0
emissiveConstant = 0.1
bulkheadProfiles = size0

// module unit
MODULE
{
name = makeSteam
alwaysOn = false
}
MODULE
{
name = ModuleGenerator
isAlwaysActive = false
resourceThreshold = 150
OUTPUT_RESOURCE
{
name = ElectricCharge
rate = 0.75
}
}

MODULE
{
name = ModuleCoreHeat
CoreTempGoal = 100 //Internal temp goal - we don't transfer till we hit this point
CoreToPartRatio = 0.1 //Scale back cooling if the part is this % of core temp
CoreTempGoalAdjustment = 0 //Dynamic goal adjustment
CoreEnergyMultiplier = 0.01 //What percentage of our core energy do we transfer to the part
HeatRadiantMultiplier = 0.01 //If the core is hotter, how much heat radiates?
CoolingRadiantMultiplier = 0 //If the core is colder, how much radiates?
HeatTransferMultiplier = 0 //If the part is hotter, how much heat transfers in?
CoolantTransferMultiplier = 0 //If the part is colder, how much of our energy can we transfer?
radiatorCoolingFactor = 0 //How much energy we pull from core with an active radiator? >= 1
radiatorHeatingFactor = 0 //How much energy we push to the active radiator
MaxCalculationWarp = 1000 //Based on how dramatic the changes are, this is the max rate of change
CoreShutdownTemp = 10000 //At what core temperature do we shut down all generators on this part?
MaxCoolant = 0 //Maximum amount of radiator capacity we can consume - 2500 = 1 small
PassiveEnergy
{
key = 0 25000
key = 200 10000
key = 250 50
key = 300 25
key = 350 0
}
}
}
Binary file added GameData/VaporVent/parts/Apu_Unit/Apu_Tex.dds
Binary file not shown.
Binary file added GameData/VaporVent/parts/Apu_Unit/apu.mu
Binary file not shown.
Binary file added GameData/VaporVent/parts/Apu_Unit/apu_bump.dds
Binary file not shown.
Binary file added GameData/VaporVent/parts/Apu_Unit/fumée.dds
Binary file not shown.
24 changes: 24 additions & 0 deletions GameData/VaporVent/parts/VariantThemes.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
VARIANTTHEME
{
name = Standard
displayName = #ventname_st
description = #ventname_st_descrip
primaryColor = #ffffff
secondaryColor = #ffffff
}
VARIANTTHEME
{
name = Medium
displayName = #ventname_md
description = #ventname_md_descrip
primaryColor = #ffffff
secondaryColor = #ffffff
}
VARIANTTHEME
{
name = Small
displayName = #ventname_sm
description = #ventname_sm_descrip
primaryColor = #ffffff
secondaryColor = #ffffff
}
110 changes: 110 additions & 0 deletions GameData/VaporVent/parts/Ventfx1/Vapor_Vent_Remake_fx1.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
PART
{
// --- general parameters ---
name = VaporVent_Remake_Fx1
module = Part

MODEL
{
model = VaporVent/Assets/vent/modelfx1
}

author = stephane masset

// --- asset parameters ---
scale = 1
rescaleFactor = 0.5 // 1
iconCenter = 0.1, 0, 0

// --- node definitions ---
node_attach = 0, 0, 0, 0, 0, -1, 1

// --- Tech tree ---
TechRequired = start

// --- editor parameters ---
cost = 50
entryCost = 200
category = Utility
subcategory = 0
title = #titlefx1
manufacturer = #vent4
description = #ventfx1
tags = #vent5

// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 0,1,0,0,0

// --- standard part parameters ---
mass = 0.001
dragModelType = default
maximum_drag = 0.01
minimum_drag = 0.01
angularDrag = 0.1
crashTolerance = 50
breakingForce = 50
breakingTorque = 50
maxTemp = 3600
PhysicsSignificance = 1
bulkheadProfiles = srf
explosionPotential = 0.1

// ------------- fx -----------------
MODULE
{
name = makeSteam
alwaysOn = false
}

// Variantes disponibles
MODULE
{
name = ModulePartVariants
baseVariant = Vapor_Vent
VARIANT
{
name = Vapor_Vent
displayName = #vent1
themeName = Standard
primaryColor = #ffffff
secondaryColor = #000000
GAMEOBJECTS
{
mesh_Standard = true
mesh_Medium = false
mesh_Small = false
}
}

VARIANT
{
name = Vapor_Vent_medium
displayName = #vent2
themeName = Medium
primaryColor = #ffffff
secondaryColor = #000000
GAMEOBJECTS
{
mesh_Standard = false
mesh_Medium = true
mesh_Small = false
}

}

VARIANT
{
name = Vapor_Vent_small
displayName = #vent3
themeName = Small
primaryColor = #ffffff
secondaryColor = #000000
GAMEOBJECTS
{
mesh_Standard = false
mesh_Medium = false
mesh_Small = true
}
}
}
}
Loading

0 comments on commit ddfa930

Please sign in to comment.