[Mod] Extended Fences [extended_fences]

Post Reply
lonestar
Member
Posts: 52
Joined: Mon Jul 17, 2017 03:25
Location: Texas,USA

[Mod] Extended Fences [extended_fences]

by lonestar » Post

This is my first mod and wasn't to sure on what to name it, so went with extended fences. This simple mod just makes an adjustment to the default fences, making it so fences are not able to jump over. Of course you can build fences two high, but this ,to me makes it not very convenient. Some like the idea of non jumpable fences, others don't, so this is an option for those who do.

License: LGPLv2.1

Depends: default, walls, doors

Thanks to rubenwardy on some tips

Update: 08/17/2017
Now includes default walls and gates

Git Source:
https://github.com/LoneStar-/extended_fence

Download Zip:
https://github.com/LoneStar-/extended_f ... master.zip
Last edited by lonestar on Wed Aug 23, 2017 00:59, edited 6 times in total.

User avatar
ErrorNull
Member
Posts: 222
Joined: Thu Mar 03, 2016 00:43

Re: [mod] Extended Fences

by ErrorNull » Post

that is perfect. does this also extend walls too? i get tired of my animals from Mobs Redo jumping over my fences and escaping.
My Villagers Mod: [villagers]

sofar
Developer
Posts: 2129
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: [mod] Extended Fences

by sofar » Post

+1. Adding walls may indeed be a good idea. Excellent use of `override`. technically this depends on `default` so you should list it in the forum.

User avatar
TumeniNodes
Member
Posts: 2853
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: [mod] Extended Fences

by TumeniNodes » Post

lonestar wrote: Some like the idea of non jumpable fences, others don't, so this is an option for those who do.
Perhaps adding an enabled/disabled option would be perfect for this situation?
This would add complete flexibility to this mod.
Ich mag keine grünen Eier und Schinken, ich mag sie nicht Sam I Am

User avatar
SonosFuer
Member
Posts: 104
Joined: Sun Jul 09, 2017 00:32
GitHub: apachano
IRC: SonosFuer
In-game: SonosFuer

Re: [mod] Extended Fences

by SonosFuer » Post

TumeniNodes wrote:
lonestar wrote: Some like the idea of non jumpable fences, others don't, so this is an option for those who do.
Perhaps adding an enabled/disabled option would be perfect for this situation?
This would add complete flexibility to this mod.
Disabled in this situation would essentially be not installing this mod. Minetest_game and other subgames have jumpable fences by default.
Working on a content database for minetest mods, servers, and etc Check it out and give me feedback at viewtopic.php?f=14&t=18137

lonestar
Member
Posts: 52
Joined: Mon Jul 17, 2017 03:25
Location: Texas,USA

Re: [mod] Extended Fences

by lonestar » Post

sofar wrote:+1. Adding walls may indeed be a good idea. Excellent use of `override`. technically this depends on `default` so you should list it in the forum.
Yes, I am planning on adding walls, since I am all new to this, just started out simple ya know ;)

List in which forum? Or do you mean in op?

lonestar
Member
Posts: 52
Joined: Mon Jul 17, 2017 03:25
Location: Texas,USA

Re: [mod] Extended Fences

by lonestar » Post

Update: 08/14/2017
Now includes default walls

Had a hard time trying to figure out why walls weren't working, finally realized had to add walls to depends.txt

User avatar
toby109tt
Member
Posts: 648
Joined: Sun May 29, 2016 23:42
GitHub: tobyplowy
In-game: Toby109tt
Location: Belgium menen

Re: [mod] Extended Fences [extended_fences]

by toby109tt » Post

nice mod ;D
i'm the co-dev and lead artist of farlands

User avatar
Stix
Member
Posts: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

Re: [mod] Extended Fences [extended_fences]

by Stix » Post

does this also extend the default gates???
Hey, what can i say? I'm the bad guy.

lonestar
Member
Posts: 52
Joined: Mon Jul 17, 2017 03:25
Location: Texas,USA

Re: [mod] Extended Fences [extended_fences]

by lonestar » Post

Stix wrote:does this also extend the default gates???
yes

User avatar
GamingAssociation39
Member
Posts: 832
Joined: Mon Apr 25, 2016 16:09
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
Location: Maryland, USA

Re: [mod] Extended Fences [extended_fences]

by GamingAssociation39 » Post

Is it possible that if carpets is being used. Then when you place carpets on top only the player can jump on and over the fence.
Jesus Is Lord and Savior!!!

lonestar
Member
Posts: 52
Joined: Mon Jul 17, 2017 03:25
Location: Texas,USA

Re: [mod] Extended Fences [extended_fences]

by lonestar » Post

not sure it is possible with the code I used. if it is, it's beyond my scope of lua

User avatar
azekill_DIABLO
Member
Posts: 7494
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] Extended Fences [extended_fences]

by azekill_DIABLO » Post

it's possible because it make the carpet accessible to the player and then he can jump over fence. Simply.

User avatar
voxelproof
Member
Posts: 984
Joined: Sat Aug 05, 2017 08:13
Location: Europe

Re: [mod] Extended Fences [extended_fences]

by voxelproof » Post

Nice and of practical use. Could you add diagonal fences and walls in the future as well? It would improve the design of landscapes a lot.
Game is the essence of life; therefore every good game makes life better.

Post Reply

Who is online

Users browsing this forum: Majestic-12 [Bot] and 7 guests