Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisAdderley committed Sep 10, 2020
0 parents commit 281fe33
Show file tree
Hide file tree
Showing 24 changed files with 3,471 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
tmp/
deploy/
build/
build-deploy/
.vs/
.idea/
bin/
obj/
*.swp
21 changes: 21 additions & 0 deletions .mod_data.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
mod-name: WaterfallRestock
package:
include-dependencies: true # Include dependencies in the package
included-gamedata:
- Waterfall
included-support: # Include these root-level files in packages
- readme.txt
- changelog.txt
dependencies: # Configure dependencies
ModuleManager:
version: 4.1.4
location: s3
deploy:
SpaceDock:
enabled: false # activate/deactivate this deployment script
mod-id: 558 # The Spacedock mod ID for deployment
CurseForge:
enabled: false # activate/deactivate this deployment script
mod-id: 220671 # The CurseForge mod ID for deployment
GitHub:
enabled: true # activate/deactivate this deployment script
34 changes: 34 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
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/Waterfall
skip_cleanup: true
acl: public_read
region: us-east-2
upload-dir: waterfall
on:
branch: master
135 changes: 135 additions & 0 deletions GameData/WaterfallRestock/Patches/RestockPlus/RestockPlusBoar.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@


@PART[restock-engine-boar]:AFTER[ReStock]:FOR[Waterfall]
{

!EFFECTS {}
EFFECTS
{
engage
{
AUDIO
{
channel = Ship
clip = sound_vent_medium
volume = 1.0
pitch = 2.0
loop = false
}
}
disengage
{
AUDIO
{
channel = Ship
clip = sound_vent_soft
volume = 1.0
pitch = 2.0
loop = false
}
}
flameout
{
PREFAB_PARTICLE
{
prefabName = fx_exhaustSparks_flameout_2
transformName = smokePoint
oneShot = true
}
AUDIO
{
channel = Ship
clip = sound_explosion_low
volume = 1.0
pitch = 2.0
loop = false
}
}
fx-boar-running
{
AUDIO
{
channel = Ship
clip = sound_rocket_hard
volume = 0.0 0.0
volume = 0.01 0.4
volume = 1.0 1.0
pitch = 0.0 0.2
pitch = 0.01 0.6
pitch = 1.0 1.8
loop = true
}
PREFAB_PARTICLE
{
prefabName = fx_smokeTrail_veryLarge
transformName = smokePoint
emission = 0.0 0.0
emission = 0.05 0.0
emission = 0.075 0.25
emission = 1.0 1.25
speed = 0.0 0.25
speed = 1.0 1.0
localOffset = 0, 0, 1
}
MODEL_MULTI_PARTICLE
{
name = turbo
modelName = ReStock/FX/restock-fx-boar-turbo-1
transformName = fxTransformTurbo
emission = 0.0 0.0
emission = 0.01 0.1
emission = 0.075 0.25
emission = 1.0 1.0
speed = 0.0 0.35
speed = 1.0 1.0
}
}
}
MODULE
{
name = ModuleWaterfallFX
// This is a custom name
moduleID = twinBoarFX
// This links the effects to a given ModuleEngines
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
}
// this controller generates a random value in the range specified
CONTROLLER
{
name = random
linkedTo = random
range = -1,1
}
// -----------------------------------------------------
// Past here should be generated with the ingame editor!
// -----------------------------------------------------

TEMPLATE
{
// This is the name of the template to use
templateName = waterfall-kerolox-f1b-1
// This field allows you to override the parentTransform name in the EFFECTS contained in the template
overrideParentTransform = thrustTransform
position = 0,0.04,0.056
rotation = 0, 0, 0
scale = 1, 1, 1
}




}
}
93 changes: 93 additions & 0 deletions GameData/WaterfallRestock/Patches/RestockPlus/RestockPlusPug.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@


@PART[restock-engine-125-pug]:AFTER[ReStock]:FOR[Waterfall]
{

!EFFECTS {}
EFFECTS
{
engage
{
AUDIO
{
channel = Ship
clip = sound_vent_medium
volume = 1.0
pitch = 2.0
loop = false
}
}
flameout
{
AUDIO
{
channel = Ship
clip = sound_explosion_low
volume = 1.0
pitch = 2.0
loop = false
}
}
fx-pug-running
{
AUDIO
{
channel = Ship
clip = sound_rocket_hard
volume = 0.0 0.0
volume = 0.01 0.2
volume = 1.0 0.6
pitch = 0.0 0.1
pitch = 0.01 0.2
pitch = 1.0 0.5
loop = true
}
}
}
MODULE
{
name = ModuleWaterfallFX
// This is a custom name
moduleID = terrierFX
// This links the effects to a given ModuleEngines
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
}
// this controller generates a random value in the range specified
CONTROLLER
{
name = random
linkedTo = random
range = -1,1
}
// -----------------------------------------------------
// Past here should be generated with the ingame editor!
// -----------------------------------------------------
TEMPLATE
{
// This is the name of the template to use
templateName = waterfall-kerlox-rd124-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 = -90,0,0
scale = 0.9,0.7,0.9
}




}
}
Loading

0 comments on commit 281fe33

Please sign in to comment.