I hope it is okay to post this as a new project, it is kind of a new project, but it is also a project based on an old topic.
Okay, so right now I am working on a small project, to test out some mechanics for a possible RPG with weight elements. Ultimately, I’ll work toward some of the ideas from an old topic I’ve created.
As a start, some of them are:
Movement mechanic
Basic needs
Player sizes and weight
Later:
Lifts/Elevators
Pressure plates
The vision is, that this is going to be a survival RPG like game. As for the world setting, I’m split between multiple ideas. For example:
The player is stranded on an island, or a green oasis like area in a desert. Could have abandoned secret facilities.
Moved to a city, have a small house or apartment, find work and more.
Fantasy world with areas to explore.
The overall genre could be fantasy mixed with modern/realistic elements.
This project is a spare time project where I learn Unity and coding. I have already a character to use. There are currently no game yet, but I hope I can come up with something. I wanted to post this, to have a goal I can work toward.
For the project, i think the most unique would be the stranded island, because there aren’t many such projects having a setting like this. By the way, it’ll also be the easiest one since it does not need much events and hard mechanics, but still, it is your opinion on what idea you stick to.
P.s.: With being in the middle of the ocean, you can do it the Stranded Deep style: many small islands. It’ll help with optimization and world building.
Yo, excited for this. I think fantasy should be one of the themes and you could mix it with either of the other two if you wanted since I think that would be both cool and give a lot of flexibility to kinda do whatever and get away with loose explanations if need be.
Hey everybody.
I have been busy in the past weeks working on a physics-based character controller in Unity. So, I had not quite got the time to create a preview of the character before now. But this is what I’m going to use for this project.
It uses shape keys for thickness. But it also has muscle, hips, chest, and fullness shape keys.
Been a long time since there was an update but I figured I would drop in and ask if you’ve learned anything from doing this project. I’d like to implement a similar system in a game I am working on.
Man, it’s been a very long time since I posted an update.
In that time, I’ve learnt and still is, C# programming with Unity, built small projects with Unity’s learning programs. Watched tons of tutorials on you tube and used that knowledge to piece together the code that make all these functions work.
Currently working on:
What I work on right now, is the need gauges for hunger and thirst plus some code optimization, something that should make it a bit easier to implement functions in the future.
The functions that work right now is:
Capsule collider that scales, based on character size.
Rigid body that changes mass, based on character kcal storage but have a base weight of, for example, 85kg.
Metabolism system that handles character weight, stored weight in kcal, weight gain and weight loss, it handles the size of the capsule collider, it also handles the character animator where it changes between animations for thin and thick version of the character. And the thickness shape key script of the character.
Thirst script that handles water storage and usage, the dehydration rate is based on character weight and separate from food and kcal storage.
Belly digestion handles water, kcal and food intake, stomach capacity and max stomach capacity. It calculates the stomach content of food and water, how much goes to either energy or water storage. It also handles shape keys for belly.
Then there are player interaction functions so the player can interact with test food items.
Functions that handle thickness and belly shape keys for character and clothing pieces.
Player controller script that moves the rigid body around and calls the different character movement animations. This took a long time.
Stamina system were running and jumping depletes character stamina. When stamina is depleted running is not possible, jumping is available under a certain weight. Jump height is affected by character weight. Stamina regeneration and usage is weight based. More weight = faster stamina usage and slower stamina regeneration.
Health system for characters and props. The main character health is based on character weight, more weight = more health.
A 3D model character with body shape keys and animations with 8 directions for walk and running and jump animations.
Currently, there is two camera views 1st person and a fixed 3rd person view.
Some of the C# stuff I use to make these functions is: Methods, Interfaces, Scriptable objects (I think), Events.
NoobTips (just to call it something else xD):
When experimenting with assets, I can recommend starting a new project, sometimes assets can cause weird bugs and it can be hard to track them down. Also make sure to take backups of your project and make versions of your scripts.
@Full_C I hope this update can give just a little hint on how it’s done. If not, I’ll try to explain at a later point on how I made the weight and metabolism system.