Author Topic: [XP] Creation System  (Read 28865 times)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20005
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
[XP] Creation System
« on: May 09, 2008, 06:24:45 PM »
Creation System
Authors: Blizzard
Version: 1.5b
Type: In-game Weapon/Armor/Item Creation System
Key Term: Misc System

Introduction

This script allows you to create completely original Weapons, Armors and Items during the game. It is easy to set up, easy to use and has a very large number of possiblities.

This work is protected by the following license:
Quote
Creative Commons - Attribution-NonCommercial-ShareAlike 3.0 Unported
( http://creativecommons.org/licenses/by-nc-sa/3.0/ )

You are free:

to Share - to copy, distribute and transmit the work
to Remix - to adapt the work

Under the following conditions:

Attribution. You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).

Noncommercial. You may not use this work for commercial purposes.

Share alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

- For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to this web page.

- Any of the above conditions can be waived if you get permission from the copyright holder.

- Nothing in this license impairs or restricts the author's moral rights.

Features

  • create weapons, armors and items from scratch within the game
  • fully operational scenes for creation
  • special skills, normal attributes and material used determine the quality and attributes of created weapons, armors and items
v1.0b
  • added option for armors that allows changing the armor type
  • fixed crash bug that appeared when trying to set an Auto-State, but there is none available and the material menu wasn't entered yet
  • fixed crash bug with "set_stats"
  • now beta
v1.3b
  • fixed bug where created armors couldn't be equipped
  • fixed bug where attribute limit wouldn't apply
  • now it is possible to use armors and weapons as materials as well
  • improved coding
v1.31b
  • fixed bug where it wasn't possible to switch to the target animation selection window
v1.4b
  • fixed bug when trying to change the item hit rate
  • fixed bug where several item attributes wouldn't be limited
v1.5b
  • fixed bugs regarding level limitations and attribute appliance

Screenshots




Demo

Creation System

Script

Just make a new script above main and paste this code into it.
Script Download

Instructions

Inside the script in the first comment.

Compatibility

90% compatible with SDK 1.x. 80% compatible with SDK 2.x. WILL corrupt your old savegames. Can cause incompatibilty issues with following scripts:
  • weapon/armor level systems
  • ordinary crafting systems
  • custom targeting systems
  • exotic equipment systems

Credits and Thanks

  • Blizzard

Author's Notes

Please read the instructions, they contain important information.

If you find any bugs, please report them here:
http://forum.chaos-project.com

That's it! N-Joy! =D
« Last Edit: June 01, 2009, 08:18:25 PM by Blizzard »
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline diablosbud

  • Awakened Visionist
  • **
  • Posts: 73
  • LV: 1
    • View Profile
Re: [XP] Creation System
« Reply #1 on: May 11, 2008, 06:09:50 AM »
Hey this is the coolest script I have ever seen! Good job Blizzard this is sick. I was toying around with the demo testing this script and I caught an error. It happens on the item creation when I go to extras/variance and hit back (ESC). Here is the error: "Script ' (*) Creation System' line 2202: NoMethodError occurred.

undefined method 'set stats' for #<RPG::Item:0x3396358>". I hope you can fix this and I definitaly am using this in my game as special rewards and such for hard quests.

Offline shdwlink1993

  • Ethereal Devastator
  • ****
  • Posts: 435
  • LV: 63
  • Gender: Male
    • View Profile
    • YouTube Profile
Re: [XP] Creation System
« Reply #2 on: May 11, 2008, 06:52:12 AM »
HOLY ****, THIS IS INCREDIBLE! :o :o :o :o :o

I- This thing lets you make a completely new item!!! This is amazing! I get lightheaded just thinking about it! It's an item generator! How sweet is this? Awesome! :D
Stuff I've made:

(click to show/hide)

"Never think you're perfect or else you'll stop improving yourself."

"Some people say the glass is half full... some half empty... I just wanna know who's been drinking my beer."

Offline diablosbud

  • Awakened Visionist
  • **
  • Posts: 73
  • LV: 1
    • View Profile
Re: [XP] Creation System
« Reply #3 on: May 11, 2008, 03:41:41 PM »
Someone should make a skill version of this that would be soooo, sweet!

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20005
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Creation System
« Reply #4 on: May 12, 2008, 08:55:51 AM »
@diablosbud: I know, Zeriab already reported that. I also forgot to add that you can define the armor type under "Extras" in the armor screen. I might put a skill plugin up somewhere later or actually integrate it into this script. Now you can all go and copy Morrowind and Oblivion with their creation systems. :3

@shdwlink1993: I know. :P I took a day off last weekend (the one 7 days ago) to finally finish this script. It took a day and it was only the last 20%, maybe 30% of the script. This script took a lot of time to make. No wonder it has more than 2000 lines of code, that's almost as much as my CMS.
« Last Edit: May 12, 2008, 08:58:31 AM by Blizzard »
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Caro Ru Lushe

  • Blizzard's Slave Fairy
  • Ethereal Devastator
  • ****
  • Posts: 339
  • LV: 15
  • Gender: Female
  • The right to become a god is mine alone
    • View Profile
Re: [XP] Creation System
« Reply #5 on: May 12, 2008, 09:25:06 AM »
(click to show/hide)

All i all, I love it, Easier for me to no worry about making 100x of weapons for each characters =p

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20005
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Creation System
« Reply #6 on: May 12, 2008, 09:51:13 AM »
As I already said, Zeriab reported that bug to me. I didn't fix it before I put up this version because I didn't add the armor type selection as well, but wanted to put it up ASAP.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Zeriab

  • Ethereal Devastator
  • ****
  • Posts: 350
  • LV: 65
  • Mighty Scripter
    • View Profile
    • Zeriab's Junk
Re: [XP] Creation System
« Reply #7 on: May 23, 2008, 11:11:23 AM »
What's this?
You ask for bug reports and when you get them you complain?
Instead you should fix them and be nice :x

That being said thanks for sharing this nice system <3

Offline Punn

  • Ethereal Devastator
  • ****
  • Posts: 493
  • LV: 9
    • View Profile
Re: [XP] Creation System
« Reply #8 on: May 23, 2008, 01:31:30 PM »
Jahjah, dont drop the bomb please.. :(

Anyways this is a good script. I'll play with it later :P

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20005
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Creation System
« Reply #9 on: May 24, 2008, 02:16:52 PM »
No, no, no! I'm not complaining, I'm just asking for patience until I have time to fix this. :)

EDIT: Ok, I was writing yesterday a part of my diploma thesis and at one moment I needed a serious break. So I took off half an hour to relax with RMXP scripts and fixed the bugs in this one. xD I updated it to 1.0b. It should work fine now.
« Last Edit: May 26, 2008, 08:33:50 AM by Blizzard »
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Punn

  • Ethereal Devastator
  • ****
  • Posts: 493
  • LV: 9
    • View Profile
Re: [XP] Creation System
« Reply #10 on: May 26, 2008, 12:56:14 PM »
I'll play with it later...  :-X

Offline Fantasist

  • Lexima Warrior
  • *******
  • Posts: 2223
  • LV: 146
  • Gender: Male
    • View Profile
    • Blog
Re: [XP] Creation System
« Reply #11 on: June 15, 2008, 08:38:35 AM »
You always amaze me Bliz :o Heck, I wish I could check this out right now. Heck, I will someday. Good job man :thumbsup:
Do you like ambient/electronic music? Then you should promote a talented artist! Help out here. (I'm serious. Just listen to his work at least!)

The best of freeware reviews: Gizmo's Freeware Reviews



Ace

  • Guest
Re: [XP] Creation System
« Reply #12 on: July 18, 2008, 04:27:21 PM »
What am I doing wrong? For some reason, when I make weapons, they end up with 0 attack. What stat of the crafting items influences the attack stat of the weapon made?

Or did I not do something correctly with the script's database?

Offline Starrodkirby86

  • Kirby de Varita Estelar
  • Guardian of Chaos
  • ********
  • Posts: 3281
  • LV: 194
  • Gender: Male
  • ~!
    • View Profile
    • The Archive of Starrodkirby86
Re: [XP] Creation System
« Reply #13 on: July 18, 2008, 04:46:56 PM »
None of the ingredients within the demo have an attack modifier. By what I mean attack modifier I mean a Physical Attack. You would need an item that modifies the P.ATK or P.DEF in order to have something added on. I don't know specifically how to edit that in items, as the only area I can find P.ATK would be within weapons...This is the dumbest solution ever, forgive me.

EDIT: Now I'm wondering here. I tried every parameter and stat for items, and now you would have to go for weapons if it were to work (In other words, I can't find anything that influences Attack OR P.DEF). I would use my forged weapons if only they had attack (I enabled Recursive Use, FYI). Now I'm curious, can you enable weapons and armors to be forged back into something stronger? I only see items in the script. I'm sure it can be added, just that you would need to tread through very dark alleys...
« Last Edit: July 18, 2008, 05:08:33 PM by Starrodkirby86 »

What's osu!? It's a rhythm game. Thought I should have a signature with a working rank. ;P It's now clickable!
Still Aqua's biggest fan (Or am I?).



Ace

  • Guest
Re: [XP] Creation System
« Reply #14 on: July 18, 2008, 05:09:18 PM »
Hmm... I can't find out how to use weapons for creation materials.

I used the script in my little game, and made my own ingredients.

Offline Starrodkirby86

  • Kirby de Varita Estelar
  • Guardian of Chaos
  • ********
  • Posts: 3281
  • LV: 194
  • Gender: Male
  • ~!
    • View Profile
    • The Archive of Starrodkirby86
Re: [XP] Creation System
« Reply #15 on: July 18, 2008, 05:16:10 PM »
Hmm... I can't find out how to use weapons for creation materials.
Likewise.

I would assume the following code would find from which array to use:
Code: [Select]
  def self.cs_materials(item)
    return item.quality if RECURSIVE_USE && item.id >= 1000
    id = item.id
    factor = case id
But simply replacing item with "weapon" or "weapons" is failure. There probably are more database array configuration codes than just this one. Either that, or I'm using the wrong term.

What's osu!? It's a rhythm game. Thought I should have a signature with a working rank. ;P It's now clickable!
Still Aqua's biggest fan (Or am I?).



Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20005
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Creation System
« Reply #16 on: July 19, 2008, 05:07:46 PM »
I actually haven't enabled weapons and armors to be used as materials. O_o Are you sure that nothing can affect ATK and PDEF? If yes, I'll fix that soon, maybe even today.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Ace

  • Guest
Re: [XP] Creation System
« Reply #17 on: July 20, 2008, 03:44:31 AM »
I haven't checked with the PDEF, for I have not tried making armor. I was just tinkering around with the weapon creation. I'll try it out now, but due to me having to uninstall Ubuntu , a Linux build, and format my second HDD, It may take a while for my 256 RAM comp to process firefox, RMXP, and fdisk.

tldr: Comp r slo.

EDIT: Nope. Set all item stats to 100, and all that was affected was the cost.
« Last Edit: July 20, 2008, 04:12:53 AM by Ace »

Offline Starrodkirby86

  • Kirby de Varita Estelar
  • Guardian of Chaos
  • ********
  • Posts: 3281
  • LV: 194
  • Gender: Male
  • ~!
    • View Profile
    • The Archive of Starrodkirby86
Re: [XP] Creation System
« Reply #18 on: July 21, 2008, 04:13:25 AM »
Blizz's creation system is derived from very simple factors. Basically, whatever stats that can be used will be used for the final weapon. So if you use an item that increases the strength parameter for example, then your masterpiece will have that strength up. So 5 Strength Seeds would be 25 Strength towards your weapon. Unfortunately, strength does not determine the overall strength of your weapon so it ends up as a failure anyway. Items that heal or whatnot do nothing. The only affect is the cost raises. Items that are used as elements and whatnot will be the element/effect for the weapon unless it is conflicted or the item in the script is not considered an elemental changer.

Just stating the obvious, thanks Blizz. :)

(When I say weapon I also mean armor/item)

What's osu!? It's a rhythm game. Thought I should have a signature with a working rank. ;P It's now clickable!
Still Aqua's biggest fan (Or am I?).



Offline Punn

  • Ethereal Devastator
  • ****
  • Posts: 493
  • LV: 9
    • View Profile
Re: [XP] Creation System
« Reply #19 on: July 21, 2008, 01:16:22 PM »
I like this, but I hate how ANY item can be used and ANY weapon, or item can be made, I thought you can add something like giving a weapon or equipment an element, or upgrading the equipment..

Meh.. this is nice either way, this gave me an idea for a game that will never be released..