Skip to content

ztc0611/Marrow-Script-Editor

Repository files navigation

Marrow Script Editor

An open source program written to allow easy editing of dialouge JSON data, friendly to non-programmers. It is based on the dialouge system of Animal Crossing, primarily Wild World. It was created in Godot 4 so it should run on all major operating systems. image

Originally made so my non-programmer friends could help me script dialogue for a project.

How do I use this?

You will have to write your own implimentation of the text display. However, this should be possible to use cross-engine. It can also be modified to work for different types of dialouge systems or to have new line display types.

Tag Explanation Table

ID Name Arguments Descripton
000 Delete Internal use only. Deletes current block in MSEdit.
001 Begin Conversation Internal use only. Begins conversation.
002 End Conversation Internal use only. Ends conversation.
003 Comment Comment. This is just for use in MSEdit, and will be removed when compiled into the game.
...
100 NPC Talk Text NPC Speaks line of dialouge.
101 NPC Mutter Text NPC Mutters line of dialouge. This appears in light grey text and has a different talking sound effect.
102 NPC Yell Text NPC Yells line of dialouge. This shakes the text box.
...
120 NPC Talk Auto Resume Text NPC Speaks line of dialouge, resuming after previous line of dialouge in the same box with no player input. This will crash if the previous command wasn't also a speak command.
121 NPC Mutter Auto Resume Text NPC Mutters line of dialouge, resuming after previous line of dialouge in the same box with no player input. This will crash if the previous command wasn't also a speak command.
122 NPC Mutter Auto Resume Text NPC Yells line of dialouge, resuming after previous line of dialouge in the same box with no player input. This will crash if the previous command wasn't also a speak command.
...
140 NPC Talk Resume Text NPC Speaks line of dialouge, resuming after previous line of dialouge in the same box after player clicks to continue. This will crash if the previous command wasn't also a speak command.
141 NPC Mutter Resume Text NPC Mutters line of dialouge, resuming after previous line of dialouge in the same box after player clicks to continue. This will crash if the previous command wasn't also a speak command.
142 NPC Yell Resume Text NPC Yells line of dialouge, resuming after previous line of dialouge in the same box after player clicks to continue. This will crash if the previous command wasn't also a speak command.
...
200 Goto Branch Branch Jump to a branch. This can be used to make multiple choice branches recombine to the same dialouge branch.
...
300 Player 2 Choice Text; Text; (optional) OverrideBranchB; (optional) OverrideBranchC Player choice bubble, giving two choices. This will enter choice branches B and C. This can be overridden to enter a different choice branch. This will crash if the previous command wasn't a speak command.
301 Player 3 Choice Text; Text; Text; (optional) OverrideBranchB; (optional) OverrideBranchC, (optional) OverrideBranchD Player choice bubble, giving three choices. This will enter choice branches B, C, and D. This can be overridden to enter a different choice branch. This will crash if the previous command wasn't a speak command.
302 Player 4 Choice Text; Text; Text; Text; (optional) OverrideBranchB; (optional) OverrideBranchC, (optional) OverrideBranchD, (optional) OverrideBranchE Player choice bubble, giving four choices. This will enter choice branches B, C, D, and E. This can be overridden to enter a different choice branch. This will crash if the previous command wasn't a speak command.
303 Player 5 Choice Text; Text; Text; Text; (optional) OverrideBranchB; (optional) OverrideBranchC, (optional) OverrideBranchD, (optional) OverrideBranchE, (optional) OverrideBranchF Player choice bubble, giving five choices. This will enter choice branches B, C, D, E, and F This can be overridden to enter a different choice branch. This will crash if the previous command wasn't a speak command.
...
310 Player Slider Choice I Text; Text; (optional) OverrideBranchB; (optional) OverrideBranchC, (optional) OverrideBranchD Player is given a choice along a slider, Branch B is the top 1/3rd, Branch C is the middle 1/3rd, and Branch D is the bottom 1/3rd. This will enter choice branches A, B and C. This can be overridden to enter a different choice branch. Only the first and final choices will be visible in game, on the top and the bottom of the slider. This will crash if the previous command wasn't a speak command.
311 Player Slider Choice II Text; Text; Text; (optional) OverrideBranchB; (optional) OverrideBranchC, (optional) OverrideBranchD, (optional) OverrideBranchE (optional); OverrideBranchF Player is given a choice along a slider, Branch B is the top 1/5th, Branch D is the middle 1/5th, and Branch F is the bottom 1/5th. This will enter choice branches A, B, C, D, and E. This can be overridden to enter a different choice branch. Only the first and final choices will be visible in game, on the top and the bottom of the slider. This will crash if the previous command wasn't a speak command.

About

Cross platform JSON dialogue scripter.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published