Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
2536a10
compatibility with 1.1
jrodrigv Apr 17, 2016
2a1f2fa
Compatibility with KSP 1.1
jrodrigv Apr 21, 2016
c6e41b1
Release 0.2
jrodrigv May 8, 2016
a587f47
Recompiled for 1.1.3
Jul 4, 2016
d0dc1e7
Added extra items to be affected
SpannerMonkey Jul 17, 2016
b622aa3
Create README.md
SpannerMonkey Jul 26, 2016
fd84f71
New version 1.1.0. Changelog:
Jul 31, 2016
cfd643c
latest tweaks
SpannerMonkey Aug 30, 2016
c52f769
New fire and smoke model test
SpannerMonkey Aug 30, 2016
f147a71
Fix and recompile for 1.2 PreRelease
SpannerMonkey Oct 6, 2016
484bb74
Add files via upload
SpannerMonkey Oct 6, 2016
7fa563a
Remove turrets to unwanted FX
SpannerMonkey Oct 6, 2016
9fd0044
Add files via upload
SpannerMonkey Oct 6, 2016
d79ca5b
1.2Pre GameData
SpannerMonkey Oct 6, 2016
6b7a6b9
KSP build1584
SpannerMonkey Oct 11, 2016
00dd368
Build for KSP 1584 1.2Pre
SpannerMonkey Oct 11, 2016
cd11ea2
Updating solution structure and build scripts to match BDAc mods suite.
jrodrigv Oct 12, 2016
950ecab
gomker local WIP
gomker Nov 11, 2016
3684c69
merging SpannerMonkey
jrodrigv Nov 16, 2016
3e097c4
Merge https://github.com/SpannerMonkey/DestructionEffects
jrodrigv Nov 16, 2016
5e96ab1
v 1.2.0 ready for KSP 1.21
jrodrigv Nov 16, 2016
c70abf7
fixing version file
jrodrigv Nov 16, 2016
2da34dc
Final tweaks
jrodrigv Nov 17, 2016
0c439db
Adding more guards to ShouldFlamesBeAttached and fixing the particles…
jrodrigv Dec 21, 2016
67299dd
Adding dll
jrodrigv Dec 21, 2016
ea897a6
Preparing for v1.3.0
jrodrigv Dec 21, 2016
939d055
Upstream Merge
gomker Dec 22, 2016
e0e7dbb
Version 1.3 ready
Dec 29, 2016
7550b0e
Last fix fo the version
Jan 2, 2017
860958a
New version 1.4. Particle emmiters fixed.
jrodrigv Apr 6, 2017
c9611f3
v1.4
jrodrigv Apr 6, 2017
d5e18ca
merge upstream
gomker May 15, 2017
f0921b0
merge upstream
gomker May 15, 2017
8e2202c
Merge branch 'master' of github.com:gomker/DestructionEffects
gomker May 15, 2017
ba4698d
updating ignore list
gomker Jun 18, 2017
043d266
adding part ignore list to setting.cfg
gomker Jul 8, 2017
4aa2c00
Merge pull request #10 from gomker/master
jrodrigv Jul 8, 2017
d58f5d2
Fixing problems with effects triggering wrongly
jrodrigv Jul 8, 2017
ca92707
Release v1.5. Fixes #6
jrodrigv Jul 9, 2017
285311e
Hotfix
jrodrigv Jul 10, 2017
43172d9
Fixes autostrut issue #16 and # 12
jrodrigv Sep 19, 2017
da80866
Binaries
jrodrigv Sep 19, 2017
7802749
New release 1.6.0
jrodrigv Sep 19, 2017
6a6e4c1
Fixing joints breaks during physics ease
jrodrigv Oct 24, 2017
cf5fb95
Version 1.7
jrodrigv Oct 24, 2017
ff7282c
Destruction Effects for KSP 1.4.2
Apr 1, 2018
f2863db
Merge
Apr 1, 2018
5511627
gitignore
Apr 1, 2018
336592d
assembly
jrodrigv Apr 1, 2018
6e39431
Next relase for KSP 1.51
jrodrigv Nov 10, 2018
ec1c8ed
New release 1.9.0
jrodrigv Nov 10, 2018
ec61917
Merge pull request #1 from jrodrigv/master
linuxgurugamer Jan 12, 2019
7582b62
Added check for breakForce == 0
linuxgurugamer Jan 12, 2019
1b60f2f
Added check for BDArmory, if it's installed, ignores the joint == 0
linuxgurugamer Jan 25, 2019
d4c97b2
Revert "Added check for BDArmory, if it's installed, ignores the join…
linuxgurugamer Jan 25, 2019
382a8de
Added check for BDA
linuxgurugamer Jan 25, 2019
e66b46c
Added .github/FUNDING.yml
linuxgurugamer May 26, 2019
7a1d732
Fixed null-ref in ShouldFlamesBeAttached
linuxgurugamer Aug 26, 2019
a8d78f8
updated csproj for 1.7
linuxgurugamer Aug 26, 2019
59491ee
Merge pull request #19 from linuxgurugamer/master
jrodrigv Aug 26, 2019
dac73b9
new version of destruction effects
jrodrigv Aug 30, 2019
6e2dfe4
Updated flamingjoints.cs to fix problems with autostrut and BDArmory
Alioth81 Oct 11, 2019
7f8ee24
Merge pull request #20 from Alioth81/master
jrodrigv Oct 12, 2019
acfcf16
fixing exception with dictionary
jrodrigv Oct 26, 2019
868290b
Release for KSP 1.8
jrodrigv Oct 26, 2019
e6e0e2d
Recompiled for KSP 1.10.1
jrodrigv Sep 23, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified .gitattributes
100644 → 100755
Empty file.
8 changes: 8 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: linuxgurugamer
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
custom: # Replace with a single custom sponsorship URL
5 changes: 5 additions & 0 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -228,3 +228,8 @@ $RECYCLE.BIN/
*.msi
*.msm
*.msp
/.vs/config
/.vs/DestructionEffects/v15/sqlite3
/.vs/DestructionEffects/v15/Server/sqlite3
/BuildRelease
/.vs
Expand Down
27 changes: 27 additions & 0 deletions @
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch master
# Your branch is up to date with 'origin/master'.
#
# Changes to be committed:
# new file: BDAcheck.cs
# new file: FlamingJoints.cs
#
# Changes not staged for commit:
# deleted: ../DEGaplessParticleEmitter.cs
# deleted: ../DESettings.cs
# modified: ../DestructionEffects.csproj
# modified: ../DestructionEffects.sln
# deleted: ../FlamingJointScript.cs
# deleted: ../FlamingJoints.cs
# deleted: ../Properties/AssemblyInfo.cs
#
# Untracked files:
# DEGaplessParticleEmitter.cs
# DESettings.cs
# DestructionEffects.csproj
# FlamingJointScript.cs
# Properties/
#
19 changes: 19 additions & 0 deletions BDAcheck.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.NetworkInformation;
using CompoundParts;
using UnityEngine;

namespace DestructionEffects
{
[KSPAddon(KSPAddon.Startup.MainMenu, false)]
public class BDACheck : MonoBehaviour
{
public static bool bdaAvailable = false;
void Start()
{
bdaAvailable = AssemblyLoader.loadedAssemblies.Any(a => a.assembly.GetName().Name == "BDArmory");
}
}
}
78 changes: 0 additions & 78 deletions DEGaplessParticleEmitter.cs

This file was deleted.

143 changes: 135 additions & 8 deletions DestructionEffects.csproj
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="packages\Microsoft.Net.Compilers.3.8.0-3.final\build\Microsoft.Net.Compilers.props" Condition="Exists('packages\Microsoft.Net.Compilers.3.8.0-3.final\build\Microsoft.Net.Compilers.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
Expand All @@ -9,7 +10,9 @@
<OutputType>Library</OutputType>
<RootNamespace>DestructionEffects</RootNamespace>
<AssemblyName>DestructionEffects</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugSymbols>true</DebugSymbols>
Expand All @@ -21,6 +24,7 @@
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<ConsolePause>false</ConsolePause>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DebugType>none</DebugType>
Expand All @@ -30,19 +34,142 @@
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<ConsolePause>false</ConsolePause>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
<OutputPath>bin\Release\</OutputPath>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Optimize>true</Optimize>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Reference Include="Assembly-CSharp">
<HintPath>..\..\..\Games\KSP\KSP 0.90 - Mod Dev\KSP_Data\Managed\Assembly-CSharp.dll</HintPath>
<HintPath>..\_LocalDev\KSPRefs\Assembly-CSharp.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="KSPAssets">
<HintPath>..\_LocalDev\KSPRefs\KSPAssets.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System" />
<Reference Include="System.Linq" />
<Reference Include="System.Runtime" />
<Reference Include="System.Runtime.InteropServices" />
<Reference Include="System.Runtime.InteropServices.RuntimeInformation" />
<Reference Include="System.Threading.Thread" />
<Reference Include="UnityEngine">
<HintPath>..\..\..\Games\KSP\KSP 0.90 - Mod Dev\KSP_Data\Managed\UnityEngine.dll</HintPath>
<HintPath>..\_LocalDev\KSPRefs\UnityEngine.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<HintPath>..\_LocalDev\KSPRefs\UnityEngine.CoreModule.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.ParticleSystemModule">
<HintPath>..\_LocalDev\KSPRefs\UnityEngine.ParticleSystemModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.PhysicsModule">
<HintPath>..\_LocalDev\KSPRefs\UnityEngine.PhysicsModule.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="FlamingJoints.cs" />
<Compile Include="DEGaplessParticleEmitter.cs" />
<Compile Include="FlamingJointScript.cs" />
<Compile Include="DestructionEffects\BDAcheck.cs" />
<Compile Include="DestructionEffects\DEGaplessParticleEmitter.cs" />
<Compile Include="DestructionEffects\DESettings.cs" />
<Compile Include="DestructionEffects\FlamingJoints.cs" />
<Compile Include="DestructionEffects\FlamingJointScript.cs" />
<Compile Include="DestructionEffects\Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<Content Include="Distribution\GameData\DestructionEffects\ChangeLog.txt" />
<Content Include="Distribution\GameData\DestructionEffects\License.txt" />
<Content Include="Distribution\GameData\DestructionEffects\Models\FlameEffect2\flameA.png" />
<Content Include="Distribution\GameData\DestructionEffects\Models\FlameEffect2\flameD.png" />
<Content Include="Distribution\GameData\DestructionEffects\Models\FlameEffect2\muzzleSmoke.png" />
<Content Include="Distribution\GameData\DestructionEffects\Models\FlameEffect2\Torchanimation_135.png" />
<Content Include="Distribution\GameData\DestructionEffects\Models\FlameEffect_Legacy\ExpTex2.png" />
<Content Include="Distribution\GameData\DestructionEffects\Models\FlameEffect_Legacy\smoke.png" />
<Content Include="Distribution\GameData\DestructionEffects\Plugins\DestructionEffects.dll" />
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
<ItemGroup>
<None Include="Distribution\GameData\DestructionEffects\DestructionEffects.version" />
<None Include="Distribution\GameData\DestructionEffects\Models\FlameEffect2\model.mu" />
<None Include="Distribution\GameData\DestructionEffects\Models\FlameEffect_Legacy\model.mu" />
<None Include="Distribution\GameData\DestructionEffects\settings.cfg" />
<None Include="packages.config" />
</ItemGroup>
<PropertyGroup>
<PostBuildEvent>@echo $(Targetname)
SET ModName=DestructionEffects
@echo ...
@echo set lpath vars from LocalDev storage...
set /p KSP_DIR=&lt;"$(ProjectDir)LocalDev\ksp_dir.txt"
set /p PDB2MDB_EXE=&lt;"$(ProjectDir)LocalDev\pdb2mdb_exe.txt"
set /p ZA_DIR=&lt;"$(ProjectDir)LocalDev\7za_dir.txt"
set /p DIST_DIR=&lt;"$(ProjectDir)LocalDev\dist_dir.txt"

@echo distributing $(Targetname) files...
copy /Y "$(TargetPath)" "$(ProjectDir)Distribution\GameData\%25ModName%25\Plugins\"
copy /Y "$(TargetPath)" "C:\Users\dlane\Dropbox\Kerbal\ModDevelopment\Release"
copy /Y "$(TargetPath)" "$(ProjectDir)Distribution\GameData\DestructionEffects\Plugins\"

if $(ConfigurationName) == Debug (
@echo building $(Targetname).dll.mdb file...
cd "$(TargetDir)"
copy /Y "$(TargetDir)$(Targetname).pdb" "%25KSP_DIR%25\GameData\%25ModName%25\Plugins\"
)

@echo deleting previous build ...
if exist "%25DIST_DIR%25\%25ModName%25*.zip" del "%25DIST_DIR%25\%25ModName%25*.zip"
@echo packaging new build...
call "%25ZA_DIR%25\7za.exe" a -tzip -r "%25DIST_DIR%25\%25ModName%25.@(VersionNumber)_%25DATE:~4,2%25%25DATE:~7,2%25%25DATE:~10,4%25.zip" "$(ProjectDir)Distribution\*.*"
copy /Y "$(TargetDir)$(Targetname).dll.mdb" "%25KSP_DIR%25\GameData\DestructionEffects\Plugins\"
)

@echo packaging files...
if exist "%25DIST_DIR%25\DestructionEffects*.zip" del "%25DIST_DIR%25\DestructionEffects*.zip"
call "%25ZA_DIR%25\7za.exe" a -tzip -r "%25DIST_DIR%25\DestructionEffects.@(VersionNumber)_%25DATE:~4,2%25%25DATE:~7,2%25%25DATE:~10,4%25.zip" "$(ProjectDir)Distribution\*.*"

@echo Deploy $(Targetname) Distribution files to test env: %25KSP_DIR%25\GameData...
@echo copying:"$(SolutionDir)Distribution\GameData" to "%25KSP_DIR%25\GameData"
xcopy /E /Y "$(SolutionDir)Distribution\GameData" "%25KSP_DIR%25\GameData"

if $(ConfigurationName) == Debug (
copy /Y "$(TargetDir)$(Targetname).pdb" "%25KSP_DIR%25\GameData\%25ModName%25\Plugins\"
copy /Y "$(TargetDir)$(Targetname).pdb" "%25KSP_DIR%25\GameData\DestructionEffects\Plugins\"
)

@echo Build/deploy complete!</PostBuildEvent>
</PropertyGroup>
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('packages\Microsoft.Net.Compilers.3.8.0-3.final\build\Microsoft.Net.Compilers.props')" Text="$([System.String]::Format('$(ErrorText)', 'packages\Microsoft.Net.Compilers.3.8.0-3.final\build\Microsoft.Net.Compilers.props'))" />
</Target>
</Project>
25 changes: 25 additions & 0 deletions DestructionEffects.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27428.2005
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DestructionEffects", "DestructionEffects.csproj", "{7BBA3030-1674-4759-8DEA-2012D86512BC}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{7BBA3030-1674-4759-8DEA-2012D86512BC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7BBA3030-1674-4759-8DEA-2012D86512BC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7BBA3030-1674-4759-8DEA-2012D86512BC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7BBA3030-1674-4759-8DEA-2012D86512BC}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {A1256FAF-2BDB-4301-A668-46EE1D7A261F}
EndGlobalSection
EndGlobal
19 changes: 19 additions & 0 deletions DestructionEffects/BDAcheck.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.NetworkInformation;
using CompoundParts;
using UnityEngine;

namespace DestructionEffects
{
[KSPAddon(KSPAddon.Startup.MainMenu, false)]
public class BDACheck : MonoBehaviour
{
public static bool bdaAvailable = false;
void Start()
{
bdaAvailable = AssemblyLoader.loadedAssemblies.Any(a => a.assembly.GetName().Name == "BDArmory");
}
}
}
Loading