mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-08 10:03:51 +00:00
Walks every creature in creatures.json and every object in objects.json, samples the actual terrain height at each spawn's (x, y), and writes that into the spawn's Z. Useful after terrain edits or after --random-populate-zone if the spawn baseZ doesn't match the carved terrain. Height lookup: loads every WHM tile listed in zone.json, then for each spawn finds the chunk containing its (x, y) and uses the chunk's average heightmap height + base Z. Average rather than bilinear because spawns don't need sub-yard precision and the average dodges sampling-induced spikes near chunk seams. Verified: random-populate-zone followed by snap-zone-to-ground on a fresh tile snaps 4 creatures + 2 objects without errors. Brings command count to 235. |
||
|---|---|---|
| .. | ||
| asset_extract | ||
| auth_login_probe | ||
| auth_probe | ||
| blp_convert | ||
| dbc_to_csv | ||
| editor | ||
| asset_pipeline_gui.py | ||
| backup_assets.sh | ||
| diff_classic_turtle_opcodes.py | ||
| gen_opcode_registry.py | ||
| generate_ffx_sdk_vk_permutations.sh | ||
| m2_viewer.py | ||
| opcode_map_utils.py | ||
| validate_opcode_maps.py | ||