I would like my "airship" which is gryphon to do stepping animation while it's stationary and the player is not in it. Any help would be appreciated!
Airship Stationary Stepping Animation
RGSSx Script SupportI though this would have been something you wanted when we solved your airship hover question, but I didn't look into it.
I spent the last 90 minutes trying options.
In game_vehicle
Line 25 and 111 set to true
@step_anime = true
comment out line 72
#@walk_anime = @step_anime = @driving
This will turn on stepping animation for all vehicles.
I spent the last 90 minutes trying options.
In game_vehicle
Line 25 and 111 set to true
@step_anime = true
comment out line 72
#@walk_anime = @step_anime = @driving
This will turn on stepping animation for all vehicles.
It doesn't seem to be working for me -.- I wonder if the size of the sprite has anything to do with it?
I noticed that it doesn't work for my airship in my game but the boat and ship work. A new project with all my scripts works fine.
Maybe there is something that happens during the game that stops it. I'm not interested in dissecting my game to find that one feature bug.
Make a new project with all the ships on the map, then copy your scripts file over and see if it works. That's what I did.
Also you have to start a new game, not a saved file.
Maybe there is something that happens during the game that stops it. I'm not interested in dissecting my game to find that one feature bug.
Make a new project with all the ships on the map, then copy your scripts file over and see if it works. That's what I did.
Also you have to start a new game, not a saved file.
Any changes made (to any scripts) should be done by aliasing the methods in which the change is made, or at least creating a new script with the changes (so that you can track them).
Anyway, this script enables stepping animation for all vehicles, @Roninator2 you missed a @step_anime in the update_airship_altitude method.
Would you like the stepping animation to be enabled only for airships?
Anyway, this script enables stepping animation for all vehicles, @Roninator2 you missed a @step_anime in the update_airship_altitude method.
Code:
class Game_Vehicle < Game_Character
alias fog_init initialize
def initialize(type)
fog_init(type)
@step_anime = true
end
alias fog_go get_off
def get_off
fog_go
@step_anime = true
end
alias fog_uaa update_airship_altitude
def update_airship_altitude
fog_uaa
@step_anime = true
end
end
Yup, vFoggy's code seems to work with no troubles. Thanks for helping, both! I think it might be better that the animation is enabled for all the vehicles in this game, but I'll return to the matter at hand if it looks like it's not.
Thanks @vFoggy . Creating scripts I'm not there yet, playing with them, sure. lol, 🙂
I assume this means the changes I made can be put back to normal?
Original thread: https://forums.rpgmakerweb.com/threads/airship-stationary-stepping-animation.79230/