Custom Attributes v1.31

Ohh, I see.

That shouldn't be hard to modify.

I will take a look at the script when I get home, can't help with that without getting to my laptop.
Ok, so it wasn't hard at all, as expected. 😀


Find this line in the script:

@actor = $game_party.members[0]Replace it with this one:
Code:
@actor = $game_party.menu_actor
This should do the trick.
At least it did in my project, although I modified quite a lot in this script, so you will need to test it for yourself.


Damn, I forgot it was me who posted here last. 😳


Sorry for the doublepost! *-*
worked perfectly. thanks for the help sixth.
xparams and sparams are set via Features, they don't have methods like those of the params...

@Sixth - thanks  for helping people here, been too busy lately. 🙂
Updated the script to version 1.30! You can now show only specific attributes per actor and also dynamically unlock and re-lock attributes per actor too.
Updated to version 1.31! Added a fix for the font settings of the description and actor windows, they now work.
Hey there! My friend and I are new to RPG Maker but have been making great headway in a game but a running into some issues while trying to use your script. First not sure exactly where to place all the sections or if a new section is needed to be created for all of them. Also I have spent more time working on trying to get it to work and I have a large amount of errors when it comes to the "double end" (I will call it) it says it "expects to see" $end. Not sure where to go from here. As of now nothing is working and the game will no longer even run.

     All the best - Sturg
Great script! But, I could use some help. First things first, whenever I use SceneManager.call(Scene_CustomParam) I get this: http://i.imgur.com/mRvF8l7.png

I'm actually having some confusion with your Level Extension script too. Where you have

<start_level_ext>

   formula

 <end_level_ext>

 

I'm confused as to what goes in place of "formula". 

 

From Custom Attributes Script: 

Example: If I want attribute 2 to increase mhp by 10

 

   def on_custom_attribute_increase(index,value)

    if index == 2

      self.add_param(0,10)

    end

   end

 

Where does this method go?

 

And then this...

 

    #def self.method_name(actor,index,value)

    # do things here

    #end

 

I almost figured this out, but then I got confused  >_> Are actor, index, and value supposed to be in the method? Or are those replaced by something?

 

Sorry for the noobness  😀

 

Hope you can help! Thanks!
First not sure exactly where to place all the sections or if a new section is needed to be created for all of them.
What sections? There is only one script here, it goes into it's own new slot in the script editor below Materials section. Make sure you get the whole script.


@cool - for the level ext, it shouldn't be asked here really... but anyway, formula means any RGSS3 code that you want to run during level up


For the error upon calling the scene, it probably means you have missed an image or so. Did you already edit the settings? And are you using any custom menu script? That might be causing some incompatibilities

Where does this method go?
That method already exists in the script itself, just edit it. It's just about above the DO NOT EDIT line


actor,index,value are the params/arguments taken by the method, they are automatically supplied when the script calls that method. Actor clearly means the actor currently having the attribute increase/decrease, index is the index of the attribute being increased/decreased and value is the amount by which the attribute is increased/decreased. All of which is also explained in the script itself. You should first learn a bit about how to make new methods and such before you try to use that function of the script.

Original thread: https://forums.rpgmakerweb.com/threads/custom-attributes-v1-31.32767/