Jump to content

Proof that a player can fly in Skyrim well may be more like swimming


hex_ratt

Recommended Posts

  • Replies 304
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...

I think I already stated why it does has collisions, already took a look at the scripts, basically the player isnt moving, so its physics work as it was there, its the broom moving, thats why the player has collisions.

Correct, it's just a normal horse with a invisible platform under.

Link to comment
Share on other sites

Hey its good to see you here. One thing I dont get about the platform method is how do u get collisions, you can actually SetPosition inside things, so if im understanding this correctly, its constantly setting position to the platform while the horse moves along, what am I missing ? What attaches the horse to the platform? Does the platform moves first, then the horse, so if the platform gets inside something, it gets before the horse and thats why it collides?
Link to comment
Share on other sites

There is nothing that attached the horse to the platform nor has it any collision checks. It's just an invisible quite big platform hovering in the air. What the platform does is checking the distance to the player, if the player (or horse) is around half way from the centre of it then it update it's position so it's right under the player again. One can change the tilt of the platform depending on if the player is looking up or down (could bind this to keys or something else I guess) this allows the player to move up and down in the air.

You don't need any collision checks since everything is handles by the game engine. You use ordinary walking mechanics to move around.

It does not matter if the platform is clipping into stuffs (otherwise that one can get some objects to be knocked down).

 

Did that make any sense?

 

Btw, does anyone know how to force actors to use an animations constantly? I've managed to create a dragon mount that works inverted to all others I've seen so far (Like a Boss's dragons). It can only fly.

Link to comment
Share on other sites

Yea I also have a dragon mount that can fly but doesnt play animations.. its not an easy task. Basically my idea is to add new idle animations to the dragon's behavior, but that isnt an easy task either, since the dragon isnt an actor meant to play. I managed to add new slot animations to a custom dragon behavior, but the animation start its quite hardcoded into the behavior, so the only possible solution is to create a whole new behavior with our custom animations. Fore said he would help me do this once he has his mod in a stable version (he has a mod that actually allows you to add new custom animations to actors, so I have to put my faith on him). Another way would be to directly create an skse module that handles that. I know for sure there are native functions to call animations like moveStart or flyStart, those arent defined in the behavior, so it needs to be somewhere in the engine. I know its possible but its not an easy task, I hope skse will put it easier in the future.
Link to comment
Share on other sites

I just replaced the walk animations with the flying ones, who want a dragon that walks on the ground anyway - it's frikking slow!

 

Do you know anything about animation variables? I've peeked inside the dragonbehavior.hkx file and it seems that there is one variable that says if the dragon is flying, walking or hovering. It's name is iState.

There is also the constants iState_DragonDefault which is 0 and iState_DragonFlying which is 1. I guess that iState is set to 1 when the dragon flies.

SetAnimationVariableInt can not force this variable to 1. It resets to 0 whenever I try. :wallbash:

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...