# Making a JRPG System

**URL:** <https://forums.unrealengine.com/t/making-a-jrpg-system/25650>\
**Category:** Game Development\
**Tags:** unreal-engine\
**Created:** [March 27, 2015, 8:15pm UTC](https://forums.unrealengine.com/t/making-a-jrpg-system/25650 "2015-03-27T20:15:30Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![JvtheWanderer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jvthewanderer/32/728581_2.png) [@JvtheWanderer](https://forums.unrealengine.com/u/JvtheWanderer)\
**Post date:** [March 27, 2015, 8:15pm UTC](https://forums.unrealengine.com/t/making-a-jrpg-system/25650/1 "2015-03-27T20:15:30Z")

</div>

Howdy!

So far I’m planning to pratice on using UMG. So I’m planning on making a basic JRPG game.

 ![JRPGWIP.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/a/3/8a3e25cf547e562fca7fec1081bd5040b90fb537.jpeg)

I’m starting on making the menu system. The one thing I had trouble thinking on is where is the menu is going to get it’s data from. I decided for it to get the data from the Gamemode as it’ll act like the Dungeon Master of the game.

I will usually stream this on twitch, so come follow me if ya’ll want. [Twitch](http://www.twitch.tv/jvthewanderer)

---

<div class="post-metadata">

**Author:** ![Alphanumber](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alphanumber](https://forums.unrealengine.com/u/Alphanumber)\
**Post date:** [March 28, 2015, 12:46am UTC](https://forums.unrealengine.com/t/making-a-jrpg-system/25650/2 "2015-03-28T00:46:08Z")

</div>

Subscribing to thread as JRPG implementation is pertinent to my interests and current project.

---

<div class="post-metadata">

**Author:** ![TechLord](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/techlord/32/1040563_2.png) [@TechLord](https://forums.unrealengine.com/u/TechLord)\
**Post date:** [March 28, 2015, 4:06am UTC](https://forums.unrealengine.com/t/making-a-jrpg-system/25650/3 "2015-03-28T04:06:00Z")

</div>

Looking good so far JvtheWanderer. There are several Inventory Systems in the Marketplace, but 0 JRPG Battle Menus:(

I’ve taken the plunge into UMG as well. I started with the [UMG Inventory Tutorial](https://wiki.unrealengine.com/Videos?category=UMG%20UI%20Designer)to get a grip on the Blueprint communications required as you’ll most likely need to communicate data between various Blueprints. This [answer](https://answers.unrealengine.com/questions/189120/whats-the-deferent-between-gamestate-and-game-inst.html) may help you determine the best location to get data from for the UI. I’ve elected to get data from the GameInstance, replicating whats needed from other Actors.

UMG’s Parenting system allows for some nifty experiments with composite gadgets. Due to this flexibility, I decided to deviate slightly from the Traditional JRPG-Style menu (ala Final Fantasy) designing a _Speed_ menu that emphasizes vertical scroll button Lists. I haven’t started building the menu yet, pre-viz’ing in a presentation app (open office impress/powerpoint). The current Speed Menu on the drawing-board is comprised: Widget Switcher, Scroll Box, Uniform Grid Panel, Button.

When I get something tangible ill post a vid worthwhile. Please keep us posted on your progress.

---

<div class="post-metadata">

**Author:** ![Alphanumber](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alphanumber](https://forums.unrealengine.com/u/Alphanumber)\
**Post date:** [March 28, 2015, 10:59am UTC](https://forums.unrealengine.com/t/making-a-jrpg-system/25650/4 "2015-03-28T10:59:27Z")

</div>

I’ve been asking about how to do persistence between levels to implement a traditional bimodal transition system (moving between exploration and battle). Gamemode was suggested a few times, but I ultimately tried GameInstance as TechLord has suggested. I’m not sure if it’s the best way, but it allows me to pass parameters between the two distinct levels.

Here’s some experiments I’ve been working on for transition and menus:

[![]( " - YouTube") ](https://www.youtube.com/watch?v=i2OeFTPMvXE)

edit: I have a [Github repo](https://github.com/Alphanumber/ProjectR-POC) in case anyone wants to see the current implementation or wants to contribute to the project. Pull from the develop branch to get the latest.

---

<div class="post-metadata">

**Author:** ![TAN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TAN](https://forums.unrealengine.com/u/TAN)\
**Post date:** [March 28, 2015, 12:21pm UTC](https://forums.unrealengine.com/t/making-a-jrpg-system/25650/5 "2015-03-28T12:21:53Z")

</div>

Are you using Blueprints or C++ ?

Also subscribing for the win 😃 JRPG is love 😃

---

<div class="post-metadata">

**Author:** ![JvtheWanderer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jvthewanderer/32/728581_2.png) [@JvtheWanderer](https://forums.unrealengine.com/u/JvtheWanderer)\
**Post date:** [March 28, 2015, 8:30pm UTC](https://forums.unrealengine.com/t/making-a-jrpg-system/25650/6 "2015-03-28T20:30:53Z")

</div>

I’m Doing it all in BP.

---

<div class="post-metadata">

**Author:** ![JvtheWanderer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jvthewanderer/32/728581_2.png) [@JvtheWanderer](https://forums.unrealengine.com/u/JvtheWanderer)\
**Post date:** [March 28, 2015, 8:45pm UTC](https://forums.unrealengine.com/t/making-a-jrpg-system/25650/7 "2015-03-28T20:45:41Z")

</div>

A small update. I working out on a party system.

 ![JRPGWIP2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/9/0/9075aa7eb35caa2358213986dc91c5038790393f.jpeg)  
It’s not a soild party system. I’m getting info that is in the level instead of getting them from somewhere else but it’s good for visual on where I’m going with it.

---

<div class="post-metadata">

**Author:** ![JvtheWanderer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jvthewanderer/32/728581_2.png) [@JvtheWanderer](https://forums.unrealengine.com/u/JvtheWanderer)\
**Post date:** [March 29, 2015, 7:43pm UTC](https://forums.unrealengine.com/t/making-a-jrpg-system/25650/8 "2015-03-29T19:43:32Z")

</div>

Howdy!

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/7/c/17c04fb6b5432cfa9fe34ddd18bb4dec63311083.jpeg "JRPG System In UE4 WIP") ](https://www.youtube.com/watch?v=SFOub2qe9iA)

So I Took tecklord advice and made the game instance store the party info and inventory. I’ve also worked on making stack up on pick up and show more detail from the party’s data. The way that the UMG is getting data is from the Game Instance itself.

---

<div class="post-metadata">

**Author:** ![TAN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TAN](https://forums.unrealengine.com/u/TAN)\
**Post date:** [March 29, 2015, 8:40pm UTC](https://forums.unrealengine.com/t/making-a-jrpg-system/25650/9 "2015-03-29T20:40:02Z")

</div>

Man keep going like that and you will put RPG Maker out of business soon 😃

Wish I had time or know-how to help you. \*\*\*\* it !

---

<div class="post-metadata">

**Author:** ![JvtheWanderer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jvthewanderer/32/728581_2.png) [@JvtheWanderer](https://forums.unrealengine.com/u/JvtheWanderer)\
**Post date:** [March 31, 2015, 10:51pm UTC](https://forums.unrealengine.com/t/making-a-jrpg-system/25650/10 "2015-03-31T22:51:38Z")

</div>

OK! So I’m pretty much trying to sort out my thinking on Data management and Draw out a map of what I’m thinking.

![72081e6f5a03a9c72f02a6fa3c9dd062cb90eaac.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

What This map show is When the game is starting and loaded the Game Instance (GI) is fired of first. The GI gather Data from different Data Table And store them into a each of their own Struct array. Once the GI is done the And all the Actors (Actor, Pawn, character, player controller, Ect…) fired off Game Mode (GM) get fired off and Gets references from Game Instance, create a Main menu Widget and reference it as well.

When the Player Opens up Main menu from GM Main Menu will ask for GI Certain Struct Array (Inventory Struct array, Party info Struct array, Etc…) so it will display to the player.

When the player wants to change Something in a certain Struct Array (Example: Equip a weapon in inventory to character and equip that Character’s Current weapon to the inventory) it would first go to GM in which will tell GI to Change info in the that Struct Array.

So far this is my current thinking and I’m now trying to implement it in BP.

---

<div class="post-metadata">

**Author:** ![TechLord](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/techlord/32/1040563_2.png) [@TechLord](https://forums.unrealengine.com/u/TechLord)\
**Post date:** [April 1, 2015, 7:00am UTC](https://forums.unrealengine.com/t/making-a-jrpg-system/25650/11 "2015-04-01T07:00:05Z")

</div>

I’m a _visual_ code-centric game dev as well… I like illustrations:)

I would like to offer or commit the **Universal RPG Attribute Base** Class]([http://www.arcadekomodo.com/downloads/UE4/RPGAttributeBase.zip](http://www.arcadekomodo.com/downloads/UE4/RPGAttributeBase.zip)). This BP Class was inspired by several Universal Pen & Paper RPG Character Sheets (like [GURPS](http://www.sjgames.com/gurps/)), which in the simplest form, is a [Tree Data Structure](http://en.wikipedia.org/wiki/Tree_%28data_structure%29) of Keys/Values. All Character/Creature Attributes, Skills, Spells, Weapons and Armor can be represented by a Tree of Key/Values. RPGAttributeBase takes in consideration that in Computer RPGs: 1) Icon images, other media, and logic need to be associated to an Attribute; 2) Attributes need a mechanism to communicate to other Attributes to invoke an self, relative, group, and global events.

Please review and advise if its suitable for the project at your leisure. Thanks for your time.

---

<div class="post-metadata">

**Author:** ![TechLord](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/techlord/32/1040563_2.png) [@TechLord](https://forums.unrealengine.com/u/TechLord)\
**Post date:** [April 1, 2015, 7:29am UTC](https://forums.unrealengine.com/t/making-a-jrpg-system/25650/12 "2015-04-01T07:29:02Z")

</div>

PS: Being a visual game dev, I had to change my in-game font to suit the feel of the game and stay motivated. Here you can find [1001 free fonts](http://www.1001freefonts.com/) and [import into UE4 with ease](https://docs.unrealengine.com/latest/INT/Engine/UMG/UserGuide/Fonts/index.html).

---

<div class="post-metadata">

**Author:** ![JvtheWanderer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jvthewanderer/32/728581_2.png) [@JvtheWanderer](https://forums.unrealengine.com/u/JvtheWanderer)\
**Post date:** [April 2, 2015, 2:27am UTC](https://forums.unrealengine.com/t/making-a-jrpg-system/25650/13 "2015-04-02T02:27:18Z")

</div>

> [@TechLord;261898](#):
>
> I’m a _visual_ code-centric game dev as well… I like illustrations:)
> 
> I would like to offer or commit the **Universal RPG Attribute Base** Class]([http://www.arcadekomodo.com/downloads/UE4/RPGAttributeBase.zip](http://www.arcadekomodo.com/downloads/UE4/RPGAttributeBase.zip)). This BP Class was inspired by several Universal Pen & Paper RPG Character Sheets (like [GURPS](http://www.sjgames.com/gurps/)), which in the simplest form, is a [Tree Data Structure](http://en.wikipedia.org/wiki/Tree_%28data_structure%29) of Keys/Values. All Character/Creature Attributes, Skills, Spells, Weapons and Armor can be represented by a Tree of Key/Values. RPGAttributeBase takes in consideration that in Computer RPGs: 1) Icon images, other media, and logic need to be associated to an Attribute; 2) Attributes need a mechanism to communicate to other Attributes to invoke an self, relative, group, and global events.
> 
> Please review and advise if its suitable for the project at your leisure. Thanks for your time.

I wish I understand how your blueprint works. I can’t seem to understand it.

---

<div class="post-metadata">

**Author:** ![TechLord](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/techlord/32/1040563_2.png) [@TechLord](https://forums.unrealengine.com/u/TechLord)\
**Post date:** [April 2, 2015, 8:53am UTC](https://forums.unrealengine.com/t/making-a-jrpg-system/25650/15 "2015-04-02T08:53:42Z")

</div>

> [@JvtheWanderer;262676](#):
>
> I wish I understand how your blueprint works. I can’t seem to understand it.

In the default state it doesn’t do much and I haven’t built any functionality yet. Its an abstract class to derive other attribute classes from. It basically defines a set of variables to hold the Attribute Key/Values. I could have store these in a User Defined Structure, but, I elected to use a BP Actor Class for greater flexibility. As a Actor Class, I can do some fancy stuff: 1) Provide functions for self management/update, 2) Use Event dispatchers to invoke multiple actions, 4) Add Audio/Visuals Components, 4) Finely tune Network Replication. For intense purposes its experimental and may not be suitable for the project, but, we can compare notes on Attribute implementation.

---

<div class="post-metadata">

**Author:** ![JvtheWanderer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jvthewanderer/32/728581_2.png) [@JvtheWanderer](https://forums.unrealengine.com/u/JvtheWanderer)\
**Post date:** [April 2, 2015, 9:42am UTC](https://forums.unrealengine.com/t/making-a-jrpg-system/25650/16 "2015-04-02T09:42:02Z")

</div>

That all good and all But how Exactly. I understand it’s a tree data structure, but how do I work with an abstract class with blueprint? Edit: Give me an example of it working I mean.

---

<div class="post-metadata">

**Author:** ![TechLord](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/techlord/32/1040563_2.png) [@TechLord](https://forums.unrealengine.com/u/TechLord)\
**Post date:** [April 2, 2015, 5:09pm UTC](https://forums.unrealengine.com/t/making-a-jrpg-system/25650/17 "2015-04-02T17:09:37Z")

</div>

> [@JvtheWanderer;262860](#):
>
> That all good and all But how Exactly. I understand it’s a tree data structure, but how do I work with an abstract class with blueprint? Edit: Give me an example of it working I mean.

[TABLE=“width: 0, align: center”]

[https://arcadekomodo.com/home/wp-content/uploads/2015/04/RPGAttribute\_Create\_Blueprint\_based\_on\_this-150x150.png](https://arcadekomodo.com/home/wp-content/uploads/2015/04/RPGAttribute_Create_Blueprint_based_on_this.png)  
[https://arcadekomodo.com/home/wp-content/uploads/2015/04/RPGAttribute\_Child-150x150.png](https://arcadekomodo.com/home/wp-content/uploads/2015/04/RPGAttribute_Child.png)  
[https://arcadekomodo.com/home/wp-content/uploads/2015/04/RPGAttribute\_Child\_Show\_Inherited-150x150.png](https://arcadekomodo.com/home/wp-content/uploads/2015/04/RPGAttribute_Child_Show_Inherited.png)

\*\*1. \*\*Create Blueprint based on the RPGAttributeBase  
\*\*2. \*\*RPGAttribute Child  
\*\*3. \*\*The Child Inherits Vars, Functions, etc from RPGAttribute

This RPGAttribute\_Child Class represents a Character Attribute, Attack, Spell, etc so you can rename it according ie: Stat\_Strength, Magic\_Heal, Attack\_Stab,etc.

[https://arcadekomodo.com/home/wp-content/uploads/2015/04/RPGAttribute\_Relative\_Variables-150x150.png](https://arcadekomodo.com/home/wp-content/uploads/2015/04/RPGAttribute_Relative_Variables.png)

Create hierarchies of Stat Trees, Skill Trees, Magic Trees, Crafting Recipes, etc by \*linking \*Attributes to other Attributes with the Relative Variables. You could keep it simple, or go complex:

[http://cdn.staticneo.com/w/whiteknightchronicles/thumb/2/21/Divine\_Magic\_Skill\_Tree.png/451px-Divine\_Magic\_Skill\_Tree.png](http://whiteknightchronicles.neoseeker.com/wiki/Divine_Magic_%28WKC2_Skills%29)

---

<div class="post-metadata">

**Author:** ![JvtheWanderer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jvthewanderer/32/728581_2.png) [@JvtheWanderer](https://forums.unrealengine.com/u/JvtheWanderer)\
**Post date:** [April 6, 2015, 1:09am UTC](https://forums.unrealengine.com/t/making-a-jrpg-system/25650/18 "2015-04-06T01:09:12Z")

</div>

Update.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/4/9/6498711cda5263732cb948780f0ccfb3ab1d9572.jpeg "JRPG System in UE4 WIP 2") ](https://www.youtube.com/watch?v=ajgW2COr-54)

I got the Equip menu working.

So far I’ve been using Game Instance to store data. I been also using it to change data when something happen.

---

<div class="post-metadata">

**Author:** ![TAN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TAN](https://forums.unrealengine.com/u/TAN)\
**Post date:** [April 6, 2015, 7:26am UTC](https://forums.unrealengine.com/t/making-a-jrpg-system/25650/19 "2015-04-06T07:26:37Z")

</div>

Hey I loved your party choice. So who is tanking ? 😃

---

<div class="post-metadata">

**Author:** ![TechLord](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/techlord/32/1040563_2.png) [@TechLord](https://forums.unrealengine.com/u/TechLord)\
**Post date:** [April 7, 2015, 2:37am UTC](https://forums.unrealengine.com/t/making-a-jrpg-system/25650/20 "2015-04-07T02:37:20Z")

</div>

Hey Looking really good JvtheWanderer. I think you have a very unique type of JRPG Menu there. Its pretty much _game-ready_ with change of Font and larger [custom mouse pointer](https://forums.unrealengine.com/showthread.php?60415-4-7-Custom-mouse-pointers&highlight=custom+mouse+pointer). Although, you may want to add more stuff, the amount of transparency gives it a less intrusive feel…I think. I’m reconsidering my design style now. Keep up the good work.

---

<div class="post-metadata">

**Author:** ![JvtheWanderer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jvthewanderer/32/728581_2.png) [@JvtheWanderer](https://forums.unrealengine.com/u/JvtheWanderer)\
**Post date:** [April 21, 2015, 3:58am UTC](https://forums.unrealengine.com/t/making-a-jrpg-system/25650/21 "2015-04-21T03:58:07Z")

</div>

So I did the Ludum Dare 32 Game Jam and I went with a JRPG genre game. it’s not the same as this project and it is an uncompleted entry, but I want to share it with ya’ll for I work a little bit on a battle system and transition from Game map to battle map.

It called Bad Service Cafe.

> **[Ludum Dare 32 | Ludum Dare](http://ludumdare.com/compo/ludum-dare-32/?action=preview&uid=50824)**
>
> The worlds largest online game jam event. Join us every April, August, and December.

[Next page](https://forums.unrealengine.com/t/making-a-jrpg-system/25650.md?page=2)
