Author Topic: [XP] NAM's Achievement Logger v1.01  (Read 10938 times)

Offline tSwitch

  • The Haunting
  • Chaos User
  • ******
  • Posts: 1447
  • LV: 1046
  • Gender: Female
  • formerly NAMKCOR
    • View Profile
[XP] NAM's Achievement Logger v1.01
« on: April 24, 2009, 01:43:35 AM »
NAM's Achievement Logger
Authors: NAMKCOR
Version: 1.01
Type: Utility
Key Term: Misc System

Introduction

Fairly simple script, it's a backbone for an Achievement system, much like the 360 or PS3.
NOTE: AT THIS TIME THERE IS -NO- SCENE INCLUDED, IT IS -ONLY- THE SYSTEM ITSELF.

Features

  • Plug and play
  • Saves Achievement data externally, no need to load a game to view!

Screenshots

No screenshots, since I haven't made a scene for it.

Demo

No demo yet.

Script

(click to show/hide)

(click to show/hide)

(click to show/hide)

To use the above scene/window in your game, be sure to use the following code segment when activating the window from the title/menu/anywhere else, so that it doesn't bug, and so that when you exit the scene it returns to where you came from

Code: [Select]
$game_achievements.set_scene($scene.class)
$scene = Scene_Achievement.new

Warning: the default menu does -not- like the 'call script' command.


Instructions

Instructions are in the comments section of the script.

Compatibility

No known compatibility issues.

Credits and Thanks

  • NAMKCOR
  • Game_Guy, for motivating me to make a script for a change
  • Blizzard, for his help with loading files

Author's Notes

Contact:
Should you encounter a bug or incompatibility with this script,
e-mail NAMKCOR at Rockman922@hotmail.com, or message at
http://www.rmrk.net or http://www.chaos-project.com/

This script was designed for use and distribution only on
The RPG Maker Resource Kit (RMRK) and Chaos Project.
If this script is found posted on any other website, it is STOLEN
and it is advised to contact NAMKCOR at the above methods.

Attribution-Noncommercial-Share Alike 3.0 Unported

 
By using this work you agree to be bound by the aforementioned lisence
« Last Edit: May 14, 2009, 04:23:12 PM by Elite Four NAMKCOR »

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: tSwitch.us | Twitter | Tumblr

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6591
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] NAM's Achievement Logger v1.00
« Reply #1 on: April 24, 2009, 01:55:30 AM »
I like it. I'm guessing this'll be easier to use than my script at least til my next update. All you gotta do is make items and add them to party. But cool *powers up*

Offline tSwitch

  • The Haunting
  • Chaos User
  • ******
  • Posts: 1447
  • LV: 1046
  • Gender: Female
  • formerly NAMKCOR
    • View Profile
Re: [XP] NAM's Achievement Logger v1.00
« Reply #2 on: April 24, 2009, 01:56:57 AM »
I like it. I'm guessing this'll be easier to use than my script at least til my next update. All you gotta do is make items and add them to party. But cool *powers up*

well, make the items, then use the script call to add them yeah.
The script does the rest :)

You can even call the Achievement scene from the title menu, so you can have Achievements like "beat the game on [easy/medium/hard] difficulty" and other fun ones :)
« Last Edit: April 24, 2009, 02:57:09 PM by NAMKCOR »

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: tSwitch.us | Twitter | Tumblr

Offline Mightylink

  • Transcended Spirit
  • ***
  • Posts: 216
  • LV: 6
  • Gender: Male
  • There is no spoon...
    • View Profile
    • ZVC Studio's
Re: [XP] NAM's Achievement Logger v1.00
« Reply #3 on: April 24, 2009, 02:06:46 AM »
Nice to see people finally realizing this is the future of gaming. Can't wait to see whos script turns out better.

Offline tSwitch

  • The Haunting
  • Chaos User
  • ******
  • Posts: 1447
  • LV: 1046
  • Gender: Female
  • formerly NAMKCOR
    • View Profile
Re: [XP] NAM's Achievement Logger v1.00
« Reply #4 on: April 24, 2009, 02:19:14 AM »
Nice to see people finally realizing this is the future of gaming. Can't wait to see whos script turns out better.

The only real difference between ours is that mine does a lot more of the work for you, and allows more freedom as far as where you can call the scene, and the kinds of achievements you can make.

lol.

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: tSwitch.us | Twitter | Tumblr

Offline fugibo

  • World Conqueror
  • Chaos User
  • ******
  • Posts: 1966
  • LV: 44
    • View Profile
Re: [XP] NAM's Achievement Logger v1.00
« Reply #5 on: April 25, 2009, 02:45:53 AM »
Actually, its more like the past. Don't you remember "High Scores?"

Offline Tazero

  • Blows jobs for custom titles
  • Chaos User
  • ******
  • Posts: 1180
  • LV: -45
  • Gender: Male
  • Asleep but flying high
    • View Profile
Re: [XP] NAM's Achievement Logger v1.00
« Reply #6 on: April 25, 2009, 04:47:22 AM »
[OFFTOP.] So i got over my 666 post count[/ot]

*claps* nice very very nice...when you get an achievment is it possible to make an image pop up for a certain number of frames then fade out? Like it's animated we give the base image(s) then 'text' appears on the base?


If you were a fish...

Offline Mightylink

  • Transcended Spirit
  • ***
  • Posts: 216
  • LV: 6
  • Gender: Male
  • There is no spoon...
    • View Profile
    • ZVC Studio's
Re: [XP] NAM's Achievement Logger v1.00
« Reply #7 on: April 25, 2009, 05:42:59 AM »
I think you would be able to do that with an event, run whatever you like and have the extra add achivement line at the end :)

Offline Diokatsu

  • Wind God
  • Lexima Warrior
  • *******
  • Posts: 2805
  • LV: 52
  • Gender: Male
  • Fuck yes.
    • View Profile
Re: [XP] NAM's Achievement Logger v1.00
« Reply #8 on: April 25, 2009, 07:50:36 PM »
Lovely. Just lovely. :3

Offline tSwitch

  • The Haunting
  • Chaos User
  • ******
  • Posts: 1447
  • LV: 1046
  • Gender: Female
  • formerly NAMKCOR
    • View Profile
Re: [XP] NAM's Achievement Logger v1.00
« Reply #9 on: April 26, 2009, 02:17:19 AM »
I think you would be able to do that with an event, run whatever you like and have the extra add achivement line at the end :)

show picture
move picture (make it show up)
wait
move picture (make it go away)
erase picture
$game_achievements.achieve(item_id)

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: tSwitch.us | Twitter | Tumblr

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6591
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] NAM's Achievement Logger v1.01
« Reply #10 on: May 07, 2009, 02:03:04 AM »
Lol I tested this and it only saves one achievement to the log. I made it achievements.txt for file and I opened it and it only saves teh last achievement that was achieved.

Offline tSwitch

  • The Haunting
  • Chaos User
  • ******
  • Posts: 1447
  • LV: 1046
  • Gender: Female
  • formerly NAMKCOR
    • View Profile
Re: [XP] NAM's Achievement Logger v1.01
« Reply #11 on: May 14, 2009, 04:06:32 AM »
added v1.01 to the topic and upated it with a default window/scene achievement, plus instructions on how to call the achievements scene properly.

Lol I tested this and it only saves one achievement to the log. I made it achievements.txt for file and I opened it and it only saves teh last achievement that was achieved.

go play Anima, as you unlock achievements they all get saved properly.
I don't feel like explaining how it works right now, but it does, I've done exactly by my instructions how to use the system, and in Anima the achievements work flawlessly.

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: tSwitch.us | Twitter | Tumblr

Offline BlackStatic

  • Trained Member
  • *
  • Posts: 46
  • LV: 3
  • Gender: Male
  • I'm a machine, But I'm a funny color...
    • View Profile
Re: [XP] NAM's Achievement Logger v1.01
« Reply #12 on: July 13, 2009, 11:44:45 AM »
(call event script)

What do I put in that?

I set everything up, but it doesn't give me the achievement, possibly because i don't know what to put in that parentheses.
"A dead thing can go with the stream, but only a living thing can go against it..."

Offline Aqua

  • Lexima Warrior
  • *******
  • Posts: 2554
  • LV: 118
  • Gender: Female
  • Quack!
    • View Profile
Re: [XP] NAM's Achievement Logger v1.01
« Reply #13 on: July 13, 2009, 06:26:57 PM »
Quote
Code: [Select]
#   - To give the player an achievement, call the function:
#     $game_achievements.achieve(ITEM_ID)
#     (script event call)
#     where ITEM_ID is the ID of the achievement you are giving the player.

Didja read the instructions???