OZZYTHEONE'S PROFILE
I'm a student from Paraguay that likes to design and play a lot of games.
Having said that, I've also made sprite animations in the past and I'm still doing some when I have time.
Update: I haven't made sprite animations in ages lmao
Here's a link to my Newgrounds page: http://osatouchiha.newgrounds.com/
Having said that, I've also made sprite animations in the past and I'm still doing some when I have time.
Update: I haven't made sprite animations in ages lmao
Here's a link to my Newgrounds page: http://osatouchiha.newgrounds.com/
Search
Filter
[RMVX ACE] Is it possible to change what skill us used as the default attack?
author=Kloe
Oh, also Hime's script, here, makes it so you can use a notetag to change the default attack skill, e.g put the notetag on a state, so Attack becomes FIRE ATTACK when that state is applied, stuff like that!
Would that be easier?
Sadly no, but thanks for the offer!
author=Marrend
I see the the problem. Game_BattlerBase is the class that contains the attack_skill_id function, but, there is no "$game_battlerbase" global variable. What you could do, is something like...
class Game_Actor < Game_Battler
def attack_skill_id
return 49
end
end
...this, or replace the "49" with whatever skill ID you want the default attack to be. This will alter the default attack on the player character's end. For a more universal effect, it would be "class Game_BattlerBase" instead.
And no, still not working. I did forget to mention this before, I am using Yanflys battle script.
[RMVX ACE] Is it possible to change what skill us used as the default attack?
Hi there Kaneshon, although I had no need for it, I tried out the code you proposed and it's not working, as in the game crashes.
I gives me the following error message:
Script 'Game_Interpreter' line 1411: NoMethodError ocurred
undefined method 'attack_skill_id' for nil:NilClass
So, as far as I undertsand Ruby, it says that 'attack_skill_id' is not defined, it can't be altered.
I gives me the following error message:
Script 'Game_Interpreter' line 1411: NoMethodError ocurred
undefined method 'attack_skill_id' for nil:NilClass
So, as far as I undertsand Ruby, it says that 'attack_skill_id' is not defined, it can't be altered.
Whatchu Workin' On? Tell us!
author=Schwer-von-Begriffauthor=OzzyTheOneThank you very much! Unfortunately, it does describe myself sometimes quite well. I'm always one to make fun of my own shortcomings (my height also being one of them, excuse the horrible joke), so it is a quite fitting name, haha. =D
@Schwer-von-Begriff
I really like that art style, it's very nice! Also, I like your user name, although I hope it's not a description of how you are. >_>
I absolutely don't mind the joke, I like that kind of comedy. Anyways, it's nice to find a german speaking RMN user.
Hab nen schönen Tag!
(Have a nice day!
[RMVX ACE] Is it possible to change what skill us used as the default attack?
Thanks Kaneshon! Although I just found the solution on my own by accident, I'm an absolute idiot, made an unecessary help thread. T.T
That being said, I will be able to use what I learned in this thread in another project, so, thanks a lot! You truly are a master of VX Ace engine!
Have a wonderful day Kaneshon! Savior of all scripting newbs!
That being said, I will be able to use what I learned in this thread in another project, so, thanks a lot! You truly are a master of VX Ace engine!
Have a wonderful day Kaneshon! Savior of all scripting newbs!
[RMVX ACE] Is it possible to change what skill us used as the default attack?
Thanks Kaneshon, I found the specified line, but I'm still pretty green to Ruby, I only know how to alter variables with script calls, how would I be able to change that line with a script call?
[RMVX ACE] Is it possible to change what skill us used as the default attack?
Hey there again RMNers, you beautyful people! Enough flattery, is it possible to alter what skill the game perceives as the "Deafult attack" one? It says in the skill list that the first skill will always be used when the normal attack command is selected. Is there a way to change what the game perceives as the default attack through script calls?
Thanks in advance for any help. I wish you a nice day!
Thanks in advance for any help. I wish you a nice day!
Hey Everyone!
Welcome to the team Billy! I hope you enjoy your stay here and hopefully you'll find all the help you need! Make the best games for this site pal!
Have a nide day.
Have a nide day.
Whatchu Workin' On? Tell us!
@Schwer-von-Begriff
I really like that art style, it's very nice! Also, I like your user name, although I hope it's not a description of how you are. >_>
I really like that art style, it's very nice! Also, I like your user name, although I hope it's not a description of how you are. >_>













