Do fish know if you are not in the water?

Post » Tue Feb 01, 2011 9:45 am

I am noticing behavior in combat where my electric eel fish stop trying to attack if I am up a little out of the water such as on some rocks in the middle of a pound.
Is this normal?

I was working on a script to do this (stop combat if the player feet are not touching the water) but they were stopping combat when I was still knee deep in the water.

Maybe when it is too shallow for them to "get to" you fish stop combat eh?

This is different from land creatures as when the land creature cannot get to you (like you are up on a rock) they do not stop combat combat.
User avatar
Stephanie Nieves
 
Posts: 3407
Joined: Mon Apr 02, 2007 10:52 pm

Post » Tue Feb 01, 2011 2:56 am

I'm not really sure why it would be doing that but I think creatures that belong in the water act differently than those that belong on land simply because it would be odd for a player not to be able to rest by a river because of a fish, whereas if your being chased by a bear and your on a rock, you can't rest because you aren't safe. The bear could still get you, but the fish isn't going to sprout legs and come chase you I guess.

What I'm trying to say is that it's probably the game engine being odd.
User avatar
Marie
 
Posts: 3405
Joined: Thu Jun 29, 2006 12:05 am

Post » Tue Feb 01, 2011 1:40 am

I have a feeling it has more to do with the animations available and the movement options you have selected in the CS. The game probably switches from swimming to walking at a specific land elevation relative to the cell's water height, so if you only have 'swims' enabled for your creature it will not be able to move past this point. Even if you enable 'walks' it won't do anything without the proper animations. If you're using the slaughterfish animations as a base, you'd need to create custom animations for 'walking' to get it past that point, and then it could 'walk' anywhere.
User avatar
Lovingly
 
Posts: 3414
Joined: Fri Sep 15, 2006 6:36 am

Post » Tue Feb 01, 2011 3:26 am

@ TheMagician :bowdown: thank you thank you thank you....

I set the EELs to WALK as well as SWIM
but did NOT give them any "walking " animations and now the fish will SWIM even in SUPER SHALLOW water but stop at where the water ends and the land begins!

I imagine the game is trying to transition them from the water swim to the land walk right at the point that their body is mostly above the water line but because no walking animation is assigned the fish stops at the end of the water were the land begins.

This is PERFECT behavior when combined with my AI script for the eels to attack with their electricity and then swim away when the player feet is not touching the water.

Thank you!
User avatar
Princess Johnson
 
Posts: 3435
Joined: Wed Feb 07, 2007 5:44 pm


Return to IV - Oblivion