Gilles

Veteran
Veteran
Joined
Oct 31, 2015
Messages
43
Reaction score
35
First Language
German
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
 
Last edited by a moderator:

Latest Threads

Latest Profile Posts

just beat ff7 original for the first time since 2010. having played remake last year, I have a much better appreciation for the original oddly enough. I still like some of the character presentation in remake more, but the original's got a lot going for it.
Ever reach that moment in your life when your juggling a dozen or more projects that you know will never be made but don't have the heart to delete them? Ugh, I hate those moments...
:kaosigh: Why must you hurt me so?
my main character isn't the warrior of light or the chosen one, he's a self righteous, invasive try hard who gets ahead of himself and makes a critical error, resulting in a downward moral spiral that, eventually, leads him to truths that make him a better man, and im DAMN proud of that.
Generate Actors, Dark Fantasy Monsters, & I Heard There Was a Chosen One, | RPG Maker News #42

Work on Cat Quest: The Last Catmancer continues slowly but surely. :kaopride: Today I received the Game Over screen from @Finnuval!
GameOver.png

Forum statistics

Threads
111,448
Messages
1,061,175
Members
144,812
Latest member
Kitaaku
Top