Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Community Calendar Today's Posts Search
Go Back   Zelaron Gaming Forum > Zelaron Gaming > RPGMaker

 
 
Thread Tools Display Modes

 
Cool RM2k3 weapon help
Reply
Posted 2006-06-06, 09:25 AM
I'm trying to make a weapon, throwing knives, for a game on RM2k3. Is there a way to make them "run out"? I mean, seriously, it'd be stupid to have infinite throwing knives.
Goro goro!
Old
Profile PM WWW Search
llamallover2021 is neither ape nor machine; has so far settled for the in-betweenllamallover2021 is neither ape nor machine; has so far settled for the in-between
 
 
llamallover2021
 



 
Reply
Posted 2006-06-06, 10:14 AM in reply to llamallover2021's post "RM2k3 weapon help"
It might be possible... if you have Throwing Knife as an item AND a weapon, and then a common event checking how many you have and taking one away each time a battle skill is used. But I don't know how to do that. BC might, so:

*SUMMONS BLUECUBE*

EDIT: I was thinking of it being used as an item, but in RM2K3 you can't have something as an item that also hurts - unless it is a weapon.
Old
Profile PM WWW Search
Lenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basics
 
 
Lenny
 



 
Reply
Posted 2006-06-06, 11:25 PM in reply to llamallover2021's post "RM2k3 weapon help"
I'll go into more detail later if needed, but since it's 1 AM I'll just do a bit of pseudocode

Basically you do an event in every monster group (make sure to copy it) that checks to see if you do an attack command, then:

<> Set variable [0001:EqWeapon] equal to hero's equipped weapon
<> Branch if [0001:EqWeapon] is equal to (weapon number)
...<> Set variable [0002:Knives] equal to number of knives in inventory
...<> Branch if [0002:Knives] is greater than zero
......<> Item Management: Remove one throwing knife
......<>
...:Else
......<> Set hero's weapon to nothing
......<>
..:End
:End
<>
(At this point the attack should continue normally)



Of course I suspect that this will not allow you to throw your last equipped knife. You may need to add another switch that is turned on at zero (instead of removing the knife right away), and another page to the event that checks for the hero's fight command AND the presence of the switch. That second page would remove the throwing knife weapon and turn off the switch, forcing the character to use his bare hands.
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube
 



 
Reply
Posted 2006-06-07, 12:42 AM in reply to BlueCube's post starting "I'll go into more detail later if..."
Is there anything you do not know about the RPGMaker Blue Cube?
Angels encamp around them that fear the LORD!
Old
Profile PM WWW Search
frosted_snow is neither ape nor machine; has so far settled for the in-betweenfrosted_snow is neither ape nor machine; has so far settled for the in-between
 
 
frosted_snow
 



 
Reply
Posted 2006-06-07, 03:11 AM in reply to frosted_snow's post starting "Is there anything you do not know about..."
Oh, BC knows everything about the RPGMaker series. He denies it, but we're sure he made them.

And there you go llama. Told you he'd be able to help.
Old
Profile PM WWW Search
Lenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basics
 
 
Lenny
 



 
Reply
Posted 2006-06-07, 03:08 PM in reply to Lenny's post starting "Oh, BC knows everything about the..."
You could probably pull this off...


-Have a weapon called a Knife
and
-Have an item called a Knife

You can attack with the knife...or use your Throw (or some uncommon name ;p) skill to throw one of your Knife items at the enemy...and when you run out, you'll still have your last knife to attack with.


I...think that's a clear thought. 0_o
Old
Profile PM WWW Search
Noob101 is neither ape nor machine; has so far settled for the in-betweenNoob101 is neither ape nor machine; has so far settled for the in-between
 
 
Noob101
 



 
Reply
Posted 2006-06-07, 03:55 PM in reply to Noob101's post starting "You could probably pull this off... ..."
That's what I was thinking (and what BC tossed together), and it should work. The only hard bit would be getting them all to link together - the actual using of the battle skill and the taking away of an item. As far as I know there's no "If Skill is used" thing in the conditional branch.

But BC has found a way round it, methinks. So all should be good.
Old
Profile PM WWW Search
Lenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basics
 
 
Lenny
 



 
Reply
Posted 2006-06-07, 08:09 PM in reply to Lenny's post starting "Oh, BC knows everything about the..."
Lenny said:
Oh, BC knows everything about the RPGMaker series. He denies it, but we're sure he made them.

And there you go llama. Told you he'd be able to help.

hehehehe.I think someone should put a consperacy theory thread about
'ol Blue Cube actually being the inventor,owner,(and all that other important stuff) of the rpg makers.That would be hillarious.
Angels encamp around them that fear the LORD!
Old
Profile PM WWW Search
frosted_snow is neither ape nor machine; has so far settled for the in-betweenfrosted_snow is neither ape nor machine; has so far settled for the in-between
 
 
frosted_snow
 



 
Reply
Posted 2006-06-07, 10:30 PM in reply to frosted_snow's post starting "hehehehe.I think someone should put a..."
If Blue Cube had made it, then it would have been made in english, some of the more subtle details would have been better thought outhttp://www.zelaron.com/forum/showthread.php?t=38933, and RMXP would have been more like RM2K3 with C++ (or anything for that matter) instead of ruby.
Old
Profile PM WWW Search
Noble Swordsman is neither ape nor machine; has so far settled for the in-betweenNoble Swordsman is neither ape nor machine; has so far settled for the in-between
 
 
Noble Swordsman
 
 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules [Forum Rules]
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 04:37 PM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.