12Me21 wrote:It would be cool if you could pick up chests with items in them. To prevent players from abusing this to carry a lot of stuff, you could make them walk more slowly while carrying fiulled chests.
d34dlyxpunch wrote:we should have a mod for Pokemon
Damien wrote:I'd really like to make a modification containing some finctional advertising...I've been working with paint on some stuff lately...for example : Mario head airlines! We fly...for you!
The problem is that I lack .lua knowledge.
Don wrote:Damien wrote:I'd really like to make a modification containing some finctional advertising...I've been working with paint on some stuff lately...for example : Mario head airlines! We fly...for you!
The problem is that I lack .lua knowledge.
viewtopic.php?f=9&t=9614
Damien wrote:Don wrote:Damien wrote:I'd really like to make a modification containing some finctional advertising...I've been working with paint on some stuff lately...for example : Mario head airlines! We fly...for you!
The problem is that I lack .lua knowledge.
viewtopic.php?f=9&t=9614
Yes,I've already seen that,there's also a post of mine,but that is an editable billboard : i meant to make proper finctional advertisings,quite like a painting modification...I've also tried to open some codes relative to that modification and an other paintings mod,but I can't figure out anyway how to make my own billboards mod...
Damien wrote:Mario head airlines! We fly...for you!
LazerRay wrote:Magic mod/API (use Mana API, craft spells and spell-book or wand to hold them, can add more spells and containers at later times)
Possible spells for the mod:Dig Block (break the block you aim at, may have multiple tiers like the picks)
Spell-book and wand use (Left click uses current spell, Right click selects, Shift+Right click opens it to add/remove spells)
Light Orb (places a ball of light where you aim, can be punched out like a torch)
Place Block (places a block where you aimed, uses the one next to it in your hotbar)
Attack spells (many types, damage players and mobs you shoot at)
Explosion (blow up an area you aim at, uses a lot of mana)
Retrieve Item (grab things from a distance)
Levitate (works on self, walk in mid air for some time)
Water Breathing (works on self, stay under water longer)
Night Vision (works on self, see in the dark for some time)
Combining these in the same world might make things interesting, as for the magic mod the crafting and mana costs can be expensive for the more powerful effects.
TeTpaAka wrote:LazerRay wrote:Magic mod/API (use Mana API, craft spells and spell-book or wand to hold them, can add more spells and containers at later times)
Possible spells for the mod:Dig Block (break the block you aim at, may have multiple tiers like the picks)
Spell-book and wand use (Left click uses current spell, Right click selects, Shift+Right click opens it to add/remove spells)
Light Orb (places a ball of light where you aim, can be punched out like a torch)
Place Block (places a block where you aimed, uses the one next to it in your hotbar)
Attack spells (many types, damage players and mobs you shoot at)
Explosion (blow up an area you aim at, uses a lot of mana)
Retrieve Item (grab things from a distance)
Levitate (works on self, walk in mid air for some time)
Water Breathing (works on self, stay under water longer)
Night Vision (works on self, see in the dark for some time)
Combining these in the same world might make things interesting, as for the magic mod the crafting and mana costs can be expensive for the more powerful effects.
All, except the last one (night vision), seems doable. I'll take a look on it.
12Me21 wrote:I think there was a night vision goggle mod a while ago, I don't think it still works, though.
LazerRay wrote:The Firearms mod has a night-vision system with the Night-Vision Goggles in the mod for tech/modern based items.
minetest.register_abm({
nodenames = {"default:nyancat"},
interval = 1,
chance = 1,
action = function(pos, node)
local dir = minetest.facedir_to_dir(node.param2)
local infrontof = {x=pos.x - dir.x, y=pos.y - dir.y, z=pos.z - dir.z}
if minetest.get_node(infrontof).name == "air" then
minetest.set_node(pos, {name = "default:nyancat_rainbow", param2 = node.param2})
minetest.set_node(infrontof, {name = "default:nyancat", param2 = node.param2})
else
minetest.set_node(pos, {name = "default:nyancat", param2 = (node.param2+4) % 24})
end
end
})12Me21 wrote:Moving nyan cats!!!Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_abm({
nodenames = {"default:nyancat"},
interval = 1,
chance = 1,
action = function(pos, node)
local dir = minetest.facedir_to_dir(node.param2)
local infrontof = {x=pos.x - dir.x, y=pos.y - dir.y, z=pos.z - dir.z}
if minetest.get_node(infrontof).name == "air" then
minetest.set_node(pos, {name = "default:nyancat_rainbow", param2 = node.param2})
minetest.set_node(infrontof, {name = "default:nyancat", param2 = node.param2})
else
minetest.set_node(pos, {name = "default:nyancat", param2 = (node.param2+4) % 24})
end
end
})
(Posted here because I don't feel like making a new topic yet)
Miners91 wrote:Thanks Nathan! BTW, would you know where I can to learn how to make mods for the game? I'd love to start contributing my own mods eventually, just gotta learn but have absolutely no clue where to start and have never programmed before.
Nathan.S wrote:In addition to the fantastic resource don posted there are YouTube tutorials, look at my Sig for the link, the Dev wiki and tearing apart other peoples mods to see how they accomplished things.
{dig_immediate=3, flam}local table = {};
table["dig_immediate"] = 3;
table[1] = flam;CWz wrote:here are my 2 mod ideas:
1. Lots of players timeout and then reconnect only to timeout again. this process repeats itself.
My suggested solution is a tempban after multiple fails(about 4 times). Obviously the attempt counter should reset after a couple of minutes.
2. a mod for "no interact by default" servers that kicks player who don't have interact after about 30 minutes. this is would be useful for Servers with lower maxplayers counts, so they do not get filled with interact-less players. might be a good idea to only have it kick if the player count nears the maxplayers count. also should warn said players before the kick happens
Users browsing this forum: No registered users and 3 guests