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

1000 Commits

Author SHA1 Message Date
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
eaf9386c82 Improve Plasma RT Lamps.
This improves the panel layout and fixes the issue in which
`plShadowMaster` exported with `maxSize` == 0, causing crappy shadows
in PotS and generally no shadows in MOUL.
2019-11-03 17:50:59 -05:00
f016eea84c Merge pull request #124 from Deledrius/MultiStageBeh
Add MultiStageBehMod Node.
2019-11-03 16:57:16 -05:00
7bde98e37c Add MultiStageBehMod Node. 2019-11-03 07:53:01 -08:00
a6cf689d6d Merge pull request #161 from Hoikas/node_empty_spawn
Fix interesting empty node socket spawning bugs.
2019-10-29 14:21:07 -04:00
fe20fd7bbb Fix node python identifier regression. 2019-10-29 14:20:02 -04:00
cd0b703cc1 Fix packed sound datablocks producing invalid SoundBuffers. 2019-10-29 14:11:52 -04:00
31bb69f045 Fix age name stomping via the zip export dialog. 2019-10-29 14:10:14 -04:00
946fe9a4c5 Fix #160. 2019-10-28 21:36:22 -04:00
f84a4bd404 Fix interesting empty node socket spawning bugs.
This fixes two bugs with empty node socket spawning:
- The first time an empty is spawned, the link is moved to the last
socket.
- Unlinking a socket in the middle of the group would cause that socket
to be the one that's empty. This isn't bad per-se, but with Responders
being ID-based, it could result in some confusion.
2019-10-28 19:04:13 -04:00
f67f2da822 Fix poor draw performance resulting from +Node. v0.09 2019-10-25 14:50:06 -04:00
eb8aa53d3a Enable Blender's World header panel. 2019-10-25 11:41:29 -04:00
3897dfa1c2 Fix #126.
Warning: Korlib C API change. Version bumped.
2019-10-25 11:39:19 -04:00
d999a7ba1f Improve camera tracking UI and export.
Previously, Korman exported cameras without the "Maintain LOS" flag
applied, allowing cameras to swing through geometry. In the token of
better defaults and easier to understand objects, all the tracking
options have been audited for clarity and their exporting to the correct
camera type.
2019-10-24 23:21:18 -04:00
5183adb469 Fix #154. 2019-10-24 20:41:04 -04:00
7e2cd66ffd More actor harvesting fixes.
Apparently, I forgot about the `requires_actor` property. Oops! That has
been corrected along with an oversight in the PythonFileMod nodes.
2019-10-24 20:05:17 -04:00