Turok
Clebardman 7 Jan, 2023 @ 3:43pm
Bosses attacks
I'm currently working on the bosses to make them a bit more challenging, and I ran into a few problems. For some of them, I just can't seem to find their attacks in their scripts. Mantis is straightforward, most of T-Rex's stuff I can find, but I just can't find the other guys' attacks. Now, I'm sure they're in the fx files, and longhunter's plasma shot is pretty easy to find since it's the same as the player's... I could slog through the fx files and try to find them, and if someone has a list that'd be nice, but I guess I'd like to understand how the hell this all works, in case I want to edit it.
Anyone can shine a light on this for me?

Also, while you're at it, tell me which boss you prefer, which one you find the hardest or the easiest, what you think a good boss fight should be, etc ;)
< >
Showing 1-2 of 2 comments
Smoke39 8 Jan, 2023 @ 2:02pm 
Longhunter's pulse proj is not the same as the player's. longhunter_gun_pulse.kfx is the player's, generic_163.kfx is longhunter's.

Enemy projectiles are typically spawned by keyframe events in their attack animations. These will either spawn the projectile directly via file lookup, or by calling a function in the actor's script that in turn uses SpawnProjectile(). Particles and functions are referenced by ID, which are defined in defs/fileLookup.txt for particles, and defs/animActions.txt for script callbacks.

The longhunter's shooting anims spawn fx 264 and 361, which are defined in the file lookup as generic_163.kfx and generic_247.kfx.

For an example of callbacks, the mantis attack anims trigger scripts 15 and 7, which are defined in the anim actions as SpitMantisAcid() and RedBombAttack(), which you can do whatever you want with in scripts/bosses/mantis.txt.

You should be able to edit animation events with Behemoth Programmer's Blender addon[turoksanctum.com].
Clebardman 9 Jan, 2023 @ 5:59am 
Okay, that confirms what I feared, it's all in the mysterious .bin files of the anims subfolder. But that link looks like everything I need! Thanks, it's been half a decade but you're still very helpful. A nice change of pace compared to other modding communities I tried to get into UwU.

Thanks for longhunter's files id too! Not sure why I remembered the fx being the same, it's a good new, it'll simplify my task greatly :p. I think I'll drop a .kpf of a very vanilla/conservative mod that updates the bosses before the end of the month to try and get some feedback!
Last edited by Clebardman; 9 Jan, 2023 @ 6:04am
< >
Showing 1-2 of 2 comments
Per page: 1530 50