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

934 Commits

Author SHA1 Message Date
74278b21ba Files Reformatted and Restructured for Better Visibility and Understanding. 2021-10-15 21:09:00 +05:30
d2ead7a3f9 Merge pull request #300 from Deledrius/fade_fixes
Fix two Opacity Fade Modifier corner cases.
2021-10-15 11:14:17 -04:00
c0a6d0e3a6 Simplify Opacity Fader CI condition.
Co-authored-by: Adam Johnson <AdamJohnso@gmail.com>
2021-10-15 08:11:12 -07:00
d06ac03084 Export CI for plFadeOpacityMods.
plFadeOpacityMods require a Coordinate Interface to correctly calculate LOS.
2021-10-15 07:46:25 -07:00
19b4b8e0b0 Fix irrelevant fade distance warning. 2021-10-15 07:36:28 -07:00
9613b79e48 Merge pull request #298 from Deledrius/build_menus
Use class methods to build menus.
2021-10-03 18:58:05 -04:00
b70906839f Merge pull request #297 from Deledrius/typo_fixes
Fix typos in README.
2021-10-01 18:53:55 -04:00
c5c18ff598 Use class methods to build menus. 2021-10-01 14:16:42 -07:00
ded1db2a9b Fix typos in README. 2021-10-01 13:34:58 -07:00
7458e4664f Merge pull request #290 from Jrius/matrix_anim_fix
Matrix anim fix
2021-09-14 05:13:36 -04:00
25cb65781a Correct keyboard shortcut for Clear Parent Inverse. 2021-09-11 11:18:03 +02:00
194d1d1228 Close the door on Korman 0.12.
This is officially the end of Blender 2.79b and Python 3.5 support.
Onward, then, to Blender for Korman and Python 3.7!
2021-09-10 01:59:01 -04:00
841d82dcbb Fix incorrect manual revert in previous commit.
We need to use the matrix provided by the higher level export code, not
the worldspace matrix. In some engine versions (MOUL), this will be
subworld space instead of worldspace.
2021-09-10 01:57:38 -04:00
b225f292eb Fix traceback when exporting convex hull colliders.
This regression was introduced in #287 and reported on the forum after
the release of 0.12
https://forum.guildofwriters.org/viewtopic.php?f=2&t=7306
v0.12a
2021-09-02 13:34:08 -04:00
8255c6d52c Apply suggestions from CR
Co-authored-by: Adam Johnson <AdamJohnso@gmail.com>
2021-09-01 21:11:17 +02:00
bceadbf784 A few more fixes after some testing 2021-09-01 19:15:38 +02:00
87bb7b97fe Merge pull request #288 from DoobesURU/RuntimeMtlFix
Small runtime fix
v0.12
2021-08-31 16:55:15 -04:00
dfe6459d88 Small runtime fix
Fixes a few items with runtime lighting and lightmapping
2021-08-31 16:01:08 -04:00
518312cff8 Support nonlocal animations 2021-08-31 20:52:14 +02:00
a88d49ba63 Eliminate matrix_basis (outside animations) 2021-08-31 19:51:30 +02:00
7bc99d0726 Replace object.location with matrix_world.translation 2021-08-31 19:51:07 +02:00
fdf0055027 Merge pull request #287 from Hoikas/negative-scaling
Fix regression in negative object scaling.
2021-08-30 16:38:17 -04:00
58a7e9243d Fix regression in negative object scaling. 2021-08-29 21:56:42 -04:00
f24b80fe7f Fix classic installer generation problem. v0.12-rc2 2021-08-29 17:42:01 -04:00
ea2e7eaf01 Merge pull request #285 from DoobesURU/SDLVarFix
SDL Variable Fix
2021-08-29 17:35:43 -04:00
28ace91e70 SDL Variable Fix
Updates an older code definition to fix an error with SDL layer animations.
2021-08-29 17:25:11 -04:00
c39f8f1fbb Bump Korman version for 0.12 release candidate. v0.12-rc1 2021-08-29 14:56:22 -04:00
7cc5bf1924 Merge pull request #282 from Hoikas/multi_animations
Multi animations
2021-08-28 19:39:14 -04:00
b520bfedd1 Add support for multiple animations per object.
I don't really want to talk about it. *Gulp*. Anyway, you define
multiple animations on either the animation modifier or the textures
panel. The UIs have all been unified. By default, you have an "(Entire
Animation)" that represents the old single animation. You may create
additional sub-animations over an arbitrary range of keyframes. Once
other animations are defined, the "(Entire Animation)" may be deleted.
However, if all subanimations are deleted, the "(Entire Animation)" will
resurect itself with its last known settings.

Behavior change: object animations (except for fixed cameras) now
REQUIRE an animation modifier be attached to export. It is now an error
to attach an animation modifier to any camera except for a fixed camera.
2021-08-28 19:38:37 -04:00
8a501811f8 Fix potential traceback when raising an error. 2021-08-28 19:25:04 -04:00
cbaebfdb24 Merge pull request #283 from Hoikas/moar_material_colors
Fix RT lit material shading animations
2021-08-28 16:21:21 -04:00
9eb4652d05 Allow multiple "base-layer" diffuse color animations.
This is for if you have a layer that has an animated opacity but no
alpha, it will be able to receive the material's color animation. For
now, we won't apply those to upper layers as that doesn't really seem
like what we would expect.
2021-08-27 19:07:37 -04:00
33a7055a13 Fix RT-Lit opacity animations.
This fixes a number of long standing chicken and egg problems that could
prevent opacity animations from working properly on RT-Lit materials.
Also addresses a number of odd situations where the lighting results
might drastically change in unexpected ways.
2021-08-27 18:36:11 -04:00
ee78b36f5e Fix runtime lit materials diffuse color animations. 2021-08-25 18:28:24 -04:00
ee492d90a2 Bump HSPlasma requirement.
Apparently, plLayerAnimationBase.runtimeCtl was returning the wrong
thing, significantly impacting our lighting calculations.
2021-08-25 18:16:00 -04:00
0fe35b573a Fix traceback in pre_export() handling. 2021-08-25 18:14:48 -04:00
4ad59b161b Allow pre_export() to return None. 2021-08-25 18:14:37 -04:00
f0dd0c5b2a Merge pull request #276 from Hoikas/loc_mark_deux
Add "Localized Text" Modifier
2021-08-25 10:39:50 -04:00
e2961208e7 Fix #279.
Don't error if random kickable sounds have no surface selected.
2021-08-23 12:38:57 -04:00
d7372acebd Fix #281.
The default definition of `pre_export()` (for documentation purposes)
was hiding the real default implementation of `pre_export()`, causing
any modifiers relying on said default implementation to export nothing.
2021-08-20 17:02:43 -04:00
ccc921b4dc Merge pull request #278 from Hoikas/movable_lamps
Don't mark lights in a group as `kLPMovable`.
2021-08-19 16:38:38 -04:00
fb493781b3 Unify localized string handling. 2021-08-18 13:18:05 -04:00
db1e088112 Don't mark lights in a group as kLPMovable.
It looks like simply attaching a lamp to a group already has fairly
major implications for how it's exported. If you're adding a lamp into
a group, then you are basically saying, "I only want to affect these
specific objects.", so marking them as movable (meaning, "apply me
to all objects") doesn't really make sense in that context.
2021-08-18 06:30:38 -04:00
533719e94e Merge pull request #277 from Hoikas/chain_satan
Clearly deliniate the circles of hell.
2021-08-17 12:08:29 -04:00
aff3a42bd4 Clearly deliniate the circles of hell.
If we've unleashed Satan on a material, he will perform his dark magick
on the material colors. Therefore, we need to prefix the satanic
materials with something other than "RTLit_" lest the plain old runtime
lit materials be infected by the prince of darkness.
2021-08-17 02:50:53 -04:00
a31b8ac964 Add localized text modifier. 2021-08-16 12:58:56 -04:00
bf49fb1284 Add Python attribute node creation helper. 2021-08-16 12:58:56 -04:00
4324735448 Add support pfLocEditor round-trips.
Splits up MOUL/EOA localization files into per-language database
thingos. Also fixes a bug with the PotS encoding escape hatch.
2021-08-16 12:58:56 -04:00
809581ed60 Fix non-determinism in Python material attributes.
The dumb string lookup probably worked most of the time, but with recent
changes that can cause layers and materials to be renamed to things not
matching the pattern exactly, it's better to explicitly lookup the keys.
This will prevent Dynamic Text Maps from seemingly "breaking" for no
reason just because the lighting strategy changes.
2021-08-16 06:15:09 -04:00
982a54dbf5 Merge pull request #274 from Hoikas/fix-weird-node-warping
Fix weird node warping.
2021-08-16 03:57:02 -04:00