[Mod] Simple Fence gate [1.0] [gate]
[Mod] Simple Fence gate [1.0] [gate]
Hi everyone,
this mod adds a fence gate to Minetest, preserving the visual fence style of Minetest. Also it makes jumping over fence impossible and fixes the collision box of it (not like a full block anymore).
You can place the fence gate ONLY between two fence posts.
Screenshots:
Crafting:
stick wood stick
stick wood stick
Download:
Version 1.0 (Minetest 0.4.9 or later)
Github: gate
License:
WTFPL
this mod adds a fence gate to Minetest, preserving the visual fence style of Minetest. Also it makes jumping over fence impossible and fixes the collision box of it (not like a full block anymore).
You can place the fence gate ONLY between two fence posts.
Screenshots:
Crafting:
stick wood stick
stick wood stick
Download:
Version 1.0 (Minetest 0.4.9 or later)
Github: gate
License:
WTFPL
Last edited by BlockMen on Sat Aug 16, 2014 17:54, edited 2 times in total.
- AMMOnym
- Member
- Posts: 682
- Joined: Tue Sep 10, 2013 14:18
- IRC: AMMOnym
- In-game: AMMOnym
- Location: Slovakia
Re: [Mod] Simple Fence gates [1.0] [gate]
Nice mod (again)
- Minetestforfun
- Member
- Posts: 940
- Joined: Tue Aug 05, 2014 14:09
- GitHub: MinetestForFun
- IRC: MinetestForFun
- In-game: MinetestForFun
- Location: On earth
- Contact:
Re: [Mod] Simple Fence gates [1.0] [gate]
Thank you for your work ! (im happy because it's a "minetest skin")
I add this mod instead of your other "fence-gate" old mod
the recipe of this fence-gate is the same recipe of the old-fence-gate, so how can i make the new fence-gate without loose the fences wood ?
I add this mod instead of your other "fence-gate" old mod
the recipe of this fence-gate is the same recipe of the old-fence-gate, so how can i make the new fence-gate without loose the fences wood ?
MinetestForFun Team mods : [spidermob] [fishing]
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
Re: [Mod] Simple Fence gates [1.0] [gate]
This mod and the fences mod is not compatible, sry.Minetestforfun wrote:Thank you for your work ! (im happy because it's a "minetest skin")
I add this mod instead of your other "fence-gate" old mod
the recipe of this fence-gate is the same recipe of the old-fence-gate, so how can i make the new fence-gate without loose the fences wood ?
- balthazariv
- Member
- Posts: 214
- Joined: Mon Apr 07, 2014 15:48
- Contact:
Re: [Mod] Simple Fence gate [1.0] [gate]
Hello,
I tried but every time it disappears. No error in debug.txt. (Minetest 0.4.10)
Thanks
I tried but every time it disappears. No error in debug.txt. (Minetest 0.4.10)
Thanks
Re: [Mod] Simple Fence gate [1.0] [gate]
You noticed this?balthazariv wrote:Hello,
I tried but every time it disappears. No error in debug.txt. (Minetest 0.4.10)
Thanks
If so, does this happen aswell with just his mod enabled?BlockMen wrote: You can place the fence gate ONLY between two fence posts.
- balthazariv
- Member
- Posts: 214
- Joined: Mon Apr 07, 2014 15:48
- Contact:
Re: [Mod] Simple Fence gate [1.0] [gate]
Oh, I apologize a thousand times I had not seen.BlockMen wrote: You can place the fence gate ONLY between two fence posts.
It works now ;-)
- TheEpicJames
- Member
- Posts: 634
- Joined: Sun Dec 29, 2013 23:05
- IRC: TheEpicJames
- In-game: Block_Guy
- Location: Some grassy area next to a forest, a river and a desert.
- Contact:
Re: [Mod] Simple Fence gate [1.0] [gate]
whats the difference between fences and gate besides different model and you have to place them between two fence posts?
I'm honestly not sure why I had "I like PIE." in my signature when I don't even really like it that much.
Re: [Mod] Simple Fence gate [1.0] [gate]
A bug was pointed out with the expanded node box on fence posts... place 2 sand on a post then dig the bottom one and the top one hangs and cannot be removed...
Re: [Mod] Simple Fence gate [1.0] [gate]
Hi,
I tried to use your gate with some mobs but I've problem with the collision box. Can you tell me, what is the maximum collision box I can use for my mobs ? I try to find it myself, but I don't understand how it's working.
I tried to use your gate with some mobs but I've problem with the collision box. Can you tell me, what is the maximum collision box I can use for my mobs ? I try to find it myself, but I don't understand how it's working.
My build : viewtopic.php?f=42&t=10554
-
- Member
- Posts: 119
- Joined: Tue Sep 23, 2014 11:37
Re: [Mod] Simple Fence gate [1.0] [gate]
Hi,
mobs from sever mods still can jump the fences.
Don't know who to inform, you or the mobs modder. :)
mobs from sever mods still can jump the fences.
Don't know who to inform, you or the mobs modder. :)
Re: [Mod] Simple Fence gate [1.0] [gate]
In some mods, mobs can jump very high (sheeps in simple mobs and derivative, can jump 2 blocks or more if they follow you). The problem is more a "compatibility problem". To get rid of this problem, I modify simple mobs for my use.
Which mod are you using ?
Which mod are you using ?
My build : viewtopic.php?f=42&t=10554
-
- Member
- Posts: 119
- Joined: Tue Sep 23, 2014 11:37
Re: [Mod] Simple Fence gate [1.0] [gate]
Mobs redonapodan wrote:In some mods, mobs can jump very high (sheeps in simple mobs and derivative, can jump 2 blocks or more if they follow you). The problem is more a "compatibility problem". To get rid of this problem, I modify simple mobs for my use.
Which mod are you using ?
viewtopic.php?f=11&t=9917
Re: [Mod] Simple Fence gate [1.0] [gate]
If your problem is only when they are following you, you can try to replace this line in api.lua file
by
and
by
With the last fix, mobs will stop jumping when there is no need when they follow you.
I can't test it now. But if that doesn't work, or if your problem is not only when they are following you, I will test it later.
Code: Select all
v.y = 6
Code: Select all
v.y = 5
Code: Select all
self.get_velocity(self) <= 1.5
Code: Select all
self.get_velocity(self) <= 0.5
I can't test it now. But if that doesn't work, or if your problem is not only when they are following you, I will test it later.
My build : viewtopic.php?f=42&t=10554
-
- Member
- Posts: 119
- Joined: Tue Sep 23, 2014 11:37
Re: [Mod] Simple Fence gate [1.0] [gate]
Thank you for your help.
The problem is, when they are not following me.
I want to keep some animals on my farm. But they always escape if i don't build the fences high enough. Two layers of fences works, but doesn't look good to me.
The problem is, when they are not following me.
I want to keep some animals on my farm. But they always escape if i don't build the fences high enough. Two layers of fences works, but doesn't look good to me.
Re: [Mod] Simple Fence gate [1.0] [gate]
I try with one sheep and only fence_wood (no gate). It can't jump over the fence. With 2 sheeps, one can jump on the other and then over the fence. The only solution, I see for now, is to modifiy in sheep.lua (or any other animal file) the line
by
Code: Select all
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4},
Code: Select all
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.5, 0.4},
My build : viewtopic.php?f=42&t=10554
-
- Member
- Posts: 4276
- Joined: Sun Sep 09, 2012 17:31
- GitHub: Sokomine
- IRC: Sokomine
- In-game: Sokomine
Re: [Mod] Simple Fence gate [1.0] [gate]
Hm. Increasing sheep height so that a sheep doesn't manage to jump on another sheep's back anymore because it's too heigh might indeed be a solution. Except that the sheep then won't be able to pass below something where there is enough space for the animal but not for the increased collusion box.napodan wrote: The only solution, I see for now, is to modifiy in sheep.lua
Mobs from mobf/animals modpack are far more well-behaved in this regard. They stay in their pens.
A list of my mods can be found here.
- Nathan.S
- Member
- Posts: 1147
- Joined: Wed Sep 24, 2014 17:47
- GitHub: NathanSalapat
- IRC: NathanS21
- In-game: NathanS21
- Location: Bigsby Texas
- Contact:
Re: [Mod] Simple Fence gate [1.0] [gate]
The craft recipe for the gate is only default:wood, it could/should be expanded to be group:wood. I've created a pull request on the repo with said changes.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
Check out my website, and brand new Minetest Modding Course
Who is online
Users browsing this forum: Bing [Bot] and 24 guests