[mod] Spleef Arena [spleef_arena] [0.0.1

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

[mod] Spleef Arena [spleef_arena] [0.0.1

by jojoa1997 » Post

Spleef Arena is out.
There is a dirt spleef block, spleff block component, and a spleef stick. The component is supposed to hypothetically make the blocks weaker aka make them dig fast.

Here is a video of spleefing. http://m.youtube.com/watch?v=469pZ27Cn8c

Download:spleef_arena GitHub

License: Textures and code WTFPL

Changlog:
0.0.1 intitial release

the recipes are:C=component, D=dirt, G=glass, S=stick, X=nothing
spleef dirt-
DDD
DCD
DDD

spleef component-
GXG
XGX
GXG

spleef stick-(onec i make the items handle, hilt, and blade it will be changed.)
XCX
XSX
XSX
Last edited by jojoa1997 on Mon Jan 14, 2013 13:22, edited 1 time in total.
Coding;
1X coding
3X debugging
12X tweaking to be just right

Ragnar
Member
Posts: 849
Joined: Thu Oct 25, 2012 15:19
Location: Estonia
Contact:

by Ragnar » Post

WAY ahead of you! *Opens Notepad++*
Are you saying that I put an abnormal brain into a seven and a half foot long, fifty-four inch wide GORILLA?

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

by jojoa1997 » Post

Ragnar wrote:WAY ahead of you! *Opens Notepad++*
i already made a bunch of code from this tablet.
Coding;
1X coding
3X debugging
12X tweaking to be just right

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

by jojoa1997 » Post

Is it possible to have a spleef group
groups = {spleef=1},
Coding;
1X coding
3X debugging
12X tweaking to be just right

Ragnar
Member
Posts: 849
Joined: Thu Oct 25, 2012 15:19
Location: Estonia
Contact:

by Ragnar » Post

yeah
wait a sec...
strange, i saw it somewhere on the API page, but not anymore :/
it was something like this
minetest.register_group({
...
})
Last edited by Ragnar on Fri Jan 11, 2013 16:47, edited 1 time in total.
Are you saying that I put an abnormal brain into a seven and a half foot long, fifty-four inch wide GORILLA?

markveidemanis
Member
Posts: 211
Joined: Thu Sep 27, 2012 15:41

by markveidemanis » Post

The latest update of Building_Blocks adds a spleef stick, however it can destroy anything ( Literally like adminpick ) and as far as i know it is not functional in any other way. So maybe you can use what is currently in building blocks as your Starting Point and build upon that. Also, the textures used in building blocks are quite good, maybe at least use them if you are not going to use the code from it. So i suggest that you look at some of the code from it, but start from scratch, maybe using some of the textures and code along the way. Possibly you could ask sdzen to add your code to his mod.

What do you mean by Spleef-Block?
BitCoin: 1Eq4arvykGNa1YC2DbJpWcwGfMvtFGjAoR

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

by jojoa1997 » Post

markveidemanis wrote:The latest update of Building_Blocks adds a spleef stick, however it can destroy anything ( Literally like adminpick ) and as far as i know it is not functional in any other way. So maybe you can use what is currently in building blocks as your Starting Point and build upon that. Also, the textures used in building blocks are quite good, maybe at least use them if you are not going to use the code from it. So i suggest that you look at some of the code from it, but start from scratch, maybe using some of the textures and code along the way. Possibly you could ask sdzen to add your code to his mod.

What do you mean by Spleef-Block?
i just want a tool that can only dig spleef blocks.
Coding;
1X coding
3X debugging
12X tweaking to be just right

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

by jojoa1997 » Post

would this be it
minetest.register_group(spleef)
Coding;
1X coding
3X debugging
12X tweaking to be just right

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

by Likwid H-Craft » Post

Hmm, I think I made a group but, I have a Windows so IDK, if you own one as, jojoa1997 before I help you.
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

Windows 7
And help me with what
Last edited by jojoa1997 on Fri Jan 11, 2013 18:25, edited 1 time in total.
Coding;
1X coding
3X debugging
12X tweaking to be just right

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

by Likwid H-Craft » Post

With the Group I think there is, a way.

Few Min looking in Lua_api...

Well I found this.

Code: Select all

Groups
-------
In a number of places, there is a group table. Groups define the
properties of a thing (item, node, armor of entity, capabilities of
tool) in such a way that the engine and other mods can can interact with
the thing without actually knowing what the thing is.

Usage:
- Groups are stored in a table, having the group names with keys and the
  group ratings as values. For example:
    groups = {crumbly=3, soil=1}
    ^ Default dirt (soil group actually currently not defined; TODO)
    groups = {crumbly=2, soil=1, level=2, outerspace=1}
    ^ A more special dirt-kind of thing
- Groups always have a rating associated with them. If there is no
  useful meaning for a rating for an enabled group, it shall be 1.
- When not defined, the rating of a group defaults to 0. Thus when you
  read groups, you must interpret nil and 0 as the same value, 0.

You can read the rating of a group for an item or a node by using
  minetest.get_item_group(itemname, groupname)

Groups of items
----------------
Groups of items can define what kind of an item it is (eg. wool).

Groups of nodes
----------------
In addition to the general item things, groups are used to define whether
a node is destroyable and how long it takes to destroy by a tool.

Groups of entities
-------------------
For entities, groups are, as of now, used only for calculating damage.

object.get_armor_groups() -> a group-rating table (eg. {fleshy=3})
object.set_armor_groups({level=2, fleshy=2, cracky=2})

Groups of tools
----------------
Groups in tools define which groups of nodes and entities they are
effective towards.

Groups in crafting recipes
---------------------------
An example: Make meat soup from any meat, any water and any bowl
{
    output = 'food:meat_soup_raw',
    recipe = {
        {'group:meat'},
        {'group:water'},
        {'group:bowl'},
    },
    -- preserve = {'group:bowl'}, -- Not implemented yet (TODO)
}
An another example: Make red wool from white wool and red dye
{
    type = 'shapeless',
    output = 'wool:red',
    recipe = {'wool:white', 'group:dye,basecolor_red'},
}

Special groups
---------------
- immortal: Disables the group damage system for an entity
- level: Can be used to give an additional sense of progression in the game.
  - A larger level will cause eg. a weapon of a lower level make much less
    damage, and get weared out much faster, or not be able to get drops
    from destroyed nodes.
  - 0 is something that is directly accessible at the start of gameplay
  - There is no upper limit
- dig_immediate: (player can always pick up node without tool wear)
  - 2: node is removed without tool wear after 0.5 seconds or so
       (rail, sign)
  - 3: node is removed without tool wear immediately (torch)
- disable_jump: Player (and possibly other things) cannot jump from node
- fall_damage_add_percent: damage speed = speed * (1 + value/100)
- bouncy: value is bounce speed in percent
- falling_node: if there is no walkable block under the node it will fall
- attached_node: if the node under it is not a walkable block the node will be
                  dropped as an item. If the node is wallmounted the
                  wallmounted direction is checked.
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

I will most likely be posting the mod tomorrow.
Preview:
spleef blocks-can only be dug by spleef sticks
-types are dirt(the only one in the first release), desert sand, sand, gravel, leaves
spleef stick-digs only spleef blocks

recipes:
L=leaves, S=sticks, B=blade, H=handle, X=nothing, T=hilt, G=string, K=glass, C=spleef component

-string:
LLL
LSL
LLL

-blade:
LLL
XLX
LLX

-handle:
SSS
XSS
SXS

-hilt:
XSX
SSS
XSX

-spleef stick:
BHG
BHG
XTX

-spleef component
KXK
XKX
KXK

-block( #=one of the items below. the entire type though, L=leaves, G=gravel, S=sand, D=desert sand, A=dirt)
###
#C#
###

Help needed:
i need textures for everything in recipes except for the spleef block. keep in mind that the spleef stick pic will be a combination of all its parts.
Last edited by jojoa1997 on Sat Jan 12, 2013 16:16, edited 1 time in total.
Coding;
1X coding
3X debugging
12X tweaking to be just right

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

by Likwid H-Craft » Post

Well I will help you, but what you, like have for the sticks? and etc.
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

this is how i envision the hypothetical put together of the spleef stick
Before
LLL SSS
XLX XSS
LLL SXS

XSX
SSS
XSX
After
LLL
LSSS
LLLSS
SSS
SSS
S
Coding;
1X coding
3X debugging
12X tweaking to be just right

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

by jojoa1997 » Post

Likwid H-Craft wrote:Well I will help you, but what you, like have for the sticks? and etc.
Thanks.
For the textures i have in mind:
string- whatever looks like a string
blade-make it green and add a base to the blade
Image
handle-the shaft of an axe really(wood color)
Image
hilt-the handle really (it is leather colored)
Image
Spleef stick-i gonna have all the parts of it on the pick(i will do this one myself)
Coding;
1X coding
3X debugging
12X tweaking to be just right

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

by Likwid H-Craft » Post

NP.
So you like use the pics kind of, for the base of they look like.
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

Likwid H-Craft wrote:NP.
So you like use the pics kind of, for the base of they look like.
yeah also look at post 14 and see how i envision the working together
Coding;
1X coding
3X debugging
12X tweaking to be just right

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

by jojoa1997 » Post

spleef blocks 0.0.1 is out
Coding;
1X coding
3X debugging
12X tweaking to be just right

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

by jojoa1997 » Post

spleef blocks 0.1 is out
Coding;
1X coding
3X debugging
12X tweaking to be just right

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

by jojoa1997 » Post

Anyone have textures
Coding;
1X coding
3X debugging
12X tweaking to be just right

User avatar
Aqua
Member
Posts: 641
Joined: Wed Aug 22, 2012 09:11
Location: Sydney~Singapore
Contact:

by Aqua » Post

Maybe you should add what 'Spleefing' is about and post some screenshots.
Hi there ^.~

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

by jojoa1997 » Post

I will add the screenshots when I get home. Here is a link to a video. http://m.youtube.com/watch?v=469pZ27Cn8c
Coding;
1X coding
3X debugging
12X tweaking to be just right

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 32 guests