mirror of
https://github.com/open-goal/jak-project
synced 2026-06-24 01:41:29 -04:00
decomp: add a bunch of enemy files (#2101)
Adds the following files: - `amphibian` - `centurion` - `ginsu` - `grenadier` - `hopper` - `metalmonk` - `monster-frog` - `predator-graph` - `predator-h` - `predator` - `rapid-gunner` - `rhino` - `rhino-wall` - `tomb-baby-spider` Also adds the DGOs for the following levels: - Mar's Tomb - Mountain Temple - Drill Platform - Sacred Site (Sage Hut) Manual patches: - The decompiler emits `(b! #t cfg-17)` in `(trans hostile hopper)` without putting a `(label cfg-17)` anywhere - Added cast to `art-joint-anim` in `(code broken rhino-wall)` and `(code hit rhino-wall)` Other notes: - `amphibian` seems to occasionally crash when using its tongue attack. Haven't investigated this yet - `ginsu` crashes after being killed somewhere in the `deactivate` method, possibly because of its `part-spawner` - Predators aren't spawning in the forest hunt mission, not sure if `forest-obs` might be needed for that or if it's something else - The `rhino-wall` STR animation seems to load (albeit a bit broken due to missing VAG stream playback), but causes the viewport to shrink as soon as it's played - I added `pegasus::74` to the `event_handler_hack` bool in `variable_naming.cpp` because I got a `none` cast after changing the return value of `enemy::74`
This commit is contained in:
@@ -1305,5 +1305,54 @@
|
||||
"(trans target-mech-carry-drag)": [[560, "sphere"]],
|
||||
"(method 22 krew-collection-item)": [[16, "collide-query-with-2vec"]],
|
||||
"(code idle krew-collection-item)": [[64, "vector"]],
|
||||
"pegasus-fly-code": [[96, "vector"]]
|
||||
"pegasus-fly-code": [[96, "vector"]],
|
||||
"(method 90 amphibian)": [[80, "vector"]],
|
||||
"(method 186 amphibian)": [
|
||||
[560, "vector"],
|
||||
[16, "collide-query"],
|
||||
[576, "event-message-block"]
|
||||
],
|
||||
"(enter tongue-attack amphibian)": [[16, "amphibian-tongue-attack-info"]],
|
||||
"amphibian-joint-mod-callback": [
|
||||
[16, ["inline-array", "matrix", 3]],
|
||||
[112, "vector"]
|
||||
],
|
||||
"(method 178 hopper)": [
|
||||
[144, "vector"],
|
||||
// unused
|
||||
[96, "vector"],
|
||||
[176, "vector"]
|
||||
],
|
||||
"(method 90 hopper)": [[80, "vector"]],
|
||||
"(method 180 ginsu)": [[16, "matrix"]],
|
||||
"(trans hostile centurion)": [[16, "vector"]],
|
||||
"(method 181 centurion)": [
|
||||
[80, "vector"],
|
||||
[160, "vector"],
|
||||
[176, "vector"]
|
||||
],
|
||||
"(method 74 centurion)": [[16, "event-message-block"]],
|
||||
"(enter stop-run rhino)": [
|
||||
// unused
|
||||
[32, "vector"]
|
||||
],
|
||||
"(enter attack rhino)": [[32, "vector"]],
|
||||
"(method 74 rhino)": [[48, "vector"]],
|
||||
"(enter run-away rhino)": [[32, "vector"]],
|
||||
"(trans hostile grenadier)": [
|
||||
// unused
|
||||
[48, "vector"]
|
||||
],
|
||||
"(method 115 rapid-gunner)": [[32, "vector"]],
|
||||
"(code notice monster-frog)": [[16, "vector"]],
|
||||
"(method 184 predator)": [
|
||||
[128, "vector"],
|
||||
[144, "vector"],
|
||||
[176, "vector"]
|
||||
],
|
||||
"(method 11 predator-manager)": [
|
||||
[32, "transformq"],
|
||||
[80, "vector"],
|
||||
[112, "vector"]
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user