OpenKH / OpenKh

Kingdom Hearts libraries, tools, game engine and documentation
https://openkh.dev
Apache License 2.0
300 stars 83 forks source link

[Kh2MapStudio] Various MapStudio Updates & Fixes #1091

Closed Zurphing closed 3 months ago

Zurphing commented 3 months ago

Changes: SPAWNGROUPS: Spawngroups are now placed under an additional indented collapsing header to mark them more clearly. Now able to add, remove, & rename spawnpoints from within the program. Now able to add/remove SpawnGroups from within the program. Now able to add/remove individual entities, walkpathdescs, eventactivators, signals, & returnparameters from within the program. Added an "Export Spawnpoint to YML" option. Fixed out-of-index ObjId's from modded ARD files from crashing the program by falling back to ObjID 1. ObjId's without a model+texture (F_EX000, collectable crowns, etc) will now default to displaying F_HB700.mdlx, to make placing them easier.

BOB DESCRIPTORS: After expanding the BOB Descriptors tab, the entries will be indented & marked with their # and BobModel index. Repositioned the Add button to the top of the list. Repositioned the Remove button to the top of each individual BOB header. Fixed a bug where expanding the Camera tab and repositioning the BOB model would update both the Camera & BOB simultaneously.

PREFERENCES: Preferences has been moved under its own tab. Added new "Opacity" & "EventActivator" color modifiers. Added a new "EventActivator Entrance" color & opacity modifier to clearly mark where event activators must be approached from. Added the ability to change the default Window Height & Width size upon starting MapStudio.

Misc: Added a separate togglable "Camera" window to make positioning entities easier. Enabled scroll bar for Map List Partial implementation of the unused Collision Window to view Collision Data Ability to see & change UVSCIndex from under MeshGroup. Apply Changes to Mesh Group has been added under each individual MeshRenderingGroup to make it easier to preview mesh changes. Added the ability to load an 00objentry.bin file from a mapstudio folder placed in the root of the extracted game data folder. Added the ability to load MDLX's in this mapstudio folder to load custom models without modifying the extracted data. Anything in the mapstudio folder will take priority over the regular extracted game data.

image