One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#1 2018-07-09 20:50:35

var14ble
Member
Registered: 2018-07-08
Posts: 7

Small mod showcase (storage improvements)

First off, I'm sorry if this is in the wrong section or an irrelevant topic or inappropriate in some other way, I'm kinda new to this whole scene.
That said, I'm happy with my progress since first finding out about this game a couple of days ago, so I'd like to share it with you all smile

My plan is to eventually make a fully-fledged storage overhaul for the game, since I feel like things start getting way too cluttered on the map way too quickly which leads to many small annoyances, and a more efficient system is probably necessary if we hope to advance to some post-nuclear age. But I'm not quite there yet, so, baby steps.

For now the mod consists of two things: a small modification to how dropping stuff works (you can now switch the item in your hand for the item in a full container without having to put it down) and a new "backpack", the satchel (thank you jason for making it so ***** simple to add things to your game, you are truly a wonderful person.)

Here's a video of it in action (sorry about the weird aspect ratio, messed up my OBS settings), and a few of my thoughts on the whole process/future steps:


First off, I want to say thank you again to jason, the pleasure of modding this game is comparable maybe only to that of modding minecraft, and that's saying quite a lot. Because of how far in that direction you've already gone with your native tools, I assume I'm not messing with the vision too much with the changes I'm about to suggest. I'd like to have some sort of mod loading capability, just for new items. I feel like this would be fairly easy to program, considering that you can just add object, transition, and sprite files on both the server and client. This would be a very good way to make it more accessible and to get more awesome mods, as well as a very simple/cool way for private servers to differentiate themselves (imagine whole servers themed after different civilizations that you can switch between at the click of a button.) I'd also be more than happy to work on that, if it's something that would benefit the community. Ideally, I'd like to extend this to mods that change the core mechanics, but for many reasons that would be significantly more difficult (mostly cross-platform compiling, this is maybe the biggest benefit of minecraft being programmed in java that I can think of.)

Also a little note on swapping stuff from backpacks, is having to remove all the items to get to the bottom one an intended mechanic to add to the difficulty/realism? Because personally, I've only found it to be annoying, and it's something that would pretty simple to change in the code.

Finally, as for my future plans, in the immediate future (next couple of days) I'm going to try adding a tool rack to be able to organize that stuff a bit more, possibly change the way swapping stuff in your backpack works (it really does annoy me a whole lot), and mess around with some ideas for a large backpack (either for more items or simply larger ones.) I also might do some programming towards that mod loading thing.

Last edited by var14ble (2018-07-09 21:21:59)

Offline

#2 2018-07-09 20:59:05

YAHG
Member
Registered: 2018-04-06
Posts: 1,347

Re: Small mod showcase (storage improvements)

Nice dude!


"be prepared and one person cant kill all city, if he can, then you deserve it"  -pein
https://kazetsukai.github.io/onetech/#
https://onehouronelife.com/forums/viewtopic.php?id=1438

Offline

#3 2018-07-09 21:05:07

JonySky
Member
From: Catalunya
Registered: 2018-05-13
Posts: 686
Website

Re: Small mod showcase (storage improvements)

Good job, but do not you think that by doing this, the rabbit fur backpacks lose their meaning? I see it replacing one object with the other, much easier to create, if it is so simple, no one can craft the backpacks ...

Offline

#4 2018-07-09 21:06:28

YAHG
Member
Registered: 2018-04-06
Posts: 1,347

Re: Small mod showcase (storage improvements)

He is showing off the cool stuff he can do..


"be prepared and one person cant kill all city, if he can, then you deserve it"  -pein
https://kazetsukai.github.io/onetech/#
https://onehouronelife.com/forums/viewtopic.php?id=1438

Offline

#5 2018-07-09 21:15:37

var14ble
Member
Registered: 2018-07-08
Posts: 7

Re: Small mod showcase (storage improvements)

JonySky wrote:

Good job, but do not you think that by doing this, the rabbit fur backpacks lose their meaning? I see it replacing one object with the other, much easier to create, if it is so simple, no one can craft the backpacks ...

Very good point, and I thought about that too, but these would decay much quicker (haven't actually implemented that yet,) and they hold less items, making backpacks still a good option for more advanced civilizations. I've even thought about making them only hold two items to make the gap a bit bigger. This is mostly to avoid the very early game problem of not being able to carry some snacks or basic survival tools around while you work on other projects. I also just feel like with how much variety is enabled by how this game works it's kinda sad that there's mostly just one proper way to do most things at the moment.

Last edited by var14ble (2018-07-09 21:16:52)

Offline

#6 2018-07-09 21:18:02

var14ble
Member
Registered: 2018-07-08
Posts: 7

Re: Small mod showcase (storage improvements)

YAHG wrote:

He is showing off the cool stuff he can do..

I won't disagree with you, but I also want to get community involvement and see what everyone else thinks about it. It's very easy to get worked up in your own head and think you're making something amazing and useful when in reality you're not tongue

Offline

#7 2018-07-09 21:25:43

YAHG
Member
Registered: 2018-04-06
Posts: 1,347

Re: Small mod showcase (storage improvements)

var14ble wrote:
YAHG wrote:

He is showing off the cool stuff he can do..

I won't disagree with you, but I also want to get community involvement and see what everyone else thinks about it. It's very easy to get worked up in your own head and think you're making something amazing and useful when in reality you're not tongue

Ok, it swings the wrong way so you can't see what is in your normal basket.

Can you make items that change peoples ages? Sexes?
Items that spawn/become babies/? like voodoo dolls or golems?
Bears that kill people even if they are on items?
Magic knives that if you kill someone it increases your max age based on how many years the dead guy had left to live?

Some things that might be fun wink


"be prepared and one person cant kill all city, if he can, then you deserve it"  -pein
https://kazetsukai.github.io/onetech/#
https://onehouronelife.com/forums/viewtopic.php?id=1438

Offline

#8 2018-07-09 21:27:44

YAHG
Member
Registered: 2018-04-06
Posts: 1,347

Re: Small mod showcase (storage improvements)

Also maybe AoE weapons like flamethrower!


"be prepared and one person cant kill all city, if he can, then you deserve it"  -pein
https://kazetsukai.github.io/onetech/#
https://onehouronelife.com/forums/viewtopic.php?id=1438

Offline

#9 2018-07-09 21:44:46

var14ble
Member
Registered: 2018-07-08
Posts: 7

Re: Small mod showcase (storage improvements)

YAHG wrote:
var14ble wrote:
YAHG wrote:

He is showing off the cool stuff he can do..

I won't disagree with you, but I also want to get community involvement and see what everyone else thinks about it. It's very easy to get worked up in your own head and think you're making something amazing and useful when in reality you're not tongue

Ok, it swings the wrong way so you can't see what is in your normal basket.

Can you make items that change peoples ages? Sexes?
Items that spawn/become babies/? like voodoo dolls or golems?
Bears that kill people even if they are on items?
Magic knives that if you kill someone it increases your max age based on how many years the dead guy had left to live?

Some things that might be fun wink

You are totally right about the swinging, I was trying to figure out why it looked so wrong. Will fix that/maybe make a new drawing for it to differentiate it a bit more.
Spawning some dumb AI babies is actually an idea I had for a sort of self-lineage mod, where you get a baby at 57 and if you keep it alive you get to spawn as that kid, could be very fun but it would take a lot more time than I have available at the moment.
Not sure what you mean about the bears hmm
That knife thing sounds like it would just encourage murder, maybe a sacrificial knife would be better where you can kill yourself and whoever picks it up gets the years? Or a cursed knife where if you kill someone you lose years to discourage griefing. Not sure how possible it would be to increase the age cap for specific players, but shortening someone's life shouldn't be too hard.
As for the flamethrower, sounds simple enough. Would just need to make a sort of "environmental fire object" for it to place down wherever you shoot it. This would also maybe allow for forest fires or for wooden structures to burn down, sounds like it would add a lot to the game. Seriously considering this one now haha.
But first, I'll have to fininsh up my little container project

Last edited by var14ble (2018-07-09 21:45:27)

Offline

#10 2018-07-09 21:51:22

YAHG
Member
Registered: 2018-04-06
Posts: 1,347

Re: Small mod showcase (storage improvements)

No it spawns real babies. Give it like the highest birth priority class <3

Bears currently can not murder you if you are standing on an item, if you fixed that
I bet Jason would accept that merge request.

The knife thing is cool as fuck and it isn't like items we make up and draw ourselves
are gonna get into the main game. Something about art style etc.


"be prepared and one person cant kill all city, if he can, then you deserve it"  -pein
https://kazetsukai.github.io/onetech/#
https://onehouronelife.com/forums/viewtopic.php?id=1438

Offline

#11 2018-07-09 22:43:16

var14ble
Member
Registered: 2018-07-08
Posts: 7

Re: Small mod showcase (storage improvements)

YAHG wrote:

No it spawns real babies. Give it like the highest birth priority class <3

Bears currently can not murder you if you are standing on an item, if you fixed that
I bet Jason would accept that merge request.

The knife thing is cool as fuck and it isn't like items we make up and draw ourselves
are gonna get into the main game. Something about art style etc.

Ah I see, so guys and older women could give birth too? That shouldn't be too difficult and it sounds pretty interesting, but it would probably mess with the whole mother-based lineage dynamic a whole lot. How would you then feed the baby? Would you be able to name it just like it was your actual child? Would fertile women be able to use the item to "force" birth? I'll think about it.

I'll have a look at that bear thing, sounds like I could be actually helpful for the vanilla game for a change tongue

Griefers aren't just a problem in the main game though, the knife could be fun but if it's too risky to implement in public "private" servers like 2HOL I don't see it being worth the effort of programming. I might mess around with the cursed one or look into life extending items for fun, just don't see the whole stealing people's life essence thing being too popular. Maybe I could make randomly spawning vampire children instead of a knife?

Last edited by var14ble (2018-07-09 22:44:58)

Offline

#12 2018-07-10 12:22:20

var14ble
Member
Registered: 2018-07-08
Posts: 7

Re: Small mod showcase (storage improvements)

Update: I fixed the bear thing, but there's still a small glitch where while the bear is standing on the tile with the other object, the object isn't shown. Will try to fix that next, it shouldn't be too hard.

Last edited by var14ble (2018-07-10 12:23:18)

Offline

Board footer

Powered by FluxBB