Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Script Request-comparing shop item stats against actual, Where did script request go to?
Decedent
post Jun 24 2012, 11:49 PM
Post #1


Level 6
Group Icon

Group: Member
Posts: 86
Type: Developer
RM Skill: Advanced




This may be in wrong forum, simply because I can't find the request part, but bare with me...

For RPG Maker XP

So during the shop processing scene, I can see how an item will effect a party members HP and SP, drawing it green, red or white depending on the change (thanks to 2 variables). But I can't do the same for AGI, STR, EVD etc...

Now I can see in the equip screen how it gets the values, but the shop scene doesn't have a right_window etc, I can't figure out how to get;
-The actor's STR (ignoring the equipped item obviously)
-The currently selected items str

It should look something like (simplified);

@newactor.str = actor.str + (items.str) (item being currently selected)

if newactor.str == actor.str
font = white
drawtext(X and Y values, "#{actor.str}")
else if newactor.str >= actor.str
font = green
drawtext(X and Y values, "#{actor.str}")
etc, etc

it's a long shot, just hoping someone has the exact thing I need, even a reference to a submitted tutorial or something that you have seen this in.

This post has been edited by Decedent: Jun 24 2012, 11:50 PM


__________________________
Go to the top of the page
 
+Quote Post
   
The Law G14
post Jun 27 2012, 06:21 PM
Post #2


Scripter FTW
Group Icon

Group: Local Mod
Posts: 1,346
Type: Scripter
RM Skill: Skilled
Rev Points: 5




Is this VX? And so I got this down right, basically you're just trying extend the "changed stats" from Atk, Def, etc. to include things like Agi, str, etc.? I'll see what I can do to help if so smile.gif


__________________________

To put in sig, copy this link:
CODE
[url="http://www.rpgrevolution.com/forums/index.php?showtopic=51540"][img]http://img40.imageshack.us/img40/6504/conceptthelawbanner.png[/img][/url]


Sig Stuff


"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!

If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One

My Project Thread: Gai's Hunters


Go to the top of the page
 
+Quote Post
   
Decedent
post Jun 29 2012, 12:38 PM
Post #3


Level 6
Group Icon

Group: Member
Posts: 86
Type: Developer
RM Skill: Advanced




For XP, and yeah, so that when Plain ring is highlighted, I can see if it will increase or decrease a party members AGI, STR etc stats instead of just the plain old MDef, PDef and ATK.


__________________________
Go to the top of the page
 
+Quote Post
   
The Law G14
post Jun 29 2012, 03:00 PM
Post #4


Scripter FTW
Group Icon

Group: Local Mod
Posts: 1,346
Type: Scripter
RM Skill: Skilled
Rev Points: 5




Alright, gotcha, can you give me a mock up of some sort on how you would like it organized, because there is little space to draw all of those stats, unless you want me to combine all the stats together and check to see if on an overall level the equipment is "greater" than other equipment like how the default system does it.


__________________________

To put in sig, copy this link:
CODE
[url="http://www.rpgrevolution.com/forums/index.php?showtopic=51540"][img]http://img40.imageshack.us/img40/6504/conceptthelawbanner.png[/img][/url]


Sig Stuff


"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!

If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One

My Project Thread: Gai's Hunters


Go to the top of the page
 
+Quote Post
   
Decedent
post Jun 29 2012, 04:18 PM
Post #5


Level 6
Group Icon

Group: Member
Posts: 86
Type: Developer
RM Skill: Advanced






It won't need to display the before and after, only the after with the idea in mind that if the after is higher than the before, it will draw the value with green font, if ==, normal, and if <= red.

As you can see I have that set up with the HP and SP becuase I can get the before and after value easy enough and do the conditional branch scripting, but I can't get before and after values with the other 3 stats Str, Int and Spd.


__________________________
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 18th May 2013 - 03:52 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker