Help with 'viscosity'

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11

Help with 'viscosity'

by Dan Duncombe » Wed Aug 21, 2013 17:13

My question is, can you set a 'viscosity' in a node, so you can slowly walk through it as long as it has got walkable = false some where in it and some viscosity definition.
Last edited by Dan Duncombe on Wed Aug 21, 2013 17:15, edited 1 time in total.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

by philipbenr » Wed Aug 21, 2013 17:25

  • liquid_viscosity — Higher viscosity means slower flow (max. 7)
  • liquidtype — "none"/"source"/"flowing"
  • liquid_renewable — If true, when placing two or more sources so that there's air between them, a new liquid source will be created.
does this help? Or were you talking about a solid, yet 'walkable' node? If then, I don't know.

EDIT: http://dev.minetest.net/minetest.register_node
try this. it's the dev website
Last edited by philipbenr on Wed Aug 21, 2013 17:27, edited 1 time in total.
"The Foot is down!"
 

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11

by Dan Duncombe » Wed Aug 21, 2013 17:27

philipbenr wrote:
  • liquid_viscosity — Higher viscosity means slower flow (max. 7)
  • liquidtype — "none"/"source"/"flowing"
  • liquid_renewable — If true, when placing two or more sources so that there's air between them, a new liquid source will be created.
does this help? Or were you talking about a solid, yet 'walkable' node? If then, I don't know.

EDIT: http://dev.minetest.net/minetest.register_node
try this. it's the dev website

I am thinking of solid placeable, mineable nodes.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 

User avatar
PenguinDad
Member
 
Posts: 122
Joined: Wed Apr 10, 2013 16:46
GitHub: PenguinDad
IRC: PenguinDad GhostDoge
In-game: PenguinDad

by PenguinDad » Wed Aug 21, 2013 17:31

You could make pointable and diggable liquid with "liquid_range = 0".
<Cyndra> Programming properly in C++ feels like putting together a jigsaw puzzle
<Cyndra> where the peices don't fit and the picture doesn't matter.
 

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11

by Dan Duncombe » Wed Aug 21, 2013 17:33

PenguinDad wrote:You could make pointable and diggable liquid with "liquid_range = 0".

Neat! I will try that.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

by philipbenr » Wed Aug 21, 2013 17:35

that is what I was aiming for. :)
"The Foot is down!"
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 6 guests

cron