Commit Graph

69 Commits

Author SHA1 Message Date
af43cd8f70 Fix depth mask interaction with part repairs 2021-01-15 21:36:03 -08:00
a0f70bd778 Fix merge error with dll and csproj 2021-01-15 16:55:19 -08:00
5853781461 Merge branch '1-11-updates' 2021-01-13 13:53:22 -08:00
Chris
bbea67abc8 Add RCS fixes 2021-01-13 11:48:03 -08:00
Chris
135a775aab 1.11 Light updates 2021-01-06 22:11:53 -08:00
aaaa4d097a
Merge pull request #913 from taniwha/launchclamp_el_compat
Pre-rotate the anchor transform
2020-10-04 20:49:23 -07:00
Bill Currie
7a29651f67 Pre-rotate the anchor transform
This is the launch clamp side of the fix for the EL-ReStock launch clamp
compatibility issue. The issue was reported in the EL thread and started
out as issues with getting the build cost but after fixing that, had
issues with the clamps extending properly when built at a survey site.
The bulk of the fix for that is (or will be) in EL, but this change is
for handling rotated clamps: it points the tower in the correct (editor)
direction prior to the tower being extended.
2020-09-13 15:41:09 +09:00
cd3987cea9
Merge branch '1-10-updates' into Master 2020-08-04 22:08:36 -07:00
1671a65656
Integrate fuel line and strut variants 2020-07-03 01:22:08 -07:00
52a0030b5e
Fix error with nodes added by the game 2020-06-26 20:58:17 -07:00
Chris Adderley
becf643a8f Include DeployableMeshHider in compile target 2020-05-02 13:58:46 -07:00
fd68fe9b10
Cache generated girder meshes for later use
Should help with vessels that have large numbers of launch clamps
2020-04-28 17:21:52 -07:00
6153434179
Always use fallback launch clamp implementation in flight
Instanced rendering doesnt work with lighting correctly in Unity, so we cant use it in the flight scene.
2020-04-26 18:30:10 -07:00
Chris Adderley
7cdb73d0a3 Blarg HONK HONK Blurg...fixes
- #847
- #846
- #845
- #843
- #808
2020-04-26 13:48:13 -07:00
2c16fab42e
Add launch clamp fallback for older versions of OpenGL
Add a fallback method for the launch clamp module that does not require GPU instancing, for users with older computers. This method is currently very slow when calculating several launch clamps in a single frame in the editor, but fine in the flight scene
2020-02-01 17:18:20 -08:00
85ab757271
Code cleanup
• Pretty up some code for consistency
• Add documentation to constraint modules
• Fix key name for copy position constraint
2020-01-30 22:24:39 -08:00
3077b9b47b
Merge branch 'Wheels' into develop 2020-01-30 18:45:48 -08:00
931d891644
Convert ModuleRestockLookAtConstrain into ModuleRestockConstraints
New module is extendable and modular, allowing constraints to be run in the expected order without relying on possibly undefined behavior
2020-01-30 18:37:27 -08:00
073b7d2948
Roll ModuleAdvancedLookAtConstraint into ReStock 2020-01-30 17:16:10 -08:00
6cd78839ae
Update ModuleRestockHeatEffects to fix instantiation issues
Untested (will test when I get home)
2019-12-03 12:41:33 -08:00
8467b4fcae
Fix NREs in ISRU code
* check if renderer list is null on HeatEffects plugin before lateupdate
* correctly use reversed deploy animation for retracting ISRUs when retract animation is not present
2019-11-04 16:55:36 -08:00
75b05e96fe
Fix launch clamp instancing in flight scene
Closes #693
2019-10-26 12:02:03 -07:00
7ab6df3bd4
Update launch clamp module
• Use instancing instead of editing the mesh to extend the launch clamp girder
• Calculate length from local position when in editor to avoid slight delay
2019-10-22 12:48:39 -07:00
bf465c5ac0
Remove another unused reference 2019-10-20 22:53:32 -07:00
5d3768b5bb
Remove unused reference 2019-10-20 22:51:45 -07:00
134fd03c55
Recompile plugin for 1.8 2019-10-20 22:23:27 -07:00
9ee549b29b
Merge branch 'ground' into develop 2019-10-09 17:52:33 -07:00
1d0042de8a
Remove debug messages from module 2019-09-12 12:02:05 -07:00
922dd5e282
Get launch clamp code working 2019-09-10 13:09:38 -07:00
3e13dab645
Launchclamp module works but hangs unexpectedly due to it growing too large 2019-09-08 19:12:19 -07:00
516e0829a5
Use for loops instead of foreach loops to minimize GC 2019-08-31 11:28:37 -07:00
411f85e329
Merge branch 'resource' into develop 2019-08-30 21:21:18 -07:00
f5b81532bb
Finish overhauling animation module to support waiting states
• ISRU Animation module now will optionally wait for the current looping animation to complete before changing states, making transitions look more seamless
• Better looping animation handling, instead of manually refreshing animations
• Better documentation
• Remove some debug code in HeatEffects
2019-08-30 21:02:20 -07:00
cf585360cb
overhaul ModuleRestockISRUAnimation to support more animation states
Getting closer to making this a drop-in replacement for ModuleAnimationGroup in all cases!
2019-08-30 00:24:49 -07:00
5e48743a92
Documentation pass 2019-08-16 21:26:01 -07:00
a506dc492e
Add ModuleRestockHeatEffects
• Add ModuleRestockHeatEffects, which replaces ModuleHeatEffects and incorporates its own color changing module without the bugs of the stock one, as well as having an option to disable the built in blackbody glow.
• Minor changes to ModuleRestockISRUAnimation
2019-08-16 21:20:14 -07:00
6871021b8a
Add ISRU and custom animation module 2019-08-15 00:09:18 -07:00
7a5a2a0d46
Add check for if the queue has already been updated 2019-06-11 16:33:30 -07:00
ceb3d5d33f
Allow ModuleRestockDepthMask to have multiple masks 2019-06-11 15:27:00 -07:00
d356834614
Merge branch 'negative-space' into develop 2019-06-10 17:58:39 -07:00
c19379153e
Update Restock.csproj 2019-06-10 17:51:35 -07:00
4b51e1ac70
Fix body transform support and some cleaning up 2019-06-10 17:18:32 -07:00
16b0e04b86
Merge branch 'negative-space' of https://github.com/PorktoberRevolution/ReStocked into negative-space 2019-06-10 00:37:26 -07:00
c824d83bfe
Add support to set what object gets affected by the depthMask
used for setting an "interior" mesh while allowing transparent meshes outside to still render correctly
2019-06-10 00:34:49 -07:00
676287618a
Update Restock.csproj 2019-06-09 18:46:43 -07:00
ec71ee0019
Fix depth mask module with transparent shaders and part variants 2019-06-09 18:43:33 -07:00
7a154de62f
Add DepthMask module 2019-06-09 18:01:00 -07:00
175c7269e3
Minor changes to ModuleRestockLinkedMesh 2019-06-09 09:41:23 -07:00
17f73a1c05
Add fuelline and strut 2019-06-09 09:32:25 -07:00
1ba8caa1ac
Keep texture centered when extending pipes
(this will be important later)
2019-06-08 15:42:02 -07:00