mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-23 07:10:19 +01:00
b998ab1b3a
This fence gate builds on NDT_CONNECTED by assuming fence nodes will automatically connect to it's sides properly. The fence gate will open and close just like doors, with sounds, but it only opens one way. The gate sticks out quite a bit and can be bumped into, so the fence may be used as some sort of path switch. The fence gate offers no form of protection and can be opened and closed by anyone. This is done on purpose - the fencegate isn't meant to provide protection from players, as fences can be trivially jumped over. Instead, these fences should be used for protecting crops from hungry sheep, or keeping rabbits in their pen, or just decoration. Mods can also modify the mod to add protection, of course. A recipe is added to make these. It's 4 sticks and 2 wood (any) as follows: stick wood stick stick wood stick The collision box of the open gate is such that if two gates are connected but mirrored (making an M shape) then you can walk a large entity that's larger than 1.0 wide through the opening. The gate of an opened fence can also be stood upon or bumped into. I've mixed together some sounds to provide a somewhat light sound experience, one that one would expect from a small gate latching open and close. This change requires #873, otherwise it doesn't connect to fences.
79 lines
2.4 KiB
Plaintext
79 lines
2.4 KiB
Plaintext
Minetest Game mod: doors
|
|
========================
|
|
version: 2.0
|
|
|
|
License of source code:
|
|
-----------------------
|
|
Copyright (C) 2012 PilzAdam
|
|
modified by BlockMen (added sounds, glassdoors[glass, obsidian glass], trapdoor)
|
|
Steel trapdoor added by sofar.
|
|
Copyright (C) 2016 sofar@foo-projects.org
|
|
Re-implemented most of the door algorithms, added meshes, UV wrapped texture
|
|
Added doors API to facilitate coding mods accessing and operating doors.
|
|
Added Fence Gate model, code, and sounds
|
|
|
|
This program is free software. It comes without any warranty, to
|
|
the extent permitted by applicable law. You can redistribute it
|
|
and/or modify it under the terms of the Do What The Fuck You Want
|
|
To Public License, Version 2, as published by Sam Hocevar. See
|
|
http://sam.zoy.org/wtfpl/COPYING for more details.
|
|
|
|
License of textures
|
|
--------------------------------------
|
|
following Textures created by Fernando Zapata (CC BY-SA 3.0):
|
|
door_wood.png
|
|
door_wood_a.png
|
|
door_wood_a_r.png
|
|
door_wood_b.png
|
|
door_wood_b_r.png
|
|
|
|
following Textures created by BlockMen (WTFPL):
|
|
door_trapdoor.png
|
|
door_obsidian_glass_side.png
|
|
|
|
following textures created by celeron55 (CC BY-SA 3.0):
|
|
door_glass_a.png
|
|
door_glass_b.png
|
|
|
|
following Textures created by PenguinDad (CC BY-SA 4.0):
|
|
door_glass.png
|
|
door_obsidian_glass.png
|
|
|
|
following textures created by sofar (CC-BY-SA-3.0)
|
|
doors_trapdoor_steel.png
|
|
doors_trapdoor_steel_side.png
|
|
door_trapdoor_side.png
|
|
|
|
|
|
Obsidian door textures by red-001 based on textures by Pilzadam and BlockMen: WTFPL
|
|
door_obsidian_glass.png
|
|
|
|
Glass door textures by red-001 based on textures by celeron55: CC BY-SA 3.0
|
|
door_glass.png
|
|
All other textures (created by PilzAdam): WTFPL
|
|
|
|
Door textures were converted to the new texture map by sofar, paramat and
|
|
red-001, under the same license as the originals.
|
|
|
|
Models:
|
|
--------------------------------------
|
|
Door 3d models by sofar (CC-BY-SA-3.0)
|
|
- door_a.obj
|
|
- door_b.obj
|
|
Fence gate models by sofar (CC-BY-SA-3.0)
|
|
- fencegate_open.obj
|
|
- fencegate_closed.obj
|
|
|
|
License of sounds
|
|
--------------------------------------
|
|
Opening-Sound created by CGEffex (CC BY 3.0), modified by BlockMen
|
|
door_open.ogg
|
|
Closing-Sound created by bennstir (CC BY 3.0)
|
|
door_close.ogg
|
|
fencegate_open.ogg:
|
|
http://www.freesound.org/people/mhtaylor67/sounds/126041/ - CC0
|
|
fencegate_close.ogg:
|
|
http://www.freesound.org/people/BarkersPinhead/sounds/274807/ - CC-BY-3.0
|
|
http://www.freesound.org/people/rivernile7/sounds/249573/ - CC-BY-3.0
|
|
|