$D13x - Badges (achievements)

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,513
Reaction score
3,202
First Language
Binary
Primarily Uses
RMMZ
$D13x - Badges (achievements)
Dekita


Introduction

Replicates the 'badges' system from pokemon games.

for a full description open the spoiler...

This script was inspired by Pokemons 'Badges' system. Cause I could, I made a script to recreate it (this script) and when I had done that, I made it a MUCH more powerful feature...

Obviously, the standard pokemon badge system is a widely known feature; however, for those that do not know this system - a badge is basically an achievement that is gained throughout the course of gameplay.

Badges are not only for showing off, they can also be used to control various aspects of your game... Dramatically...

In pokemon, you would not be able to use certain HM's (items) if you did not have [x] badge. Therefore, I have included the ability to restrict item usage when certain badges have not yet been obtained.

You can also restrict skills being used and weapons/armor from being equipped. This restriction is automatic and you must gain the badge before it is lifted.

Obviously, being able to use an item/skill/weapon or armor after gaining a badge is great, but what if you want a badge to toggle a switch, modify a variable, give gold / items / weapons / armor or maybe even run a custom script call... Well... It can!

Another feature within the pokemon badge system, in earlier generations, was that your pokemons stats would increase if you owned [x] badge.
This could be done by doing a simple script call to increase each party members stats; maybe something along the lines of;
"$game_party.members.each {|m| m.add_param(id) }"
- Alternatively, you can have stats increase and learn skills for all members.
eg. badge 1 gives 50mhp, when badge one has been earned, all party members will always gain 50mhp. Regardless of when they joined the party.

Use simple script calls to gain badges and unlock the rewards.
But wait, what if you dont want to use script calls to gain badges? Well... You dont have to...

Depending on the badge's settings, you can enable it to track a certain object (such as a variable/switch/your own code) and once the 'gain badge' condition has  been met the achievment will automatically unlock.

Couple this with some of my other scripts - such as Actor Effect Blocks/ Gold Tracker/ Items Tracker and you can enable badges to unlock when the player has performed certain actions throught gameplay, such as; winning fights, fleeing battle, dying, leveling, after party has earned / spent [x] amount of gold or even when party has used [x] amount of [x] item.
Features
- See spoiler above.

Screenshots



How to Use

Place under materials and above main.

Full instruction within the script.

Demo

Master Demo link on my blog will be updated shortly to include this script

Script

SCRIPT LINK

CORE SCRIPT <- Required!!

FAQ

NONE

Credit and Thanks
- Dekita / Dekita-RPG

- Nintendo / Pokemon too i guess for giving me the idea...

Author's Notes
Ok, you can stop drueling now...
 
Last edited by a moderator:

ShinGamix

DS Style 4Ever!
Veteran
Joined
Mar 18, 2012
Messages
3,905
Reaction score
451
First Language
April Fools
Primarily Uses
N/A
Great script pal.

(You may need to add the link ot the required core script to the topic also though!)
 

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,513
Reaction score
3,202
First Language
Binary
Primarily Uses
RMMZ
Great script pal.

(You may need to add the link ot the required core script to the topic also though!)
Added a link to the core script just cause u suggested it.

Most of my scripts require the core script anyway - at least any script that has a visual component. :)

Very cool! Luv it! :)
Glad you like it :)

Edit:

done a quick bugfixx for a small typo that was found and causing error :)
 
Last edited by a moderator:

Solo

Veteran
Veteran
Joined
Jul 26, 2013
Messages
1,104
Reaction score
154
First Language
English
Primarily Uses
RMVXA
This has some amazing potential.


What are the terms of use, though (free, commercial, etc.)?


EDIT: Nevermind, sorry, I just read the terms. Anyway, you should be proud of this!
 
Last edited by a moderator:

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,513
Reaction score
3,202
First Language
Binary
Primarily Uses
RMMZ
@Solo,

Thanks. I do agree that there is quite alot of potential within this script. It just takes a while to customize :p

I am currently updating my commercial usage list and terms of use for all my scripts - and updating the layout of scripts on my blog to me alot clearer about each scripts individual terms :)

Edit:

Just done a small bugfixx for some typos in the code. Thats what happens when your sleep deprived :D
 
Last edited by a moderator:

JohnnyR

Dungeon Master
Restaff
Joined
Mar 27, 2013
Messages
275
Reaction score
135
First Language
English
Primarily Uses
RMMV
@Dekita, I said this once, but I'll say it again: I LOVE YOU, YOU AWESOME CREATURE!!!! I've been looking for this since I started my game!!! I still can't believe you did it!! *---*

I now believe 100% in what you said, about the $D13x Engine being infinite and that all of it's scripts work better together! 

Anyway, thank you so much for this, keep up the amazing work!!! :D
 

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,513
Reaction score
3,202
First Language
Binary
Primarily Uses
RMMZ
@JohnnyR

I wouldnt say its 'infinite' as it only has around 100,000 lines of code, which is clearly a limitation ^_^

But yea when you add more scripts from the engine it really adds to the functionality of each of the scripts used. I am pleased that you have finally found a script that does what you wanted :)
 

onekksu

onekksu
Veteran
Joined
Oct 13, 2018
Messages
36
Reaction score
16
First Language
German
Primarily Uses
RMMV
Thats great man! Maybe I am going to use it :p
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,986
Members
137,561
Latest member
visploo100
Top