4
4
mirror of https://github.com/H-uru/korman.git synced 2025-07-13 18:17:38 -04:00
Commit Graph

765 Commits

Author SHA1 Message Date
95c5defab1 Add .editorconfig and update .gitignore for VS Code. 2020-06-14 18:16:15 -04:00
0c82e80e48 Allow triggering MSBs from Responders. 2020-05-26 16:41:12 -04:00
0844a5338d What the log message...? 2020-05-26 16:41:12 -04:00
e0db2bd3c3 Allow MSBs to trigger responders and sitting mods. 2020-05-26 16:41:12 -04:00
666d443b13 Fix the @dpogue bug. 2020-05-11 01:55:39 -04:00
88f4e6a624 Add workaround for sound upgrade recursion error. 2020-04-07 00:45:08 -04:00
e912e1e3ce Merge pull request #179 from Hoikas/sane_sound
Fix Sound Mod Issues.
2020-02-25 21:48:34 -05:00
34a945e86c Remove sound datablock name proxy hack.
The commentary about PointerProps and update callbacks appears to be
incorrect. Maybe it was broken in a beta release of Blender 2.79? Works
fine in Blender 2.79b.
2020-02-24 23:40:41 -05:00
915fc58e21 Fix #178.
This adds a button for packaging/exporting sound files to either the zip
or the game directory.
2020-02-24 23:33:40 -05:00
e74116e7b4 Export Blender double-sided meshes correctly.
This enables the Blender Mesh Normal panel and exports any double sided
mesh with double sided layers to Plasma. The implication is that the
mesh will be rendered twice in game--the second time with the winding
reversed. Wavesets marked double sided are ignored due to the runtime
generation of layers in game. Trying to make a double sided waveset is
therefore nonsense.
2020-02-24 18:37:43 -05:00
eea59f25a9 Ensure soft volume normals always point inward. 2020-02-15 14:35:22 -05:00
133d447408 More improvements to the Enable/Disable node.
This allows directing the message to *all* modifiers -- this is
primarily only useful for ladders, but some other types may respect the
message. Also exposed the ability to send the message to child objects.
2020-02-14 22:35:28 -05:00
ecaba2e6e0 Optimize convex hull export.
Avoiding the context switches appears to be a huge boon for performance.
With 100 iterations on an arbitrary mesh, the improvement was 17s to
2.55s.
2020-02-14 16:37:14 -05:00
c98f3fe919 Merge pull request #175 from Hoikas/fix_phys_xform
Fix #101
2020-02-13 22:27:27 -05:00
09d82b95e5 Add documentation for generate_physical. 2020-02-13 22:26:49 -05:00
be9c30b7f8 BREAKING CHANGE: Renamed the enum keys in volume sensor node.
This is to make the code simpler--I doubt anyone actually used this
anyway.
2020-02-13 22:26:40 -05:00
9bd3dba4f2 Fix XRgn bounds setter. 2020-02-13 17:08:45 -05:00
55bc8a14e0 Export colliders in correct space in PotS.
Translation of the rules posted by Sirius @ https://forum.guildofwriters.org/viewtopic.php?p=73757#p73757

PotS is in worldspace when the mass is non-zero. Plasma likely detects
nonzero mass as "this object can move" and expects localspace. MOUL on
the other hand uses localspace if the object has a CI, otherwise
worldspace.
2020-02-13 17:05:23 -05:00
d153f06af9 Fix #174.
It appears that in Havok-physics enabled versions of Plasma, plEnableMsg
does not affect physics. Therefore, we have to send the PotS-era
plSimSuppressMsg to do this job.
2020-02-13 13:37:59 -05:00
7311039bc0 Allow disabling of RT shadow casting per material. 2020-02-11 15:33:30 -05:00
53db0897bf Ensure normals have no zero component.
MOUL/DX9 will not rt light any vertex with a near-zero component in its
normal. This prevents shadows and decals from appearing on flat surfaces
in Ages exported for the MOUL engine. Instead of fighting with the
pipeline and vertex buffer code in Plasma, we'll just clamp the values
here.
2020-02-11 12:54:34 -05:00
0bbdb33f29 Merge pull request #172 from Hoikas/decals
Decals
2020-02-04 11:52:30 -05:00
1e3855790e Add icons for decals. 2020-02-04 11:51:58 -05:00
8fe53c1518 Implement wet footprints. 2020-02-03 20:54:57 -05:00
211a9dafee Implement decal printing.
This allows for objects to print decals at runtime, like the baskets in
Eder Gira. Also, the same functionality can be hijacked for coincident
objects to exist as decals. This is basically a shortcut for adding hack
Z-flags to the base layer of a decal material.
2020-02-03 20:54:57 -05:00
dd467547d2 Improve blendspan criteria stuff.
This allows blend textures to be used for mesh transparency without
having to fiddle around too much. It was also a stab at fixing some
regressions in the MOUL engine around decals, but that bit failed,
sadly.
2020-02-03 20:54:57 -05:00
e2134d16ad Implement basic dynamic decals.
The code has some rudimentary support for all kinds of decals, but the
main focus of this changeset is unconditional footprints and water
ripples.
2020-02-03 20:54:57 -05:00
789bf6bcc4 Fix incorrect soft volume normal export.
The soft volumes were previously in aproximately the correct location
but the exported normals were not unit vectors. This seems to have made
the resulting soft volumes not function as intended.
2020-02-03 20:53:42 -05:00
d06d187fc4 Add support for resuming special link in/out animations. 2020-02-01 21:52:38 -05:00
3f2d44379b Fix using Sitting Behavior nodes as conditions. 2020-01-31 21:32:07 -05:00
1d5d3a1277 Fix oversight with BuiltIn.prp python class name. 2020-01-02 20:02:27 -05:00
6063bf6f2a Don't crash when a texture is on a disconnected HDD. 2019-12-21 20:21:35 -05:00
d0c8411b6d Fix kickables falling through the Age in PotS. 2019-12-20 20:16:18 -05:00
cc60a6bd26 Add mass assign/select for page objects.
Closes #168.
2019-12-17 21:11:35 -05:00
62846c5a11 Fix #169.
This fixes the issue in which python nodes reused in multiple pages
won't get properly exported. The exporter doesn't store which page a
node was exported to, and the "optimization" to prevent dupe python
parameters was over-optimizing in the case of multiple pages. Trivial
attempts to track the pages we exported to failed, so we'll fall back to
checking the PFM's filename. If it's None, then obviously the PFM has
not been exported...
2019-12-17 18:11:52 -05:00
bdced82934 Fix two nasty GOTCHAs with DynamicEnvMaps. 2019-11-26 22:17:17 -05:00
fd49848210 Fix AgeSDL when using packed Python in MOUL. 2019-11-24 01:09:47 -05:00
8addb996b7 Don't export empty vertex buffers.
This caused scary assertions when plClient is built in debug mode.
2019-11-23 19:41:56 -05:00
4266129a83 Fix exclude region Python node linkage. 2019-11-11 13:41:41 -05:00
43d7ed7cc9 Add operator for copying modifiers to many objects. 2019-11-08 22:27:54 -05:00
67d05f7da5 Use artist light group settings for vcols. 2019-11-08 21:18:16 -05:00
125e68b768 Merge pull request #164 from Hoikas/blend_textures
Add Blend Texture Exporter
2019-11-08 14:20:09 -05:00
b2236ad1f2 Fix Blend Texture UI tracebacks. 2019-11-07 22:06:52 -05:00
b8baf8b538 Implement blend texture generator. 2019-11-07 22:06:52 -05:00
47ad9c89fe Fix #143.
Explanation: The JPEG format in plMipmap does not have to be an actual
JPEG image, it can also hold an RLE bitmap. libHSPlasma currently does
not attempt to compress any images held as uncompressed data and marked
JPEG, rather, it exports them as RLE maps. Maybe a bit odd, but it
works. I guess.
2019-11-07 16:19:02 -05:00
b177067f33 Merge pull request #162 from Hoikas/launch_plasma
Add the ability to launch URU from Korman.
2019-11-03 19:28:53 -05:00
532dc9d6a4 At this point, I just need to go back to Pre-K. 2019-11-03 19:28:04 -05:00
c3157fc256 Close #159. 2019-11-03 19:02:08 -05:00
0c463e2f49 Drop the whole map_color thing for LampTextureSlots. 2019-11-03 19:01:28 -05:00
477a874e4d Fix #163. 2019-11-03 18:22:43 -05:00