Write event contents in a seperate text file

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,557
Reaction score
5,592
First Language
Dutch
Primarily Uses
RMMV
I'm looking for a plugin that lets me write out the event contents (ONLY the contents, no trigger or conditions or whatever) in a separate text file, instead of creating the event commands in RPG Maker MV itself. There's a similar plugin already in existence, in which you can use text files that will load in the text message commands, but this doesn't include everything in an event.


I want everything an event can have, all the control variables, message windows, call common events, show pictures, even other script calls etc. and have it in a neat little text file. This file will be loaded using a script call in an event.


The event would look like this:





It will then load this text file, and run the contents like actual event commands. The text file would look like something like this (excuse my improper use of brackets):





Why do I want this plugin?


Because I'm going to add a lot of writing (50k words) to my project, and I simply want to make the process more streamlined (it's much easier to add text in a simple text file, than to create a text box in MV then add the text), and to keep in mind any future translations. It will also make copy and pasting - AND replacing - so much easier.


I ask that it be compatible with Yanfly's Message Core plugin.


To sum it up:


 - Have an external text file contain the event contents


 - Have a script call load this text file in a regular/common event to run the event commands


 - Be compatible with Yanfly's Message Core plugin


 - And uhm, have a separate folder for the text files, for organization's sake
 
Last edited by a moderator:

jameswestbrook351

DecayingDev
Veteran
Joined
Apr 30, 2015
Messages
58
Reaction score
13
First Language
English
Primarily Uses
RMMV
Sorry I don't have anything to add, but this would definitively be a useful idea for my game as well. It'd make eventing a lot more efficient in my project. 
 

nio kasgami

VampCat
Veteran
Joined
May 21, 2013
Messages
8,949
Reaction score
3,042
First Language
French
Primarily Uses
RMMV
@Celianna oh a interesting challenge I could actually try to do that this not REALLY complicated! it's kinda easy to read 


it's just more complicated to make it as a actuall Event processing since Event pages  kinda works with Array you actually shift the command
 

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
556
Reaction score
795
First Language
English
Primarily Uses
RMMV
Looks like an interesting plugin to create; I'll keep it in mind personally, no promises yet. By the way, could you link the plugin if possible that load the text commands?


@Celianna
 
Last edited by a moderator:

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,557
Reaction score
5,592
First Language
Dutch
Primarily Uses
RMMV
Looks like an interesting plugin to create; I'll keep it in mind personally, no promises yet. By the way, could you link the plugin if possible that load the text commands?


@Celianna


It's this plugin right here. Unfortunately I found it rather impractical since I need a Json editor to even make/edit the text, and it doesn't include event commands, only the text will be 'imported' so to speak.


@Nio: I can cut down on my wishlist if it's too difficult! :p
 
Last edited by a moderator:

nio kasgami

VampCat
Veteran
Joined
May 21, 2013
Messages
8,949
Reaction score
3,042
First Language
French
Primarily Uses
RMMV
It's this plugin right here. Unfortunately I found it rather unpractical since I need a Json editor to even make/edit the text, and it doesn't include event commands, only the text will be 'imported' so to speak.


@Nio: I can cut down on my wishlist if it's too difficult! :p
well it's more that you actually ask for a preBuilt 'language' haha this mostly regexp so this could be douable I will check how to do it.
 

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,557
Reaction score
5,592
First Language
Dutch
Primarily Uses
RMMV
Well let's put it this way; if there was a way to export the event's contents in RPG Maker MV into a text file, what would it look like?


That's the text file I want to create! :D
 

nio kasgami

VampCat
Veteran
Joined
May 21, 2013
Messages
8,949
Reaction score
3,042
First Language
French
Primarily Uses
RMMV
Well let's put it this way; if there was a way to export the event's contents in RPG Maker MV into a text file, what would it look like?


That's the text file I want to create! :D
well let put a actual JSON wich look like this lol : 

"events": [
null,
{
"id": 1,
"name": "save",
"note": "",
"pages": [
{
"conditions": {
"actorId": 1,
"actorValid": false,
"itemId": 1,
"itemValid": false,
"selfSwitchCh": "A",
"selfSwitchValid": false,
"switch1Id": 1,
"switch1Valid": false,
"switch2Id": 1,
"switch2Valid": false,
"variableId": 1,
"variableValid": false,
"variableValue": 0
},
"directionFix": false,
"image": {
"characterIndex": 0,
"characterName": "",
"direction": 2,
"pattern": 0,
"tileId": 0
},
"list": [
{
"code": 101,
"indent": 0,
"parameters": [ "", 0, 2, 1 ]
},
{
"code": 401,
"indent": 0,
"parameters": [ "do you want to sleep here?" ]
},
{
"code": 102,
"indent": 0,
"parameters": [
[ "Yes", "No" ],
1,
0,
1,
2
]
},
{
"code": 402,
"indent": 0,
"parameters": [ 0, "Yes" ]
},
{
"code": 243,
"indent": 1,
"parameters": [ ]
},
{
"code": 242,
"indent": 1,
"parameters": [ 200 ]
},
{
"code": 223,
"indent": 1,
"parameters": [
[ -68, -68, -68, 0 ],
200,
true
]
},
{
"code": 221,
"indent": 1,
"parameters": [ ]
},
{
"code": 352,
"indent": 1,
"parameters": [ ]
},
{
"code": 0,
"indent": 1,
"parameters": [ ]
},
{
"code": 402,
"indent": 0,
"parameters": [ 1, "No" ]
},
{
"code": 0,
"indent": 1,
"parameters": [ ]
},
{
"code": 404,
"indent": 0,
"parameters": [ ]
},
{
"code": 0,
"indent": 0,
"parameters": [ ]
}
],

the  part you would probably want it's the Event one to process.


it's  this actual part who are kinda hard to figure out but I can try XD
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,715
First Language
English
Primarily Uses
RMMV
Sounds like a reverse of my Ace Export Event Contents script, which I never did get around to converting to MV.


@nio kasgami - she doesn't want to use json.  She wants a plain old text file.
 

nio kasgami

VampCat
Veteran
Joined
May 21, 2013
Messages
8,949
Reaction score
3,042
First Language
French
Primarily Uses
RMMV
Sounds like a reverse of my Ace Export Event Contents script, which I never did get around to converting to MV.


@nio kasgami - she doesn't want to use json.  She wants a plain old text file.
and you misread what I told her


in simple what I'm trying to explain to her it's the actual conversion can be tricky since they use numeric code for make the method lol
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,715
First Language
English
Primarily Uses
RMMV
yep - you'll have to read the text and determine what code it should be, along with all the parameters.  Easy in theory, but there's a lot of little things to consider (if she uses a change variable command, is she going to provide a number, another variable, or a formula?)


going to be a big script :)


I would totally look at doing this, but you've had two people say they're interested already.


Haha - and don't forget you'll want to ensure the text files get included in a deployment, so programatically adding all the file names :D
 
Last edited by a moderator:

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,557
Reaction score
5,592
First Language
Dutch
Primarily Uses
RMMV
yep - you'll have to read the text and determine what code it should be, along with all the parameters.  Easy in theory, but there's a lot of little things to consider (if she uses a change variable command, is she going to provide a number, another variable, or a formula?)


going to be a big script :)


I would totally look at doing this, but you've had two people say they're interested already.


Had no idea this was a huge request! If it is, I don't mind moving it to classifieds.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,715
First Language
English
Primarily Uses
RMMV
You'd be looking at a 2000+ line script I'm guessing.  Not really "big" - just "involved".
 

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,557
Reaction score
5,592
First Language
Dutch
Primarily Uses
RMMV
Haha, in my quest to make it easier for me, I make it harder for others.


By the way Nio, I only need the event contents, no need for conditions/direction/trigger etc.


I also wouldn't mind to shave off a bunch of event commands. The most important ones, to me, are show text, choices, switches, variables, pictures (show, erase, move etc.), common events, fade in/out, and BG/SE. Everything else can be ignored haha.
 

nio kasgami

VampCat
Veteran
Joined
May 21, 2013
Messages
8,949
Reaction score
3,042
First Language
French
Primarily Uses
RMMV
Haha, in my quest to make it easier for me, I make it harder for others.


By the way Nio, I only need the event contents, no need for conditions/direction/trigger etc.


I also wouldn't mind to shave off a bunch of ee.nt commands. The most important ones, to me, are show text, choices, switches, variables, pictures (show, erase, move etc.), common events, fade in/out, and BG/SE. Everything else can be ignored haha.
Then it's more simplier and yes I think it's will be a big thingy I will try to mock up some idea for it I do know that Hudell literally created a snake like system for events I will ask him some tips about it.


if I explain he literally created a Writer friendly event system :) .


I'm having college but if you can wait a little 2-3 weeks I will be one month in holidays so I can work on it.
 

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,557
Reaction score
5,592
First Language
Dutch
Primarily Uses
RMMV
Awesome Nio, go for it! There's no rush for it or anything. And wow, a month holiday?


And yes, Hudell does seem to make pretty useful plugins.
 

nio kasgami

VampCat
Veteran
Joined
May 21, 2013
Messages
8,949
Reaction score
3,042
First Language
French
Primarily Uses
RMMV
Awesome Nio, go for it! There's no rush for it or anything. And wow, a month holiday?


And yes, Hudell does seem to make pretty useful plugins.
Then sure I will try to do a fast mock up of the plugin structure and I will try to make some test then :)


and yes one month lol college give us a lots of free time between the session for relax a little.


for pay or not  it's up to you :)  
 

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

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,549
Members
137,837
Latest member
Dabi
Top