Nekron

Master of Seiba
Member
Joined
Aug 9, 2015
Messages
5
Reaction score
0
First Language
Polish
Primarily Uses
RMMV
So yea.
I need help with a player gaining a trait when selecting an option or drinking an potion.
Sort of how the do it in Elona.
Any idea how to set up soemthing like that ?
I want player character to sort of evovle get reawarded with traits.
 

Andar

Regular
Regular
Joined
Mar 5, 2013
Messages
39,948
Reaction score
11,888
First Language
German
Primarily Uses
RMMV
By default traits are static and can only be gained by states.
For anything else you'll need plugins like shaz dynamic traits.
 

Guanto

Auteur
Regular
Joined
Jul 18, 2018
Messages
111
Reaction score
10
First Language
English
Primarily Uses
RMMV
So yea.
I need help with a player gaining a trait when selecting an option or drinking an potion.
Sort of how the do it in Elona.
Any idea how to set up soemthing like that ?
I want player character to sort of evovle get reawarded with traits.

Assuming you are talking about the engines default traits, I am sure I am missing something here, but please be aware that you can just use the built in event command to "change parameter" on an actor when something happens (like drinking a potion).
 

Andar

Regular
Regular
Joined
Mar 5, 2013
Messages
39,948
Reaction score
11,888
First Language
German
Primarily Uses
RMMV
@Guanto change parameter does only that, change a parameter. It has absolutely nothing to do with the traits-part of a class (top right)
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Regular
Joined
May 15, 2012
Messages
14,693
Reaction score
3,035
First Language
Tagalog
Primarily Uses
RMVXA
If you mean "Traits" as in the things on the Traits box in the upper right portion of the Actors,Classes,Equipment,States tabs in the database, you will need plugins like Andar said. If you mean the basic parameters like HP, ATK etc, you can use the event command Change Parameters, and also there might be something in the effects box of the item that can actually increase parameters too.
 

Guanto

Auteur
Regular
Joined
Jul 18, 2018
Messages
111
Reaction score
10
First Language
English
Primarily Uses
RMMV
@Guanto change parameter does only that, change a parameter. It has absolutely nothing to do with the traits-part of a class (top right)
Huh? I'm fairly confident a parameter (a tab within the traits box) in the traits box on the class tab can be directly manipulated via event change parameter... among other ways.

If you mean the basic parameters like HP, ATK etc, you can use the event command Change Parameters,
Like @Guanto said - I mean since you were citing references ;)

and also there might be something in the effects box of the item that can actually increase parameters too.
Several, and a formula box... that's why I'm a little lost on this one.

Obviously need some more clarification from OP, but to have a potion manipulate a trait is built-in functionality.
 

Andar

Regular
Regular
Joined
Mar 5, 2013
Messages
39,948
Reaction score
11,888
First Language
German
Primarily Uses
RMMV
Huh? I'm fairly confident a parameter (a tab within the traits box) in the traits box on the class tab can be directly manipulated via event change parameter... among other ways.
you misunderstood what a parameter is.
the parameters are set in the top center part of the class tab, and are level-dependent base values that can further be modified by equipment, by event command or by trait.
The traits you're talking about modify the existing parameters, but they do not define them.
and traits are much more than that, parameter-modifications are only one type of trait. For example the ability to use equipment or to access skill types are all traits - and those traits can't be changed by event command.
And neither can you give a percentage bonus to a parameter with an event command, that command can only change the existing parameter while the trait would affect even future gains to the parameter.
 

Guanto

Auteur
Regular
Joined
Jul 18, 2018
Messages
111
Reaction score
10
First Language
English
Primarily Uses
RMMV
you misunderstood what a parameter is.
I'm not sure me using an explicit documented definition of a "parameter" (class > traits > param) qualifies as misunderstanding.

parameter-modifications are only one type of trait.
And I would be amazed if OP was talking about anything beyond this.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Regular
Joined
May 15, 2012
Messages
14,693
Reaction score
3,035
First Language
Tagalog
Primarily Uses
RMVXA
@Guanto -

The command Change Parameter modifies the basic parameters via direct values, and as pointed out only works for the basic parameters

Traits cover things like Ex Params, Sp Params, Element Rates, State Rates, Special Flags and so on.

And I would be amazed if OP was talking about anything beyond this.

Since the OP said Traits and not Parameters, its better to assume he means modifying any of the Traits.
 
Last edited:

Guanto

Auteur
Regular
Joined
Jul 18, 2018
Messages
111
Reaction score
10
First Language
English
Primarily Uses
RMMV
The command Change Parameter modifies the basic parameters via direct values, and as pointed out only works for the basic parameters
Traits cover things like Ex Params, Sp Params, Element Rates, State Rates, Special Flags and so on.
Yep. As pointed out there is also an effects box and a formula box, pre-plugins, that could fit the bill depending.

Since the OP said Traits and not Parameters, its better to assume he means modifying any of the Traits.
I'm interpreting the question a bit differently, and what I shared does fall under the category of "modifying traits".
 
Last edited:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Regular
Joined
May 15, 2012
Messages
14,693
Reaction score
3,035
First Language
Tagalog
Primarily Uses
RMVXA
Anyway, if he only needs to change/add basic parameters, the event command should suffice. If he wants to modify Traits, he needs the plugin. He asked for "Traits" so we gave him the more general answer.
 

Guanto

Auteur
Regular
Joined
Jul 18, 2018
Messages
111
Reaction score
10
First Language
English
Primarily Uses
RMMV
Anyway, if he only needs to change/add basic parameters, the event command should suffice. If he wants to modify Traits, he needs the plugin. He asked for "Traits" so we gave him the more general answer.
Oh I'm well aware of that "general answer".

Anyhoo, since I interpreted a slightly different meaning to the inquiry, and the topic wasn't locked after the first response, I decided to contribute.
 

Nekron

Master of Seiba
Member
Joined
Aug 9, 2015
Messages
5
Reaction score
0
First Language
Polish
Primarily Uses
RMMV
I mean traists as in well traits/perks.
lets say yout char drinks a potion that grants him "charming smile" wich causes vendors to have better prices.
or :spirit vision" like in divinity orginal sin wich causes player to see events that normally wouldnt be there.
Or "demon eyes" wich would cause better lets say luck stat but for the cost of some other stat.
By traits i mean "you gain a tag scholar you are now able to use that tag in a conversation"
Or like Elona does it."you were exposed to magic Aids you can use third arm to hold an items"
 

Latest Threads

Latest Posts

Latest Profile Posts

Alternative plugins for YEP Weapon Animation is
20/59 maps with the door fix in place. Also knocked a few other bugs out (mostly related to having two banks of the same # too close to each other). Also tweaked the one-way doors slightly so they close with the knobless sprite.
Enemy_MariXimas[Idle].gif
Everyone's getting ready. Mary, in particular, is really mad, why tho?
Well, I've officially filed a complaint against my coworker.
Legit almost killed me twice today.
First time, he was holding a freaking knife straight out and walking down a hallway. I rounded a corner and barely missed it.
Second time, he "handed"(dropped) me a bucket of water while I was trying to adjust the broaster. Not exactly sure what would happen, but water and boiling oil usually don't go well together.

Forum statistics

Threads
136,864
Messages
1,270,850
Members
180,631
Latest member
Alone1311
Top