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
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
465611650d Merge pull request #156 from Hoikas/nodes
Make node trees reusable.
2019-10-24 19:09:26 -04:00
9f450d0bdb Make node trees reusable.
Previously, reusing node trees required careful thought and
specification of specific nodes in the advanced logic modifier. This
tedious requirement has been removed in favor of ensuring that the nodes
themselves take into account whether or not they should generate and
attach plasma objects.
2019-10-24 14:56:45 -04:00
aabc87f1c5 Implement MOULa GatherBuild JSON file.
The JSON file now exported with MOUL zip packages is compliant with the
format required for prebuilt asset submissions to the Cyan MOULa Shard.
2019-10-24 14:55:19 -04:00
9dbd66204d Fix spurious responder wait generation.
This fixes an issue in which responders would get "stuck" at the end if
the last message had callbacks AND the responder was not attached to a
Python node.
2019-10-23 21:58:50 -04:00
667bf0fb29 Merge pull request #152 from Hoikas/nodes
Node Improvements
2019-10-23 18:13:27 -04:00
a10abbabbc Allow creation of Python File nodes.
Known limitation: python files must be loaded into blender's memory to
be suggested.
2019-10-22 22:55:08 -04:00
a65ed152fd Add node create+link operator.
Inspired by Unreal Blueprint's drag link+create list functionality. I
realize Blender has a few operators that do different parts of this job,
but they don't provide this well-polished functionality.
2019-10-22 19:38:20 -04:00
bb40890a67 Improve logic node actor harvesting.
"Improve" is not quite the correct verbiage here because there were bugs
in the old code. The main issue is that any SceneObject with a
plPythonFileMod attached MUST have a CoordinateInterface attached,
otherwise the object would be invisible in game. Further, there were
some unreported oversights with regard to auto-generated modifiers that
have been fixed.
2019-10-21 17:34:23 -04:00
3e61d64843 Fix broken AgeSDL Hooks. 2019-10-20 22:01:26 -04:00
580228b0da Close #148.
This isn't the best fix in the world. We don't really know what the user
did to cause the failure because of how abstract this code is. A proper
fix would be to ensure region modifiers can't get attached to non-mesh
objects. That won't fix already "broken" stuff in blend files without
being naughty/destructive, however.
2019-10-20 18:09:31 -04:00
836655ca66 Fix potential GOTCHAs with Circle Camera Centers. 2019-10-20 18:02:05 -04:00
5f05052c3f Fix #149. 2019-10-20 17:44:31 -04:00
db00f298ee Fix texture page location resolver. 2019-10-20 17:00:55 -04:00
173805a7ba Fix #151. 2019-10-20 16:56:41 -04:00
4b4e531f61 Fix #150. 2019-10-20 16:27:32 -04:00
3ac3ee2186 Work around lack of f-strings in Python 3.5.
This forwards the arguments and keywords to `str.format`. It's a good
poor man's f-string, anyway...
2019-10-20 16:26:00 -04:00
ba1d55b7b6 Fix #147 2019-10-20 00:20:11 -04:00
5fd9564e93 Fix the previous fix.
`pClass` is a class, not an object instance...
2019-10-02 20:10:54 -04:00
04d1b84849 Fix MultiModifiers not being added to new SceneObjects. 2019-10-02 18:36:50 -04:00
cc55c422d0 Fix exporting internal SDL files.
Previously, we would use the current working directory as the SDL file
path. This would crash when we attempted to see if that file is
encrypted.
2019-10-02 17:05:25 -04:00
01b6d0a907 Fix #141 2019-04-01 16:20:35 -04:00
bb8554091c Improve handling of cp-1252 encoded journals
We now export the journal anyway, replacing any illegal characters with
the replacement character.
2019-04-01 16:16:34 -04:00
80a7a06de9 Don't close the global stdout handle
Despite how the rest of the Win32 API expects for you to close handles,
this will apparently trash the global state. See https://devblogs.microsoft.com/oldnewthing/20130307-00/?p=5033
2019-04-01 15:52:20 -04:00
1df5b10671 Fix #142 2019-04-01 15:50:24 -04:00
715079f930 Fix #139 2019-03-07 00:11:41 -05:00
b5d3f87c66 Fix #137
Unfortunately, this does not prevent "DAG zero..." from appearing
period. Rather, it just overwrites any junk printed to the console
during the export. The ANSI version is rather limited compared to the
Windows version and completely untested...
2019-02-28 20:11:35 -05:00
e9ee49c8a6 Fix #138
Due to memory management issues, it is likely impossible to remove a
node in its own init() callback without crashing Blender. Now, we will
deactivate any output node operators if an output node is already
present in the tree.
2019-02-27 22:53:22 -05:00
377d771b84 Ignore more IDE specific junk 2019-02-27 21:32:27 -05:00
12c2f8a33d Fix issue causing PFMs to crash in PotS
Recall that PFMs are added as modules to the global modules dict.
Therefore, module names must be valid Python 2.x identifiers. This is
handled well for age names, but we've been neglecting to handle it for
PFM names. So, when Blender adds ".001" as a suffix to a duplicated
object, any attached PFMs will go down in a firey dust explosion.
Generally, with the unhelpful error message: "NULL result without
error in PyObject_Call".
2019-02-12 19:34:53 -05:00
95dd0341f0 Merge pull request #130 from Hoikas/journal-loc
Fix #129
v0.08
2019-01-30 20:47:35 -05:00
5d1bf5d1b1 Cleanup export button layout 2019-01-28 20:07:28 -05:00
ad2b463d71 Implement localization export operator
This is like the Package Python operator in that the artist can now
export the loc data independent of the rest of the age. The difference
is that due to the extremely different loc formats from PotS+UAM to
MOUL, we can't easily allow the user to specify where the data will be
exported to. So, we only allow this operation in the context of a game.
2019-01-28 19:47:02 -05:00
4f7f8a05fe Fix #129 2019-01-28 19:47:02 -05:00
1234d548a1 Fix typo 2019-01-27 19:52:32 -05:00
a37dcf5180 Merge pull request #133 from Hoikas/lm-mats
Fix #132
2019-01-27 19:50:35 -05:00