Making a program to help making of mods/games

User avatar
IPushButton2653
Member
 
Posts: 666
Joined: Wed Nov 16, 2011 22:47

by IPushButton2653 » Mon Apr 02, 2012 22:48

Pretty cool. Crude, but cool. It would sure help with a few mods I did a while back ^.^
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Mon Apr 02, 2012 23:15

it doesn't work yet
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Tue Apr 03, 2012 00:18

ok, for now, I'm going to remove top/bottom faces, so that there would be only one face that would be the same for the whole block
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

User avatar
Death Dealer
Member
 
Posts: 1379
Joined: Wed Feb 15, 2012 18:46

by Death Dealer » Tue Apr 03, 2012 03:47

lkjoel wrote:ok, for now, I'm going to remove top/bottom faces, so that there would be only one face that would be the same for the whole block

for now??? is the feature going to be added at a later time?
Last edited by Death Dealer on Tue Apr 03, 2012 05:51, edited 1 time in total.
Keep calm and code python^_^
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

by Jordach » Tue Apr 03, 2012 09:25

it will be death. it will be.

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

User avatar
jordan4ibanez
Member
 
Posts: 1865
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Tue Apr 03, 2012 12:43

when will we be seeing this? any time this week?
If you can think it, you can make it.
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Tue Apr 03, 2012 15:50

Death Dealer wrote:
lkjoel wrote:ok, for now, I'm going to remove top/bottom faces, so that there would be only one face that would be the same for the whole block

for now??? is the feature going to be added at a later time?

totally. It's just that I do not know how that kind of thing works (c55's LUA docs are terrible). I will look up his code sometime or another, but first, I need to finish the basic code.
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Tue Apr 03, 2012 15:52

jordan4ibanez wrote:when will we be seeing this? any time this week?

I can't really give a date, but I don't think this week.
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

User avatar
Death Dealer
Member
 
Posts: 1379
Joined: Wed Feb 15, 2012 18:46

by Death Dealer » Tue Apr 03, 2012 16:01

lkjoel wrote:
Death Dealer wrote:
lkjoel wrote:ok, for now, I'm going to remove top/bottom faces, so that there would be only one face that would be the same for the whole block

for now??? is the feature going to be added at a later time?

totally. It's just that I do not know how that kind of thing works (c55's LUA docs are terrible). I will look up his code sometime or another, but first, I need to finish the basic code.

Ok cool:D
Keep calm and code python^_^
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Tue Apr 03, 2012 16:11

ok, I'm working on a bit of JSON, but this will take a lot of time, and I've still got to do some codework. If I tell any of you how to do it, could you help me?
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

User avatar
Death Dealer
Member
 
Posts: 1379
Joined: Wed Feb 15, 2012 18:46

by Death Dealer » Tue Apr 03, 2012 16:15

lkjoel wrote:ok, I'm working on a bit of JSON, but this will take a lot of time, and I've still got to do some codework. If I tell any of you how to do it, could you help me?

I will sure as hell try my hardest:D:D but if you tell me whats needs to be done and a the jist of how to do it i could figure it out.
Keep calm and code python^_^
 

User avatar
bgsmithjr
Member
 
Posts: 436
Joined: Thu Mar 08, 2012 23:21

by bgsmithjr » Tue Apr 03, 2012 16:18

lol, everything but the G.U.I.
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Tue Apr 03, 2012 16:40

OK, this is going to be tedious. I'm still working on a few template ones so that you can keep reference...
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Tue Apr 03, 2012 19:35

a lot of copy and paste will be needed lol
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

User avatar
Death Dealer
Member
 
Posts: 1379
Joined: Wed Feb 15, 2012 18:46

by Death Dealer » Tue Apr 03, 2012 19:36

lkjoel wrote:a lot of copy and paste will be needed lol

sounds like my skill levelXD lol jk
Keep calm and code python^_^
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Tue Apr 03, 2012 19:50

I added blocks.json to the repo, and then I'll add the file I want you to parse. I think you'll get it :)
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Tue Apr 03, 2012 19:53

My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Tue Apr 03, 2012 19:55

Blocks.json: https://github.com/lkjoel/minetest-modder/blob/d9924c7fa302f52e461efdce5ebea2d9d105c717/blocks.json. Remember, anything with 2 dashes (--) are comments, so the part after them until the end of the line are ignored (so please ignore them too).
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

User avatar
Death Dealer
Member
 
Posts: 1379
Joined: Wed Feb 15, 2012 18:46

by Death Dealer » Tue Apr 03, 2012 20:15

ill give it a shot^_^
Keep calm and code python^_^
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Tue Apr 03, 2012 20:23

oh, and one other thing. If there is no "inventory_image" property, please include it as the first image in "tile_images"
Last edited by lkjoel on Tue Apr 03, 2012 20:24, edited 1 time in total.
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Tue Apr 03, 2012 20:26

Maybe there could be a Way to import Blocks from other Mods
(init.lua -> modname.json)
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Tue Apr 03, 2012 20:42

I was thinking about that, but you know, I'm not as good with JS than grep/sed/awk. If you can figure out a way to do that, please let me know!
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

User avatar
Death Dealer
Member
 
Posts: 1379
Joined: Wed Feb 15, 2012 18:46

by Death Dealer » Tue Apr 03, 2012 20:44

lkjoel wrote:oh, and one other thing. If there is no "inventory_image" property, please include it as the first image in "tile_images"

alright will do, im almost done:D im not really not a coder but i giving this a shot.
Keep calm and code python^_^
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Tue Apr 03, 2012 20:47

awesome!
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Tue Apr 03, 2012 20:49

I think I'll have to rewrite the whole framework for the blocks to make this work :S
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

User avatar
Death Dealer
Member
 
Posts: 1379
Joined: Wed Feb 15, 2012 18:46

by Death Dealer » Tue Apr 03, 2012 21:20

ok i think this is right:D i included the inventory_image bit to.
http://www.mediafire.com/?xvzd3rt4dm2mb3b
if anything is wrong, sorry. i just looked at what there was and did my best to make it the same.
Keep calm and code python^_^
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Tue Apr 03, 2012 21:44

Mea culpa, I forgot to explain the basics lol. Here they are:
First, I'll give you an example, then I'll expalin it.
Original:
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("X", {
    Y = Z,
    A = B, (etc...)
})

New:
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
{
"name":"X",
"Y":"Z",
"A":"B", (etc...)
}

Brackets {} signify a new block/node. After that, = is replaced to :, and everything is in quotes (except for numbers and true/false). If there is no inventory_image option, set it to the first value of tile_images (look at the example below):
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
{
...
"tile_images":{"default_myblock.png","default_myblock_side.png"},
"inventory_image":"default_myblock.png"
...
}

Please append all of the new blocks/nodes to blocks.json

Is this clear? I'm not the best at explaining, so if it isn't clear enough, let me know (don't feel bad)
Last edited by lkjoel on Tue Apr 03, 2012 21:45, edited 1 time in total.
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

User avatar
Death Dealer
Member
 
Posts: 1379
Joined: Wed Feb 15, 2012 18:46

by Death Dealer » Tue Apr 03, 2012 21:50

lkjoel wrote:Mea culpa, I forgot to explain the basics lol. Here they are:
First, I'll give you an example, then I'll expalin it.
Original:
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("X", {
    Y = Z,
    A = B, (etc...)
})

New:
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
{
"name":"X",
"Y":"Z",
"A":"B", (etc...)
}

Brackets {} signify a new block/node. After that, = is replaced to :, and everything is in quotes (except for numbers and true/false). If there is no inventory_image option, set it to the first value of tile_images (look at the example below):
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
{
...
"tile_images":{"default_myblock.png","default_myblock_side.png"},
"inventory_image":"default_myblock.png"
...
}

Please append all of the new blocks/nodes to blocks.json

Is this clear? I'm not the best at explaining, so if it isn't clear enough, let me know (don't feel bad)

hey thanks:D this is something ive been trying to get into for awhile, ill try again. and thanks for all the help^_^
Keep calm and code python^_^
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Tue Apr 03, 2012 22:30

glad to know I explained it clearly this time lol! I'm thinking of splitting up the code, and using a different GUI framework (twitter's bootstrap)
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

User avatar
Death Dealer
Member
 
Posts: 1379
Joined: Wed Feb 15, 2012 18:46

by Death Dealer » Tue Apr 03, 2012 22:57

lkjoel wrote:glad to know I explained it clearly this time lol! I'm thinking of splitting up the code, and using a different GUI framework (twitter's bootstrap)

hmmm googled it, looks nice
Keep calm and code python^_^
 

PreviousNext

Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 5 guests

cron