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

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

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

by TheReaperKing » Sun Sep 23, 2018 19:16

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
Resources on happiness and life management - http://MikesHappyPlace.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: 1273
Joined: Wed Aug 19, 2015 19:11
Location: Oklahoma City
GitHub: duane-r

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

by duane » Sun Sep 23, 2018 20:46

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: 529
Joined: Sun Nov 22, 2015 21:36

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

by TheReaperKing » Tue Sep 25, 2018 21:53

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!
Resources on happiness and life management - http://MikesHappyPlace.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: 3209
Joined: Sun Oct 28, 2012 00:05
Location: UK
GitHub: paramat
IRC: paramat

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

by paramat » Thu Sep 27, 2018 00:45

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/blob/4a2a11262b0821d0bcddd25161f5eb8b172b23fd/doc/lua_api.txt#L5672
 

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

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

by Pyrollo » Thu Sep 27, 2018 12:15

paramat wrote:A new feature called 'global textures' can create large textures covering multiple nodes.
https://github.com/minetest/minetest/blob/4a2a11262b0821d0bcddd25161f5eb8b172b23fd/doc/lua_api.txt#L5672


Very nice ! Many new possibilities will be offered with that :)
 

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

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

by TheReaperKing » Fri Sep 28, 2018 17:33

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
Resources on happiness and life management - http://MikesHappyPlace.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: 3209
Joined: Sun Oct 28, 2012 00:05
Location: UK
GitHub: paramat
IRC: paramat

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

by paramat » Sat Oct 06, 2018 23:39

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.
 


Return to Feature Discussion



Who is online

Users browsing this forum: No registered users and 4 guests