Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: Spoofus on January 14, 2008, 01:03:49 pm

Title: {RESOLVED} A cool script idea that i need hlp on
Post by: Spoofus on January 14, 2008, 01:03:49 pm
hey yall i was wondering if anyone can do a script that adds stat bonuses to the player for having a complete sets of armor etc.

example:( if a players has this set)
Pangril Armor       
Pangril Helmet
Pangril Shield
Pangril Boots

the full set bonus would be something like
HP+100
MP+40
attack+15
defense+15
Title: Re: A cool script idea that i need hlp on
Post by: Blizzard on January 14, 2008, 03:27:42 pm
HP/SP Plus Add-on from Tons of Add-ons adds HP and SP increases/decreases to armors and weapons. :3
Title: Re: A cool script idea that i need hlp on
Post by: Punn on January 14, 2008, 05:15:12 pm
I think he means by having a set of armor, you gain more bonus.
Title: Re: A cool script idea that i need hlp on
Post by: Spoofus on January 14, 2008, 06:48:27 pm
yeah mumerus is right
like if you have all the armor on in the set you gain stat bonuses instead of gaining stats from each piece individually

example
Pangril set:
Pangril Armor       
Pangril Helmet
Pangril Shield
Pangril Boots

if the player only has on the armor,helmet,and shield without the boots
the player wont gain any bonus unless he has the boots equiped too
Title: Re: A cool script idea that i need hlp on
Post by: Calintz on January 14, 2008, 09:36:47 pm
You can do that with events...hold on
It's really simple because you can do that for every set of armor that you want to have stat bonuses on, just add the new armor at the end of the first's branch. set the common event to parallel, and have the switch be called at the beginning of the game.

Here
Spoiler: ShowHide
(http://i212.photobucket.com/albums/cc283/Derek16438/RMXP%20Event%20Systems/Event.png)
Title: Re: A cool script idea that i need hlp on
Post by: Blizzard on January 15, 2008, 04:38:37 am
You'll have to use a switch for it as well. You turn it on when you increase the stats and don't allow increasing the stats again. As soon as you put it off, you need to decrease the stats if the switch is on and turn off the switch. Wait, I'll make a screeny.

EDIT:

Make it a parallel process just like Calintz said.
Spoiler: ShowHide
(http://img150.imageshack.us/img150/8261/snap553fl8.png)
Title: Re: A cool script idea that i need hlp on
Post by: Calintz on January 15, 2008, 06:42:09 am
Ahh!
Way to keep an eye out Blizz... That hadn't even crossed my mind.  ;D
Title: Re: A cool script idea that i need hlp on
Post by: Zeriab on January 15, 2008, 12:27:52 pm
That's so messy Blizzy -_-
Here are two ways to do it: (Both parallel like with Blizz's version)

If you only check for one set in the common event:
Spoiler: ShowHide
(http://img443.imageshack.us/img443/377/armorsetbonusnr3.png)


If you want to have multiple checks in the same common event:
Spoiler: ShowHide
(http://img166.imageshack.us/img166/5965/armorsetbonus2nz6.png)


Just ask should be confused about anything.

*hugs*
- Zeriab
Title: Re: A cool script idea that i need hlp on
Post by: Spoofus on January 15, 2008, 01:13:38 pm
huh nice never realized thanks guys

hey zeriab i tried your way of doing it but in doesnt seem to work can you send a small demo so i can see exactly how you did it..if it aint to much trouble
Title: Re: A cool script idea that i need hlp on
Post by: Zeriab on January 15, 2008, 03:54:41 pm
I admit that I change the maxhp and maxsp instead of the hp/sp. So it does not do the same as Blizz's version.
I have tested my version and if you have the same version as I it works.
Anyway, here is a demo: http://www.sendspace.com/file/t81o1x

*hugs*
Title: Re: A cool script idea that i need hlp on
Post by: Blizzard on January 15, 2008, 05:42:03 pm
I'm still wasted from last weekend, sorry. (._.)
Title: Re: A cool script idea that i need hlp on
Post by: Zeriab on January 15, 2008, 05:58:08 pm
Quote from: Blizzard on January 15, 2008, 05:42:03 pm
I'm still wasted from last weekend, sorry. (._.)

And you didn't test it ^_^
(Or you would have caught that +20 hp simply heals 20 hp)
Title: Re: A cool script idea that i need hlp on
Post by: Sally on January 15, 2008, 09:58:07 pm
Quote from: Blizzard on January 15, 2008, 05:42:03 pm
I'm still wasted from last weekend, sorry. (._.)


wow it must have ben a big party :P
Title: Re: A cool script idea that i need hlp on
Post by: Calintz on January 15, 2008, 10:04:17 pm
It's kinf of like Blizzard's Soul Rage, Soul Limit System's thing where you can up their stats upon weapon equipment, except this needs to have the whole set. I bet if Blizz if feeling lucky, he could incorporate this sometime in the fututre... ::)
Title: Re: A cool script idea that i need hlp on
Post by: Blizzard on January 16, 2008, 06:12:02 am
Actually, I did give it a thought. I realized that making a script for it though wouldn't be any easier than the common event system. In fact, it would complicate things, so I suggest you use the common event.
Title: Re: A cool script idea that i need hlp on
Post by: Spoofus on January 16, 2008, 09:24:53 am
yeah i was being dumb about it earlier  :P
i was feeling sick yesterday and the medicine was affecting my badly
anyway thanks guys for your help it is just what the doctor ordered ;D