Yanfly's Lunatic mode Documentation

Saidrog

Villager
Member
Joined
Sep 20, 2015
Messages
6
Reaction score
0
First Language
Italian
Primarily Uses
N/A
I've started to use some of the Yanfly's Script like Buff State & Core, Damage core, ecc ecc... Those script are really usefull to create skills and states with unique kind of effects. I've also watched his tips & Tricks videos to learn how to create particular effects, in these codes he uses some functions or Prototypes (i don't know very well JS) like:


this.isAttack() that returns if the current action is an attack or


this.isPhysical(), this.isMagical().. 


or even this. user.setStateCounter(Arguments arguments ..) that creates a counter on the state's icon.


I've learned those by reading yanfly's codes, but i was wondering if there was any documentation or list of these functions that could help me, because there are a lot of things but right now i'm stuck with this problem.  Every time i wanna create some kinda of state or skill i need to search for a similar effect in those Tips & Tricks video and try to learn how something. It's quite a lot frustrating and time wasting. Thanks for reading this far! I'll wait for your answer!


PS: Also sorry for my bad english :p
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
Those codes are part of the default engine's scripts, not really specific to Yanfly's. You would want to learn the different functions available to the engine (and then those specific to other plugins that you use) to fully utilize the lunatic mode since basically, any code that will run on MV can be used on the parts of lunatic mode that can run code.


You can try to look if the help file has a list of it, or you can just open your base js files in the project folder (or get Zalerinian's splitted files for easier looking)
 
Last edited by a moderator:

Saidrog

Villager
Member
Joined
Sep 20, 2015
Messages
6
Reaction score
0
First Language
Italian
Primarily Uses
N/A
I've tried to look at the Zalerinian's splitted files, so far I wasn't able to find any of these codes i'll keep looking for them! Anyway it's strange , if those codes are part of the default engine's script shouldn't they have a documentation file?
I mean how can someone start to write plugins without the base documentations?
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
Well, only the basic functions of the basic "classes" are documented in the help file. Those codes on the other hand are part of the implementation "classes" so they don't appear on the help file.


For example, in VX Ace, the help file includes all methods of the BGM, String, Array etc classes but not the methods of things like Game_Battler, Window_Base etc.


Those are probably under the codes for Game_Battler or something similar in name (at least in Ace that's where you will find those). Somehow I can't access Zalerinian's files from this comp so I can't help you look.

I mean how can someone start to write plugins without the base documentations?
By reading the default files, RM has been that way ever since so we're kinda used to it. Plus it's not actually hard, just time costly.
 
Last edited by a moderator:

Saidrog

Villager
Member
Joined
Sep 20, 2015
Messages
6
Reaction score
0
First Language
Italian
Primarily Uses
N/A
By reading the default files, RM has been that way ever since so we're kinda used to it. Plus it's not actually hard, just time costly
So there's just an hard way? XD


Well i guess i'll have to waste some time and try to learn it!
Anyway thanks for the help and for the time! I appreciate it a lot
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,867
Messages
1,017,061
Members
137,575
Latest member
akekaphol101
Top