Page 1 of 2
[Achievement] Achievement [Planing]

Posted:
Sun Feb 10, 2013 03:04
by Likwid H-Craft
Why we don't have Achievement?? well why don't we have some and, make ours own, and have a Achievement Gen, like Minecraft all we have to do is make a html page for it, to work.
Heres the first, Achievement I made so far for the MESE Achievements List, and we should have something Other then Minecraft Achievement Get!
------
MESE
------



Posted:
Sun Feb 10, 2013 03:18
by jojoa1997

Posted:
Sun Feb 10, 2013 10:58
by 4aiman
We need Lua to be able to draw on screen for this. Otherwise achievements would be lame.
We can create achievement map in the user menu, using smth like specialties, but I'm sure that player should know when he unlocks one of the achievements.
There is a branch of MT (github) with custom HUD, but I can't find it atm.

Posted:
Sun Feb 10, 2013 17:26
by Likwid H-Craft
Well I see what, I can do with Lua. maybe xyz next build or, c55 will add so.

Posted:
Sun Feb 10, 2013 19:19
by Bas080
So achievements can be unlocked when punching, after digging(certain amount?), should also apply to entities (do entities have after_dig trigger?). Each achievement consists out of XP amount, some text and an image. Once achievement has been unlocked, it cannot be re-unlocked.
What about a mod with an API so other mods can implement achievements into their mods. A function like this should be sufficient.
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
achievement("description", "image_image", "dig or punch", xp)
It is also advised to have an overview of what there is to be unlocked.
It would indeed still require a draw to window feature in the LUA mod API or maybe hacky use of entities.
I like the idea because it gives new players some guidelines for what is possible in the game, or the mod they just downloaded.

Posted:
Sun Feb 10, 2013 19:34
by Likwid H-Craft
Yeah making achievements, in Lua be fun once we, get it working.
But we should have the achievements as, a system in the game/Game_Name/Mod if can.

Posted:
Sun Feb 10, 2013 20:53
by Likwid H-Craft
Ok I am thinking on making this but I need alot of help. and I was thinking for now maybe for the beta we, have a inventory page for it.

Posted:
Sun Feb 10, 2013 20:57
by 4aiman
Feel free to ask here all you need. I'll help with all I can :)

Posted:
Sun Feb 10, 2013 21:09
by Likwid H-Craft
Well I think we can make a page on unified inventory for the Achievement Beta, so we can add alot stuff to it, and we need to program it to have a Achievement Page or, RealBadAngel can.
But so far I am making the Achievements Textures so when we make the, Page it pop ups like items or something, and we maybe can have it pop up on HUD when unlocked. and have xp etc. if so. but we should have the, Achievements in a new .lua like bags so players can easy to make own.

Posted:
Mon Feb 11, 2013 16:44
by rubenwardy
This should not be in "Minetest-related projects" it should be in modding general.

Posted:
Mon Feb 11, 2013 18:22
by Sokomine
Formspecs can be displayed to players from lua code in newer versions - not just after clicking on a node. This might be helpful for your achievement system. See the trader from mobf as an example.

Posted:
Mon Feb 11, 2013 18:58
by 4aiman
Thanks Sokomine!
You've stirred me to dig some docs ;)
I checked API once more and here what I suggest:
- Create detached inventory for each online player
- Make that detached inventory have transparent background
- Create a table with "achievements"
- Make functions like minetest.register_on_dignode change values in that table
- Check contents of that achievement table in the minetest.register_globalstep function
- On a certain condition show detached inventory to a user using minetest.show_formspec
- Detached inventory should consist of a close button, achievement icon and a "map" of achievements
- "Map" can be made of nodes' images
- Detached inventory should be protected from picking things from it

Posted:
Tue Feb 12, 2013 23:57
by ray8888
Likwid H-Craft wrote:Why we don't have Achievement?? well why don't we have some and, make ours own, and have a Achievement Gen, like Minecraft all we have to do is make a html page for it, to work.
Heres the first, Achievement I made so far for the MESE Achievements List, and we should have something Other then Minecraft Achievement Get!
------
MESE
------


why would you think of minecraft this is minetest make things not minecraft related!

Posted:
Wed Feb 13, 2013 00:05
by Tester 2502
Hmm, minecraft was not the first game to have Achievement.
And I think we should go out of the Gaming Box and make something no one ever made...YEAH THAT RIGHT!

Posted:
Wed Feb 13, 2013 09:58
by 4aiman
Achievements are there to teach how to play.
If one had never ever played in smth like minetest, then he/she really needs this to discover all the things by themselves without thinking "Oh, just **** this **** **! I'll just use /giveme and get whatever I want without learning how to craft that!"

Posted:
Wed Feb 13, 2013 11:23
by ray8888
4aiman wrote:Achievements are there to teach how to play.
If one had never ever played in smth like minetest, then he/she really needs this to discover all the things by themselves without thinking "Oh, just **** this **** **! I'll just use /giveme and get whatever I want without learning how to craft that!"
if thats how you want to play but if something was going to be made thats like this it should not have ties to mine craft or a other game so its a new idea. did think it needed because there is a in game crafting gide and i think you can look up the default on minetest.net.

Posted:
Wed Feb 13, 2013 11:47
by 4aiman
ray8888 wrote:if thats how you want to play but if something was going to be made thats like this it should not have ties to mine craft or a other game so its a new idea. did think it needed because there is a in game crafting gide and i think you can look up the default on minetest.net.
If some one do not need this, then... yep - do not have to install this mod.

Posted:
Fri Feb 15, 2013 20:37
by Mito551
The cool thing would be to say: Test completed: such and such.

Posted:
Fri Feb 15, 2013 22:34
by BrandonReese
I think the achievements mod should supply a framework for an achievement system. Then mods as they are installed add their own achievements to the system.

Posted:
Sat Feb 16, 2013 12:46
by 4aiman
BrandonReese wrote:I think the achievements mod should supply a framework for an achievement system. Then mods as they are installed add their own achievements to the system.
Smth like
Bas080 wrote:achievement("description", "image_image", "dig or punch", xp)
but with additional "requirement achievements" table as an additional param

Posted:
Sat Feb 16, 2013 15:59
by rubenwardy
Have you started work on the coding yet?
I might have a try.

Posted:
Sat Feb 16, 2013 16:06
by Likwid H-Craft
Sure go head I am thinking on have a menu for it like when you hit a key, like maybe Something I don't know yet but you, are welcome to try build the code.

Posted:
Fri Feb 22, 2013 09:17
by Gambit
I worry it could be abused in some way, or setup to being too easy. In Minecraft, just punch out one block of wood and you get an achievement right away. Which sucks and is kinda lame.
A real achievement would be something that takes time such as:
Test Unlock~
- "Lumber Jack" - Cutting 100 tree blocks.
- "Light It Up" - Place 100 torches.
- "Survivalist" - Survive the world without the use of Chest or Furnace for 50 day cycles.
Just to name a few. Challenges like the old days of gaming. Honestly, the ways things are so easy to get in games kinda sickens me.

Posted:
Fri Feb 22, 2013 12:00
by jojoa1997
there is a way to do this. It is already implemented on minetest.org 30002
here is the download to the game.
Sky BlockIf i remember correctly the mod is called skyblock and it has levels 1-4

Posted:
Fri Feb 22, 2013 14:11
by Chinchow
Gambit wrote:I worry it could be abused in some way, or setup to being too easy. In Minecraft, just punch out one block of wood and you get an achievement right away. Which sucks and is kinda lame.
A real achievement would be something that takes time such as:
Test Unlock~
- "Lumber Jack" - Cutting 100 tree blocks.
- "Light It Up" - Place 100 torches.
- "Survivalist" - Survive the world without the use of Chest or Furnace for 50 day cycles.
Just to name a few. Challenges like the old days of gaming. Honestly, the ways things are so easy to get in games kinda sickens me.
II completely agree and some more ideas.
1. Lasted 50 days without dying=Living Life
2. Collected 10 lava buckets=Get it while its hot!
3. Mined 10000 stone=Massive miner
4. Mined 1000 stone=Adequate Miner
5. Mined 100 stone=Mini Miner
6. Mined 10 stone=Just entered the mine

Posted:
Fri Feb 22, 2013 14:47
by Traxie21
This could be really easy. We just need a way to display the Achievements.

Posted:
Fri Feb 22, 2013 16:08
by Jordach
-!- Server: Achievement Unlock: PLAY MINETEST!

Posted:
Fri Feb 22, 2013 16:15
by rubenwardy
I have started work on this.

Posted:
Fri Feb 22, 2013 16:20
by Chinchow
I think there should be achievements that are like levels for others like the miner achievements in my previous post.

Posted:
Fri Feb 22, 2013 17:45
by Traxie21
I have a working prototype for this. At the moment, achievements are reset when the game is restarted, and the only types of achievements are a breaking/placing achievements.
They are displayed like this ATM: Server: -!- Achievement Unlocked: [Achievement_Name]
Heres a snippet of how to register an achievement.
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
achievements.register_achievement({
type = "breaking",
name = "Average Miner",
block = "default:stone",
dig_amount = 1000,
})
achievements.register_achievement({
type = "placing",
name = "Novice Builder",
block = "default:planks",
place_amount = 100,
})