diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..2872876 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,43 @@ +name: build + +# Controls when the action will run. Triggers the workflow on push or pull request +# events but only for the master branch +on: + pull_request: + branches: [ master ] + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build-package: + env: + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + OAUTH_TOKEN: ${{ secrets.OAUTH_TOKEN }} + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checkout this repo + - uses: actions/checkout@v2 + # Checkout another repo + - uses: actions/checkout@v2 + with: + # Repository name with owner. + repository: 'post-kerbin-mining-corporation/build-deploy' + # branch + ref: 'actions' + path: 'build-deploy' + - uses: actions/setup-python@v2 + with: + python-version: '3.8' + architecture: 'x64' + - name: Installing dependencies + run: | + python -m pip install --upgrade pip + pip install flake8 pytest awscli boto3 requests + #- name: Running deploy tests + # run: pytest -s --testpath "GameData/" build-deploy/src/tests/ # run the deploy tests + - name: Building package + run: python build-deploy/src/package.py --f ".mod_data.yml" \ No newline at end of file diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..e302790 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,47 @@ +name: deploy + +# Controls when the action will run. Triggers the workflow on push or pull request +# events but only for the master branch +on: + push: + branches: [ master ] + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + deploy-package: + env: + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + OAUTH_TOKEN: ${{ secrets.OAUTH_TOKEN }} + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checkout this repo + - uses: actions/checkout@v2 + # Checkout another repo + - uses: actions/checkout@v2 + with: + # Repository name with owner. + repository: 'post-kerbin-mining-corporation/build-deploy' + # branch + ref: 'actions' + path: 'build-deploy' + - uses: actions/setup-python@v2 + with: + python-version: '3.8' + architecture: 'x64' + - name: Installing dependencies + run: | + python -m pip install --upgrade pip + pip install flake8 pytest awscli boto3 requests + #- name: Running deploy tests + # run: pytest -s --testpath "GameData/" build-deploy/src/tests/ # run the deploy tests + - name: Building package + run: python build-deploy/src/package.py --f ".mod_data.yml" + - name: Staging package + run: python build-deploy/src/stage.py --f ".mod_data.yml" # Run the staging script + - name: Deploying package + run: python build-deploy/src/deploy.py --f ".mod_data.yml" # Deploy package to spacedock, curse, github \ No newline at end of file diff --git a/.ksp_deploy_config.yml b/.ksp_deploy_config.yml new file mode 100644 index 0000000..91e5200 --- /dev/null +++ b/.ksp_deploy_config.yml @@ -0,0 +1,3 @@ +OAUTH_TOKEN_SSM_KEY: pkmc-bot-github-oauth-token +GITHUB_USER_SSM_KEY: pkmc-bot-github-user +GITHUB_USER_EMAIL_SSM_KEY: pkmc-bot-github-user-email \ No newline at end of file diff --git a/.mod_data.yml b/.mod_data.yml index cb2e6cb..49a7a78 100644 --- a/.mod_data.yml +++ b/.mod_data.yml @@ -14,7 +14,7 @@ dependencies: # Configure dependencies version: 2.17.0 location: s3 CommunityResourcePack: - version: 1.3.0 + version: 1.4.2 location: s3 deploy: SpaceDock: diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index ea69070..0000000 --- a/.travis.yml +++ /dev/null @@ -1,34 +0,0 @@ -language: python -python: - - 3.6 -install: - - pip install awscli boto3 requests -branches: - only: - - master -script: - - git clone https://github.com/post-kerbin-mining-corporation/build-deploy.git # clone this repo, it contains the stuff that does the heavy lifting - - cd build-deploy - - git checkout master - - cd .. - - pytest -s --testpath "GameData/" build-deploy/src/tests/ # run the deploy tests - - python build-deploy/src/package.py --f ".mod_data.yml" # Build package -before_deploy: - - python build-deploy/src/stage.py --f ".mod_data.yml" # Run the staging script -deploy: - - provider: script - script: python build-deploy/src/deploy.py --f ".mod_data.yml" # Deploy package to spacedock, curse, github - skip_cleanup: true - on: - branch: master - - provider: s3 # releases to S3 - access_key_id: $AWS_ACCESS_KEY_ID - secret_access_key: $AWS_SECRET_ACCESS_KEY - bucket: "nertea-ksp-modding-releases" - local_dir: deploy/NearFuturePropulsion - skip_cleanup: true - acl: public_read - region: us-east-2 - upload-dir: near-future-propulsion - on: - branch: master diff --git a/CKAN/NearFuturePropulsion-XenonHETs.netkan b/CKAN/NearFuturePropulsion-XenonHETs.netkan index d783373..dac1245 100644 --- a/CKAN/NearFuturePropulsion-XenonHETs.netkan +++ b/CKAN/NearFuturePropulsion-XenonHETs.netkan @@ -9,7 +9,7 @@ "license": "MIT", "resources": { "homepage": "https://forum.kerbalspaceprogram.com/index.php?/topic/155465-16x-near-future-technologies-16x-fixes-jan-21/", - "repository": "https://github.com/ChrisAdderley/NearFuturePropulsion" + "repository": "https://github.com/post-kerbin-mining-corporation/NearFuturePropulsion" }, "install": [ { diff --git a/CKAN/NearFuturePropulsion.netkan b/CKAN/NearFuturePropulsion.netkan index f0a14d7..6397b34 100644 --- a/CKAN/NearFuturePropulsion.netkan +++ b/CKAN/NearFuturePropulsion.netkan @@ -9,7 +9,7 @@ "license": "restricted", "resources": { "homepage": "https://forum.kerbalspaceprogram.com/index.php?/topic/155465-16x-near-future-technologies-16x-fixes-jan-21/", - "repository": "https://github.com/ChrisAdderley/NearFuturePropulsion" + "repository": "https://github.com/post-kerbin-mining-corporation/NearFuturePropulsion" }, "install": [ { diff --git a/GameData/NearFuturePropulsion/Localization/en-us.cfg b/GameData/NearFuturePropulsion/Localization/en-us.cfg index 70c4fcc..48b4750 100644 --- a/GameData/NearFuturePropulsion/Localization/en-us.cfg +++ b/GameData/NearFuturePropulsion/Localization/en-us.cfg @@ -205,11 +205,11 @@ Localization // Resources - #LOC_NFPropulsion_cryoseperator-25_title = M-2 Cryogenic Gas Separator - #LOC_NFPropulsion_cryoseperator-25_description = This impressive looking collection of pipes collects local atmosphere and uses a bunch of voodoo to separate it into useful gases, like Argon and Xenon. + #LOC_NFPropulsion_cryoseperator-25_title = M-2 Cryogenic Gas Separator [Deprecated] + #LOC_NFPropulsion_cryoseperator-25_description = Don't use this. #LOC_NFPropulsion_cryoseperator-25_tags = isru mine )mining process resource extract atmo gas fuel nearfuture - #LOC_NFPropulsion_gasspectrometer-1_title = AIReS Atmospheric Sounder - #LOC_NFPropulsion_gasspectrometer-1_description = Use this advanced spectrographic sounder to retrieve the concentrations of various gases from planetary atmospheres. + #LOC_NFPropulsion_gasspectrometer-1_title = AIReS Atmospheric Sounder [Deprecated] + #LOC_NFPropulsion_gasspectrometer-1_description = Don't use this. #LOC_NFPropulsion_gasspectrometer-1_tags = isru mine )mining prospect resource sensor atmo gas fuel nearfuture #LOC_NFPropulsion_cryoseperator-25_XenonLoop_name = Xenon Separator diff --git a/GameData/NearFuturePropulsion/Parts/Argon/argon-0625/argon-0625-1.cfg b/GameData/NearFuturePropulsion/Parts/Argon/argon-0625/argon-0625-1.cfg index d48b47d..b650771 100644 --- a/GameData/NearFuturePropulsion/Parts/Argon/argon-0625/argon-0625-1.cfg +++ b/GameData/NearFuturePropulsion/Parts/Argon/argon-0625/argon-0625-1.cfg @@ -48,4 +48,9 @@ PART amount = 112000 maxAmount = 112000 } + MODULE + { + name = ModuleCargoPart + packedVolume = 500 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Argon/argon-0625/argon-0625-2.cfg b/GameData/NearFuturePropulsion/Parts/Argon/argon-0625/argon-0625-2.cfg index ce29129..508841d 100644 --- a/GameData/NearFuturePropulsion/Parts/Argon/argon-0625/argon-0625-2.cfg +++ b/GameData/NearFuturePropulsion/Parts/Argon/argon-0625/argon-0625-2.cfg @@ -48,4 +48,9 @@ PART amount = 56000 maxAmount =56000 } + MODULE + { + name = ModuleCargoPart + packedVolume = 250 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Argon/argon-0625/argon-0625-3.cfg b/GameData/NearFuturePropulsion/Parts/Argon/argon-0625/argon-0625-3.cfg index dcf2bf5..2732199 100644 --- a/GameData/NearFuturePropulsion/Parts/Argon/argon-0625/argon-0625-3.cfg +++ b/GameData/NearFuturePropulsion/Parts/Argon/argon-0625/argon-0625-3.cfg @@ -48,4 +48,9 @@ PART amount = 28000 maxAmount = 28000 } + MODULE + { + name = ModuleCargoPart + packedVolume = 125 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Argon/argon-125/argon-125-2.cfg b/GameData/NearFuturePropulsion/Parts/Argon/argon-125/argon-125-2.cfg index b4b4c1e..9cd7850 100644 --- a/GameData/NearFuturePropulsion/Parts/Argon/argon-125/argon-125-2.cfg +++ b/GameData/NearFuturePropulsion/Parts/Argon/argon-125/argon-125-2.cfg @@ -48,4 +48,9 @@ PART amount = 640000 maxAmount = 640000 } + MODULE + { + name = ModuleCargoPart + packedVolume = 2200 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Argon/argon-125/argon-125-3.cfg b/GameData/NearFuturePropulsion/Parts/Argon/argon-125/argon-125-3.cfg index 396c745..1370791 100644 --- a/GameData/NearFuturePropulsion/Parts/Argon/argon-125/argon-125-3.cfg +++ b/GameData/NearFuturePropulsion/Parts/Argon/argon-125/argon-125-3.cfg @@ -48,4 +48,9 @@ PART amount = 320000 maxAmount = 320000 } + MODULE + { + name = ModuleCargoPart + packedVolume = 1100 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Argon/argon-radial/argon-radial-0625-1.cfg b/GameData/NearFuturePropulsion/Parts/Argon/argon-radial/argon-radial-0625-1.cfg index 00d4ec5..4dae0bb 100644 --- a/GameData/NearFuturePropulsion/Parts/Argon/argon-radial/argon-radial-0625-1.cfg +++ b/GameData/NearFuturePropulsion/Parts/Argon/argon-radial/argon-radial-0625-1.cfg @@ -48,4 +48,10 @@ PART amount = 14400 maxAmount = 14400 } + + MODULE + { + name = ModuleCargoPart + packedVolume = 100 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Argon/argon-radial/argon-radial-125-1.cfg b/GameData/NearFuturePropulsion/Parts/Argon/argon-radial/argon-radial-125-1.cfg index 9ec26ba..f2ed0fd 100644 --- a/GameData/NearFuturePropulsion/Parts/Argon/argon-radial/argon-radial-125-1.cfg +++ b/GameData/NearFuturePropulsion/Parts/Argon/argon-radial/argon-radial-125-1.cfg @@ -47,4 +47,10 @@ PART amount = 64000 maxAmount = 64000 } + + MODULE + { + name = ModuleCargoPart + packedVolume = 600 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Engines/ionArgon-0625/ionArgon-0625-2.cfg b/GameData/NearFuturePropulsion/Parts/Engines/ionArgon-0625/ionArgon-0625-2.cfg index 6540197..26fb360 100644 --- a/GameData/NearFuturePropulsion/Parts/Engines/ionArgon-0625/ionArgon-0625-2.cfg +++ b/GameData/NearFuturePropulsion/Parts/Engines/ionArgon-0625/ionArgon-0625-2.cfg @@ -269,4 +269,10 @@ PART body = _NotSun } } + + MODULE + { + name = ModuleCargoPart + packedVolume = 130 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Engines/ionArgon-0625/ionArgon-0625-3.cfg b/GameData/NearFuturePropulsion/Parts/Engines/ionArgon-0625/ionArgon-0625-3.cfg index a3637ac..429acf8 100644 --- a/GameData/NearFuturePropulsion/Parts/Engines/ionArgon-0625/ionArgon-0625-3.cfg +++ b/GameData/NearFuturePropulsion/Parts/Engines/ionArgon-0625/ionArgon-0625-3.cfg @@ -250,4 +250,9 @@ PART body = _NotSun } } + MODULE + { + name = ModuleCargoPart + packedVolume = 140 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Engines/ionArgon-0625/ionArgon-0625.cfg b/GameData/NearFuturePropulsion/Parts/Engines/ionArgon-0625/ionArgon-0625.cfg index fe90e97..953b406 100644 --- a/GameData/NearFuturePropulsion/Parts/Engines/ionArgon-0625/ionArgon-0625.cfg +++ b/GameData/NearFuturePropulsion/Parts/Engines/ionArgon-0625/ionArgon-0625.cfg @@ -272,4 +272,9 @@ PART body = _NotSun } } + MODULE + { + name = ModuleCargoPart + packedVolume = 130 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Engines/ionXenon-0625/ionXenon-0625-2.cfg b/GameData/NearFuturePropulsion/Parts/Engines/ionXenon-0625/ionXenon-0625-2.cfg index 8a216a1..0eb9ebb 100644 --- a/GameData/NearFuturePropulsion/Parts/Engines/ionXenon-0625/ionXenon-0625-2.cfg +++ b/GameData/NearFuturePropulsion/Parts/Engines/ionXenon-0625/ionXenon-0625-2.cfg @@ -253,4 +253,9 @@ PART body = _NotSun } } + MODULE + { + name = ModuleCargoPart + packedVolume = 130 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Engines/ionXenon-0625/ionXenon-0625-3.cfg b/GameData/NearFuturePropulsion/Parts/Engines/ionXenon-0625/ionXenon-0625-3.cfg index e92739b..17adbac 100644 --- a/GameData/NearFuturePropulsion/Parts/Engines/ionXenon-0625/ionXenon-0625-3.cfg +++ b/GameData/NearFuturePropulsion/Parts/Engines/ionXenon-0625/ionXenon-0625-3.cfg @@ -255,4 +255,9 @@ PART body = _NotSun } } + MODULE + { + name = ModuleCargoPart + packedVolume = 160 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Engines/ionXenon-0625/ionXenon-0625.cfg b/GameData/NearFuturePropulsion/Parts/Engines/ionXenon-0625/ionXenon-0625.cfg index 745b118..886e032 100644 --- a/GameData/NearFuturePropulsion/Parts/Engines/ionXenon-0625/ionXenon-0625.cfg +++ b/GameData/NearFuturePropulsion/Parts/Engines/ionXenon-0625/ionXenon-0625.cfg @@ -255,4 +255,9 @@ PART body = _NotSun } } + MODULE + { + name = ModuleCargoPart + packedVolume = 160 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Engines/mpdt-0625/mpdt-0625.cfg b/GameData/NearFuturePropulsion/Parts/Engines/mpdt-0625/mpdt-0625.cfg index b3dc075..6f6abe1 100644 --- a/GameData/NearFuturePropulsion/Parts/Engines/mpdt-0625/mpdt-0625.cfg +++ b/GameData/NearFuturePropulsion/Parts/Engines/mpdt-0625/mpdt-0625.cfg @@ -276,4 +276,9 @@ PART body = _NotSun } } + MODULE + { + name = ModuleCargoPart + packedVolume = 400 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Engines/mpdt-125/mpdt-125.cfg b/GameData/NearFuturePropulsion/Parts/Engines/mpdt-125/mpdt-125.cfg index 15f35ff..c55275c 100644 --- a/GameData/NearFuturePropulsion/Parts/Engines/mpdt-125/mpdt-125.cfg +++ b/GameData/NearFuturePropulsion/Parts/Engines/mpdt-125/mpdt-125.cfg @@ -178,7 +178,11 @@ PART responseSpeed = 0.5 layer = 1 } - + MODULE + { + name = ModuleCargoPart + packedVolume = 1700 + } MODULE { name = ModuleAnimateHeat diff --git a/GameData/NearFuturePropulsion/Parts/Engines/pit-0625/pit-0625.cfg b/GameData/NearFuturePropulsion/Parts/Engines/pit-0625/pit-0625.cfg index 069b484..5f02186 100644 --- a/GameData/NearFuturePropulsion/Parts/Engines/pit-0625/pit-0625.cfg +++ b/GameData/NearFuturePropulsion/Parts/Engines/pit-0625/pit-0625.cfg @@ -276,4 +276,9 @@ PART body = _NotSun } } + MODULE + { + name = ModuleCargoPart + packedVolume = 200 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Engines/pit-125/pit-125.cfg b/GameData/NearFuturePropulsion/Parts/Engines/pit-125/pit-125.cfg index 5eef809..d569c6a 100644 --- a/GameData/NearFuturePropulsion/Parts/Engines/pit-125/pit-125.cfg +++ b/GameData/NearFuturePropulsion/Parts/Engines/pit-125/pit-125.cfg @@ -274,4 +274,9 @@ PART body = _NotSun } } + MODULE + { + name = ModuleCargoPart + packedVolume = 1300 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Engines/vasimr-0625/vasimr-0625.cfg b/GameData/NearFuturePropulsion/Parts/Engines/vasimr-0625/vasimr-0625.cfg index 1ce01d5..34d4bcf 100644 --- a/GameData/NearFuturePropulsion/Parts/Engines/vasimr-0625/vasimr-0625.cfg +++ b/GameData/NearFuturePropulsion/Parts/Engines/vasimr-0625/vasimr-0625.cfg @@ -451,4 +451,9 @@ PART body = _NotSun } } + MODULE + { + name = ModuleCargoPart + packedVolume = 800 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Engines/vasimr-125/vasimr-125.cfg b/GameData/NearFuturePropulsion/Parts/Engines/vasimr-125/vasimr-125.cfg index a84bbc0..b4be4ed 100644 --- a/GameData/NearFuturePropulsion/Parts/Engines/vasimr-125/vasimr-125.cfg +++ b/GameData/NearFuturePropulsion/Parts/Engines/vasimr-125/vasimr-125.cfg @@ -484,4 +484,9 @@ PART body = _NotSun } } + MODULE + { + name = ModuleCargoPart + packedVolume = 1600 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Lithium/lithium-0625/lithium-0625-1.cfg b/GameData/NearFuturePropulsion/Parts/Lithium/lithium-0625/lithium-0625-1.cfg index 2276770..2efcc95 100644 --- a/GameData/NearFuturePropulsion/Parts/Lithium/lithium-0625/lithium-0625-1.cfg +++ b/GameData/NearFuturePropulsion/Parts/Lithium/lithium-0625/lithium-0625-1.cfg @@ -48,4 +48,9 @@ PART amount = 385 maxAmount = 385 } + MODULE + { + name = ModuleCargoPart + packedVolume = 500 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Lithium/lithium-0625/lithium-0625-2.cfg b/GameData/NearFuturePropulsion/Parts/Lithium/lithium-0625/lithium-0625-2.cfg index f468b91..9318c45 100644 --- a/GameData/NearFuturePropulsion/Parts/Lithium/lithium-0625/lithium-0625-2.cfg +++ b/GameData/NearFuturePropulsion/Parts/Lithium/lithium-0625/lithium-0625-2.cfg @@ -48,4 +48,9 @@ PART amount = 192 maxAmount = 192 } + MODULE + { + name = ModuleCargoPart + packedVolume = 250 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Lithium/lithium-0625/lithium-0625-3.cfg b/GameData/NearFuturePropulsion/Parts/Lithium/lithium-0625/lithium-0625-3.cfg index 278845e..1d67b54 100644 --- a/GameData/NearFuturePropulsion/Parts/Lithium/lithium-0625/lithium-0625-3.cfg +++ b/GameData/NearFuturePropulsion/Parts/Lithium/lithium-0625/lithium-0625-3.cfg @@ -48,4 +48,9 @@ PART amount = 96 maxAmount = 96 } + MODULE + { + name = ModuleCargoPart + packedVolume = 125 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Lithium/lithium-125/lithium-125-2.cfg b/GameData/NearFuturePropulsion/Parts/Lithium/lithium-125/lithium-125-2.cfg index 6bd1204..99b0c43 100644 --- a/GameData/NearFuturePropulsion/Parts/Lithium/lithium-125/lithium-125-2.cfg +++ b/GameData/NearFuturePropulsion/Parts/Lithium/lithium-125/lithium-125-2.cfg @@ -47,4 +47,9 @@ PART amount = 2200 maxAmount = 2200 } + MODULE + { + name = ModuleCargoPart + packedVolume = 2200 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Lithium/lithium-125/lithium-125-3.cfg b/GameData/NearFuturePropulsion/Parts/Lithium/lithium-125/lithium-125-3.cfg index 338ddeb..0bf6eb6 100644 --- a/GameData/NearFuturePropulsion/Parts/Lithium/lithium-125/lithium-125-3.cfg +++ b/GameData/NearFuturePropulsion/Parts/Lithium/lithium-125/lithium-125-3.cfg @@ -47,4 +47,9 @@ PART amount = 1100 maxAmount = 1100 } + MODULE + { + name = ModuleCargoPart + packedVolume = 1100 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Lithium/lithium-radial/lithium-radial-0625-1.cfg b/GameData/NearFuturePropulsion/Parts/Lithium/lithium-radial/lithium-radial-0625-1.cfg index 568d949..3f02381 100644 --- a/GameData/NearFuturePropulsion/Parts/Lithium/lithium-radial/lithium-radial-0625-1.cfg +++ b/GameData/NearFuturePropulsion/Parts/Lithium/lithium-radial/lithium-radial-0625-1.cfg @@ -48,4 +48,10 @@ PART amount = 92 maxAmount = 92 } + + MODULE + { + name = ModuleCargoPart + packedVolume = 70 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Lithium/lithium-radial/lithium-radial-125-1.cfg b/GameData/NearFuturePropulsion/Parts/Lithium/lithium-radial/lithium-radial-125-1.cfg index f3b4063..3ca1d2b 100644 --- a/GameData/NearFuturePropulsion/Parts/Lithium/lithium-radial/lithium-radial-125-1.cfg +++ b/GameData/NearFuturePropulsion/Parts/Lithium/lithium-radial/lithium-radial-125-1.cfg @@ -47,4 +47,10 @@ PART amount = 880 maxAmount = 880 } + + MODULE + { + name = ModuleCargoPart + packedVolume = 150 + } } diff --git a/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-gridded-01.cfg b/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-gridded-01.cfg index 8388568..b693495 100644 --- a/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-gridded-01.cfg +++ b/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-gridded-01.cfg @@ -117,4 +117,9 @@ PART key = 0.1 1.0 } } + MODULE + { + name = ModuleCargoPart + packedVolume = 40 + } } diff --git a/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-hall-01.cfg b/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-hall-01.cfg index 5d1643b..0feaff7 100644 --- a/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-hall-01.cfg +++ b/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-hall-01.cfg @@ -118,5 +118,9 @@ PART key = 0.15 1.0 } } - + MODULE + { + name = ModuleCargoPart + packedVolume = 40 + } } diff --git a/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-mpdt-quad-01.cfg b/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-mpdt-quad-01.cfg index 74c04a3..b124908 100644 --- a/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-mpdt-quad-01.cfg +++ b/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-mpdt-quad-01.cfg @@ -119,4 +119,9 @@ PART key = 0.25 1.0 } } + MODULE + { + name = ModuleCargoPart + packedVolume = 40 + } } diff --git a/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-mpdt-quint-01.cfg b/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-mpdt-quint-01.cfg index 5297feb..82017e8 100644 --- a/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-mpdt-quint-01.cfg +++ b/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-mpdt-quint-01.cfg @@ -119,4 +119,9 @@ PART key = 0.25 1.0 } } + MODULE + { + name = ModuleCargoPart + packedVolume = 40 + } } diff --git a/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-mpdt-single-01.cfg b/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-mpdt-single-01.cfg index d55e74a..3684f4d 100644 --- a/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-mpdt-single-01.cfg +++ b/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-mpdt-single-01.cfg @@ -119,4 +119,9 @@ PART key = 0.25 1.0 } } + MODULE + { + name = ModuleCargoPart + packedVolume = 40 + } } diff --git a/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-mpdt-triple-01.cfg b/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-mpdt-triple-01.cfg index 9b7314c..3141575 100644 --- a/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-mpdt-triple-01.cfg +++ b/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-mpdt-triple-01.cfg @@ -119,4 +119,9 @@ PART key = 0.25 1.0 } } + MODULE + { + name = ModuleCargoPart + packedVolume = 40 + } } diff --git a/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-pulsedplasma-01.cfg b/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-pulsedplasma-01.cfg index cce9533..6ce739b 100644 --- a/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-pulsedplasma-01.cfg +++ b/GameData/NearFuturePropulsion/Parts/RCS/rcsblock-electric/rcsblock-pulsedplasma-01.cfg @@ -124,4 +124,9 @@ PART key = 0.12 1.0 } } + MODULE + { + name = ModuleCargoPart + packedVolume = 20 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Resources/cryoseperator-25/cryoseperator-25.cfg b/GameData/NearFuturePropulsion/Parts/Resources/cryoseperator-25/cryoseperator-25.cfg index 81c5bb9..a9e1693 100644 --- a/GameData/NearFuturePropulsion/Parts/Resources/cryoseperator-25/cryoseperator-25.cfg +++ b/GameData/NearFuturePropulsion/Parts/Resources/cryoseperator-25/cryoseperator-25.cfg @@ -1,5 +1,5 @@ // Near Future Propulsion 1.0.0 -// Cryogenic gas separator - 2.5m +// DEPRECATED: Cryogenic gas separator - 2.5m PART { name = cryoseperator-25 @@ -17,10 +17,13 @@ PART TechRequired = advScienceTech - entryCost = 28000 + + entryCost = 0 + TechHidden = True + category = none + subcategory = 0 cost = 12000 - category = Utility subcategory = 0 title = #LOC_NFPropulsion_cryoseperator-25_title manufacturer = #LOC_NFPropulsion_manufacturer_postkerbin_title diff --git a/GameData/NearFuturePropulsion/Parts/Resources/gasspectrometer-01/gasspectrometer-01.cfg b/GameData/NearFuturePropulsion/Parts/Resources/gasspectrometer-01/gasspectrometer-01.cfg index 96a2da5..514dbb0 100644 --- a/GameData/NearFuturePropulsion/Parts/Resources/gasspectrometer-01/gasspectrometer-01.cfg +++ b/GameData/NearFuturePropulsion/Parts/Resources/gasspectrometer-01/gasspectrometer-01.cfg @@ -1,5 +1,5 @@ // Near Future Propulsion 1.0.0 -// Gas scanner +// DEPRECATED: Gas scanner PART { name = gasspectrometer-01 @@ -13,9 +13,11 @@ PART scale = 1 node_attach = 0.0, 0.0, -0.077, 0.0, 0.0, 1,0 TechRequired = advScienceTech - entryCost = 2900 + cost = 750 - category = Science + entryCost = 0 + TechHidden = True + category = none subcategory = 0 title = #LOC_NFPropulsion_gasspectrometer-1_title manufacturer = #LOC_NFPropulsion_manufacturer_postkerbin_title diff --git a/GameData/NearFuturePropulsion/Parts/Xenon/xenon-125/xenon-125-2.cfg b/GameData/NearFuturePropulsion/Parts/Xenon/xenon-125/xenon-125-2.cfg index 6b1d747..b74d741 100644 --- a/GameData/NearFuturePropulsion/Parts/Xenon/xenon-125/xenon-125-2.cfg +++ b/GameData/NearFuturePropulsion/Parts/Xenon/xenon-125/xenon-125-2.cfg @@ -50,4 +50,9 @@ PART amount = 12000 maxAmount = 12000 } + MODULE + { + name = ModuleCargoPart + packedVolume = 1200 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Xenon/xenon-125/xenon-125-3.cfg b/GameData/NearFuturePropulsion/Parts/Xenon/xenon-125/xenon-125-3.cfg index b68becc..d51673e 100644 --- a/GameData/NearFuturePropulsion/Parts/Xenon/xenon-125/xenon-125-3.cfg +++ b/GameData/NearFuturePropulsion/Parts/Xenon/xenon-125/xenon-125-3.cfg @@ -48,4 +48,9 @@ PART amount = 6000 maxAmount = 6000 } + MODULE + { + name = ModuleCargoPart + packedVolume = 1100 + } } diff --git a/GameData/NearFuturePropulsion/Parts/Xenon/xenon-radial/xenon-radial-125-1.cfg b/GameData/NearFuturePropulsion/Parts/Xenon/xenon-radial/xenon-radial-125-1.cfg index dcc44ec..94f69c4 100644 --- a/GameData/NearFuturePropulsion/Parts/Xenon/xenon-radial/xenon-radial-125-1.cfg +++ b/GameData/NearFuturePropulsion/Parts/Xenon/xenon-radial/xenon-radial-125-1.cfg @@ -47,4 +47,9 @@ PART amount = 7500 maxAmount = 7500 } + MODULE + { + name = ModuleCargoPart + packedVolume = 1100 + } } diff --git a/GameData/NearFuturePropulsion/Patches/Waterfall/NearFuturePropulsionWaterfallHallEffect.cfg b/GameData/NearFuturePropulsion/Patches/Waterfall/NearFuturePropulsionWaterfallHallEffect.cfg new file mode 100644 index 0000000..07ef1e3 --- /dev/null +++ b/GameData/NearFuturePropulsion/Patches/Waterfall/NearFuturePropulsionWaterfallHallEffect.cfg @@ -0,0 +1,656 @@ +@PART[ionArgon-0625]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + engage + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/IonArgonOn + volume = 1.0 + pitch = 1.0 + loop = false + } + } + flameout + { + PREFAB_PARTICLE + { + prefabName = fx_exhaustSparks_flameout_2 + transformName = thrustTransform + oneShot = true + } + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/GenericFlameout + volume = 1.0 + pitch = 1.0 + loop = false + } + } + run_hallm_core + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/IonArgonLoop01 + volume = 0.0 0.0 + volume = 0.01 0.1 + volume = 0.5 0.2 + volume = 1.0 0.4 + pitch = 0.0 1.2 + pitch = 0.5 1.2 + pitch = 1.0 1.2 + loop = true + } + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = hallFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = basicEngine + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = throttle + } + TEMPLATE + { + // This is the name of the template to use + templateName = template-nfp-ion-hall-argon-1 + // This field allows you to override the parentTransform name in the EFFECTS contained in the template + overrideParentTransform = thrustTransform + scale = 1,1,1 + rotation = 0,0,0 + position = 0,0,0 + } + } +} + +@PART[ionArgon-0625-2]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + engage + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/IonArgonOn + volume = 1.0 + pitch = 1.0 + loop = false + } + } + flameout + { + PREFAB_PARTICLE + { + prefabName = fx_exhaustSparks_flameout_2 + transformName = thrustTransform + oneShot = true + } + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/GenericFlameout + volume = 1.0 + pitch = 1.0 + loop = false + } + } + run_hallm1 + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/IonArgonLoop01 + volume = 0.0 0.0 + volume = 0.01 0.1 + volume = 0.5 0.2 + volume = 1.0 0.4 + pitch = 0.0 1.3 + pitch = 0.5 1.3 + pitch = 1.0 1.3 + loop = true + } + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = hallLargeFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = basicEngine + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = throttle + } + TEMPLATE + { + // This is the name of the template to use + templateName = template-nfp-ion-hall-argon-1 + // This field allows you to override the parentTransform name in the EFFECTS contained in the template + overrideParentTransform = thrustTransform + position = 0,0,0 +rotation = 0, 0, 0 +scale = 1.7, 1.7, 1.5 + } + } +} + +@PART[ionArgon-0625-3]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + engage + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/IonArgonOn + volume = 1.0 + pitch = 1.0 + loop = false + } + } + flameout + { + PREFAB_PARTICLE + { + prefabName = fx_exhaustSparks_flameout_2 + transformName = thrustTransform + oneShot = true + } + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/GenericFlameout + volume = 1.0 + pitch = 1.0 + loop = false + } + } + run_halla1 + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/IonArgonLoop01 + volume = 0.0 0.0 + volume = 0.01 0.1 + volume = 0.5 0.2 + volume = 1.0 0.4 + pitch = 0.0 1.3 + pitch = 0.5 1.3 + pitch = 1.0 1.3 + loop = true + + } + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = hallTripleFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = basicEngine + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = throttle + } + EFFECT +{ + name = hallPlume1 + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.100000001 + rotationOffset = -90,0,0 + scaleOffset = 0.230000004,1.5,0.230000004 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-5 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 1,0.770930409,1,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.905882359,0.0862745121,0.686274529,1 + } + FLOAT + { + floatName = _Noise + value = 1.66833103 + } + FLOAT + { + floatName = _Fresnel + value = 0.859443069 + } + FLOAT + { + floatName = _Falloff + value = 4.75221491 + } + FLOAT + { + floatName = _SpeedX + value = 0 + } + FLOAT + { + floatName = _SpeedY + value = 40.4332733 + } + FLOAT + { + floatName = _TileY + value = 1 + } + FLOAT + { + floatName = _TileX + value = 10 + } + FLOAT + { + floatName = _FresnelInvert + value = 0.099999994 + } + FLOAT + { + floatName = _ExpandLinear + value = 1.3144424 + } + FLOAT + { + floatName = _TintFalloff + value = 0.707776666 + } + FLOAT + { + floatName = _Brightness + value = 0.545000732 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.5 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.2 0 0 + } + } + FLOATMODIFIER + { + name = aDeform + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _ExpandSquare + floatCurve + { + key = 0 0 0 0 + key = 1 -1.5 0 0 + } + } +} + +EFFECT +{ + name = hallPlume1 + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.100000001 + rotationOffset = -90,0,0 + scaleOffset = 0.0700000003,2,0.0700000003 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-5 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 1,0.770930409,1,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.905882359,0.0862745121,0.686274529,1 + } + FLOAT + { + floatName = _Noise + value = 1.66833103 + } + FLOAT + { + floatName = _Fresnel + value = 0.859443069 + } + FLOAT + { + floatName = _Falloff + value = 4.75221491 + } + FLOAT + { + floatName = _SpeedX + value = 0 + } + FLOAT + { + floatName = _SpeedY + value = 40.4332733 + } + FLOAT + { + floatName = _TileY + value = 1 + } + FLOAT + { + floatName = _TileX + value = 10 + } + FLOAT + { + floatName = _FresnelInvert + value = 0.099999994 + } + FLOAT + { + floatName = _ExpandLinear + value = 1.6177752 + } + FLOAT + { + floatName = _TintFalloff + value = 0.707776666 + } + FLOAT + { + floatName = _Brightness + value = 0.545000732 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.2 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.2 0 0 + } + } + FLOATMODIFIER + { + name = aDeform + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _ExpandSquare + floatCurve + { + key = 0 0 0 0 + key = 1 -1.5 0 0 + } + } +} + +EFFECT +{ + name = hallPlume1 + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.100000001 + rotationOffset = -90,0,0 + scaleOffset = 0.159999996,1.5,0.159999996 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-5 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 1,0.770930409,1,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.905882359,0.0862745121,0.686274529,1 + } + FLOAT + { + floatName = _Noise + value = 1.66833103 + } + FLOAT + { + floatName = _Fresnel + value = 0.859443069 + } + FLOAT + { + floatName = _Falloff + value = 4.75221491 + } + FLOAT + { + floatName = _SpeedX + value = 0 + } + FLOAT + { + floatName = _SpeedY + value = 40.4332733 + } + FLOAT + { + floatName = _TileY + value = 1 + } + FLOAT + { + floatName = _TileX + value = 10 + } + FLOAT + { + floatName = _FresnelInvert + value = 0.099999994 + } + FLOAT + { + floatName = _ExpandLinear + value = 1.6177752 + } + FLOAT + { + floatName = _TintFalloff + value = 0.707776666 + } + FLOAT + { + floatName = _Brightness + value = 0.545000732 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.2 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.2 0 0 + } + } + FLOATMODIFIER + { + name = aDeform + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _ExpandSquare + floatCurve + { + key = 0 0 0 0 + key = 1 -1.5 0 0 + } + } +} + + +} \ No newline at end of file diff --git a/GameData/NearFuturePropulsion/Patches/Waterfall/NearFuturePropulsionWaterfallMPDT.cfg b/GameData/NearFuturePropulsion/Patches/Waterfall/NearFuturePropulsionWaterfallMPDT.cfg new file mode 100644 index 0000000..3a858ac --- /dev/null +++ b/GameData/NearFuturePropulsion/Patches/Waterfall/NearFuturePropulsionWaterfallMPDT.cfg @@ -0,0 +1,1434 @@ +@PART[mpdt-0625]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + engage + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/MPDTOn + volume = 1.0 + pitch = 1.0 + loop = false + } + } + flameout + { + PREFAB_PARTICLE + { + prefabName = fx_exhaustSparks_flameout_2 + transformName = thrustTransform + oneShot = true + } + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/GenericFlameout + volume = 1.0 + pitch = 1.0 + loop = false + } + } + run_ds01_core + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/MPDTLoop01 + volume = 0.0 0.0 + volume = 0.01 0.2 + volume = 0.5 0.3 + volume = 1.0 0.6 + pitch = 0.0 2.0 + pitch = 0.5 1.6 + pitch = 1.0 1.3 + loop = true + } + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = rocketFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = basicEngine + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = throttle + } + EFFECT + { + name = mpdtFXreaction + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.300000012 + rotationOffset = -90,0,0 + scaleOffset = 0.0299999993,0.200000003,0.0299999993 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + FLOAT + { + floatName = _Fresnel + value = 0.505554795 + } + FLOAT + { + floatName = _Falloff + value = 2.52777386 + } + FLOAT + { + floatName = _FadeIn + value = 0.444888204 + } + FLOAT + { + floatName = _FadeOut + value = 0.500499249 + } + FLOAT + { + floatName = _ExpandLinear + value = 6.47110128 + } + FLOAT + { + floatName = _Noise + value = 5.30832529 + } + FLOAT + { + floatName = _SpeedY + value = 5.98889065 + } + FLOAT + { + floatName = _TileX + value = 2 + } + FLOAT + { + floatName = _ExpandSquare + value = -3.84221625 + } + COLOR + { + colorName = _StartTint + colorValue = 0.588235319,0.847058833,0.847058833,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.905882359,0.0980392173,0.0980392173,1 + } + FLOAT + { + floatName = _TintFalloff + value = 0.859443069 + } + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-1 + textureScale = 1,1 + textureOffset = 0,0 + } + FLOAT + { + floatName = _SpeedX + value = 0 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 2 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.2 0 0 + } + } + } + + EFFECT + { + name = mpdtFXPlume + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.400000006 + rotationOffset = -90,0,0 + scaleOffset = 0.0700000003,3,0.0700000003 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-1 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 1,0,0.173837855,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.905882359,0.0980392173,0.0980392173,1 + } + FLOAT + { + floatName = _Fresnel + value = 0.707776725 + } + FLOAT + { + floatName = _Falloff + value = 5.8644352 + } + FLOAT + { + floatName = _FadeIn + value = 0 + } + FLOAT + { + floatName = _FadeOut + value = 0 + } + FLOAT + { + floatName = _ExpandLinear + value = 20 + } + FLOAT + { + floatName = _Noise + value = 3.03332901 + } + FLOAT + { + floatName = _SpeedY + value = 7 + } + FLOAT + { + floatName = _TileX + value = 2 + } + FLOAT + { + floatName = _ExpandSquare + value = 0 + } + FLOAT + { + floatName = _TintFalloff + value = 0.4044438 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.3 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.2 0 0 + } + } + } + + EFFECT + { + name = mpdtFXcore + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.200000003 + rotationOffset = -90,0,0 + scaleOffset = 0.0500000007,3,0.0500000007 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-1 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 0.858823538,0.858823538,0.858823538,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.905882359,0.0980392173,0.0980392173,1 + } + FLOAT + { + floatName = _Fresnel + value = 0.707776725 + } + FLOAT + { + floatName = _Falloff + value = 5.8644352 + } + FLOAT + { + floatName = _FadeIn + value = 0 + } + FLOAT + { + floatName = _FadeOut + value = 0 + } + FLOAT + { + floatName = _ExpandLinear + value = 10 + } + FLOAT + { + floatName = _Noise + value = 3.03332901 + } + FLOAT + { + floatName = _SpeedY + value = 28.2333012 + } + FLOAT + { + floatName = _TileX + value = 1 + } + FLOAT + { + floatName = _ExpandSquare + value = 0 + } + FLOAT + { + floatName = _TintFalloff + value = 2.52777386 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.3 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.2 0 0 + } + } + } + + EFFECT + { + name = mpdtFXFlare + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-billboard-generic-1 + positionOffset = 0,0,-0.150000006 + rotationOffset = 0,0,0 + scaleOffset = 0.300000012,0.300000012,0.300000012 + MATERIAL + { + transform = Billboard + shader = Waterfall/Billboard (Additive Directional) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx_flareglow-1 + textureScale = 1,1 + textureOffset = 0,0 + } + } + } + FLOATMODIFIER + { + name = aBright + controllerName = throttle + transformName = Billboard + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 0.8 0 0 0 + key = 1 1 0 0 + } + } + } + + + } +} + +@PART[mpdt-125]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + engage + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/MPDTOn + volume = 1.0 + pitch = 1.0 + loop = false + } + } + flameout + { + PREFAB_PARTICLE + { + prefabName = fx_exhaustSparks_flameout_2 + transformName = thrustTransform + oneShot = true + } + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/GenericFlameout + volume = 1.0 + pitch = 1.0 + loop = false + } + } + run_ds02_core + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/MPDTLoop01 + volume = 0.0 0.0 + volume = 0.01 0.1 + volume = 0.5 0.2 + volume = 1.0 0.4 + pitch = 0.0 1.4 + pitch = 0.5 1.2 + pitch = 1.0 1.0 + loop = true + } + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = rocketFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = basicEngine + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = throttle + } + CONTROLLER + { + name = random + linkedTo = random + range = -1,1 + } + EFFECT +{ + name = mpdtFXreaction + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.5 + rotationOffset = -90,0,0 + scaleOffset = 0.0599999987,0.200000003,0.0599999987 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-1 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 0.588235319,0.847058833,0.847058833,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.905882359,0.0980392173,0.0980392173,1 + } + FLOAT + { + floatName = _Fresnel + value = 0.505554795 + } + FLOAT + { + floatName = _Falloff + value = 2.52777386 + } + FLOAT + { + floatName = _FadeIn + value = 0.444888204 + } + FLOAT + { + floatName = _FadeOut + value = 0.500499249 + } + FLOAT + { + floatName = _ExpandLinear + value = 6.47110128 + } + FLOAT + { + floatName = _Noise + value = 5.30832529 + } + FLOAT + { + floatName = _SpeedY + value = -5.98889112 + } + FLOAT + { + floatName = _TileX + value = 2 + } + FLOAT + { + floatName = _ExpandSquare + value = -3.84221625 + } + FLOAT + { + floatName = _TintFalloff + value = 0.859443069 + } + FLOAT + { + floatName = _SpeedX + value = 0 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 2 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.2 0 0 + } + } +} + +EFFECT +{ + name = mpdtFXPlume + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.5 + rotationOffset = -90,0,0 + scaleOffset = 0.150000006,5,0.150000006 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-1 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 1,0,0.173837855,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.905882359,0.0980392173,0.0980392173,1 + } + FLOAT + { + floatName = _Fresnel + value = 0.707776725 + } + FLOAT + { + floatName = _Falloff + value = 5.8644352 + } + FLOAT + { + floatName = _FadeIn + value = 0 + } + FLOAT + { + floatName = _FadeOut + value = 0 + } + FLOAT + { + floatName = _ExpandLinear + value = 15 + } + FLOAT + { + floatName = _Noise + value = 3.03332901 + } + FLOAT + { + floatName = _SpeedY + value = 7 + } + FLOAT + { + floatName = _TileX + value = 2 + } + FLOAT + { + floatName = _ExpandSquare + value = 0 + } + FLOAT + { + floatName = _TintFalloff + value = 0.4044438 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.3 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.2 0 0 + } + } +} + +EFFECT +{ + name = mpdtFXcore + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.200000003 + rotationOffset = -90,0,0 + scaleOffset = 0.0500000007,5,0.0500000007 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-1 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 0.858823538,0.858823538,0.858823538,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.905882359,0.0980392173,0.0980392173,1 + } + FLOAT + { + floatName = _Fresnel + value = 0.707776725 + } + FLOAT + { + floatName = _Falloff + value = 5.8644352 + } + FLOAT + { + floatName = _FadeIn + value = 0 + } + FLOAT + { + floatName = _FadeOut + value = 0 + } + FLOAT + { + floatName = _ExpandLinear + value = 10 + } + FLOAT + { + floatName = _Noise + value = 5.23249245 + } + FLOAT + { + floatName = _SpeedY + value = 28.2333012 + } + FLOAT + { + floatName = _TileX + value = 1 + } + FLOAT + { + floatName = _ExpandSquare + value = 0 + } + FLOAT + { + floatName = _TintFalloff + value = 2.52777386 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.3 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.2 0 0 + } + } +} + +EFFECT +{ + name = mpdtFXFlare + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-billboard-generic-1 + positionOffset = 0,0,-0.25 + rotationOffset = 0,0,0 + scaleOffset = 0.5,0.5,0.5 + MATERIAL + { + transform = Billboard + shader = Waterfall/Billboard (Additive Directional) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx_flareglow-1 + textureScale = 1,1 + textureOffset = 0,0 + } + } + } + FLOATMODIFIER + { + name = aBright + controllerName = throttle + transformName = Billboard + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 0.8 0 0 0 + key = 1 1 0 0 + } + } +} + + + + + } +} + +@PART[mpdt-25]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + engage + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/MPDTOn + volume = 1.0 + pitch = 1.0 + loop = false + } + } + flameout + { + PREFAB_PARTICLE + { + prefabName = fx_exhaustSparks_flameout_2 + transformName = thrustTransform + oneShot = true + } + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/GenericFlameout + volume = 1.0 + pitch = 1.0 + loop = false + } + } + run_ds02_core + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/MPDTLoop01 + volume = 0.0 0.0 + volume = 0.01 0.1 + volume = 0.5 0.2 + volume = 1.0 0.4 + pitch = 0.0 1.4 + pitch = 0.5 1.2 + pitch = 1.0 1.0 + loop = true + } + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = rocketFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = basicEngine + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = throttle + } + CONTROLLER + { + name = random + linkedTo = random + range = -1,1 + } + EFFECT +{ + name = mpdtFXreaction + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.800000012 + rotationOffset = -90,0,0 + scaleOffset = 0.100000001,0.5,0.100000001 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-1 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 0.588235319,0.847058833,0.847058833,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.905882359,0.0980392173,0.0980392173,1 + } + FLOAT + { + floatName = _Fresnel + value = 0.505554795 + } + FLOAT + { + floatName = _Falloff + value = 2.52777386 + } + FLOAT + { + floatName = _FadeIn + value = 0.444888204 + } + FLOAT + { + floatName = _FadeOut + value = 0.500499249 + } + FLOAT + { + floatName = _ExpandLinear + value = 6.47110128 + } + FLOAT + { + floatName = _Noise + value = 5.30832529 + } + FLOAT + { + floatName = _SpeedY + value = 0 + } + FLOAT + { + floatName = _TileX + value = 2 + } + FLOAT + { + floatName = _ExpandSquare + value = -3.84221625 + } + FLOAT + { + floatName = _TintFalloff + value = 0.859443069 + } + FLOAT + { + floatName = _SpeedX + value = 0 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 2 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.2 0 0 + } + } +} + +EFFECT +{ + name = mpdtFXPlume + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.400000006 + rotationOffset = -90,0,0 + scaleOffset = 0.300000012,8,0.300000012 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-1 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 1,0,0.173837855,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.905882359,0.0980392173,0.0980392173,1 + } + FLOAT + { + floatName = _Fresnel + value = 0.707776725 + } + FLOAT + { + floatName = _Falloff + value = 5.8644352 + } + FLOAT + { + floatName = _FadeIn + value = 0 + } + FLOAT + { + floatName = _FadeOut + value = 0 + } + FLOAT + { + floatName = _ExpandLinear + value = 10 + } + FLOAT + { + floatName = _Noise + value = 4.32249355 + } + FLOAT + { + floatName = _SpeedY + value = -7 + } + FLOAT + { + floatName = _TileX + value = 2 + } + FLOAT + { + floatName = _ExpandSquare + value = 0 + } + FLOAT + { + floatName = _TintFalloff + value = 0.4044438 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.3 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.2 0 0 + } + } +} + +EFFECT +{ + name = mpdtFXcore + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-1.20000005 + rotationOffset = -90,0,0 + scaleOffset = 0.100000001,8,0.100000001 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-1 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 0.858823538,0.858823538,0.858823538,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.905882359,0.0980392173,0.0980392173,1 + } + FLOAT + { + floatName = _Fresnel + value = 0.707776725 + } + FLOAT + { + floatName = _Falloff + value = 5.8644352 + } + FLOAT + { + floatName = _FadeIn + value = 0 + } + FLOAT + { + floatName = _FadeOut + value = 0 + } + FLOAT + { + floatName = _ExpandLinear + value = 10 + } + FLOAT + { + floatName = _Noise + value = 3.03332901 + } + FLOAT + { + floatName = _SpeedY + value = 28.2333012 + } + FLOAT + { + floatName = _TileX + value = 1 + } + FLOAT + { + floatName = _ExpandSquare + value = 0 + } + FLOAT + { + floatName = _TintFalloff + value = 2.52777386 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.5 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.2 0 0 + } + } +} + +EFFECT +{ + name = mpdtFXFlare + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-billboard-generic-1 + positionOffset = 0,0,-1.29999995 + rotationOffset = 0,0,0 + scaleOffset = 1,0.5,1 + MATERIAL + { + transform = Billboard + shader = Waterfall/Billboard (Additive Directional) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx_flarelamp-1 + textureScale = 1,1 + textureOffset = 0,0 + } + } + } + FLOATMODIFIER + { + name = aBright + controllerName = throttle + transformName = Billboard + combinationType = REPLACE + useRandomness = True + randomnessController = random + randomnessScale = 0.200000003 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 0.8 0 0 0 + key = 1 1 0 0 + } + } +} + + + + + } +} \ No newline at end of file diff --git a/GameData/NearFuturePropulsion/Patches/Waterfall/NearFuturePropulsionWaterfallPIT.cfg b/GameData/NearFuturePropulsion/Patches/Waterfall/NearFuturePropulsionWaterfallPIT.cfg new file mode 100644 index 0000000..9a1aca0 --- /dev/null +++ b/GameData/NearFuturePropulsion/Patches/Waterfall/NearFuturePropulsionWaterfallPIT.cfg @@ -0,0 +1,1419 @@ +@PART[pit-0625]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + engage + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/PITOn + volume = 1.0 + pitch = 1.0 + loop = false + } + } + flameout + { + PREFAB_PARTICLE + { + prefabName = fx_exhaustSparks_flameout_2 + transformName = thrustTransform + oneShot = true + } + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/GenericFlameout + volume = 1.0 + pitch = 1.0 + loop = false + } + } + run_kp01_core + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/PITLoop01 + volume = 0.0 0.0 + volume = 0.01 0.1 + volume = 0.5 0.2 + volume = 1.0 0.4 + pitch = 0.0 1.9 + pitch = 0.5 1.7 + pitch = 1.0 1.4 + loop = true + } + } + + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = rocketFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = basicEngine + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = throttle + } + EFFECT + { + name = pitFXgas + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.0500000007 + rotationOffset = 90,0,0 + scaleOffset = 0.0500000007,0.100000001,0.0500000007 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + COLOR + { + colorName = _StartTint + colorValue = 0.752941191,0.421303451,0.635294139,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.921568632,0.611764729,0.807843149,1 + } + FLOAT + { + floatName = _Falloff + value = 2.72999597 + } + FLOAT + { + floatName = _Fresnel + value = 0 + } + FLOAT + { + floatName = _FadeIn + value = 0.424666017 + } + FLOAT + { + floatName = _FadeOut + value = 0.267944038 + } + FLOAT + { + floatName = _ExpandLinear + value = 0.505554855 + } + FLOAT + { + floatName = _ExpandSquare + value = 3.13443947 + } + FLOAT + { + floatName = _Noise + value = 2.88166237 + } + FLOAT + { + floatName = _TileX + value = 1 + } + FLOAT + { + floatName = _TileY + value = 1 + } + FLOAT + { + floatName = _SpeedY + value = 15 + } + FLOAT + { + floatName = _TintFalloff + value = 0.733054399 + } + FLOAT + { + floatName = _FresnelInvert + value = 0 + } + FLOAT + { + floatName = _Brightness + value = 0.292223334 + } + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-ion-noise + textureScale = 1,1 + textureOffset = 0,0 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.6 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.4 0 0 + } + } + } + + EFFECT + { + name = pitFXPlume + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.150000006 + rotationOffset = -90,0,0 + scaleOffset = 0.180000007,5,0.180000007 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-4 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 0.752941191,0.421303451,0.635294139,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.921568632,0.611764729,0.807843149,1 + } + FLOAT + { + floatName = _Falloff + value = 4.65110445 + } + FLOAT + { + floatName = _Fresnel + value = 1.01110959 + } + FLOAT + { + floatName = _FadeIn + value = 0 + } + FLOAT + { + floatName = _FadeOut + value = 0 + } + FLOAT + { + floatName = _ExpandLinear + value = 6.167768 + } + FLOAT + { + floatName = _ExpandSquare + value = 0 + } + FLOAT + { + floatName = _Noise + value = 2.88166237 + } + FLOAT + { + floatName = _TileX + value = 3 + } + FLOAT + { + floatName = _TileY + value = 6 + } + FLOAT + { + floatName = _SpeedY + value = 15 + } + FLOAT + { + floatName = _TintFalloff + value = 0.733054399 + } + FLOAT + { + floatName = _FresnelInvert + value = 0 + } + FLOAT + { + floatName = _Brightness + value = 0.292223334 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.2 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.4 0 0 + } + } + } + + EFFECT + { + name = pitFXCore + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.150000006 + rotationOffset = -90,0,0 + scaleOffset = 0.0599999987,5,0.0599999987 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-4 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 0.752941191,0.421303451,0.635294139,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.921568632,0.611764729,0.807843149,1 + } + FLOAT + { + floatName = _Falloff + value = 4.65110445 + } + FLOAT + { + floatName = _Fresnel + value = 1.01110959 + } + FLOAT + { + floatName = _FadeIn + value = 0 + } + FLOAT + { + floatName = _FadeOut + value = 0 + } + FLOAT + { + floatName = _ExpandLinear + value = 4.95443678 + } + FLOAT + { + floatName = _ExpandSquare + value = 0 + } + FLOAT + { + floatName = _Noise + value = 2.88166237 + } + FLOAT + { + floatName = _TileX + value = 3 + } + FLOAT + { + floatName = _TileY + value = 6 + } + FLOAT + { + floatName = _SpeedY + value = 15 + } + FLOAT + { + floatName = _TintFalloff + value = 0.733054399 + } + FLOAT + { + floatName = _FresnelInvert + value = 0 + } + FLOAT + { + floatName = _Brightness + value = 0.292223334 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.1 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.4 0 0 + } + } + } + + + } +} + +@PART[pit-125]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + engage + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/PITOn + volume = 1.0 + pitch = 1.0 + loop = false + } + } + flameout + { + PREFAB_PARTICLE + { + prefabName = fx_exhaustSparks_flameout_2 + transformName = thrustTransform + oneShot = true + } + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/GenericFlameout + volume = 1.0 + pitch = 1.0 + loop = false + } + } + run_kpxl_core + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/PITLoop01 + volume = 0.0 0.0 + volume = 0.01 0.1 + volume = 0.5 0.2 + volume = 1.0 0.4 + pitch = 0.0 1.5 + pitch = 0.5 1.3 + pitch = 1.0 1.2 + loop = true + } + } + + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = pitMedFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = basicEngine + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = throttle + } + EFFECT +{ + name = pitFXgas + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.200000003 + rotationOffset = 90,0,0 + scaleOffset = 0.100000001,0.400000006,0.100000001 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-ion-noise + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 0.752941191,0.421303451,0.635294139,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.921568632,0.611764729,0.807843149,1 + } + FLOAT + { + floatName = _Falloff + value = 2.72999597 + } + FLOAT + { + floatName = _Fresnel + value = 0 + } + FLOAT + { + floatName = _FadeIn + value = 0.424666017 + } + FLOAT + { + floatName = _FadeOut + value = 0.267944038 + } + FLOAT + { + floatName = _ExpandLinear + value = 0.505554855 + } + FLOAT + { + floatName = _ExpandSquare + value = 3.94332719 + } + FLOAT + { + floatName = _Noise + value = 2.88166237 + } + FLOAT + { + floatName = _TileX + value = 1 + } + FLOAT + { + floatName = _TileY + value = 1 + } + FLOAT + { + floatName = _SpeedY + value = 15 + } + FLOAT + { + floatName = _TintFalloff + value = 0.733054399 + } + FLOAT + { + floatName = _FresnelInvert + value = 0 + } + FLOAT + { + floatName = _Brightness + value = 0.292223334 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 4 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.4 0 0 + } + } +} + +EFFECT +{ + name = pitFXPlume + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.5 + rotationOffset = -90,0,0 + scaleOffset = 0.340000004,5,0.340000004 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-4 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 0.752941191,0.421303451,0.635294139,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.921568632,0.611764729,0.807843149,1 + } + FLOAT + { + floatName = _Falloff + value = 4.65110445 + } + FLOAT + { + floatName = _Fresnel + value = 1.01110959 + } + FLOAT + { + floatName = _FadeIn + value = 0 + } + FLOAT + { + floatName = _FadeOut + value = 0 + } + FLOAT + { + floatName = _ExpandLinear + value = 4.34777069 + } + FLOAT + { + floatName = _ExpandSquare + value = 0 + } + FLOAT + { + floatName = _Noise + value = 2.88166237 + } + FLOAT + { + floatName = _TileX + value = 3 + } + FLOAT + { + floatName = _TileY + value = 6 + } + FLOAT + { + floatName = _SpeedY + value = 15 + } + FLOAT + { + floatName = _TintFalloff + value = 0.733054399 + } + FLOAT + { + floatName = _FresnelInvert + value = 0.0505554751 + } + FLOAT + { + floatName = _Brightness + value = 0.593888342 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.4 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.4 0 0 + } + } +} + +EFFECT +{ + name = pitFXCore + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.150000006 + rotationOffset = -90,0,0 + scaleOffset = 0.200000003,5,0.200000003 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-4 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 0.752941191,0.421303451,0.635294139,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.921568632,0.611764729,0.807843149,1 + } + FLOAT + { + floatName = _Falloff + value = 4.65110445 + } + FLOAT + { + floatName = _Fresnel + value = 1.01110959 + } + FLOAT + { + floatName = _FadeIn + value = 0 + } + FLOAT + { + floatName = _FadeOut + value = 0 + } + FLOAT + { + floatName = _ExpandLinear + value = 4.95443678 + } + FLOAT + { + floatName = _ExpandSquare + value = 0 + } + FLOAT + { + floatName = _Noise + value = 2.88166237 + } + FLOAT + { + floatName = _TileX + value = 3 + } + FLOAT + { + floatName = _TileY + value = 6 + } + FLOAT + { + floatName = _SpeedY + value = 15 + } + FLOAT + { + floatName = _TintFalloff + value = 0.733054399 + } + FLOAT + { + floatName = _FresnelInvert + value = 0.176944166 + } + FLOAT + { + floatName = _Brightness + value = 0.292223334 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.1 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.4 0 0 + } + } +} + + + + + } +} + +@PART[pit-25]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + engage + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/PITOn + volume = 1.0 + pitch = 1.0 + loop = false + } + } + flameout + { + PREFAB_PARTICLE + { + prefabName = fx_exhaustSparks_flameout_2 + transformName = thrustTransform + oneShot = true + } + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/GenericFlameout + volume = 1.0 + pitch = 1.0 + loop = false + } + } + run_kp01_core + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/PITLoop01 + volume = 0.0 0.0 + volume = 0.01 0.1 + volume = 0.5 0.2 + volume = 1.0 0.4 + pitch = 0.0 0.8 + pitch = 0.5 0.9 + pitch = 1.0 1.0 + loop = true + } + } + + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = rocketFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = basicEngine + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = throttle + } + EFFECT +{ + name = pitFXgas + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.949999988 + rotationOffset = 90,0,0 + scaleOffset = 0.200000003,0.100000001,0.200000003 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-ion-noise + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 0.752941191,0.421303451,0.635294139,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.921568632,0.611764729,0.807843149,1 + } + FLOAT + { + floatName = _Falloff + value = 2.72999597 + } + FLOAT + { + floatName = _Fresnel + value = 0 + } + FLOAT + { + floatName = _FadeIn + value = 0.424666017 + } + FLOAT + { + floatName = _FadeOut + value = 0.267944038 + } + FLOAT + { + floatName = _ExpandLinear + value = 0.505554855 + } + FLOAT + { + floatName = _ExpandSquare + value = 0.909998477 + } + FLOAT + { + floatName = _Noise + value = 2.88166237 + } + FLOAT + { + floatName = _TileX + value = 1 + } + FLOAT + { + floatName = _TileY + value = 1 + } + FLOAT + { + floatName = _SpeedY + value = 15 + } + FLOAT + { + floatName = _TintFalloff + value = 0.733054399 + } + FLOAT + { + floatName = _FresnelInvert + value = 0 + } + FLOAT + { + floatName = _Brightness + value = 0.292223334 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.6 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.4 0 0 + } + } +} + +EFFECT +{ + name = pitFXPlume + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-1 + rotationOffset = -90,0,0 + scaleOffset = 0.300000012,10,0.300000012 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-4 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 0.752941191,0.421303451,0.635294139,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.921568632,0.611764729,0.807843149,1 + } + FLOAT + { + floatName = _Falloff + value = 4.65110445 + } + FLOAT + { + floatName = _Fresnel + value = 1.01110959 + } + FLOAT + { + floatName = _FadeIn + value = 0 + } + FLOAT + { + floatName = _FadeOut + value = 0 + } + FLOAT + { + floatName = _ExpandLinear + value = 15 + } + FLOAT + { + floatName = _ExpandSquare + value = 0 + } + FLOAT + { + floatName = _Noise + value = 2.88166237 + } + FLOAT + { + floatName = _TileX + value = 3 + } + FLOAT + { + floatName = _TileY + value = 6 + } + FLOAT + { + floatName = _SpeedY + value = 15 + } + FLOAT + { + floatName = _TintFalloff + value = 0.733054399 + } + FLOAT + { + floatName = _FresnelInvert + value = 0.176944166 + } + FLOAT + { + floatName = _Brightness + value = 0.292223334 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.3 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.4 0 0 + } + } +} + +EFFECT +{ + name = pitFXCore + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-1.10000002 + rotationOffset = -90,0,0 + scaleOffset = 0.300000012,12,0.300000012 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-4 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 0.752941191,0.421303451,0.635294139,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.921568632,0.611764729,0.807843149,1 + } + FLOAT + { + floatName = _Falloff + value = 4.65110445 + } + FLOAT + { + floatName = _Fresnel + value = 1.01110959 + } + FLOAT + { + floatName = _FadeIn + value = 0 + } + FLOAT + { + floatName = _FadeOut + value = 0 + } + FLOAT + { + floatName = _ExpandLinear + value = 4.95443678 + } + FLOAT + { + floatName = _ExpandSquare + value = 0 + } + FLOAT + { + floatName = _Noise + value = 2.88166237 + } + FLOAT + { + floatName = _TileX + value = 3 + } + FLOAT + { + floatName = _TileY + value = 6 + } + FLOAT + { + floatName = _SpeedY + value = 15 + } + FLOAT + { + floatName = _TintFalloff + value = 0.733054399 + } + FLOAT + { + floatName = _FresnelInvert + value = 0 + } + FLOAT + { + floatName = _Brightness + value = 0.292223334 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.2 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.4 0 0 + } + } +} + + + + + } +} \ No newline at end of file diff --git a/GameData/NearFuturePropulsion/Patches/Waterfall/NearFuturePropulsionWaterfallRCS-LH2.cfg b/GameData/NearFuturePropulsion/Patches/Waterfall/NearFuturePropulsionWaterfallRCS-LH2.cfg new file mode 100644 index 0000000..c9bc9cb --- /dev/null +++ b/GameData/NearFuturePropulsion/Patches/Waterfall/NearFuturePropulsionWaterfallRCS-LH2.cfg @@ -0,0 +1,231 @@ + +@PART[rcsblock-mpdt-single-02]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + running + { + AUDIO_MULTI + { + channel = Ship + transformName = thrustVector + clip = sound_rocket_mini + volume = 0.0 0.0 + volume = 0.1 0.0 + volume = 0.5 0.025 + volume = 1.0 0.1 + pitch = 0.0 0.75 + pitch = 1.0 1.5 + loop = true + } + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = mpdtFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = basicEngine + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = rcs + } + TEMPLATE + { + // This is the name of the template to use + templateName = template-nfp-mpdt-rcs-lh2-1 + // This field allows you to override the parentTransform name in the EFFECTS contained in the template + overrideParentTransform = thrustVector + scale = 1,1,1 + rotation = 0,0,0 + position = 0,0,0 + } + } +} + + + +@PART[rcsblock-mpdt-quad-02]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + running + { + AUDIO_MULTI + { + channel = Ship + transformName = thrustVector + clip = sound_rocket_mini + volume = 0.0 0.0 + volume = 0.1 0.0 + volume = 0.5 0.025 + volume = 1.0 0.1 + pitch = 0.0 0.75 + pitch = 1.0 1.5 + loop = true + } + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = mpdtFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = basicEngine + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = rcs + } + TEMPLATE + { + // This is the name of the template to use + templateName = template-nfp-mpdt-rcs-lh2-1 + // This field allows you to override the parentTransform name in the EFFECTS contained in the template + overrideParentTransform = thrustVector + scale = 1,1,1 + rotation = 0,0,0 + position = 0,0,0 + } + } +} + + + +@PART[rcsblock-mpdt-quint-02]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + running + { + AUDIO_MULTI + { + channel = Ship + transformName = thrustVector + clip = sound_rocket_mini + volume = 0.0 0.0 + volume = 0.1 0.0 + volume = 0.5 0.025 + volume = 1.0 0.1 + pitch = 0.0 0.75 + pitch = 1.0 1.5 + loop = true + } + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = mpdtFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = basicEngine + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = rcs + } + TEMPLATE + { + // This is the name of the template to use + templateName = template-nfp-mpdt-rcs-lh2-1 + // This field allows you to override the parentTransform name in the EFFECTS contained in the template + overrideParentTransform = thrustVector + scale = 1,1,1 + rotation = 0,0,0 + position = 0,0,0 + } + } +} + + + +@PART[rcsblock-mpdt-triple-02]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + running + { + AUDIO_MULTI + { + channel = Ship + transformName = thrustVector + clip = sound_rocket_mini + volume = 0.0 0.0 + volume = 0.1 0.0 + volume = 0.5 0.025 + volume = 1.0 0.1 + pitch = 0.0 0.75 + pitch = 1.0 1.5 + loop = true + } + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = mpdtFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = basicEngine + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = rcs + } + TEMPLATE + { + // This is the name of the template to use + templateName = template-nfp-mpdt-rcs-lh2-1 + // This field allows you to override the parentTransform name in the EFFECTS contained in the template + overrideParentTransform = thrustVector + scale = 1,1,1 + rotation = 0,0,0 + position = 0,0,0 + } + } +} + diff --git a/GameData/NearFuturePropulsion/Patches/Waterfall/NearFuturePropulsionWaterfallRCS.cfg b/GameData/NearFuturePropulsion/Patches/Waterfall/NearFuturePropulsionWaterfallRCS.cfg new file mode 100644 index 0000000..325a0ff --- /dev/null +++ b/GameData/NearFuturePropulsion/Patches/Waterfall/NearFuturePropulsionWaterfallRCS.cfg @@ -0,0 +1,578 @@ +@PART[rcsblock-gridded-01]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + running + { + AUDIO_MULTI + { + channel = Ship + transformName = thrustVector + clip = sound_rocket_mini + volume = 0.0 0.0 + volume = 0.1 0.0 + volume = 0.5 0.025 + volume = 1.0 0.1 + pitch = 0.0 0.75 + pitch = 1.0 1.5 + loop = true + } + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = griddedFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = basicEngine + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = rcs + } + TEMPLATE + { + // This is the name of the template to use + templateName = template-nfp-ion-gridded-xenon-1 + // This field allows you to override the parentTransform name in the EFFECTS contained in the template + overrideParentTransform = thrustVector + position = 0,0.03,0 +rotation = -90, 0, 0 +scale = 0.5, 0.5, 0.6 + } + } +} + +@PART[rcsblock-hall-01]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + running + { + AUDIO_MULTI + { + channel = Ship + transformName = thrustVector + clip = sound_rocket_mini + volume = 0.0 0.0 + volume = 0.1 0.0 + volume = 0.5 0.025 + volume = 1.0 0.1 + pitch = 0.0 0.75 + pitch = 1.0 1.5 + loop = true + } + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = hallFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = basicEngine + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = rcs + } + TEMPLATE + { + // This is the name of the template to use + templateName = template-nfp-ion-hall-argon-1 + // This field allows you to override the parentTransform name in the EFFECTS contained in the template + overrideParentTransform = thrustVector + position = 0,-0.01,0 +rotation = -90, 0, 0 +scale = 0.9, 0.9, 0.9 + } + } +} + + + +@PART[rcsblock-pulsedplasma-01]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + running + { + AUDIO_MULTI + { + channel = Ship + transformName = thrustVector + clip = sound_rocket_mini + volume = 0.0 0.0 + volume = 0.1 0.0 + volume = 0.5 0.025 + volume = 1.0 0.1 + pitch = 0.0 0.75 + pitch = 1.0 1.5 + loop = true + } + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = plasmaFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = basicEngine + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = rcs + } + EFFECT +{ + name = griddedPlume1 + parentName = fxVector + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,-0.0399999991,0 + rotationOffset = 180,0,0 + scaleOffset = 0.0399999991,1,0.0399999991 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-1 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 0.90196079,1,0.858823538,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.392156869,0.160784319,0.337254912,1 + } + FLOAT + { + floatName = _Noise + value = 2.72999573 + } + FLOAT + { + floatName = _Fresnel + value = 3.74110532 + } + FLOAT + { + floatName = _Falloff + value = 6.72387838 + } + FLOAT + { + floatName = _TileX + value = 1 + } + FLOAT + { + floatName = _SpeedY + value = -9 + } + FLOAT + { + floatName = _ExpandBounded + value = 0.909998596 + } + FLOAT + { + floatName = _TintFalloff + value = 1.81750095 + } + FLOAT + { + floatName = _FadeIn + value = 0.0404443815 + } + FLOAT + { + floatName = _ExpandLinear + value = 0.696667135 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.8 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.3 0 0 + } + } + FLOATMODIFIER + { + name = aDeform + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _ExpandLinear + floatCurve + { + key = 0 3 0 0 + key = 1 -2 0 0 + } + } +} + +EFFECT +{ + name = flare + parentName = fxVector + MODEL + { + path = Waterfall/FX/fx-billboard-generic-1 + positionOffset = 0,0,0 + rotationOffset = 0,0,0 + scaleOffset = 0.200000003,0.200000003,0.200000003 + MATERIAL + { + transform = Billboard + shader = Waterfall/Billboard (Additive Directional) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx_flareglow-1 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 0.925490201,0.721568644,0.741176486,1 + } + FLOAT + { + floatName = _DirectionScale + value = 0 + } + FLOAT + { + floatName = _Brightness + value = 1.39999998 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Billboard + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 1.5 0 0 + } + } +} + + + + + } +} + + + +@PART[rcsblock-mpdt-single-01]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + running + { + AUDIO_MULTI + { + channel = Ship + transformName = thrustVector + clip = sound_rocket_mini + volume = 0.0 0.0 + volume = 0.1 0.0 + volume = 0.5 0.025 + volume = 1.0 0.1 + pitch = 0.0 0.75 + pitch = 1.0 1.5 + loop = true + } + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = mpdtFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = basicEngine + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = rcs + } + TEMPLATE + { + // This is the name of the template to use + templateName = template-nfp-mpdt-rcs-lithium-1 + // This field allows you to override the parentTransform name in the EFFECTS contained in the template + overrideParentTransform = thrustVector + scale = 1,1,1 + rotation = 0,0,0 + position = 0,0,0 + } + } +} + + + +@PART[rcsblock-mpdt-quad-01]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + running + { + AUDIO_MULTI + { + channel = Ship + transformName = thrustVector + clip = sound_rocket_mini + volume = 0.0 0.0 + volume = 0.1 0.0 + volume = 0.5 0.025 + volume = 1.0 0.1 + pitch = 0.0 0.75 + pitch = 1.0 1.5 + loop = true + } + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = mpdtFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = basicEngine + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = rcs + } + TEMPLATE + { + // This is the name of the template to use + templateName = template-nfp-mpdt-rcs-lithium-1 + // This field allows you to override the parentTransform name in the EFFECTS contained in the template + overrideParentTransform = thrustVector + scale = 1,1,1 + rotation = 0,0,0 + position = 0,0,0 + } + } +} + + + +@PART[rcsblock-mpdt-quint-01]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + running + { + AUDIO_MULTI + { + channel = Ship + transformName = thrustVector + clip = sound_rocket_mini + volume = 0.0 0.0 + volume = 0.1 0.0 + volume = 0.5 0.025 + volume = 1.0 0.1 + pitch = 0.0 0.75 + pitch = 1.0 1.5 + loop = true + } + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = mpdtFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = basicEngine + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = rcs + } + TEMPLATE + { + // This is the name of the template to use + templateName = template-nfp-mpdt-rcs-lithium-1 + // This field allows you to override the parentTransform name in the EFFECTS contained in the template + overrideParentTransform = thrustVector + scale = 1,1,1 + rotation = 0,0,0 + position = 0,0,0 + } + } +} + + + +@PART[rcsblock-mpdt-triple-01]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + running + { + AUDIO_MULTI + { + channel = Ship + transformName = thrustVector + clip = sound_rocket_mini + volume = 0.0 0.0 + volume = 0.1 0.0 + volume = 0.5 0.025 + volume = 1.0 0.1 + pitch = 0.0 0.75 + pitch = 1.0 1.5 + loop = true + } + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = mpdtFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = basicEngine + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = rcs + } + TEMPLATE + { + // This is the name of the template to use + templateName = template-nfp-mpdt-rcs-lithium-1 + // This field allows you to override the parentTransform name in the EFFECTS contained in the template + overrideParentTransform = thrustVector + scale = 1,1,1 + rotation = 0,0,0 + position = 0,0,0 + } + } +} diff --git a/GameData/NearFuturePropulsion/Patches/Waterfall/NearFuturePropulsionWaterfallVASIMR.cfg b/GameData/NearFuturePropulsion/Patches/Waterfall/NearFuturePropulsionWaterfallVASIMR.cfg new file mode 100644 index 0000000..69b9c18 --- /dev/null +++ b/GameData/NearFuturePropulsion/Patches/Waterfall/NearFuturePropulsionWaterfallVASIMR.cfg @@ -0,0 +1,396 @@ +@PART[vasimr-0625]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + engage + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/VASIMROn + volume = 1.0 + pitch = 1.0 + loop = false + } + } + flameout + { + PREFAB_PARTICLE + { + prefabName = fx_exhaustSparks_flameout_2 + transformName = thrustTransform + oneShot = true + } + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/GenericFlameout + volume = 1.0 + pitch = 1.0 + loop = false + } + } + run_vasimr_argon_core + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/VASIMRLoop01 + volume = 0.0 0.0 + volume = 0.01 0.1 + volume = 0.5 0.2 + volume = 1.0 0.4 + pitch = 0.0 2.6 + pitch = 0.5 2.2 + pitch = 1.0 1.8 + loop = true + } + } + run_vasimr_xe_core + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/VASIMRLoop01 + volume = 0.0 0.0 + volume = 0.01 0.1 + volume = 0.5 0.2 + volume = 1.0 0.4 + pitch = 0.0 2.6 + pitch = 0.5 2.2 + pitch = 1.0 1.8 + loop = true + } + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = vasimrXenonFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = XenonMode + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = throttle + } + TEMPLATE + { + // This is the name of the template to use + templateName = template-nfp-vasimr-xenon-1 + // This field allows you to override the parentTransform name in the EFFECTS contained in the template + overrideParentTransform = thrustTransform + position = 0,0,0 + rotation = 0, 0, 0 + scale = 1, 1, 1 + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = vasimrArgonFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = ArgonMode + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = throttle + } + TEMPLATE + { + // This is the name of the template to use + templateName = template-nfp-vasimr-argon-1 + // This field allows you to override the parentTransform name in the EFFECTS contained in the template + overrideParentTransform = thrustTransform + position = 0,0,0 + rotation = 0, 0, 0 + scale = 1, 1, 1 + } + } +} + +@PART[vasimr-125]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + engage + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/VASIMROn + volume = 1.0 + pitch = 1.0 + loop = false + } + } + flameout + { + PREFAB_PARTICLE + { + prefabName = fx_exhaustSparks_flameout_2 + transformName = thrustTransform + oneShot = true + } + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/GenericFlameout + volume = 1.0 + pitch = 1.0 + loop = false + } + } + run_vasimr_argon_core + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/VASIMRLoop01 + volume = 0.0 0.0 + volume = 0.01 0.1 + volume = 0.5 0.2 + volume = 1.0 0.4 + pitch = 0.0 2.6 + pitch = 0.5 2.2 + pitch = 1.0 1.8 + loop = true + } + } + run_vasimr_xe_core + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/VASIMRLoop01 + volume = 0.0 0.0 + volume = 0.01 0.1 + volume = 0.5 0.2 + volume = 1.0 0.4 + pitch = 0.0 2.6 + pitch = 0.5 2.2 + pitch = 1.0 1.8 + loop = true + } + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = vasimrXenonFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = XenonMode + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = throttle + } + TEMPLATE + { + // This is the name of the template to use + templateName = template-nfp-vasimr-xenon-1 + // This field allows you to override the parentTransform name in the EFFECTS contained in the template + overrideParentTransform = thrustTransform + position = 0,0,0 + rotation = 0, 0, 0 + scale = 1, 1, 1 + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = vasimrArgonFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = ArgonMode + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = throttle + } + TEMPLATE + { + // This is the name of the template to use + templateName = template-nfp-vasimr-argon-1 + // This field allows you to override the parentTransform name in the EFFECTS contained in the template + overrideParentTransform = thrustTransform + position = 0,0,0 + rotation = 0, 0, 0 + scale = 1, 1, 1 + } + } +} + +@PART[vasimr-25]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + engage + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/VASIMROn + volume = 1.0 + pitch = 1.0 + loop = false + } + } + flameout + { + PREFAB_PARTICLE + { + prefabName = fx_exhaustSparks_flameout_2 + transformName = thrustTransform + oneShot = true + } + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/GenericFlameout + volume = 1.0 + pitch = 1.0 + loop = false + } + } + run_vasimr_argon_core + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/VASIMRLoop01 + volume = 0.0 0.0 + volume = 0.01 0.1 + volume = 0.5 0.2 + volume = 1.0 0.4 + pitch = 0.0 2.6 + pitch = 0.5 2.2 + pitch = 1.0 1.8 + loop = true + } + } + run_vasimr_xe_core + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/VASIMRLoop01 + volume = 0.0 0.0 + volume = 0.01 0.1 + volume = 0.5 0.2 + volume = 1.0 0.4 + pitch = 0.0 2.6 + pitch = 0.5 2.2 + pitch = 1.0 1.8 + loop = true + } + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = vasimrXenonFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = XenonMode + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = throttle + } + TEMPLATE + { + // This is the name of the template to use + templateName = template-nfp-vasimr-xenon-1 + // This field allows you to override the parentTransform name in the EFFECTS contained in the template + overrideParentTransform = thrustTransform + position = 0,0,-0.3 +rotation = 0, 0, 0 +scale = 1.8, 1.8, 3 + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = vasimrArgonFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = ArgonMode + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = throttle + } + TEMPLATE + { + // This is the name of the template to use + templateName = template-nfp-vasimr-argon-1 + // This field allows you to override the parentTransform name in the EFFECTS contained in the template + overrideParentTransform = thrustTransform + position = 0,0,-0.3 +rotation = 0, 0, 0 +scale = 1.8, 1.8, 3 + } + } +} + diff --git a/GameData/NearFuturePropulsion/Patches/Waterfall/NearFuturePropulsionWaterfallXenon.cfg b/GameData/NearFuturePropulsion/Patches/Waterfall/NearFuturePropulsionWaterfallXenon.cfg new file mode 100644 index 0000000..d634e61 --- /dev/null +++ b/GameData/NearFuturePropulsion/Patches/Waterfall/NearFuturePropulsionWaterfallXenon.cfg @@ -0,0 +1,251 @@ +@PART[ionXenon-0625]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + engage + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/IonXenonOn + volume = 1.0 + pitch = 1.0 + loop = false + } + } + flameout + { + PREFAB_PARTICLE + { + prefabName = fx_exhaustSparks_flameout_2 + transformName = thrustTransform + oneShot = true + } + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/GenericFlameout + volume = 1.0 + pitch = 1.0 + loop = false + } + } + run_next + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/IonXenonLoop01 + volume = 0.0 0.0 + volume = 0.01 0.1 + volume = 0.5 0.2 + volume = 1.0 0.4 + pitch = 0.0 0.5 + pitch = 0.5 0.8 + pitch = 1.0 1.2 + loop = true + } + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = griddedFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = basicEngine + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = throttle + } + TEMPLATE + { + // This is the name of the template to use + templateName = template-nfp-ion-gridded-xenon-1 + // This field allows you to override the parentTransform name in the EFFECTS contained in the template + overrideParentTransform = thrustTransform + scale = 1,1,1 + rotation = 0,0,0 + position = 0,0,0 + } + } +} + +@PART[ionXenon-0625-2]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + engage + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/IonXenonOn + volume = 1.0 + pitch = 1.0 + loop = false + } + } + flameout + { + PREFAB_PARTICLE + { + prefabName = fx_exhaustSparks_flameout_2 + transformName = thrustTransform + oneShot = true + } + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/GenericFlameout + volume = 1.0 + pitch = 1.0 + loop = false + } + } + run_hipep + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/IonXenonLoop01 + volume = 0.0 0.0 + volume = 0.01 0.1 + volume = 0.5 0.2 + volume = 1.0 0.4 + pitch = 0.0 0.8 + pitch = 0.5 1.0 + pitch = 1.0 1.8 + loop = true + } + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = griddedLargeFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = basicEngine + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = throttle + } + TEMPLATE + { + // This is the name of the template to use + templateName = template-nfp-ion-gridded-xenon-1 + // This field allows you to override the parentTransform name in the EFFECTS contained in the template + overrideParentTransform = thrustTransform + position = 0,0,0.13 +rotation = 0, 0, 0 +scale = 0.8, 0.8, 2 + } + } +} + +@PART[ionXenon-0625-3]:NEEDS[Waterfall] +{ + !EFFECTS {} + EFFECTS + { + engage + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/IonXenonOn + volume = 1.0 + pitch = 1.0 + loop = false + } + } + flameout + { + PREFAB_PARTICLE + { + prefabName = fx_exhaustSparks_flameout_2 + transformName = thrustTransform + oneShot = true + } + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/GenericFlameout + volume = 1.0 + pitch = 1.0 + loop = false + } + } + run_ds4g + { + AUDIO + { + channel = Ship + clip = NearFuturePropulsion/Sounds/IonXenonLoop01 + volume = 0.0 0.0 + volume = 0.01 0.1 + volume = 0.5 0.2 + volume = 1.0 0.4 + pitch = 0.0 1.0 + pitch = 0.5 1.3 + pitch = 1.0 1.8 + loop = true + } + } + } + MODULE + { + name = ModuleWaterfallFX + // This is a custom name + moduleID = griddedDS4GFX + // This links the effects to a given ModuleEngines if desired. If not, it will use the basic one. + engineID = basicEngine + + // List out all controllers we want available + // This controller scales with atmosphere depth + CONTROLLER + { + name = atmosphereDepth + linkedTo = atmosphere_density + } + // This controller scales with effective throttle + CONTROLLER + { + name = throttle + linkedTo = throttle + } + TEMPLATE + { + // This is the name of the template to use + templateName = template-nfp-ion-gridded-xenon-1 + // This field allows you to override the parentTransform name in the EFFECTS contained in the template + overrideParentTransform = thrustTransform + position = 0,0,0.35 +rotation = 0, 0, 0 +scale = 1, 1, 4 + } + } +} \ No newline at end of file diff --git a/GameData/NearFuturePropulsion/Patches/Waterfall/template-nfp-ion-gridded-xenon-1.cfg b/GameData/NearFuturePropulsion/Patches/Waterfall/template-nfp-ion-gridded-xenon-1.cfg new file mode 100644 index 0000000..6120dc5 --- /dev/null +++ b/GameData/NearFuturePropulsion/Patches/Waterfall/template-nfp-ion-gridded-xenon-1.cfg @@ -0,0 +1,116 @@ +EFFECTTEMPLATE +{ + templateName = template-nfp-ion-gridded-xenon-1 + EFFECT + { + name = griddedPlume1 + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.119999997 + rotationOffset = -90,0,0 + scaleOffset = 0.159999996,2,0.159999996 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-5 + textureScale = 1,1 + textureOffset = 0,0 + } + FLOAT + { + floatName = _Noise + value = 0.454999298 + } + FLOAT + { + floatName = _Fresnel + value = 3.74110532 + } + FLOAT + { + floatName = _Falloff + value = 6.72387838 + } + COLOR + { + colorName = _StartTint + colorValue = 0.192156866,0.592156887,0.87843138,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0,0.400669128,1,1 + } + FLOAT + { + floatName = _TileX + value = 3 + } + FLOAT + { + floatName = _SpeedY + value = 5 + } + FLOAT + { + floatName = _ExpandBounded + value = 0.909998596 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.5 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.3 0 0 + } + } + FLOATMODIFIER + { + name = aDeform + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _ExpandLinear + floatCurve + { + key = 0 1 0 0 + key = 1 -2 0 0 + } + } + } +} diff --git a/GameData/NearFuturePropulsion/Patches/Waterfall/template-nfp-ion-hall-argon-1.cfg b/GameData/NearFuturePropulsion/Patches/Waterfall/template-nfp-ion-hall-argon-1.cfg new file mode 100644 index 0000000..4b932a3 --- /dev/null +++ b/GameData/NearFuturePropulsion/Patches/Waterfall/template-nfp-ion-hall-argon-1.cfg @@ -0,0 +1,278 @@ +EFFECTTEMPLATE +{ + templateName = template-nfp-ion-hall-argon-1 + EFFECT + { + name = hallPlume1 + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.0500000007 + rotationOffset = -90,0,0 + scaleOffset = 0.109999999,1,0.109999999 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-5 + textureScale = 1,1 + textureOffset = 0,0 + } + FLOAT + { + floatName = _Noise + value = 1.66833103 + } + FLOAT + { + floatName = _Fresnel + value = 0.859443069 + } + FLOAT + { + floatName = _Falloff + value = 4.75221491 + } + FLOAT + { + floatName = _SpeedX + value = 0 + } + FLOAT + { + floatName = _SpeedY + value = 40.4332733 + } + FLOAT + { + floatName = _TileY + value = 1 + } + FLOAT + { + floatName = _TileX + value = 10 + } + FLOAT + { + floatName = _FresnelInvert + value = 0.099999994 + } + FLOAT + { + floatName = _ExpandLinear + value = 1.3144424 + } + COLOR + { + colorName = _StartTint + colorValue = 1,0.770930409,1,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.905882359,0.0862745121,0.686274529,1 + } + FLOAT + { + floatName = _TintFalloff + value = 0.707776666 + } + FLOAT + { + floatName = _Brightness + value = 0.545000732 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.5 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.2 0 0 + } + } + FLOATMODIFIER + { + name = aDeform + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _ExpandSquare + floatCurve + { + key = 0 0 0 0 + key = 1 -1.5 0 0 + } + } + } + EFFECT + { + name = hallPlume1 + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.0500000007 + rotationOffset = -90,0,0 + scaleOffset = 0.0500000007,1,0.0500000007 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-5 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 1,0.770930409,1,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.905882359,0.0862745121,0.686274529,1 + } + FLOAT + { + floatName = _Noise + value = 1.66833103 + } + FLOAT + { + floatName = _Fresnel + value = 0.859443069 + } + FLOAT + { + floatName = _Falloff + value = 4.75221491 + } + FLOAT + { + floatName = _SpeedX + value = 0 + } + FLOAT + { + floatName = _SpeedY + value = 40.4332733 + } + FLOAT + { + floatName = _TileY + value = 1 + } + FLOAT + { + floatName = _TileX + value = 10 + } + FLOAT + { + floatName = _FresnelInvert + value = 0.099999994 + } + FLOAT + { + floatName = _ExpandLinear + value = 1.6177752 + } + FLOAT + { + floatName = _TintFalloff + value = 0.707776666 + } + FLOAT + { + floatName = _Brightness + value = 0.545000732 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.2 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.2 0 0 + } + } + FLOATMODIFIER + { + name = aDeform + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _ExpandSquare + floatCurve + { + key = 0 0 0 0 + key = 1 -1.5 0 0 + } + } + } +} diff --git a/GameData/NearFuturePropulsion/Patches/Waterfall/template-nfp-ion-hall-xenon-1.cfg b/GameData/NearFuturePropulsion/Patches/Waterfall/template-nfp-ion-hall-xenon-1.cfg new file mode 100644 index 0000000..1ee5b60 --- /dev/null +++ b/GameData/NearFuturePropulsion/Patches/Waterfall/template-nfp-ion-hall-xenon-1.cfg @@ -0,0 +1,278 @@ +EFFECTTEMPLATE +{ + templateName = template-nfp-ion-hall-xenon-1 + EFFECT + { + name = hallPlume1 + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.0500000007 + rotationOffset = -90,0,0 + scaleOffset = 0.109999999,1,0.109999999 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-5 + textureScale = 1,1 + textureOffset = 0,0 + } + FLOAT + { + floatName = _Noise + value = 1.66833103 + } + FLOAT + { + floatName = _Fresnel + value = 0.859443069 + } + FLOAT + { + floatName = _Falloff + value = 4.75221491 + } + FLOAT + { + floatName = _SpeedX + value = 0 + } + FLOAT + { + floatName = _SpeedY + value = 40.4332733 + } + FLOAT + { + floatName = _TileY + value = 1 + } + FLOAT + { + floatName = _TileX + value = 10 + } + FLOAT + { + floatName = _FresnelInvert + value = 0.099999994 + } + FLOAT + { + floatName = _ExpandLinear + value = 1.3144424 + } + COLOR + { + colorName = _StartTint + colorValue = 1,0.770930409,1,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.905882359,0.0862745121,0.686274529,1 + } + FLOAT + { + floatName = _TintFalloff + value = 0.707776666 + } + FLOAT + { + floatName = _Brightness + value = 0.545000732 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.5 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.2 0 0 + } + } + FLOATMODIFIER + { + name = aDeform + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _ExpandSquare + floatCurve + { + key = 0 0 0 0 + key = 1 -1.5 0 0 + } + } + } + EFFECT + { + name = hallPlume1 + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.0500000007 + rotationOffset = -90,0,0 + scaleOffset = 0.0500000007,1,0.0500000007 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-5 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 1,0.770930409,1,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.905882359,0.0862745121,0.686274529,1 + } + FLOAT + { + floatName = _Noise + value = 1.66833103 + } + FLOAT + { + floatName = _Fresnel + value = 0.859443069 + } + FLOAT + { + floatName = _Falloff + value = 4.75221491 + } + FLOAT + { + floatName = _SpeedX + value = 0 + } + FLOAT + { + floatName = _SpeedY + value = 40.4332733 + } + FLOAT + { + floatName = _TileY + value = 1 + } + FLOAT + { + floatName = _TileX + value = 10 + } + FLOAT + { + floatName = _FresnelInvert + value = 0.099999994 + } + FLOAT + { + floatName = _ExpandLinear + value = 1.6177752 + } + FLOAT + { + floatName = _TintFalloff + value = 0.707776666 + } + FLOAT + { + floatName = _Brightness + value = 0.545000732 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.2 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.2 0 0 + } + } + FLOATMODIFIER + { + name = aDeform + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _ExpandSquare + floatCurve + { + key = 0 0 0 0 + key = 1 -1.5 0 0 + } + } + } +} diff --git a/GameData/NearFuturePropulsion/Patches/Waterfall/template-nfp-mpdt-rcs-lh2-1.cfg b/GameData/NearFuturePropulsion/Patches/Waterfall/template-nfp-mpdt-rcs-lh2-1.cfg new file mode 100644 index 0000000..50f6dab --- /dev/null +++ b/GameData/NearFuturePropulsion/Patches/Waterfall/template-nfp-mpdt-rcs-lh2-1.cfg @@ -0,0 +1,181 @@ +EFFECTTEMPLATE +{ + templateName = template-nfp-mpdt-rcs-lh2-1 + EFFECT + { + name = griddedPlume1 + parentName = thrustVector + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,-0.200000003,0 + rotationOffset = 180,0,0 + scaleOffset = 0.0250000004,2,0.0250000004 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-1 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 0.347234637,0.394015938,0.615686297,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.725490212,0.0745098069,0.664200187,1 + } + FLOAT + { + floatName = _Noise + value = 1.06166506 + } + FLOAT + { + floatName = _Fresnel + value = 3.74110532 + } + FLOAT + { + floatName = _Falloff + value = 6.72387838 + } + FLOAT + { + floatName = _TileX + value = 3 + } + FLOAT + { + floatName = _SpeedY + value = 15 + } + FLOAT + { + floatName = _ExpandBounded + value = 0.909998596 + } + FLOAT + { + floatName = _TintFalloff + value = 1.08694279 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.5 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.3 0 0 + } + } + FLOATMODIFIER + { + name = aDeform + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _ExpandLinear + floatCurve + { + key = 0 3 0 0 + key = 1 -2 0 0 + } + } + } + EFFECT + { + name = flare + parentName = thrustVector + MODEL + { + path = Waterfall/FX/fx-billboard-generic-1 + positionOffset = 0,-0.0500000007,0 + rotationOffset = 0,0,0 + scaleOffset = 0.100000001,0.100000001,0.100000001 + MATERIAL + { + transform = Billboard + shader = Waterfall/Billboard (Additive) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx_flareglow-1 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 0.886274517,0.643137276,0.643137276,1 + } + } + } + COLORMODIFIER + { + name = colorshift + controllerName = throttle + transformName = Billboard + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + colorName = _StartTint + rCurve + { + key = 0 0 0 0 + key = 1 0.8 0 0 + } + gCurve + { + key = 0 0 0 0 + key = 1 0.8 0 0 + } + bCurve + { + key = 0 0 0 0 + key = 1 1 0 0 + } + aCurve + { + key = 0 0 0 0 + key = 1 0.8 0 0 + } + } + } +} diff --git a/GameData/NearFuturePropulsion/Patches/Waterfall/template-nfp-mpdt-rcs-lithium-1.cfg b/GameData/NearFuturePropulsion/Patches/Waterfall/template-nfp-mpdt-rcs-lithium-1.cfg new file mode 100644 index 0000000..342c192 --- /dev/null +++ b/GameData/NearFuturePropulsion/Patches/Waterfall/template-nfp-mpdt-rcs-lithium-1.cfg @@ -0,0 +1,181 @@ +EFFECTTEMPLATE +{ + templateName = template-nfp-mpdt-rcs-lithium-1 + EFFECT + { + name = griddedPlume1 + parentName = thrustVector + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,-0.200000003,0 + rotationOffset = 180,0,0 + scaleOffset = 0.0250000004,2,0.0250000004 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-1 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 0.913725495,0.615686297,0.615686297,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.725490212,0.0745098069,0.0745098069,1 + } + FLOAT + { + floatName = _Noise + value = 1.06166506 + } + FLOAT + { + floatName = _Fresnel + value = 3.74110532 + } + FLOAT + { + floatName = _Falloff + value = 6.72387838 + } + FLOAT + { + floatName = _TileX + value = 3 + } + FLOAT + { + floatName = _SpeedY + value = 15 + } + FLOAT + { + floatName = _ExpandBounded + value = 0.909998596 + } + FLOAT + { + floatName = _TintFalloff + value = 1.71888626 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.5 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.3 0 0 + } + } + FLOATMODIFIER + { + name = aDeform + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _ExpandLinear + floatCurve + { + key = 0 3 0 0 + key = 1 -2 0 0 + } + } + } + EFFECT + { + name = flare + parentName = thrustVector + MODEL + { + path = Waterfall/FX/fx-billboard-generic-1 + positionOffset = 0,-0.0500000007,0 + rotationOffset = 0,0,0 + scaleOffset = 0.100000001,0.100000001,0.100000001 + MATERIAL + { + transform = Billboard + shader = Waterfall/Billboard (Additive) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx_flareglow-1 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 0.886274517,0.643137276,0.643137276,1 + } + } + } + COLORMODIFIER + { + name = colorshift + controllerName = throttle + transformName = Billboard + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + colorName = _StartTint + rCurve + { + key = 0 0 0 0 + key = 1 1 0 0 + } + gCurve + { + key = 0 0 0 0 + key = 1 0.8 0 0 + } + bCurve + { + key = 0 0 0 0 + key = 1 0.8 0 0 + } + aCurve + { + key = 0 0 0 0 + key = 1 0.8 0 0 + } + } + } +} diff --git a/GameData/NearFuturePropulsion/Patches/Waterfall/template-nfp-vasimr-argon-1.cfg b/GameData/NearFuturePropulsion/Patches/Waterfall/template-nfp-vasimr-argon-1.cfg new file mode 100644 index 0000000..66a1c05 --- /dev/null +++ b/GameData/NearFuturePropulsion/Patches/Waterfall/template-nfp-vasimr-argon-1.cfg @@ -0,0 +1,286 @@ +EFFECTTEMPLATE +{ + templateName = template-nfp-vasimr-argon-1 + EFFECT + { + name = mpdtFXPlume + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.400000006 + rotationOffset = -90,0,0 + scaleOffset = 0.0299999993,5,0.0299999993 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-1 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 1,0.451966941,0.90196079,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.752941191,0.109803922,0.654901981,1 + } + FLOAT + { + floatName = _Fresnel + value = 0.707776725 + } + FLOAT + { + floatName = _Falloff + value = 5.8644352 + } + FLOAT + { + floatName = _FadeIn + value = 0 + } + FLOAT + { + floatName = _FadeOut + value = 0 + } + FLOAT + { + floatName = _ExpandLinear + value = 50 + } + FLOAT + { + floatName = _Noise + value = 3.03332901 + } + FLOAT + { + floatName = _SpeedY + value = 7 + } + FLOAT + { + floatName = _TileX + value = 2 + } + FLOAT + { + floatName = _ExpandSquare + value = 0 + } + FLOAT + { + floatName = _TintFalloff + value = 0.4044438 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.3 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.2 0 0 + } + } + } + EFFECT + { + name = mpdtFXcore + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.5 + rotationOffset = -90,0,0 + scaleOffset = 0.0299999993,6,0.0299999993 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-1 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 0.913725495,0.79836905,0.831372559,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.760784328,0.41568628,0.70588237,1 + } + FLOAT + { + floatName = _Fresnel + value = 0.707776725 + } + FLOAT + { + floatName = _Falloff + value = 5.8644352 + } + FLOAT + { + floatName = _FadeIn + value = 0 + } + FLOAT + { + floatName = _FadeOut + value = 0 + } + FLOAT + { + floatName = _ExpandLinear + value = 10 + } + FLOAT + { + floatName = _Noise + value = 3.03332901 + } + FLOAT + { + floatName = _SpeedY + value = 28.2333012 + } + FLOAT + { + floatName = _TileX + value = 1 + } + FLOAT + { + floatName = _ExpandSquare + value = 0 + } + FLOAT + { + floatName = _TintFalloff + value = 4.3983264 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.7 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.2 0 0 + } + } + } + EFFECT + { + name = vFXFlare + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-billboard-generic-1 + positionOffset = 0,0,-0.200000003 + rotationOffset = 0,0,0 + scaleOffset = 0.300000012,0.300000012,0.300000012 + MATERIAL + { + transform = Billboard + shader = Waterfall/Billboard (Additive Directional) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx_flareglow-1 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 0.899457276,0.482352942,0.894117653,1 + } + FLOAT + { + floatName = _DirectionScale + value = 3 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Billboard + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 4 0 0 + } + } + } +} diff --git a/GameData/NearFuturePropulsion/Patches/Waterfall/template-nfp-vasimr-xenon-1.cfg b/GameData/NearFuturePropulsion/Patches/Waterfall/template-nfp-vasimr-xenon-1.cfg new file mode 100644 index 0000000..2b25ce3 --- /dev/null +++ b/GameData/NearFuturePropulsion/Patches/Waterfall/template-nfp-vasimr-xenon-1.cfg @@ -0,0 +1,287 @@ +EFFECTTEMPLATE +{ + templateName = template-nfp-vasimr-xenon-1 + EFFECT + { + name = mpdtFXPlume + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.400000006 + rotationOffset = -90,0,0 + scaleOffset = 0.0299999993,5,0.0299999993 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-1 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 0.0470588244,0.304186732,0.90196079,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.0784313753,0.446944773,0.913725495,1 + } + FLOAT + { + floatName = _Fresnel + value = 0.707776725 + } + FLOAT + + { + floatName = _Falloff + value = 5.8644352 + } + FLOAT + { + floatName = _FadeIn + value = 0 + } + FLOAT + { + floatName = _FadeOut + value = 0 + } + FLOAT + { + floatName = _ExpandLinear + value = 50 + } + FLOAT + { + floatName = _Noise + value = 3.03332901 + } + FLOAT + { + floatName = _SpeedY + value = 7 + } + FLOAT + { + floatName = _TileX + value = 2 + } + FLOAT + { + floatName = _ExpandSquare + value = 0 + } + FLOAT + { + floatName = _TintFalloff + value = 0.4044438 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.5 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.2 0 0 + } + } + } + EFFECT + { + name = mpdtFXcore + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-cylinder + positionOffset = 0,0,-0.5 + rotationOffset = -90,0,0 + scaleOffset = 0.0299999993,6,0.0299999993 + MATERIAL + { + transform = Cylinder + shader = Waterfall/Additive (Dynamic) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx-noise-1 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 0.0941176489,0.340100586,0.654901981,1 + } + COLOR + { + colorName = _EndTint + colorValue = 0.184313729,0.482352942,0.866666675,1 + } + FLOAT + { + floatName = _Fresnel + value = 0.707776725 + } + FLOAT + { + floatName = _Falloff + value = 5.8644352 + } + FLOAT + { + floatName = _FadeIn + value = 0 + } + FLOAT + { + floatName = _FadeOut + value = 0 + } + FLOAT + { + floatName = _ExpandLinear + value = 10 + } + FLOAT + { + floatName = _Noise + value = 3.03332901 + } + FLOAT + { + floatName = _SpeedY + value = 28.2333012 + } + FLOAT + { + floatName = _TileX + value = 1 + } + FLOAT + { + floatName = _ExpandSquare + value = 0 + } + FLOAT + { + floatName = _TintFalloff + value = 4.3983264 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Cylinder + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 0.7 0 0 + } + } + FLOATMODIFIER + { + name = aBright + controllerName = atmosphereDepth + transformName = Cylinder + combinationType = MULTIPLY + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 1 0 0 + key = 1 0.2 0 0 + } + } + } + EFFECT + { + name = vFXFlare + parentName = thrustTransform + MODEL + { + path = Waterfall/FX/fx-billboard-generic-1 + positionOffset = 0,0,-0.200000003 + rotationOffset = 0,0,0 + scaleOffset = 0.300000012,0.300000012,0.300000012 + MATERIAL + { + transform = Billboard + shader = Waterfall/Billboard (Additive Directional) + TEXTURE + { + textureSlotName = _MainTex + texturePath = Waterfall/FX/fx_flareglow-1 + textureScale = 1,1 + textureOffset = 0,0 + } + COLOR + { + colorName = _StartTint + colorValue = 0.34117648,0.482352942,0.894117653,1 + } + FLOAT + { + floatName = _DirectionScale + value = 3 + } + } + } + FLOATMODIFIER + { + name = tBright + controllerName = throttle + transformName = Billboard + combinationType = REPLACE + useRandomness = False + randomnessController = random + randomnessScale = 1 + floatName = _Brightness + floatCurve + { + key = 0 0 0 0 + key = 1 4 0 0 + } + } + } +} diff --git a/GameData/NearFuturePropulsion/Plugins/NearFuturePropulsion.dll b/GameData/NearFuturePropulsion/Plugins/NearFuturePropulsion.dll index b66b780..8377c4c 100644 Binary files a/GameData/NearFuturePropulsion/Plugins/NearFuturePropulsion.dll and b/GameData/NearFuturePropulsion/Plugins/NearFuturePropulsion.dll differ diff --git a/GameData/NearFuturePropulsion/Versioning/NearFuturePropulsion.version b/GameData/NearFuturePropulsion/Versioning/NearFuturePropulsion.version index 3b164fe..d42cedf 100644 --- a/GameData/NearFuturePropulsion/Versioning/NearFuturePropulsion.version +++ b/GameData/NearFuturePropulsion/Versioning/NearFuturePropulsion.version @@ -1,19 +1,19 @@ { "NAME":"NearFuturePropulsion", - "URL":"https://raw.githubusercontent.com/ChrisAdderley/NearFuturePropulsion/master/GameData/NearFuturePropulsion/Versioning/NearFuturePropulsion.version", + "URL":"https://raw.githubusercontent.com/post-kerbin-mining-corporation/NearFuturePropulsion/master/GameData/NearFuturePropulsion/Versioning/NearFuturePropulsion.version", "DOWNLOAD":"http://forum.kerbalspaceprogram.com/index.php?/topic/155465-near-future-technologies", "VERSION": { "MAJOR":1, - "MINOR":2, - "PATCH":2, + "MINOR":3, + "PATCH":0, "BUILD":0 }, "KSP_VERSION": { "MAJOR":1, - "MINOR":10, - "PATCH":1 + "MINOR":11, + "PATCH":0 }, "KSP_VERSION_MIN":{ "MAJOR":1, @@ -22,7 +22,7 @@ }, "KSP_VERSION_MAX":{ "MAJOR":1, - "MINOR":10, + "MINOR":11, "PATCH":99 } } diff --git a/README.md b/README.md index a67ae21..528c700 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ A number of electric propulsion parts designed off real technology and prototype These components are required for the mod to function and are bundled as part of any download: * [ModuleManager (4.1.4)](https://github.com/sarbian/ModuleManager) * [B9PartSwitch (2.17.0)](https://github.com/blowfishpro/B9PartSwitch) -* [Community Resource Pack (1.3.0)](https://github.com/BobPalmer/CommunityResourcePack) +* [Community Resource Pack (1.4.2)](https://github.com/BobPalmer/CommunityResourcePack) ## Installation diff --git a/Source/NearFuturePropulsion.csproj b/Source/NearFuturePropulsion.csproj index 78d8d1f..eed2f60 100644 --- a/Source/NearFuturePropulsion.csproj +++ b/Source/NearFuturePropulsion.csproj @@ -59,7 +59,7 @@ - ..\..\..\..\..\..\Games\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\Assembly-CSharp.dll + ..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\Assembly-CSharp.dll @@ -68,13 +68,13 @@ - ..\..\..\..\..\..\Games\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\UnityEngine.AnimationModule.dll + ..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\UnityEngine.AnimationModule.dll - ..\..\..\..\..\..\Games\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\UnityEngine.CoreModule.dll + ..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\UnityEngine.CoreModule.dll - ..\..\..\Users\cadderley\Library\Application Support\Steam\steamapps\common\Kerbal Space Program\Managed\UnityEngine.dll + ..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\UnityEngine.dll diff --git a/Source/RCSEmissive.cs b/Source/RCSEmissive.cs index 223cac1..8e1406a 100644 --- a/Source/RCSEmissive.cs +++ b/Source/RCSEmissive.cs @@ -11,53 +11,54 @@ namespace NearFuturePropulsion { - public class ModuleRCSEmissive : PartModule - { - [KSPField(isPersistant = false)] - public FloatCurve alphaCurve = new FloatCurve(); + public class ModuleRCSEmissive : PartModule + { + [KSPField(isPersistant = false)] + public FloatCurve alphaCurve = new FloatCurve(); - [KSPField(isPersistant = false)] - public FloatCurve blueCurve = new FloatCurve(); + [KSPField(isPersistant = false)] + public FloatCurve blueCurve = new FloatCurve(); - [KSPField(isPersistant = false)] - public FloatCurve greenCurve = new FloatCurve(); + [KSPField(isPersistant = false)] + public FloatCurve greenCurve = new FloatCurve(); - [KSPField(isPersistant = false)] - public FloatCurve redCurve = new FloatCurve(); + [KSPField(isPersistant = false)] + public FloatCurve redCurve = new FloatCurve(); - [KSPField(isPersistant = false)] - public string shaderColorParameter = "_EmissiveColor"; + [KSPField(isPersistant = false)] + public string shaderColorParameter = "_EmissiveColor"; - ModuleRCSFX rcs; - List thrustMaterials; + ModuleRCSFX rcs; + List thrustMaterials; - public void Start() - { - rcs = part.GetComponent(); + public void Start() + { + rcs = part.GetComponent(); - thrustMaterials = new List(); - foreach (Transform t in rcs.thrusterTransforms) - { - thrustMaterials.Add(t.GetComponentInChildren().material); - } - } + thrustMaterials = new List(); + foreach (Transform t in rcs.thrusterTransforms) + { + thrustMaterials.Add(t.GetComponentInChildren().material); + } + } - public void FixedUpdate() - { + public void FixedUpdate() + { - if (HighLogic.LoadedSceneIsFlight) - { - for (int i = 0; i < thrustMaterials.Count; i++) - { + if (HighLogic.LoadedSceneIsFlight) + { + for (int i = 0; i < thrustMaterials.Count; i++) + { + float thrust = rcs.thrustForces[i] / rcs.thrusterPower; Color c; - c = new Color(redCurve.Evaluate(rcs.thrustForces[i]), - greenCurve.Evaluate(rcs.thrustForces[i]), - blueCurve.Evaluate(rcs.thrustForces[i]), - alphaCurve.Evaluate(rcs.thrustForces[i])); - thrustMaterials[i].SetColor(shaderColorParameter, c); - - } - } + c = new Color(redCurve.Evaluate(thrust), + greenCurve.Evaluate(thrust), + blueCurve.Evaluate(thrust), + alphaCurve.Evaluate(thrust)); + thrustMaterials[i].SetColor(shaderColorParameter, c); + } + } } + } } \ No newline at end of file diff --git a/Source/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Source/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index 6455483..11141df 100644 Binary files a/Source/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/Source/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Source/obj/Debug/NearFuturePropulsion.csproj.FileListAbsolute.txt b/Source/obj/Debug/NearFuturePropulsion.csproj.FileListAbsolute.txt index 6fbeb7e..35e939f 100644 --- a/Source/obj/Debug/NearFuturePropulsion.csproj.FileListAbsolute.txt +++ b/Source/obj/Debug/NearFuturePropulsion.csproj.FileListAbsolute.txt @@ -23,3 +23,10 @@ G:/KSP Modding/repositories/NearFuturePropulsion/GameData/NearFuturePropulsion/P /github/NearFuturePropulsion/Source/obj/Debug/NearFuturePropulsion.pdb /github/NearFuturePropulsion/GameData/NearFuturePropulsion/Plugins/NearFuturePropulsion.dll /github/NearFuturePropulsion/GameData/NearFuturePropulsion/Plugins/NearFuturePropulsion.pdb +C:\Users\Chris\KSP\Repositories\NearFuturePropulsion\GameData\NearFuturePropulsion\Plugins\NearFuturePropulsion.dll +C:\Users\Chris\KSP\Repositories\NearFuturePropulsion\GameData\NearFuturePropulsion\Plugins\NearFuturePropulsion.pdb +C:\Users\Chris\KSP\Repositories\NearFuturePropulsion\Source\obj\Debug\NearFuturePropulsion.csprojAssemblyReference.cache +C:\Users\Chris\KSP\Repositories\NearFuturePropulsion\Source\obj\Debug\NearFuturePropulsion.csproj.CoreCompileInputs.cache +C:\Users\Chris\KSP\Repositories\NearFuturePropulsion\Source\obj\Debug\NearFuturePropulsion.csproj.CopyComplete +C:\Users\Chris\KSP\Repositories\NearFuturePropulsion\Source\obj\Debug\NearFuturePropulsion.dll +C:\Users\Chris\KSP\Repositories\NearFuturePropulsion\Source\obj\Debug\NearFuturePropulsion.pdb diff --git a/Source/obj/Debug/NearFuturePropulsion.dll b/Source/obj/Debug/NearFuturePropulsion.dll index 77d4507..8377c4c 100644 Binary files a/Source/obj/Debug/NearFuturePropulsion.dll and b/Source/obj/Debug/NearFuturePropulsion.dll differ diff --git a/Source/obj/Debug/NearFuturePropulsion.pdb b/Source/obj/Debug/NearFuturePropulsion.pdb index b93f7c5..9c9c15b 100644 Binary files a/Source/obj/Debug/NearFuturePropulsion.pdb and b/Source/obj/Debug/NearFuturePropulsion.pdb differ diff --git a/changelog.txt b/changelog.txt index 4bd1602..edb3b93 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,12 @@ +v1.3.0 +------ +- Marked for KSP 1.11 +- Updated CRP to 1.4.2 +- Set many parts as usable in inventories roughly following stock model: most 0.625m parts, smaller 1.25m parts, all RCS +- Added Waterfall support to all engines and RCS +- Soft-deprecated atmospheric resource mining equipment +- Small fixes to lit RCS controllers + v1.2.2 ------ - Marked for KSP 1.10 diff --git a/readme.txt b/readme.txt index e1f3ef5..0b8876f 100644 --- a/readme.txt +++ b/readme.txt @@ -1,5 +1,5 @@ ================================= -NEAR FUTURE PROPULSION PACK 1.2.2 +NEAR FUTURE PROPULSION PACK 1.3.0 ================================= This pack contains the advanced electric propulsion technologies @@ -13,7 +13,7 @@ DEPENDENCIES Required: - BP Part Switch (2.17.0) -- Community Resource Pack (1.3.0) +- Community Resource Pack (1.4.2) - ModuleManager (4.1.4) Optional