Commit Graph

38 Commits

Author SHA1 Message Date
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
134fd03c55
Recompile plugin for 1.8 2019-10-20 22:23:27 -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
32e7169e80
Update Restock.dll 2019-06-10 17:58:44 -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
46c068f4a7
allow for multiple material modification
Allow ModuleRestockLinkedMesh to reference multiple materials including disabled ones
2019-06-08 15:41:49 -07:00
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
2019-06-08 15:41:31 -07:00
ff1d3be11a
Keep texture centered when extending pipes
(this will be important later)
2019-06-04 18:14:41 -07:00
2bc203ee64
allow for multiple material modification
Allow ModuleRestockLinkedMesh to reference multiple materials including disabled ones
2019-06-04 11:56:19 -07:00
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
2019-06-04 00:09:09 -07:00
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.
2019-04-21 22:40:48 -07:00
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
2019-03-01 23:52:18 -08:00
blowfish
2a8287491b Blacklist complains if url pattern does not match any files
Easier to debug stuff
2019-03-01 01:03:45 -08:00
blowfish
91ec3c8341 Extract common code between blacklist and whitelist 2019-03-01 01:00:49 -08:00
blowfish
bbc29c201f Make constants all capitals 2019-03-01 00:53:33 -08:00
blowfish
17ec6782e4 Update csproj since I forgot apparently 2019-03-01 00:22:23 -08:00
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.
2019-02-28 23:54:33 -08:00
blowfish
8d8795c57d Unify material modifiers
Allows float and color properties to be set on actual parts now, not just
fairings
2019-02-28 22:41:44 -08:00
Joseph Wong
366a354688 allow empty lines and comments in blacklist/whitelist 2019-02-04 21:20:20 -08:00
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
2019-01-19 23:15:57 -08:00
blowfish
f04b586af8 Fairing material updater module 2019-01-13 11:46:00 -08:00
Chris Adderley
d76dfa6d96 Test fairing shader swap 2019-01-12 21:58:55 -08:00
blowfish
9cc2fa36c8 Add license to blowfish assets dir 2018-12-02 23:25:34 -08:00
blowfish
f53161ff3e Add plugin with material modifier
ModuleRestockMaterialModifier allows materials to be modified.  Currently only supports swapping out the shader and changing texture properties.  Changes apply to the whole part (can be changed in the future).
2018-12-02 23:20:39 -08:00