Minetest Mod Creator

User avatar
Lukeking
Member
 
Posts: 54
Joined: Sun May 05, 2013 11:15
Location: Android Hell

Minetest Mod Creator

by Lukeking » Tue Feb 11, 2014 17:28

Minetest Mod Creator

I'm sitting infront of my Netbook thinking of what I can do.
So I thought what it's like to write a Minetest Mod Creator - programme for modding-beginners.

Here's what I've done so far:
Image
..and some code in background :D

What's your opinion to this project?
Last edited by Lukeking on Tue Oct 07, 2014 17:31, edited 2 times in total.
Minetest Redcrab Server 0.4.4 - Pyrite and Evergreens town - PPS (Pyrite Police Station) officer - PCS (Pyrite Car Shop)
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP
 

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

by rubenwardy » Tue Feb 11, 2014 17:31

Looks good. Nice work!

Is it a .lua file editor, or does it generate them for you?

A quite important thing to keep in mind in editors is KISS: make it as user friendly as you can, without making it stupid.

Also, it looks like Visual basic, which won't run in GNU+Linux :P

Finally, I suggest you release the code, a build, and/or make a youtube showing its functionality.
 

User avatar
Lukeking
Member
 
Posts: 54
Joined: Sun May 05, 2013 11:15
Location: Android Hell

by Lukeking » Tue Feb 11, 2014 17:32

For this appilcation I need a little minetest sandbox which runs minetest it self + activated mods. The sandbox-world only have to be 20x20x20 blocks big.
Minetest Redcrab Server 0.4.4 - Pyrite and Evergreens town - PPS (Pyrite Police Station) officer - PCS (Pyrite Car Shop)
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP
 

User avatar
webdesigner97
Member
 
Posts: 1325
Joined: Mon Jul 30, 2012 19:16
Location: Bergisch Gladbach, Germany
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97

by webdesigner97 » Tue Feb 11, 2014 17:38

Lukeking wrote:For this appilcation I need a little minetest sandbox which runs minetest it self + activated mods. The sandbox-world only have to be 20x20x20 blocks big.

Ah, you want to provide a preview for the user to help him "inspecting" his nodes? Hmm, not easy...
 

User avatar
Lukeking
Member
 
Posts: 54
Joined: Sun May 05, 2013 11:15
Location: Android Hell

by Lukeking » Tue Feb 11, 2014 17:41

webdesigner97 wrote:
Lukeking wrote:For this appilcation I need a little minetest sandbox which runs minetest it self + activated mods. The sandbox-world only have to be 20x20x20 blocks big.

Ah, you want to provide a preview for the user to help him "inspecting" his nodes? Hmm, not easy...

Right :)
Minetest Redcrab Server 0.4.4 - Pyrite and Evergreens town - PPS (Pyrite Police Station) officer - PCS (Pyrite Car Shop)
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP
 

User avatar
Lukeking
Member
 
Posts: 54
Joined: Sun May 05, 2013 11:15
Location: Android Hell

by Lukeking » Tue Feb 11, 2014 17:49

rubenwardy wrote:Looks good. Nice work!

Is it a .lua file editor, or does it generate them for you?

A quite important thing to keep in mind in editors is KISS: make it as user friendly as you can, without making it stupid.

Also, it looks like Visual basic, which won't run in GNU+Linux :P

Finally, I suggest you release the code, a build, and/or make a youtube showing its functionality.

1. I add a create and delete button - for creating and deleting the written mod -
you can select options write and edit code and create it
2. yes it's Visual Basic based and won't run on Linux or Mac OS X systems
Last edited by Lukeking on Wed Feb 19, 2014 15:09, edited 1 time in total.
Minetest Redcrab Server 0.4.4 - Pyrite and Evergreens town - PPS (Pyrite Police Station) officer - PCS (Pyrite Car Shop)
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP
 

User avatar
onpon4
Member
 
Posts: 517
Joined: Thu Mar 21, 2013 01:54

by onpon4 » Tue Feb 11, 2014 17:50

I don't approve since you're choosing to make it proprietary, and I can't use it anyway since it's Windows-only. Re-do it in something that works on GNU/Linux systems (maybe Qt; try the Qt Designer, it's very nice) and release it as free/libre software, and I would be interested.
Last edited by onpon4 on Tue Feb 11, 2014 17:51, edited 1 time in total.
 

User avatar
Lukeking
Member
 
Posts: 54
Joined: Sun May 05, 2013 11:15
Location: Android Hell

by Lukeking » Tue Feb 11, 2014 17:54

onpon4 wrote:I don't approve, because you're choosing to make it proprietary, and I can't use it anyway since it's Windows-only. Re-do it in something that works on GNU/Linux systems (maybe Qt; try the Qt Designer) and release it as free/libre software, and I would be interested.

1. it's version 0.1 !
2. maybe I'll teach myself python, so I can make it all-system-compatible

I'll make a german and english version first and on requests I also can add another language to it (maybe french, spanish)
Or I add a folder to it with *.LANG-files in it and in header a chance to change the languages
Last edited by Lukeking on Sat Feb 15, 2014 11:07, edited 1 time in total.
Minetest Redcrab Server 0.4.4 - Pyrite and Evergreens town - PPS (Pyrite Police Station) officer - PCS (Pyrite Car Shop)
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP
 

User avatar
Lukeking
Member
 
Posts: 54
Joined: Sun May 05, 2013 11:15
Location: Android Hell

by Lukeking » Thu Feb 20, 2014 14:59

Should I add syntax highlighting to it?
Minetest Redcrab Server 0.4.4 - Pyrite and Evergreens town - PPS (Pyrite Police Station) officer - PCS (Pyrite Car Shop)
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP
 

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

by rubenwardy » Thu Feb 20, 2014 15:05

If you want.

Syntax highlighting with rich text boxes in visual basic is a pain
Last edited by rubenwardy on Thu Feb 20, 2014 15:05, edited 1 time in total.
 

User avatar
Lukeking
Member
 
Posts: 54
Joined: Sun May 05, 2013 11:15
Location: Android Hell

by Lukeking » Thu Feb 20, 2014 15:23

rubenwardy wrote:If you want.

Syntax highlighting with rich text boxes in visual basic is a pain

I don't think so... only 16 lines of code (but for every syntax)
Last edited by Lukeking on Thu Feb 20, 2014 15:24, edited 1 time in total.
Minetest Redcrab Server 0.4.4 - Pyrite and Evergreens town - PPS (Pyrite Police Station) officer - PCS (Pyrite Car Shop)
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP
 

User avatar
Novacain
Member
 
Posts: 285
Joined: Sat Aug 31, 2013 01:03
Location: Skaaro

by Novacain » Thu Feb 20, 2014 16:40

just noticed something. you list depends.txt as optional. it is a requirement for mods (I think).
EXTERMINATE!!!
My Tronrealm modpack
My tronblocks mod
 

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

by rubenwardy » Thu Feb 20, 2014 16:51

Novacain wrote:just noticed something. you list depends.txt as optional. it is a requirement for mods (I think).


It is not a requirement.

init.lua is the only requirement.

Lukeking wrote:I don't think so... only 16 lines of code (but for every syntax)


I probably did it the wrong way.

https://github.com/rubenwardy/VB_WebCreatorPro/blob/master/Multa%20Web%20Creater%20Pro/HtmlEditor.vb#L48
Last edited by rubenwardy on Thu Feb 20, 2014 16:53, edited 1 time in total.
 

User avatar
Lukeking
Member
 
Posts: 54
Joined: Sun May 05, 2013 11:15
Location: Android Hell

by Lukeking » Thu Feb 20, 2014 16:53

Novacain wrote:just noticed something. you list depends.txt as optional. it is a requirement for mods (I think).

not for all mods, e.g. if you make a modification for spawning something on certain areas or change inventory view.... you mustn't need depends.txt
Minetest Redcrab Server 0.4.4 - Pyrite and Evergreens town - PPS (Pyrite Police Station) officer - PCS (Pyrite Car Shop)
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP
 

User avatar
Lukeking
Member
 
Posts: 54
Joined: Sun May 05, 2013 11:15
Location: Android Hell

by Lukeking » Thu Feb 20, 2014 17:47

rubenwardy wrote:
Novacain wrote:just noticed something. you list depends.txt as optional. it is a requirement for mods (I think).


It is not a requirement.

init.lua is the only requirement.

Lukeking wrote:I don't think so... only 16 lines of code (but for every syntax)


I probably did it the wrong way.

https://github.com/rubenwardy/VB_WebCreatorPro/blob/master/Multa%20Web%20Creater%20Pro/HtmlEditor.vb#L48

I just used following lines of code:
Code: Select all
PrivateSub RichTextBox1(),KeyDown(ByVal sender As System.Object, ByVal a As System.Windows.Forms.KeyEventArgs) Handles RichTextBox1.KeyDown
        If e.KeyCode = Keys.Space Then
            Dim SelectionLength As Integer = RichTextBox1.SelectionLength
            Dim SelectionStart As Integer = RichTextBox1.SelectionStart
            Dim Letter As String = String.Empty
            Do Until Letter = " " Or RichTextBox1.SelectionStart = 0
                RichTextBox1.SelectionStart -= 1
                RichTextBox1.SelectionLength += 1
                Letter = RichTextBox1.Text.Substring(RichTextBox1.SelectionStart, 1)
            Loop

            If RichTextBox1.SelectedText = "hello" Or RichTextBox1.SelectedText = " hello" Then
                RichTextBox1.SelectionColor = Color.Blue
            Else
                'do nothing
            End If
            RichTextBox1.SelectionStart = SelectionStart
            RichTextBox1.SelectionLength = 0
            RichTextBox1.SelectionColor = Color.Black
        End If
Minetest Redcrab Server 0.4.4 - Pyrite and Evergreens town - PPS (Pyrite Police Station) officer - PCS (Pyrite Car Shop)
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP
 

User avatar
philipbenr
Member
 
Posts: 1688
Joined: Fri Jun 14, 2013 01:56
Location: United States
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi

by philipbenr » Fri Feb 21, 2014 01:28

This is a good project, however, I am working on an online version for dev.minetest.net That is if the moderators accept it.
“Would it save you a lot of time if I just gave up and went mad now?”

“I'd far rather be happy than right any day.”

“What, are you, crazy?" "It's a possibility I haven't ruled out yet"
 

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

by rubenwardy » Fri Feb 21, 2014 17:24

philipbenr wrote:This is a good project, however, I am working on an online version for dev.minetest.net That is if the moderators accept it.


dev.minetest.net is a wiki. Not sure about putting it there.

Would be cool to create an online Scratch 2.0 atmosphere.
(All update notifications in one place)

Maybe allow running of mods via:

minetest_mod://mod_download_url_to_run?conf=and_maybe_some_settings
Last edited by rubenwardy on Fri Feb 21, 2014 17:24, edited 1 time in total.
 

Amaz
Member
 
Posts: 348
Joined: Wed May 08, 2013 08:26
GitHub: Amaz1
IRC: Amaz
In-game: Amaz

by Amaz » Fri Feb 21, 2014 17:42

Do you have any plans to make this available to download in the nearish future? It looks really good! (And will save me a load of work!)
 

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

Re: Minetest Mod Creator

by jojoa1997 » Mon Apr 28, 2014 12:55

Will a download be made for this.?
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
lightonflux
Member
 
Posts: 384
Joined: Mon Nov 11, 2013 07:22
Location: Germany
In-game: lof

Re:

by lightonflux » Mon Apr 28, 2014 18:56

Lukeking wrote:I'll make a german and english version first and on requests I also can add another language to it (maybe french, spanish)
Or I add a folder to it with *.LANG-files in it and in header a chance to change the languages


I recommend using transifex (continuous localisation server), then the community can easily translate the project.

Their software is FOSS and the service is free to use for open source projects.
 

User avatar
aldobr
Member
 
Posts: 316
Joined: Sun Nov 25, 2012 05:46

Re: Minetest Mod Creator

by aldobr » Sun May 25, 2014 01:42

We can try to make it using lazarus :

http://www.lazarus.freepascal.org

easy as visual basic, powerfull as C++ and the same exact code can run on linux, windows and mac with just a recompilaton.

ps.: It produces binary code in most platforms, besides android where it compiles to java bytecodes (generic java bytecode, can run on jre too).
 

User avatar
Zane
Member
 
Posts: 122
Joined: Fri Apr 19, 2013 20:28
Location: mars-JUST KIDDING!! XD
In-game: Zane

Re: Minetest Mod Creator

by Zane » Mon Jun 02, 2014 18:53

can you make it where you don't need to code? the mcreator is a minecraft mod maker that that doesn't need any knowlage of code.
perhaps you can do the same?
 

Shadowfire
New member
 
Posts: 1
Joined: Fri Jun 13, 2014 00:28
In-game: Shadowfire

Re:

by Shadowfire » Fri Jun 13, 2014 13:49

Lukeking wrote:
onpon4 wrote:I don't approve, because you're choosing to make it proprietary, and I can't use it anyway since it's Windows-only. Re-do it in something that works on GNU/Linux systems (maybe Qt; try the Qt Designer) and release it as free/libre software, and I would be interested.

1. it's version 0.1 !
2. maybe I'll teach myself python, so I can make it all-system-compatible

I'll make a german and english version first and on requests I also can add another language to it (maybe french, spanish)
Or I add a folder to it with *.LANG-files in it and in header a chance to change the languages



I agree with Onpon4. For crossplat form compatibility and ease of recreation, it would be wise to look in to and use QT5 and C++11. They work great together. Here is the link for both of them.

http://qt-project.org/wiki/Qt_5.0
http://woboq.com/blog/cpp11-in-qt5.html
C++11 actual website [url]http://www.stroustrup.com/C++11FAQ.html
[/url]

Videos of QT5 and C++11:
https://www.youtube.com/watch?v=HMcQM51FPFI --> QT5 Why you should be excited
https://www.youtube.com/watch?v=sajBj_eiH10 --> C++11 speed up QT5 programs
https://www.youtube.com/watch?v=BwXqJD-n2O0&list=PLS1QulWo1RIZjrD_OLju84cUaUlLRe5jQ --> QT C++ GUI

Hope this helps you out to make it availible for Mac and Linux as well.

Thanks,
-SF-
 

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

Re: Minetest Mod Creator

by rubenwardy » Fri Jun 13, 2014 19:12

C++ will probably be too advanced for him. Python will be more productive and easier.
 

User avatar
Wuzzy
Member
 
Posts: 3625
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: Minetest Mod Creator

by Wuzzy » Fri Jun 13, 2014 22:55

Quote from the screenshot:
You're not allowed to modify and sell this programme in any way.

What justifies this?
 

Next

Return to Minetest-related projects



Who is online

Users browsing this forum: No registered users and 9 guests