Disclosure: in order to properly do what I am saying you must understand the English Language well enough to follow the directions, so if this is hard for you, try to find a friend that knows it well! I do not claim any ownership to the plugins that I use, I am not a scripter, they work on my machine, they may or may not work on yours, I claim ZERO responsibility if anything YOU DO happens to the computer that YOU are using.
This is for people that want to use a javascript engine that don't want to mess with the TINY "Notes" section & would like to use Text files to influence their game to edit easily rather than worrying about that tiny little box.
Lesson 1:
I use:
https://victorenginescripts.wordpress.com
yanfly.moe
I have all of yanfly's publicly released scripts
I am using the majority but not all of them (I have no need for 2 battle systems and a couple other things)
I am only using 2 of Victor Sant's scripts:
Basic Module (Required for all of his)
NotesTextFile
the are available on the above mentioned websites.
Lesson 2: Windows 10 is a pain in the neck.
I had to fumble around with Victorenginescripts.wordpress.com to get the javascript. I had to copy the javascript to a textfile and "Save as..." then name them VE_BasicModule.js & VE_NotesTextFile.js individually Save as Type... select "All Files" or you will just make a TEXT FILE... and have to start all over, you might have to save as.. and select a different folder than the txt file you created is otherwise it just overwrites you .txt file and it isn't a .js file... this took a half-hour for me.
Lesson 3: Put your VE_BaicModule.js script into the RPG Maker MV's Plugin window on the very bottom, then just below it place the VE_NotesTextFile.js script.
Lesson 4: Read the HELP Files
Yanfly has Lunatic Mode! these can be placed EXACTLY as written in the Note section, but in a .txt file in a New Folder that you create in the folder titled "data" under you project folder. Go into "data" create a new folder and title it: "notes" EXACTLY like that or it won't work.
Lesson 5: You still have to use the TINY LITTLE NOTE section, place this in it: <text note: 'filename'>
'filename' is calling the notes folder you created in Lesson 4, I name my files actor####, enemy####, troop####, item####, weapon####, armor####, skill####, ect. whatever section I am working in.
If something applies to all actors, it is easier to have a file named "AllActors.txt: in that notes folder and in the Notes section of EVERY actor place this:
<text note: 'AllActors'>
Lesson 6a: More Specifically
Lets say you have a special class that uses lunatic mode in an AMAZING way!
Go to "Classes" tab in the Database
Lets say the special Class we are looking for is in slot: 0005
Head to the data Folder in the project, go into the notes Folder that you created in Lesson 4
Create a new Text file titled: class0005 (this is just to keep things simple you can always find the "Classes tab" and you can always find the ID for the class in "0005" (or whatever number your special class is).
whatever you'd have put in Class 0005's Note section you can place in the class0005.txt
Will it work like that? NOT YET!
Lesson 6b: Why should I name my TEXT FILE THAT?
Because you can find it by looking at the Database RATHER THAN SHUFFLING THROUGH FOLDERS & FILES... DON'T QUESTION ME I'M DOING THIS FOR YOUR OWN GOOD! LOL.
Now the optimal reasoning:
Click the Note section in Classes/ Index# 0005
Type this:
<text note: 'class0005'>
Just like that.
You can replace "class0005" with "Database Tab"XXXX where XXXX is the index Number and "Database Tab" is the specific tab in the data base.
I don't use caps or spaces for my .txt files to reduce the amount of work and stress. Except in the AllActors case because that is a TEMPLATE that directly effects EVERY CHARACTER IN YOUR GAME, not ENEMIES, if you want that make a file named: AllEnemies.txt. See you will know where to find that and where to put it... wow!
I do this for the sake of all who wish to be a game creator one day and to make their lives more enjoyable.
It took me 1.5 Hours to make this tutorial. Please make sure to use it to the best of your ability. I wish all of you the best of luck. I did this through trial and error and this is the best way to do this that I can think of.
本贴来自国际rpgmaker官方论坛作者:cybrim处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/script-notes-made-easy-from-text-files.54949/