Post your modding questions here

User avatar
AMMOnym
Member
 
Posts: 682
Joined: Tue Sep 10, 2013 14:18
IRC: AMMOnym
In-game: AMMOnym

by AMMOnym » Fri Feb 28, 2014 15:55

I really long time search on google mod like stargate which i saw in the SKY server.Could someone help me please ?
 

User avatar
hoodedice
Member
 
Posts: 1372
Joined: Sat Jul 06, 2013 06:33

by hoodedice » Fri Feb 28, 2014 19:44

AMMOnym wrote:I really long time search on google mod like stargate which i saw in the SKY server.Could someone help me please ?


You mean this?
Last edited by hoodedice on Fri Feb 28, 2014 19:44, edited 1 time in total.
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build
 

User avatar
AMMOnym
Member
 
Posts: 682
Joined: Tue Sep 10, 2013 14:18
IRC: AMMOnym
In-game: AMMOnym

by AMMOnym » Fri Feb 28, 2014 21:16

hoodedice wrote:
AMMOnym wrote:I really long time search on google mod like stargate which i saw in the SKY server.Could someone help me please ?


You mean this?
No, I didnt. But thank u. In mod which i mean was stargate 2d.
 

User avatar
AMMOnym
Member
 
Posts: 682
Joined: Tue Sep 10, 2013 14:18
IRC: AMMOnym
In-game: AMMOnym

by AMMOnym » Sat Mar 01, 2014 13:11

Hybrid Dog wrote:
AMMOnym wrote:
hoodedice wrote:
You mean this?
No, I didnt. But thank u. In mod which i mean was stargate 2d.
technic's stargate mod?
Yeah, thank you so much.
 

jonatjano
New member
 
Posts: 3
Joined: Mon Mar 03, 2014 13:54

by jonatjano » Mon Mar 03, 2014 13:55

Hello,
Is it possible to block the put of item in the crafting part of the player inventory?

edit : I've asked something wrong first
Last edited by jonatjano on Mon Mar 03, 2014 14:30, edited 1 time in total.
 

User avatar
RHR
Member
 
Posts: 214
Joined: Mon Jan 27, 2014 20:07
GitHub: RHRhino

by RHR » Mon Mar 03, 2014 14:49

What do you mean with "the put of item" ??
 

User avatar
hoodedice
Member
 
Posts: 1372
Joined: Sat Jul 06, 2013 06:33

by hoodedice » Mon Mar 03, 2014 17:55

jonatjano wrote:Hello,
Is it possible to block the put of item in the crafting part of the player inventory?

edit : I've asked something wrong first


"Is it possible to block an inventory object from being placed in the crafting grid?"

#GRAMMARNAZI
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build
 

User avatar
DeepGaze
Member
 
Posts: 332
Joined: Fri May 10, 2013 00:49
GitHub: DeepGaze
IRC: DeepGaze
In-game: DeepGaze

by DeepGaze » Mon Mar 03, 2014 18:12

is it possible to view a texture from inside a node?
there's no place like 127.0.0.1
The deep life Minetest text page
minetest cards
 

User avatar
hoodedice
Member
 
Posts: 1372
Joined: Sat Jul 06, 2013 06:33

by hoodedice » Mon Mar 03, 2014 18:17

DeepGaze wrote:is it possible to view a texture from inside a node?


I don't think so. If you use free move and noclip, you can go inside a node - you'll see that the nodes become transparent when viewed from inside.
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

by Krock » Mon Mar 03, 2014 18:26

hoodedice wrote:
DeepGaze wrote:is it possible to view a texture from inside a node?


I don't think so. If you use free move and noclip, you can go inside a node - you'll see that the nodes become transparent when viewed from inside.

Or make a node-box, inside empty and around 6 thin sides.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

jonatjano
New member
 
Posts: 3
Joined: Mon Mar 03, 2014 13:54

by jonatjano » Mon Mar 03, 2014 19:02

hoodedice wrote:
jonatjano wrote:Hello,
Is it possible to block the put of item in the crafting part of the player inventory?

edit : I've asked something wrong first


"Is it possible to block an inventory object from being placed in the crafting grid?"

#GRAMMARNAZI

It is that , I've difficulties with english (i'm french)
thank you

is it possible?
 

open scource=open future
New member
 
Posts: 1
Joined: Tue Mar 04, 2014 13:01

by open scource=open future » Tue Mar 04, 2014 13:10

My quastion is "HOW TO PROGRAMMING A MOD"????

can me help everyone?
 

User avatar
hoodedice
Member
 
Posts: 1372
Joined: Sat Jul 06, 2013 06:33

by hoodedice » Tue Mar 04, 2014 13:41

open scource=open future wrote:My quastion is "HOW TO PROGRAMMING A MOD"????

can me help everyone?


Welcome to the Minetest Forums.

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
https://github.com/minetest/minetest/blob/master/doc/lua_api.txt

http://dev.minetest.net/Main_Page

http://www.lua.org/pil/

--rtzm--


Also, http://www.scintilla.org/SciTE
Last edited by hoodedice on Tue Mar 04, 2014 13:41, edited 1 time in total.
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build
 

jonatjano
New member
 
Posts: 3
Joined: Mon Mar 03, 2014 13:54

by jonatjano » Tue Mar 11, 2014 17:13

Is it possible to block an inventory object from being placed in the crafting grid?

please
 

4aiman
Member
 
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Tue Mar 11, 2014 17:18

How can one create schematics files? Are there some rules for this?
 

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

by Sokomine » Tue Mar 11, 2014 20:01

4aiman wrote:How can one create schematics files? Are there some rules for this?

The easiest way is with WorldEdit. You may also use the lua api directly if you like.
A list of my mods can be found here.
 

D0431791
Member
 
Posts: 19
Joined: Wed Nov 06, 2013 11:43

by D0431791 » Thu Mar 13, 2014 02:43

Topic: How to make a visual effect "a small block within a glass block"?
Reason: Creating texture for 6 sides is not what I want.
More Info(optional):
The glass block is normal-size {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5} and
the small block is half-size {-0.25,-0.25,-0.25,0.25,0.25,0.25}.
However, the problem is the param "tiles".
Using two arrays cause Minetest displays "unknown node".
Is there solutions?
Minetest can be better if
*better data structure for players and unstackable items like JSON
*multi sqlite files so that multi dimension can be easily implemented
*more convenient mob developing interface
 

User avatar
hunterdelyx1
Member
 
Posts: 27
Joined: Fri Aug 10, 2012 02:14

by hunterdelyx1 » Thu Mar 13, 2014 06:48

D0431791 wrote:Topic: How to make a visual effect "a small block within a glass block"?
Reason: Creating texture for 6 sides is not what I want.
More Info(optional):
The glass block is normal-size {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5} and
the small block is half-size {-0.25,-0.25,-0.25,0.25,0.25,0.25}.
However, the problem is the param "tiles".
Using two arrays cause Minetest displays "unknown node".
Is there solutions?

Why don't you use entity with " visual = "wielditem" "?
http://dev.minetest.net/ObjectRef
Still waiting for utf 8 minetest formspec support, looking at freeminer.
 

Megazell
New member
 
Posts: 4
Joined: Tue Mar 11, 2014 14:10

by Megazell » Thu Mar 13, 2014 15:55

Hey,

New to the game.

My kids and I made some items using GIMP and a guide from Youtube that was made for Minecraft.
How can we put our custom items into Minetest?

We are using Minetest 0.4.7 on Linux Mint 16 - 64 Bit - Cinnamon.
 

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

by Sokomine » Thu Mar 13, 2014 16:37

Megazell wrote:My kids and I made some items using GIMP and a guide from Youtube that was made for Minecraft.
How can we put our custom items into Minetest?

That depends on the items. There are normal blocks, blocks made out of nodeboxes, entities (i.e. mobs) etc.

Creating a new block is very easy. Take for example cobble:
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_node("default:cobble", {
        description = "Cobblestone",
        tiles = {"default_cobble.png"},
        is_ground_content = true,
        groups = {cracky=3, stone=2},
        sounds = default.node_sound_stone_defaults(),
})

Put that code into a file called init.lua in a folder named mygreatmod, replace the "default:cobble" by "mygreatmod:myblockname" (the part before the : has to be the same as the name of the folder), change the description to what you want it to be, place your texture in a folder named textures in the mod's directory and name it i.e. mygreatmod/textures/mygreatmod_myblockname.png and replace default_cobble.png with mygreatmod_myblockname.png

You might also want to add a receipe so that your new block can actually be crafted:
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_craft({
        output = 'default:chest_locked',
        recipe = {
                {'group:wood', 'group:wood', 'group:wood'},
                {'group:wood', 'default:steel_ingot', 'group:wood'},
                {'group:wood', 'group:wood', 'group:wood'},
        }
})

is for example the receipe for a locked chest. Change 'default:chest_locked' to 'mygreatmod:myblockname' and change the receipe items according to your needs. That's it :-)
A list of my mods can be found here.
 

User avatar
ak399g
Member
 
Posts: 160
Joined: Tue Jul 30, 2013 02:36
In-game: SAFR

by ak399g » Fri Mar 14, 2014 13:39

I know how to install mods per game and also globally. Is there a way to install mods per world?
aka SAFR
 

User avatar
AMMOnym
Member
 
Posts: 682
Joined: Tue Sep 10, 2013 14:18
IRC: AMMOnym
In-game: AMMOnym

by AMMOnym » Fri Mar 14, 2014 13:49

ak399g wrote:I know how to install mods per game and also globally. Is there a way to install mods per world?
In world folder u must make new folder named "Worldmods" and here u can give mods which u want to have in gameplay
 

User avatar
hunterdelyx1
Member
 
Posts: 27
Joined: Fri Aug 10, 2012 02:14

by hunterdelyx1 » Fri Mar 14, 2014 13:52

Why is nobody reading https://github.com/minetest/minetest/blob/master/doc/lua_api.txt?

>/worlds/*WORLDNAME*/worldmods
Both mods in this folder and global mods will work.

>/worlds/*WORLDNAME*/game/mods
Creating special game for this world. Only mods from this folder will work.
Still waiting for utf 8 minetest formspec support, looking at freeminer.
 

User avatar
DeepGaze
Member
 
Posts: 332
Joined: Fri May 10, 2013 00:49
GitHub: DeepGaze
IRC: DeepGaze
In-game: DeepGaze

by DeepGaze » Sun Mar 16, 2014 01:14

is there any code behind the air nodes?/any way to write a pseudo-air node?
[spoiler=pseudo-air node defined]a node that mimics air so closely that an abm could make it pass as the original[/spoiler]
there's no place like 127.0.0.1
The deep life Minetest text page
minetest cards
 

User avatar
DeepGaze
Member
 
Posts: 332
Joined: Fri May 10, 2013 00:49
GitHub: DeepGaze
IRC: DeepGaze
In-game: DeepGaze

by DeepGaze » Tue Mar 18, 2014 10:22

in addition to the previous request:
is there a lua entity for sam/singleplayer I could use for a texture tester/game piece
there's no place like 127.0.0.1
The deep life Minetest text page
minetest cards
 

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

by Sokomine » Tue Mar 18, 2014 12:34

DeepGaze wrote:is there a lua entity for sam/singleplayer I could use for a texture tester/game piece

Yes, the model that is used for the player can also be used for mobs. Some mods do that. Perhaps the Doppelgaenger mod may help you.
A list of my mods can be found here.
 

User avatar
fairiestoy
Member
 
Posts: 191
Joined: Sun Jun 09, 2013 19:25

by fairiestoy » Tue Mar 18, 2014 18:11

Its all about this script:
Github link
The goal is, to kick all online players when the server is about to shutdown. For some reason, its not working, and im at the end with my thoughts about it. Instead of kicking the players in the list returned by .get_connected_players(), it just ignores it and starts looping again. Also the .request_shutdown call is ignored, until all players have left. The process then dies, and thats it.
The first time while testing, the shutdown request was ignored, due to the fact that i was not running the server as seperate process ( singleplayer started server ). After 'fixing' that, i inserted the kicking code, but its not working for some reason i cannot explain.
Im sure that i missed something, but i can't find it. Would be nice if somebody could point me to it.
So my question: What the cobble am i doing wrong?
Last edited by fairiestoy on Tue Mar 18, 2014 18:11, edited 1 time in total.
Interesting about new things is, to figure out how it works ...
 

User avatar
teamcrafterz112233
New member
 
Posts: 3
Joined: Thu Mar 13, 2014 13:32

by teamcrafterz112233 » Tue Mar 18, 2014 19:41

im a need a minetest new version 0.5.0 or 0.5.1 and im a need minecraft player fire on the minetest and more monsters
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Tue Mar 18, 2014 21:24

teamcrafterz112233 wrote:im a need a minetest new version 0.5.0 or 0.5.1 and im a need minecraft player fire on the minetest and more monsters
You can't just "request" new versions of minetest. 0.5.0 is a long way off, and shouldn't be rushed. The first mod you suggested is possible, that might actually be something I'll give a shot at. As for your second request, try Blockmen's Creatures mod, PilzAdam's Simple Mobs, or MobF.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

User avatar
durtective6
Member
 
Posts: 167
Joined: Sun Aug 12, 2012 14:19
In-game: derplez

by durtective6 » Sat Mar 22, 2014 11:32

Hi, im trying to improve my mod and i wanted to add a series of items that upon right clicking on the ground, generates a small hollow cube (probably 5x5) with another block in the middle of the interior (probably on the floor) and a doorway. However i don't know how to do this. If possible could i have some help.
Like this;
Image
The wool represents a block from my mod
Many thanks.
Last edited by durtective6 on Sat Mar 22, 2014 12:44, edited 1 time in total.
 

PreviousNext

Return to Modding Discussion

Who is online

Users browsing this forum: No registered users and 36 guests