Commit Graph

52 Commits (af43cd8f709d1043d7564b49243364b52b2ad375)

Author SHA1 Message Date
Andrew Cassidy af43cd8f70 Fix depth mask interaction with part repairs 3 years ago
Andrew Cassidy a0f70bd778 Fix merge error with dll and csproj 3 years ago
Andrew Cassidy 5853781461 Merge branch '1-11-updates' 3 years ago
Chris bbea67abc8 Add RCS fixes 3 years ago
Chris 135a775aab 1.11 Light updates 3 years ago
Andrew Cassidy 1671a65656
Integrate fuel line and strut variants 4 years ago
Chris Adderley becf643a8f Include DeployableMeshHider in compile target 4 years ago
Andrew Cassidy fd68fe9b10
Cache generated girder meshes for later use
Should help with vessels that have large numbers of launch clamps
4 years ago
Andrew Cassidy 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.
4 years ago
Chris Adderley 7cdb73d0a3 Blarg HONK HONK Blurg...fixes
- #847
- #846
- #845
- #843
- #808
4 years ago
Andrew Cassidy 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
4 years ago
Andrew Cassidy 85ab757271
Code cleanup
• Pretty up some code for consistency
• Add documentation to constraint modules
• Fix key name for copy position constraint
4 years ago
Andrew Cassidy 6cd78839ae
Update ModuleRestockHeatEffects to fix instantiation issues
Untested (will test when I get home)
5 years ago
Andrew Cassidy 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
5 years ago
Andrew Cassidy 75b05e96fe
Fix launch clamp instancing in flight scene
Closes #693
5 years ago
Andrew Cassidy 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
5 years ago
Andrew Cassidy 134fd03c55
Recompile plugin for 1.8 5 years ago
Andrew Cassidy 1d0042de8a
Remove debug messages from module 5 years ago
Andrew Cassidy 922dd5e282
Get launch clamp code working 5 years ago
Andrew Cassidy 3e13dab645
Launchclamp module works but hangs unexpectedly due to it growing too large 5 years ago
Andrew Cassidy 516e0829a5
Use for loops instead of foreach loops to minimize GC 5 years ago
Andrew Cassidy 411f85e329
Merge branch 'resource' into develop 5 years ago
Andrew Cassidy 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
5 years ago
Andrew Cassidy cf585360cb
overhaul ModuleRestockISRUAnimation to support more animation states
Getting closer to making this a drop-in replacement for ModuleAnimationGroup in all cases!
5 years ago
Andrew Cassidy 5e48743a92
Documentation pass 5 years ago
Andrew Cassidy 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
5 years ago
Andrew Cassidy 6871021b8a
Add ISRU and custom animation module 5 years ago
Andrew Cassidy 7a5a2a0d46
Add check for if the queue has already been updated 5 years ago
Andrew Cassidy ceb3d5d33f
Allow ModuleRestockDepthMask to have multiple masks 5 years ago
Andrew Cassidy 32e7169e80
Update Restock.dll 5 years ago
Andrew Cassidy 175c7269e3
Minor changes to ModuleRestockLinkedMesh 5 years ago
Andrew Cassidy 17f73a1c05
Add fuelline and strut 5 years ago
Andrew Cassidy 1ba8caa1ac
Keep texture centered when extending pipes
(this will be important later)
5 years ago
Andrew Cassidy 46c068f4a7
allow for multiple material modification
Allow ModuleRestockLinkedMesh to reference multiple materials including disabled ones
5 years ago
Andrew Cassidy d43d5bdb32
Add ModuleRestockLinkedMesh
Extends the stock CModuleLinkedMesh used on struts and pipes to make pipe textures repeat instead of stretch when a pipe is extended beyond its default length
5 years ago
Andrew Cassidy ff1d3be11a
Keep texture centered when extending pipes
(this will be important later)
5 years ago
Andrew Cassidy 2bc203ee64
allow for multiple material modification
Allow ModuleRestockLinkedMesh to reference multiple materials including disabled ones
5 years ago
Andrew Cassidy 2d9249d001
Add ModuleRestockLinkedMesh
Extends the stock CModuleLinkedMesh used on struts and pipes to make pipe textures repeat instead of stretch when a pipe is extended beyond its default length
5 years ago
blowfish f26d4c20ea Verify install and warn user of issues
* Warn if Restock is installed in the wrong place (finds DLL and then goes two directories up, this should be Restock's "root" install directory)
* Warn if some old directories are sitting around from an old version of KSP, since the old part configs break stuff.
5 years ago
blowfish edc42d3360 Fix transform finder
* It was using node.name rather than node.value
* Wasn't actually adding the renderers it found to the result
5 years ago
blowfish 2a8287491b Blacklist complains if url pattern does not match any files
Easier to debug stuff
5 years ago
blowfish 91ec3c8341 Extract common code between blacklist and whitelist 5 years ago
blowfish bbc29c201f Make constants all capitals 5 years ago
blowfish 17ec6782e4 Update csproj since I forgot apparently 5 years ago
blowfish ddb79541f5 Material modifers can be scoped by transform
Each MATERIAL node can take transform or baseTransform values which look for renderers on that transform or that transform and children respectively.  If none are specified it will use every renderer in the model.
5 years ago
blowfish 8d8795c57d Unify material modifiers
Allows float and color properties to be set on actual parts now, not just
fairings
5 years ago
Joseph Wong 366a354688 allow empty lines and comments in blacklist/whitelist 5 years ago
blowfish 3618a724e3 Blacklist for excluding replaced files
All .restockblacklist files will be read to prevent KSP from loading these files (i.e. models and textures).  Any .restockwhitelist files will be read to prevent them from being blacklisted (e.g. if a mod actually uses the squad files).  Each line in those files should be a GameData path that follows these rules:

* If it ends with a / then all files in that directory (or sibdirectories) will be matched
* A * can match anything in a directory or file name
* Files can optionally take an extension, but it is not required to match
5 years ago
blowfish f04b586af8 Fairing material updater module 5 years ago
Chris Adderley d76dfa6d96 Test fairing shader swap 5 years ago