Ammunition+Crafting Extension - Explain to me like i'm 5

Porotomi

Warper
Member
Joined
Aug 8, 2016
Messages
4
Reaction score
0
First Language
Indonesian
Primarily Uses
Hello!!

I'm very new to the RPG Maker community and have rarely ever used scripts before. I was just recently helped with the first script that I've ever used. While looking through many other scripts I've come to understand that I simply lack a basic understanding of them. I would like to use more when I become more experienced. For right now however, I am struggling to understand and learn how to use two scripts which I want to use. The only reason I focus on these two right now is because they are absolutely crucial to the game I am trying to make.

I am wanting to use the Ammunition System script and it's accompanying System Crafting Extension. However, as I am inexperienced, I am completely puzzled as to how I should begin to implement these (Moreso the crafting extension, I can probably figure out the ammunition system on my own with a bit of time). I have only the most level 1 book page 1 knowledge of script understanding and that is only because of the script I learned earlier today from Yanfly's SkillCore.

The code learned earlier:
Code:
<Custom Requirement>
if ($gameParty.members().contains($gameActors.actor(5))) {
  value = true;
} else {
  value = false;
}
</Custom Requirement>
How do I begin to use this system in the simplest terms and/or is there an easier crafting system? I'm not sure if this only crafts weapons and gear and cannot craft consumables. If there are resources online I can be linked to as well to help me understand scripts on a level which would give me basic proficiency is comprehension, I would greatly appreciate it!!

Please let me know whatever I can do to improve on my understanding as well as use these scripts successfully for my current and future project!! I want to grow as a game creator and appreciate everyone's patience while I am first starting out. Even if there is an easier crafting system, I would appreciate if someone could explain this crafting system to me so I can perhaps understand things similar in other scripts I may find!
 
Last edited:

Fornoreason1000

Black Sheep
Veteran
Joined
Mar 1, 2014
Messages
206
Reaction score
95
First Language
English
Primarily Uses
RMMV
Ok, the scripts actually tell you how to use them... neither of them require you to know Javascript, you just need to read the entire green section up until the change log part. the scripts use notetags that are placed in the Database. the thing you use to edit actors , weapons and stuff. if you look for example at the weapon page, you will see a text area labeled 'note' this is where the note tags such as <Ammo i Weapon: c> . coders use this to overcome the limitations of the editor.

To create a Weapon, lets say you have sword of fire that uses firesalts. first create your weapon in the database, take note of the Number next to it. this is your weapons ID , one you complete your weapon , create an item called 'Fire salts'. take note of its ID as well. now go back to your weapon and ad this into the 'note' section. <Ammo i Item: c> . now the lower case i you want to replace with your Fire salts ID namber. and the lower case c at the end is how much it cost. lets set that for one. which means we will consume 1 fire salts every time we use our sword of fire.
if you need more info check line 118 of the script.


Now lets say our hero wants to make a Blue Flame Sword, which much stronger than our Sword of Fire, but we have to craft it. but in order to do that we need to make a skill that can do that, but this script requires us that we define a special skill type for the purpose of creation. so firstly create a new skill type called "Swords Smithing". one done open up your Plugin manager, click on the "System Crafting Extension" plugin in and a new window should pop up, you should see "Creating Skill Types" in a small list there , double click on that and yet another window will show up with a text feild. add "Swords Smithing" into that text box. if you have more than one crafting skill type, separate them with a comma and be sure you get the spelling and case correct.

now that we have our skill type, we can create skill that will create our Blue Flame Sword. It is important that we set our Skill type to Sword Smithing in this case. Now we need to components. fortunately the components are treated like "Ammo" from the Ammunition script. lets say we want 30x Magnesium , 7 iron Ingots, an Opal and 1 Sword of Fire. we can follow the same process as making a skill that consume ammo, literally!. now we need to specify that our Blue Flame sword will be produced. but first we should create out Blue Flame Sword. the details of it it doesn't matter, just make sure you take note of its ID. now go back to the "Create Blue Flame Sword" skill and ad the note tae in the note box.
<Make i Weapon: n>. just like with out ammunition the lower case i , is the ID of your Blue Flame Sword. the lower case n is the number of sword we will get when crafting. we will leave it at 1;

now before we boot up out game, we need to add the crafting skills to our character so he/she can use them. if you like use a chest that will add in the necessary items for this. that's is 1 Sword of Fire, 23 Fire salts, 30 magnesium, 7 iron ingots and 1 Opal. now once you have the necessarily items and skill, open your main menu and head to skills. select Sword Smithing... and welll even 5 year old can work it out :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,849
Messages
1,016,981
Members
137,563
Latest member
cexojow
Top