Skip to content

Commit

Permalink
- more tweakscale
Browse files Browse the repository at this point in the history
  • Loading branch information
confusingbits committed Aug 13, 2014
1 parent 2d46b56 commit f5fc4fc
Show file tree
Hide file tree
Showing 10 changed files with 85 additions and 38 deletions.
28 changes: 0 additions & 28 deletions FNPlugin/FNPlugin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -446,10 +446,6 @@
<Link>\WarpPlugin\Parts\Engines\AugmentedArcjet\model2</Link>
<CopyToOutputDirectory>DoNotCopy</CopyToOutputDirectory>
</Content>
<Content Include="..\GameData\WarpPlugin\Parts\Engines\AugmentedArcjet\part0.cfg">
<Link>\WarpPlugin\Parts\Engines\AugmentedArcjet\part0</Link>
<CopyToOutputDirectory>DoNotCopy</CopyToOutputDirectory>
</Content>
<Content Include="..\GameData\WarpPlugin\Parts\Engines\AugmentedArcjet\part1.cfg">
<Link>\WarpPlugin\Parts\Engines\AugmentedArcjet\part1</Link>
<CopyToOutputDirectory>DoNotCopy</CopyToOutputDirectory>
Expand Down Expand Up @@ -530,14 +526,6 @@
<Link>\WarpPlugin\Parts\Engines\MPD\n_normals copy_NRM</Link>
<CopyToOutputDirectory>DoNotCopy</CopyToOutputDirectory>
</Content>
<Content Include="..\GameData\WarpPlugin\Parts\Engines\MPD\part0.cfg">
<Link>\WarpPlugin\Parts\Engines\MPD\part0</Link>
<CopyToOutputDirectory>DoNotCopy</CopyToOutputDirectory>
</Content>
<Content Include="..\GameData\WarpPlugin\Parts\Engines\MPD\part1.cfg">
<Link>\WarpPlugin\Parts\Engines\MPD\part1</Link>
<CopyToOutputDirectory>DoNotCopy</CopyToOutputDirectory>
</Content>
<Content Include="..\GameData\WarpPlugin\Parts\Engines\MPD\part2.cfg">
<Link>\WarpPlugin\Parts\Engines\MPD\part2</Link>
<CopyToOutputDirectory>DoNotCopy</CopyToOutputDirectory>
Expand Down Expand Up @@ -618,22 +606,10 @@
<Link>\WarpPlugin\Parts\Engines\ThermalRocketNozzle\n_1_NRM</Link>
<CopyToOutputDirectory>DoNotCopy</CopyToOutputDirectory>
</Content>
<Content Include="..\GameData\WarpPlugin\Parts\Engines\ThermalRocketNozzle\part0.cfg">
<Link>\WarpPlugin\Parts\Engines\ThermalRocketNozzle\part0</Link>
<CopyToOutputDirectory>DoNotCopy</CopyToOutputDirectory>
</Content>
<Content Include="..\GameData\WarpPlugin\Parts\Engines\ThermalRocketNozzle\part1.cfg">
<Link>\WarpPlugin\Parts\Engines\ThermalRocketNozzle\part1</Link>
<CopyToOutputDirectory>DoNotCopy</CopyToOutputDirectory>
</Content>
<Content Include="..\GameData\WarpPlugin\Parts\Engines\ThermalRocketNozzle\part2.cfg">
<Link>\WarpPlugin\Parts\Engines\ThermalRocketNozzle\part2</Link>
<CopyToOutputDirectory>DoNotCopy</CopyToOutputDirectory>
</Content>
<Content Include="..\GameData\WarpPlugin\Parts\Engines\ThermalRocketNozzle\part3.cfg">
<Link>\WarpPlugin\Parts\Engines\ThermalRocketNozzle\part3</Link>
<CopyToOutputDirectory>DoNotCopy</CopyToOutputDirectory>
</Content>
<Content Include="..\GameData\WarpPlugin\Parts\Engines\ThermalTurbojet\diff.tga">
<Link>\WarpPlugin\Parts\Engines\ThermalTurbojet\diff</Link>
<CopyToOutputDirectory>DoNotCopy</CopyToOutputDirectory>
Expand All @@ -650,10 +626,6 @@
<Link>\WarpPlugin\Parts\Engines\ThermalTurbojet\n_normals_NRM</Link>
<CopyToOutputDirectory>DoNotCopy</CopyToOutputDirectory>
</Content>
<Content Include="..\GameData\WarpPlugin\Parts\Engines\ThermalTurbojet\part1.cfg">
<Link>\WarpPlugin\Parts\Engines\ThermalTurbojet\part1</Link>
<CopyToOutputDirectory>DoNotCopy</CopyToOutputDirectory>
</Content>
<Content Include="..\GameData\WarpPlugin\Parts\Engines\ThermalTurbojet\part2.cfg">
<Link>\WarpPlugin\Parts\Engines\ThermalTurbojet\part2</Link>
<CopyToOutputDirectory>DoNotCopy</CopyToOutputDirectory>
Expand Down
7 changes: 6 additions & 1 deletion GameData/WarpPlugin/Parts/Engines/AluminiumHybrid/part.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,10 @@ RESOURCE
maxAmount = 1760
}
MODULE
{
name = TweakScale
type = stack
defaultScale = 2.5
}
}
11 changes: 8 additions & 3 deletions GameData/WarpPlugin/Parts/Engines/AugmentedArcjet/part1.cfg
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
PART
{
name = FNSmallAugmentedArcjet
name = PlasmaThruster
module = Part
author = Fractal

MODEL
{
model = WarpPlugin/Parts/Engines/AugmentedArcjet/model
model = WarpPlugin/Parts/Engines/PlasmaThruster/model
rotation = 0,0,180
scale = 0.625,0.5,0.625
}
Expand Down Expand Up @@ -68,5 +68,10 @@ MODULE
initialIsp = 2854
}


MODULE
{
name = TweakScale
type = stack
defaultScale = 2.5
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,18 @@ MODULE
upgradeCost = 100
upgradeTechReq = none
}
MODULE
{
name = TweakScale
type = stack
defaultScale = 2.5
}
}
TWEAKSCALEEXPONENTS
{
name = AlcubierreDrive
effectSize1 = 1
effectSize2 = 1
}
9 changes: 7 additions & 2 deletions GameData/WarpPlugin/Parts/Engines/MPD/part2.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PART
{
name = MPD
name = PlasmaDrive
module = Part
author = Fractal

Expand Down Expand Up @@ -83,6 +83,11 @@ MODULE
gimbalRange = 1
}


MODULE
{
name = TweakScale
type = stack
defaultScale = 2.5
}

}
9 changes: 8 additions & 1 deletion GameData/WarpPlugin/Parts/Engines/MethaneEngine/part.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PART
//

// --- general parameters ---
name = FNMethaneEngine
name = MethaneEngine
module = Part
author = NovaSilisko

Expand Down Expand Up @@ -117,4 +117,11 @@ RESOURCE
maxAmount = 0
}
MODULE
{
name = TweakScale
type = stack
defaultScale = 2.5
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,20 @@ MODULE
upgradeCost = 90
upgradeTechReq = none
}
MODULE
{
name = TweakScale
type = stack
defaultScale = 2.5
}
}
TWEAKSCALEEXPONENTS
{
name = AlcubierreDrive
effectSize1 = 1
effectSize2 = 1
}
7 changes: 6 additions & 1 deletion GameData/WarpPlugin/Parts/Engines/ThermalTurbojet/part2.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,10 @@ MODULE
dependOnEngineState = True
responseSpeed = 0.01
}
MODULE
{
name = TweakScale
type = stack
defaultScale = 2.5
}
}
15 changes: 14 additions & 1 deletion GameData/WarpPlugin/Parts/Engines/solarSail/part.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PART
{

// --- general parameters ---
name = SM-Solar-Sail
name = SolarSail
module = Part
author = SasquatchMarmalade

Expand Down Expand Up @@ -60,4 +60,17 @@ MODULE
animName = Default Take
}

MODULE
{
name = TweakScale
type = stack
defaultScale = 1.25
}

}

TWEAKSCALEEXPONENTS
{
name = ModuleSolarSail
surfaceArea = 2
}
7 changes: 6 additions & 1 deletion GameData/WarpPlugin/Parts/Engines/vista/part.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ RESOURCE
maxAmount = 15
}
MODULE
{
name = TweakScale
type = stack
defaultScale = 3.75
}
}

2 comments on commit f5fc4fc

@GitHawk
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renaming parts will break save games! Also TweakScale will become a requirement for running KSPI or people will only have one part of each type. You could also use the ModuleManager API to detect if a user runs TweakScale and then hide the additional sizes. Should look like this: -PART[NuclearReactor0625]:NEEDS[TweakScale] {}

@confusingbits
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am aware of that and I've already mentioned it in the thread. A kspi only tweakscale version will be included and required for .12.

Please sign in to comment.