How to create new items in game

Darkfire1408

Novice
Veteran
Joined
Jan 7, 2015
Messages
33
Reaction score
4
First Language
English
Primarily Uses
I'm trying to come up with a crafting system that can create unique weapons and armor. I haven't been able to find anything on it. Basically, it would need to be able to write a new item entry right? I don't know much about scripting, but is there a way to do that? 
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
Most scripts I've seen have you make a database entry for the unique item, then you tell the script what the recipe is for that item. At least, that is how the script I'm using, by V.M. of D.T.
 

Darkfire1408

Novice
Veteran
Joined
Jan 7, 2015
Messages
33
Reaction score
4
First Language
English
Primarily Uses
Well, the thing is, the stats of the weapon/armor would be randomly generated upon creation. There won't be a set number of items to craft as each one would be unique, hence the need to create the new entry ingame.
 

Sharm

Pixel Tile Artist
Veteran
Joined
Nov 15, 2012
Messages
12,760
Reaction score
10,884
First Language
English
Primarily Uses
N/A
I've moved this thread to Support - RPG Maker VX Ace. Please be sure to post your threads in the correct forum next time. Thank you.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
That's honestly probably as good as it is going to get. The database is pretty hard coded, and it is also capped at 999 total items (unless you use a limit breaker). So what would you want your game to do if someone tries to make item #1000? It has to go somewhere.  Do you want it to wipe out an existing item? That could easily crash the game. Or, just picture the mess if your weakest sword (weapon #1) suddenly got replaced by Awesome Sword of Doom (which is your new crafted item)? But, that new item and recipe has to go somewhere in the database.

What you might want to consider is a script to randomize the stats of your items (a couple of those exist). Combine that with a crafting script and it should work reasonably well.
 

Darkfire1408

Novice
Veteran
Joined
Jan 7, 2015
Messages
33
Reaction score
4
First Language
English
Primarily Uses
Do you know of a script that would randomize each individual item? Like you could have 10 Awesome Sword of Dooms but they all have different stats?
 

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

Latest Threads

Latest Posts

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,074
Members
137,578
Latest member
JamesLightning
Top