pandorabox-io / in-game

Random code and stuff for in-game things
MIT License
3 stars 0 forks source link

More wall, stealthnode and concealed door types #98

Open OgelGames opened 3 years ago

OgelGames commented 3 years ago

Currently there are only three types of wall (cobble, desert cobble, mossy cobble), with a fourth soon to be added (ice), I'm wondering if more should be added, such as marble, granite, obsidian, etc.

It would be very easy to add more, and each one is only a single node, so it wouldn't impact the total node count by much.

Klaranth commented 3 years ago

Marble, but all four types then, Streak free glass, Glass, Obsidian Glass, Permafrost ,,,

Klaranth commented 3 years ago

Adding concealed door types would be giving more flexibility to the game, as well.

OgelGames commented 3 years ago

More stealthnode types would probably be more useful than more concealed doors, as they can be used for the same functionality, but also are more flexible, and they also are 5x cheaper than doors in terms of the number of nodes added.

BTW, about the node count, minetest has a limit of 32768 registered nodes, and we are currently at 23315. (related: https://github.com/pandorabox-io/pandorabox.io/issues/491)

Klaranth commented 3 years ago

Hedgehog Add a 1x1 node that uses the concealed door code. Good for hiding things behind.

wsor Just make hidden trap doors

SX Constructor mk2 + player detector and use actual nodes to hide it?

Like using sticky piston doors? Similar but mk2 constructor can be hidden behind chest. Those can remove / place second node in front of constructor (but you want to know how it works first, test...)

My entry that was on haunted house contest utilizes a lot of those, mk2 and mk3 constructors. Most are controlled with lua controllers that do a lot more than just control constructors but if you like to see few things you can do with those you can go check out that.

About all tech stuff is hidden behind walls but there's multiple "hidden" passages to access tunnels behind walls. Hidden is actually just openings in dark / uninteresting corners. All hidden passages can be seen from on intended "main" path through cave house.

When you see something appear / disappear there it is almost sure done with constructors.

Hedgehog The only problem I see with SX's constructor idea is that it uses LUA, while a new concealed 1x1 node 'door' does not.

Klaranth commented 3 years ago

Options to move forward :

1 - Assigning someone to it to get it build and added. 2 - Keeping it open and hoping someone else will add something. 3 - Closing it and nothing will get done?

What will it be?

OgelGames commented 3 years ago

Not sure when I'll get around to doing it, but I'll assign myself for now...

S-S-X commented 3 years ago

Hedgehog The only problem I see with SX's constructor idea is that it uses LUA, while a new concealed 1x1 node 'door' does not.

@Klaranth little clarification: it does not require any Lua, I'm just using Lua because I like flexibility if offers. Constructors themselves do not accept digiline messages at all.

Instead of digiline messages those require mesecons signals, it does still require at least 2x space compared to standalone concealed door.

Main reason why I do like stealth nodes or constructors+actual nodes more than concealed doors (when using as door) is that concealed doors do not look exactly same but instead have significantly different visual appearance compared to real nodes and also bleed light through. So there's few more reasons in addition to what OgelGames already told about why "More stealthnode types would probably be more useful than more concealed doors".

Klaranth commented 3 years ago

Any chance to add a stealthnode backbone to it?

OgelGames commented 3 years ago

Any chance to add a stealthnode backbone to it?

Well that's technically possible, but should it be added? It certainly would be nice to be able to hide them... 🤔

Klaranth commented 3 years ago

In smaller ships, using backbones really! limits movements inside. Having them in stealthnode, would be really nice.

Klaranth commented 2 years ago

Blockhead Cook stealthnodes to turn them back into normal nodes

Huhhila Not particularly convinced of cooking being the correct method for removing tin from some of those composites, including wooden ones. Maybe better fit for the less used machines like extractor or even freezer (depending on what kind of "physics" stealthnodes depend on)?

Klaranth commented 2 years ago

Hedgehog Add new stealthnodes : scifi_nodes:white , chromium blocks and zinc blocks. @BuckarooBanzay https://github.com/pandorabox-io/pandorabox_custom/commit/017ce8129f8330ca11a37c61e442ff53a0c56235

Klaranth commented 6 days ago

Any chance to add new concealed doors? Ones that look like chests, including the shared chest?

BuckarooBanzay commented 5 days ago

best i can do is https://github.com/pandorabox-io/pandorabox_custom/pull/77 (i didn't fully read your comment above and thought you meant the stealthnodes, which would be kinda easy to do)

the hidden_doors mod is pretty weird with registrations, i don't really want to touch that, if anyone else wants to try here are some examples: https://github.com/minetest-mirrors/hidden_doors/blob/master/minetest_game.lua#L53-L55