[Mod] Traps Mod [1.3] [traps]

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

[Mod] Traps Mod [1.3] [traps]

by rubenwardy » Post

Traps

This is my first mod, be nice...

This mod adds booby traps to Minetest, I made it especially for the Hunger Games Server.

1) Mine (traps:mine)
A block disguised as a grass block
Ka Boom!. Code used from the Nuke Mod

2) Cage Trap (traps:cage)
A block disguised as a grass block
When a player walks over the block, they get trapped in by glass.
Another player has to release them by standing on the release block beside them.

NOTE: You can use the variable "block_to_place" to change which block is placed for the walls of the cage (eg: to obidistan)


3) Lava Drop Trap (traps:lava)
Spawns lava above the player that cascades around them, trapping them.

4) Spikes
Credits to RabbiBob for the code.

Image Image


5) Sink Blocks

I am open for any critisms, suggestions, alternate textures, and ideas for new traps

License: GPLv2 for code, CC0 for textures (excluding Minetest Default textures)

Requires / Depends
Moreblocks, but you can make it not require it by using a different block for the cage
(change the variable block_to_add in cage.lua)

Downloads
Github Repo Page
Latest Version
Last edited by rubenwardy on Mon Mar 21, 2016 23:53, edited 2 times in total.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

cornernote
Member
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Post

awesome! this is a lot of fun

Josh
Member
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Post

Cool idea Rubenwardy! I might try this tommorow.

User avatar
Echo
Member
Posts: 122
Joined: Tue Jul 31, 2012 08:11
Location: Germany

by Echo » Post

Could be nice for co-op adventure maps. Nice.

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

Echo wrote:Could be nice for co-op adventure maps. Nice.
Yes, i built it for servers : ), specifically adventure ones

I would like someone to test it on a server
Last edited by rubenwardy on Wed Aug 22, 2012 14:03, edited 1 time in total.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

Added a new trap: Lava Drop
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

2cool4me4
Member
Posts: 16
Joined: Sat Aug 25, 2012 22:16

by 2cool4me4 » Post

Maybe the blocks should look a little different from the originals? I mean, I know the Hunger Games is no-holds-barred, but it still seems a bit unfair.
I have done NOTHING!

User avatar
RabbiBob
Member
Posts: 335
Joined: Sat Jan 28, 2012 22:40
Location: /teleport 54,47,28
Contact:

by RabbiBob » Post

2cool4me4 wrote:Maybe the blocks should look a little different from the originals? I mean, I know the Hunger Games is no-holds-barred, but it still seems a bit unfair.
I disagree. When I did my fake grass trap, I figured a good trap is not noticeable. Of course I'm evil too....

I did leave a mark where I set my spike trap though ;-)

http://www.youtube.com/watch?v=u8TY5ddrerY
Last edited by RabbiBob on Tue Aug 28, 2012 01:32, edited 1 time in total.

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

How about i make it a file in textures, eg: traps_cage_spawn, so you can change it?
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

Miner99
New member
Posts: 6
Joined: Tue Jul 31, 2012 08:54

by Miner99 » Post

You could make traps you get through and damage traps
I was in the Nether...
and came back.

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

Miner99 wrote:You could make traps you get through and damage traps
Yes, i was thinking about that. I will add them soon
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

irksomeduck
Member
Posts: 224
Joined: Tue Aug 28, 2012 21:45
Location: Littleroot town, Hoenn region

by irksomeduck » Post

Was it you who made the trapstone?
I love exploring minetest worlds :D
If you have a good seed let me know
--------------------------------------------------
My world/house pack- http://minetest.net/forum/viewtopic.php?id=3066

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

irksomeduck wrote:Was it you who made the trapstone?
No, that is in Moreblocks.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

I have added:

spikes
sink dirt and sand
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
prof-turbo
Member
Posts: 516
Joined: Mon May 07, 2012 17:02
Location: MinetestForFun or Teeworlds master server list

by prof-turbo » Post

If there is sands traps and grass traps why not cobbles traps?
Last edited by prof-turbo on Sun Oct 21, 2012 16:43, edited 1 time in total.
You should take a look at http://www.xorhub.com

Dragonop
Member
Posts: 1233
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop
Location: Argentina

by Dragonop » Post

WHIT MESE! ... REALLY

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

Mese is often used as a magic block. If you are thinking mese is too hard to find, then let me tell you that it is really not that hard, when you know a technique
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
GloopMaster
Member
Posts: 213
Joined: Wed Aug 01, 2012 18:03
Location: http://minetest.net/forum/

by GloopMaster » Post

Mese is mese
Meow.

That is all.

User avatar
VanessaE
Moderator
Posts: 4655
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

by VanessaE » Post

Mese has changed:

http://minetest.net/forum/viewtopic.php?id=4154

You should probably change your recipes to use Mese Crystals and Mese Crystal Fragments where they are most appropriate, in place of the old Mese objects.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

User avatar
Luke123
Member
Posts: 51
Joined: Sun Mar 31, 2013 17:51

by Luke123 » Post

I try to load the mod but when I open up minetest it says failed to load and run etc. This happened to some of my other mods but don't know why. Please reply if you can help, thx.

- Luke

Also known as Luca
My minetest username is <King>
BTW I like pie <3

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

what is the mod error (in debug.txt)? did you rename the folder from "traps-master" to "traps"?
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
Likwid H-Craft
Member
Posts: 1113
Joined: Sun Jan 06, 2013 14:20
Location: Lost in Crypt

by Likwid H-Craft » Post

Wow Nice Mod Ruben it be great for, The Legend of Zelda Link to the Test :) hey, do like help Ruben? since you can if like.

Make a Node spawn lava when dig is a idea :)

Oh and btw, I have more ideas just for TLOZ:LTTT
Last edited by Likwid H-Craft on Mon Apr 01, 2013 19:26, edited 1 time in total.
My Domain's/others:
http://likwidtest.hj.cx/ (Not Done)

User avatar
jojoa1997
Member
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Post

There should be a nyan cat trap
Coding;
1X coding
3X debugging
12X tweaking to be just right

User avatar
Luke123
Member
Posts: 51
Joined: Sun Mar 31, 2013 17:51

by Luke123 » Post

rubenwardy wrote:what is the mod error (in debug.txt)? did you rename the folder from "traps-master" to "traps"?
I will try this, thanks Ruben :-) I will let you know if it works.

- Luke
Last edited by Luke123 on Wed Apr 03, 2013 02:42, edited 1 time in total.
My minetest username is <King>
BTW I like pie <3

User avatar
Luke123
Member
Posts: 51
Joined: Sun Mar 31, 2013 17:51

by Luke123 » Post

Luke123 wrote:
rubenwardy wrote:what is the mod error (in debug.txt)? did you rename the folder from "traps-master" to "traps"?
I will try this, thanks Ruben :-) I will let you know if it works.

- Luke
It worked :-)
My minetest username is <King>
BTW I like pie <3

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests