Welcome!

Join our community of MMORPG enthusiasts and private server developers! By registering, you'll gain access to in-depth discussions on source codes, binaries, and the latest developments in MMORPG server files. Collaborate with like-minded individuals, explore tutorials, and share insights on building and optimizing private servers. Join us today and unlock the full potential of MMORPG server development!

Join Today!

Pristontale in Unity

I'm in to process of porting PristonTale into Unity. However, I DO NOT expect to complete this project as I am still a student and do not have unlimited time on my hands. I just thought it would be fun to see how easy or hard it would be.

So what am I doing exactly? I'm (primarily) using the resources from the leaked source code like audio, images and models to recreate PristonTale in Unity. Doing this greatly simplifies the internal workings of the game because Unity provides easy ways to implement animations, user interfaces, etc.

I will update this post with my progress. My current focus points are in red.

Camera controls
- Controls are implemented.
- Additional control variables exist but cannot be changed yet.

Movement controls
- Click to move as in PristonTale.
- Walking and running toggles implemented, way to toggle is not.
- Speed is currently not bound to items.

Items
- Item base has been created.
- All item types build on the base.
- Models for all armors in the leaked source have been imported.

Notes on items
Items exist as ScriptableObjects, meaning the do not exist as a physical thing in the world, but rather as data. Every item contains a name, weight, size and inventory image. Other items like armors or weapons build on this class through inheritance.Items can exist inside a script as a variable on a GameObject. For example, the GameObject can then detect when it has been clicked on and then add the item to the inventory and destroy itself (if the item was added successfully).

Inventory Data
- The inventory can easily be scaled up by changing some variables.
- Adding, moving and removing items is supported atm.
- Equiping items is being worked on.
- Optimizations could be done.


Notes on inventory data
I'm using two 3D arrays to store the items. The dimensions are [page, width, height]. One of the arrays contains the actual items, the other contains the index of the item at every slot taken up by the item. The image below is how one page of the inventory could look like.

View attachment 217629

Interfaces
- Smooth transition is implemented.
- Keyboard shortcuts work.
- On screen buttons work.
- More interfaces have to be added among which a settings screen.

Inventory Interface
- Buttons are clickable. Not all buttons do something atm.
- Displayed items in the inventory update whenever the inventory changes.
- Displaying equipped items is being worked on.
- Interacting with the inventory with the mouse is being worked on.


Videos







Web GL ? Liked !
 
Back