I am making a more modern-based RPG, in which there are guns. I wanted to make it so that the MP changes to ammo.
Characters defaultly have 0MP, but the MP goes up when they equip a weapon. It goes down as they fire the weapon. The MP is refilled when they use items like "Bullets".
How do I do this? I'm assuming I'll need to use Common Events, Variables, etc.
By the way, I am using RPGM 2000
Deadly Diablo's Tutorial Demo 1
DEMO FILE (http://www.anesis.theicy.net/Project2.zip)
Welcome to this tutorial to create complex weaponry.
1. To begin, go into your project's database file, and either edit a previous hero or create one completely from scratch. Make his/her MP be 0, no matter what level he/she grows to.
2. Now go to the ITEMS tab, and create a weapon, GUN. Look in the demo game's database to see how its done.
3. Also create Item BULLETS the same way as in the demo game.
4. Now go to the COMMON EVENTS TAB, and copy EXACTLY THE CODE there.
*Note: This will work only for 1 hero, so for more heroes you'd have to repeat steps 1 and 4 sparingly.
Now to get this to work, you'd have to make an event give out the item gun and everything should work out fine.
If this doesnt work, or there's a problem with the file, you know what to do, post.
You know, you could just change the MP name to Ammo, and change the skills option to shoot. As well as change attack to strike or something like that. Then create an item called ammo holster which replenishes your ammo stock. Just make skills that look like you're firing a bullet, and call them stuff like (Normal Shot, Blitz, Accurate Shot,Rapid Fire, etc.)
Quote from: Tsunokiette on April 06, 2006, 02:22:32 PM
You know, you could just change the MP name to Ammo, and change the skills option to shoot. As well as change attack to strike or something like that. Then create an item called ammo holster which replenishes your ammo stock. Just make skills that look like you're firing a bullet, and call them stuff like (Normal Shot, Blitz, Accurate Shot,Rapid Fire, etc.)
EDIT: No that sucks, becuase if you have another when u have another weapon (E.G a baseball bat) you can shoot people with it... :roll:
Quote from: pkmemanyp on April 08, 2006, 06:07:43 AM
Quote from: Tsunokiette on April 06, 2006, 02:22:32 PM
You know, you could just change the MP name to Ammo, and change the skills option to shoot. As well as change attack to strike or something like that. Then create an item called ammo holster which replenishes your ammo stock. Just make skills that look like you're firing a bullet, and call them stuff like (Normal Shot, Blitz, Accurate Shot,Rapid Fire, etc.)
EDIT: No that sucks, becuase if you have another when u have another weapon (E.G a baseball bat) you can shoot people with it... :roll:
Makes you wonder why you have a baseball bat as a weapon in a game where the weapons are guns...
Quote from: Daelin on April 01, 2006, 07:56:07 PM
in which there are guns
there are guns, for all you know he could be using knuckle dusters aswell :roll: