Is it possible to change the shape of the blocks in game?

Post Reply
User avatar
TheReaperKing
Member
Posts: 531
Joined: Sun Nov 22, 2015 21:36
Contact:

Is it possible to change the shape of the blocks in game?

by TheReaperKing » Post

I was wondering if it is possible to alter or change the shape of blocks in game to create angles. Also potentially changing the size of the cube.

Also I am curious if you can "stretch out" a texture across multiple blocks, especially if the blocks are indestructible.

I'm really interested in what in game editing functionality is possible in general.

Thank you for your time!
-Mike
Become A Real Life Superhero - http://SuperheroHill.com
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com
Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com
Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids

User avatar
duane
Member
Posts: 1612
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Re: Is it possible to change the shape of the blocks in game

by duane » Post

TheReaperKing wrote:I was wondering if it is possible to alter or change the shape of blocks in game to create angles. Also potentially changing the size of the cube.

Also I am curious if you can "stretch out" a texture across multiple blocks, especially if the blocks are indestructible.
Take a look at the lua documentation and the existing mods. Several of these things have already been done by devious methods. However, you have to remember that the cubic block with a standard texture was chosen because it's easiest. Any changes you make are going to be more resource intensive -- in some cases, a lot more.
Believe in people and you don't need to believe anything else.

User avatar
TheReaperKing
Member
Posts: 531
Joined: Sun Nov 22, 2015 21:36
Contact:

Re: Is it possible to change the shape of the blocks in game

by TheReaperKing » Post

Thank you Duane!! I was hoping that someday in game editing like this would be possible.
https://www.youtube.com/watch?v=BA1jRuwLZ6Q&t=212s

Seems like it would be very costly though which is a problem. WorldEdit does seem to come pretty close. I appreciate the feedback!
Become A Real Life Superhero - http://SuperheroHill.com
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com
Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com
Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids

User avatar
paramat
Developer
Posts: 3619
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: Is it possible to change the shape of the blocks in game

by paramat » Post

What do you mean by 'angles'? Nodes can be any shape already. Maybe you mean alter the geometry of the underlying 3D grid of cubes?
The size of the basic cubic node is set by a parameter in the engine called 'BS' heh, not settable in Lua.
If you want to alter the size of cubes the only way is to use a bigger or smaller player.

A new feature called 'global textures' can create large textures covering multiple nodes.
https://github.com/minetest/minetest/bl ... .txt#L5672

User avatar
Pyrollo
Member
Posts: 356
Joined: Mon Jan 08, 2018 15:14
GitHub: pyrollo
In-game: Naj
Location: Paris

Re: Is it possible to change the shape of the blocks in game

by Pyrollo » Post

paramat wrote:A new feature called 'global textures' can create large textures covering multiple nodes.
https://github.com/minetest/minetest/bl ... .txt#L5672
Very nice ! Many new possibilities will be offered with that :)
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]

User avatar
TheReaperKing
Member
Posts: 531
Joined: Sun Nov 22, 2015 21:36
Contact:

Re: Is it possible to change the shape of the blocks in game

by TheReaperKing » Post

Thank you for the great response Paramat!

Yes I meant "alter the geometry of the underlying 3D grid of cubes" while in game. With the nodes being able to be any shape, I imagine you can't change the shape in game. I'd think the best solution is prefabs. Is it possible to change the texture of a block or shape while in game?

That is awesome to hear about the global textures!

Thank you again and I hope you have the best day of all time!
-Mike
Become A Real Life Superhero - http://SuperheroHill.com
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com
Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com
Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids

User avatar
paramat
Developer
Posts: 3619
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: Is it possible to change the shape of the blocks in game

by paramat » Post

The definition of a node can't be changed in-game, all you can do is replace a node with a similar one which has the desired alteration.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest