CreatorsOk
roadtovostok
roadtovostok

patreon


Item Data Architecture v2

Hi!

I decided to quickly cover some technical aspects of the development and updates that I'm implementing to the current item architecture.

Usually video games that handle large database of items, the actual items are only data containers which contain item information like name, weight, rarity and so on. This basic data container (in Road to Vostok it's called ItemData) approach is really common and useful but it's problematic once the item database gets larger (like in Road to Vostok now).

The problem with this basic approach is that if you only have one high-level data container like ItemData, it's good for all the basics stuff like item details, but whenever you start adding lots of "special" items to the game like attachments, medicals and so on the high-level data container gets really flooded with all the little details from those special items as well. This also becomes quite unpractical because if you store for example medical data on that high-level ItemData, then there's unnecessary information for multiple other items like consumables because they don't have any medical properties to them.

The solution (also quite common one) to this issue is to have "subdata" for different kind of item types that inherit the main high-level item data but have their unique properties that is accessible only through those specific item types.

I have now implemented this exact architecture where there's one high-level item data container ItemData and then support for multiple subdata's for each item type.

The main subdata sets in Road to Vostok are currently:
AttachmentData
MedicalData
ConsumableData
EquipmentData
AmmunitionData

This won't be visible to the player in any way but this new data structure helps will help multiple aspects of the development and it was kind of must-have for Public Demo 2 since there will be all kinds of usable items, multipliers and character stats.

ps. This was also one of the reasons why I didn't include lootable items in that Public Demo 1 v2, because I wanted to rework this architecture first. Otherwise it would have required features that would now already be obsolete with this new item architecture.

- Antti (Developer)

Comments

I understand. It would have been nice to have lootable items, as it would really lend to the game loop, even if it were just temporary and outdated to what the final version is like. Unfortunately, that is not the case, but I can still get immersed in the world if I give myself tasks and there is a lot more space in the demo now so it feels much better overall. I'm happy with it, just slightly disappointed that there was no loot and NO FISHING!!! Shame on you Antti. lol

M1XED_BAG

Since i was one of those who was a little bit mad about the non-existence of lootable Items i think i have to say something about that post and explain where the disappointment came from. With the Knowledge that we have to wait atleast 5-6 more Months till Demo V2 i hoped that Demo 1 could be something we are booting up now and then to shorten the waiting time till Demo 2. I didn't even played Demo 1.2 for 5 Minutes just because there is nothing to do. Survival and Looting is the Core Concept of the Game and if this isn't given the actual replayability is also not given. I know how important every step from Demo 1 to Demo 1.2 is for the Game and everything you did worked well but i simply can't enjoy it without any Gameplay Loop. I would say that most of the dissapointment came from the fact that i know i will not play that actual great Demo till Q3 2023 just because of that fact. With the knowledge that there wasn't an actual Releasedate for the Demo you could've implement those mechanics you are talking about and Delay Demo 1.2. However .... i'm just a Player not an Dev. I'm sure development wise everything makes sense. I'm looking forward to the Dev Updates and Demo 2. I'm pretty sure everythig will come togheter and the waiting time will pay off for us :) You are doing a great job with all the new system, community outreach and with RtV. Keep up the great work.

SavRoyale


More Models and Creators