Adam Johnson
c2a415ceb9
Ensure property name is completely drawn.
...
The word `(optional)` made the label too long to be drawn, so we remove
it.
2 years ago
Patrick Dulebohn
6d2ebcafd4
Apply suggestions from Hoikas' code review
...
Co-authored-by: Adam Johnson <AdamJohnso@gmail.com>
2 years ago
Patrick Dulebohn
c6a3ec79ff
Commit Hoikas' suggestions
2 years ago
Patrick Dulebohn
348ed7a658
Fix Scene Object (or "object")
...
* Capital O in "Sceneobject" becomes a small o to get things working!
2 years ago
Patrick Dulebohn
972bfda37b
Add xSitCam.py functionality to Sitting Modifier
...
Adds new scripting to use xSitCam.py if a camera is selected
2 years ago
Adam Johnson
bed083e37b
Fix #331 .
2 years ago
Adam Johnson
1df6677248
Fix potential wind object gotcha.
...
If a wind object is *not* animated but rather moved via logic nodes (eg
a Python script), then the previous logic wouldn't allow for the in-game
wind direction to change. It's important to check if the wind object has
a coordinate interface (can it move?) instead of if it's animated (did
the artist move it?).
2 years ago
Adam Johnson
5a102b3e5f
Fix #334 .
...
This fixes #334 by sorting everything before writing it out to the
localization file. Note that we need to sort each step along the way
because the nested dicts are not sorted by a call to `sorted()` - it
appears to only sort the key.
2 years ago
Adam Johnson
927f6b7766
Fix #338 .
2 years ago
Adam Johnson
87cc4e8d1b
Alert on triangle mesh regions.
...
This makes the bounds selection RED when a region is marked as triangle
mesh. The export will succeed for TPotS but fail for Myst V and MOUL.
2 years ago
Adam Johnson
a3fc2cdabf
Refuse to export triangle mesh regions to MOUL.
2 years ago
Adam Johnson
ec37d4e650
Force flat-ish convex hulls to triangle mesh.
...
These crash the engine, so don't export them.
2 years ago
Adam Johnson
baa8b7eb49
Fix #332 .
2 years ago
Jrius
b37588f5e2
Fix error when exporting Python animation attributes
2 years ago
Adam Johnson
665429d24a
Add "Cleanup" progress phase.
...
This is in response to feedback that the "Writing Age" phase seems slow.
2 years ago
Adam Johnson
e786e78c51
Fix #322 .
...
There were logic problems around exporting references to objects that
exist only in disabled pages (or default pages that are disabled because
no enabled objects are exported into the default page).
2 years ago
Darryl Pogue
025e36c4a2
Fix syntax error in sound modifiers
2 years ago
Patrick Dulebohn
08d61e11c0
Revert node_messages.py to remove LocalOnly references per Hoikas
2 years ago
Patrick Dulebohn
3b13d2e3d2
Revert Random Sound Check
...
Backtrack local only/random sound check
2 years ago
Patrick Dulebohn
539e274367
Add random sound check
...
Random sound mods mixed with local only cause problems, so we raise an error message if that happens.
2 years ago
Patrick Dulebohn
7f408659df
Modify Sound Message Node
...
Allow the sound node to check for Local Only conditions.
2 years ago
Patrick Dulebohn
568ccbeea0
Fix Property Name
...
Uses the proper kPropLocalOnly.
2 years ago
Patrick Dulebohn
a93d7cb51d
Add Local Only
...
Adds the "Local Only/kIsLocalOnly" property to sound emitters. Dependent on the kPropIsLocalOnly attribute, which still needs to be added to libHSPlasma.
2 years ago
Patrick Dulebohn
996b681ca4
Adjust UI interface per Hoikas
2 years ago
Patrick Dulebohn
a446a1c62a
Change memberGroup to kGroupLOSOnly
...
collideGroup of kGroupDynamic with memberGroup kGroupLOSOnly blocks only kickables in both MOUL and PotS.
2 years ago
Patrick Dulebohn
9d0e478261
Set collideGroup along with memberGroup per dpogue
2 years ago
Patrick Dulebohn
f64fdebb2f
Adjust SimDef
...
Switch to proper kGroupDynamicBlocker
2 years ago
Patrick Dulebohn
b494d268ec
Remove excess whitespace
2 years ago
Patrick Dulebohn
5b49049194
More adjustments
...
Remove unneeded "safety" measures and set dynamic_blocker default value to True instead of False
2 years ago
Patrick Dulebohn
7bc9e9833b
Add kDynamicBlocker collider toggle.
...
Exports a collider that should hopefully block only dynamic objects (kickables). Also, some formatting adjustments to the properties script to match others (this can be undone if wanted)
2 years ago
Patrick Dulebohn
8cb886be38
Fix EnumProperty descriptions
...
Adjust descriptions due to my blatant copy/paste per Hoikas.
Co-authored-by: Adam Johnson <AdamJohnso@gmail.com>
2 years ago
Patrick Dulebohn
54f5b8b0ed
Add Callback EnumProperty to sound message node.
2 years ago
Patrick Dulebohn
e4115138db
Adjust material/texture settings
...
Removes the Skip Depth Test (per Jrius) while also implementing updated emissive functions.
2 years ago
Patrick Dulebohn
dd43ede92e
Remove Opacity Fader from flaregen
...
Takes out opacity fader, which has been causing problems for end user.
2 years ago
Jrius
f7d06016b1
Dynamic envmap: use -1 fog to let the engine use default fog settings.
2 years ago
Adam Johnson
cd5db19410
Finish up the logic for multiple-animation Python nodes.
2 years ago
Patrick Dulebohn
2ca2349d81
Some Adjustments
...
A few adjustments to my poor copy paste to hopefully match it better with the node's other pieces.
2 years ago
Patrick Dulebohn
ca856e5ee7
Add named animation EnumProperty
...
Adds a needed animation picker for new named animations for the Python script texture node. Code borrowed from node_messages.py
2 years ago
Patrick Dulebohn
c442a3a59a
One more slight adjustment of the UI
...
Moves the share Properties and adds separator like the others
2 years ago
Patrick Dulebohn
7f0d64fce3
More script fixes
...
Adjusts PointerProperty text, increases created share region size, and reorganizes where the share functions are on the modifier
2 years ago
Patrick Dulebohn
b8b3adac5d
A few naming fixes
...
Naming adjustments in the _create_moul_nodes definition
2 years ago
Patrick Dulebohn
ca85cb603c
More script touch ups per Hoikas.
2 years ago
Patrick Dulebohn
6bef5ba887
More fixes to the modifier pre_export, convert_logic, and logicwiz references
2 years ago
Patrick Dulebohn
7942501413
Add pre-export share region code
...
Creates us a new cube if no share region mesh is specified, similar to the click region only bigger
2 years ago
Patrick Dulebohn
4cee3d6876
Various fixes per Hoikas' suggestions
2 years ago
Patrick Dulebohn
528f381d32
Optional Share region
...
Adds a field for an optional share region (uses click region if blank).
2 years ago
Patrick Dulebohn
f335639b45
Add Share Function to Linking Book Mod
...
Adds a "Shareable" toggle to Linking Book Mod when Link Type is set to Private Link (MOUL only).
2 years ago
Patrick Dulebohn
ec130140b5
Adjust amp min comment
2 years ago
Patrick Dulebohn
9a5e8e7417
Fix Waveset Amplitude
...
Changes amplitude property to a three digit float for more precision, which fixes wobbly geostate waves
2 years ago
Adam Johnson
106c0895c1
Fix #314 .
2 years ago