Author Topic: [XP] Item Rarity/Rating  (Read 9120 times)

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
[XP] Item Rarity/Rating
« on: May 24, 2009, 06:00:03 PM »
Item Rarity/Rating
Authors: game_guy
Version: 1.5
Type: Item Rating Script
Key Term: Custom Item System

Introduction

In some games I've seen Item Ratings or Rarity's etc. This script mimics that.
I use this for item rarity on how hard it is to find an item. It can be used to
rate items though on how good they are.

Features

  • Gives items "Stars" times the amount of its rating/rarity

Screenshots

(click to show/hide)

Demo

NEW DEMO 1.5
Demo 1.5

Script

(click to show/hide)

Instructions

And do change the name of the icon to your liking where it says
IconName = "icon name here between quotes"

Go to # BEGIN CONFIG and type this below that line
when item_id then return rarity/rating

Make sure to do it for each type: Items, Weapons, and Armors

Icon Used in Screenie if you want it


Compatibility

Not tested with SDK. Wont work with other Custom Item Systems.

Credits and Thanks

  • game_guy - For making it
  • Ryexander - Helping my understand the bitmap displayed in windows

Author's Notes

Give credits if used and enjoy!
« Last Edit: July 22, 2009, 10:42:47 PM by game_guy »

Offline Sally

  • Sallygirl :P
  • Chaos User
  • ******
  • Posts: 1283
  • LV: 12
  • Gender: Female
    • View Profile
Re: [XP] Item Rarity/Rating
« Reply #1 on: May 24, 2009, 06:46:35 PM »
just like fable! is it easy to set-up?

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Item Rarity/Rating
« Reply #2 on: May 24, 2009, 06:47:34 PM »
Its easy as long as you read the instructions and its pretty easy just gotta define the items.

when item_id then rating/rarity

EDIT:
Updated it and fixed a major bug I found
« Last Edit: May 25, 2009, 12:24:17 AM by game_guy »

Offline Xuroth

  • Awakened Visionist
  • **
  • Posts: 82
  • LV: 6
  • Gender: Male
  • *smite!* oops...
    • View Profile
Re: [XP] Item Rarity/Rating
« Reply #3 on: May 25, 2009, 07:25:34 PM »
It would be cool if you could display both or have each (rarity AND rating) built into the script as toggled functions. basically, my idea is this: The name of the object is colored to indicate rarity (and have option in script to turn this part off) while the user can either use the icons like you, or use a icon for each rating(have ability to turn this part off, too) for example, i fry a boss in your game, and get a Gold Spear its better than other Spears because its stats so it would have a higher rating. It would also be much more rare than an average spear. and the name displayed would just be 'Spear' but in gold coloring... just an idea, i doubt you'll like it

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Item Rarity/Rating
« Reply #4 on: May 25, 2009, 07:57:57 PM »
I might do it for my next update. Good idea by teh way!

Offline Xuroth

  • Awakened Visionist
  • **
  • Posts: 82
  • LV: 6
  • Gender: Male
  • *smite!* oops...
    • View Profile
Re: [XP] Item Rarity/Rating
« Reply #5 on: May 25, 2009, 08:10:02 PM »
ty cant wait to try out those features (if you do decide to use them)



 

Offline Calintz

  • Guardian of Chaos
  • ********
  • Posts: 3803
  • LV: 108
  • Gender: Male
  • A Pixel's Worst Nightmare
    • View Profile
Re: [XP] Item Rarity/Rating
« Reply #6 on: May 25, 2009, 11:25:35 PM »
Hey Game_Guy ...
Can I make a request for an aesthetics upgrade for this script?

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Item Rarity/Rating
« Reply #7 on: May 25, 2009, 11:29:32 PM »
Depends. Last time you said that in my script I tried it and was never able to do it xD

Post your idea.

Offline Calintz

  • Guardian of Chaos
  • ********
  • Posts: 3803
  • LV: 108
  • Gender: Male
  • A Pixel's Worst Nightmare
    • View Profile
Re: [XP] Item Rarity/Rating
« Reply #8 on: May 25, 2009, 11:30:20 PM »
Nah, this is different. Just adding windows, and moving windows.

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Item Rarity/Rating
« Reply #9 on: May 25, 2009, 11:39:46 PM »
Well go ahead and post your idea

Offline Calintz

  • Guardian of Chaos
  • ********
  • Posts: 3803
  • LV: 108
  • Gender: Male
  • A Pixel's Worst Nightmare
    • View Profile
Re: [XP] Item Rarity/Rating
« Reply #10 on: May 26, 2009, 12:19:53 AM »
Okay, start by putting the help window at the bottom of the screen, and where the help window currently is ... add a new window(the same size) and if you wanted to, split it in half. 2windows at 240, or one at 480, it doesn't really matter.

Anyway, in the top window to the left, add the text "Item" or "Item Name," and on the right side, directly above where the stars begin, add the text "Rarity" or whatever.

Finally ... Slide the stars over like 32pixels, and to the left of them, add the abbreviation "LV" to all of them, and so on ...

I think these few things would help the appearance of the script.
« Last Edit: May 26, 2009, 12:21:05 AM by Calintz16438 »

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Item Rarity/Rating
« Reply #11 on: May 26, 2009, 12:28:18 AM »
Well I'll work on it when I have time. I do agree it would help thnx calintz.

Offline Calintz

  • Guardian of Chaos
  • ********
  • Posts: 3803
  • LV: 108
  • Gender: Male
  • A Pixel's Worst Nightmare
    • View Profile
Re: [XP] Item Rarity/Rating
« Reply #12 on: May 26, 2009, 12:31:23 AM »
Of course.
No problem ...

I look forward to seeing it if you decide to do it.

BTW:
I on the other hand must go work on the Well in the Woods.

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Item Rarity/Rating
« Reply #13 on: July 22, 2009, 10:43:14 PM »
@calintz: Added it the way you said except the level.

Updated to 1.5