Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.
Original Source
- Original title: GDT Core Utility - Lunatic Tags Parser, Better Notetag Parser
- Original author: Gilles
- Original date: August 21, 2016
- Source thread: https://forums.rpgmakerweb.com/threads/gdt-core-utility-lunatic-tags-parser-better-notetag-parser.67165/
- Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMV)
Summary
GDT: Core v1.0 Introduction This plugin provides some useful Tag Parsing Features and a useful command for selfswitches. This plugin will be extended with Utility Features.
Archived First Post
GDT: Core v1.0
Introduction
This plugin provides some useful Tag Parsing Features and a useful command for selfswitches. This plugin will be extended with Utility Features.
Notetags Parser (built in. Nothing to do)
The standard parser allows only one tag of the same kind in one notetag. The GDT Parser returns an Array of all tags when you add more than one tag per notetag.
If you only add one tag of the same kind it has the same behaviour as the old parser.
Notetag Executer (GDT.Util.useTag Function)
While it's nice to have the possibility to add more than one tag of the same kind, you usually need to check if your tag is a string or an array. With this function you don't need to care.
You just put the meta tag and the function to execute in.
GDT.Util.useTag(names,function(name) {
console.log(name);
});
Lunatic Tags Parser (GDT.Util.LunaticTags)
Many of you know the Lunatic Tags from Yanfly which allow more flexibility with plugins, cause you are allowed to write Javascript inside the notetags.
This Method allows you to read tags from notetags which have a start and an end tag (like in xml/html)
Example Usage in Notetag:
<nickname>
if(level > 6) {
return "Awesome ";
} else {
return "";
}
</nickname>
After this, you just need to convert this function string into a real function. I provided an example with nickname changing via level (LevelNicknames.js)
Change Selfswitch of Map-Event (GDT.Util.setSelfSwitch)
You can change the selfSwitch of an Map Event in an easy way. You just need the event id (upper left corner when you open the event), the Selfswitch name (A,B,C or D) and the status (true -> ON, false -> OFF)
Installation-Guide
Just copy the plugin into your plugin folder and add it to your plugin list.
Try to put it in as one of your first plugins.
Download
Credit and Thanks
- Gamedev-Tutorials
You can use and edit this plugin as you want. This plugin is open for non commercial and commercial use. Just give me a little credit =)
Changelog
Introduction
This plugin provides some useful Tag Parsing Features and a useful command for selfswitches. This plugin will be extended with Utility Features.
Notetags Parser (built in. Nothing to do)
The standard parser allows only one tag of the same kind in one notetag. The GDT Parser returns an Array of all tags when you add more than one tag per notetag.
If you only add one tag of the same kind it has the same behaviour as the old parser.
Notetag Executer (GDT.Util.useTag Function)
While it's nice to have the possibility to add more than one tag of the same kind, you usually need to check if your tag is a string or an array. With this function you don't need to care.
You just put the meta tag and the function to execute in.
GDT.Util.useTag(names,function(name) {
console.log(name);
});
Lunatic Tags Parser (GDT.Util.LunaticTags)
Many of you know the Lunatic Tags from Yanfly which allow more flexibility with plugins, cause you are allowed to write Javascript inside the notetags.
This Method allows you to read tags from notetags which have a start and an end tag (like in xml/html)
Example Usage in Notetag:
<nickname>
if(level > 6) {
return "Awesome ";
} else {
return "";
}
</nickname>
After this, you just need to convert this function string into a real function. I provided an example with nickname changing via level (LevelNicknames.js)
Change Selfswitch of Map-Event (GDT.Util.setSelfSwitch)
You can change the selfSwitch of an Map Event in an easy way. You just need the event id (upper left corner when you open the event), the Selfswitch name (A,B,C or D) and the status (true -> ON, false -> OFF)
Installation-Guide
Just copy the plugin into your plugin folder and add it to your plugin list.
Try to put it in as one of your first plugins.
Download
- Plugin: GDT_Core.js
Credit and Thanks
- Gamedev-Tutorials
You can use and edit this plugin as you want. This plugin is open for non commercial and commercial use. Just give me a little credit =)
Changelog
Downloads / Referenced Files
Log in to download
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadLicense / Terms Note
Credit and Thanks - Gamedev-Tutorials You can use and edit this plugin as you want. This plugin is open for non commercial and commercial use. Just give me a little credit =) Changelog
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
0
replies
2
views
Topic Summary
Loading summary...