Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Using Custom Parameters in a Class

A topic by Saikyo_Dude created Jul 25, 2025 Views: 101 Replies: 2
Viewing posts 1 to 3

Hello Eli,

I'm working on a game with a moderately-overcomplicated damage formula, and I wanted to add in extra parameters for this formula. My idea is to have each class use a parameter called "Damage" as its base damage, which can also be increased by certain weapons; there would also be similar parameters for base armor and magic variants of these two. I imagine that there is a way to set these values for a class by writing it into the code, but I can't figure out how to do that. Any ideas?

If possible, I would prefer to modify the .json objects for the Classes, but I can't figure out how to retrieve that data when I modify the Class object.

Developer

Hi there!

With this plugin you can insert this extra parameter on the class note tags. Either by using the Templates or by writting it down directly. That information is on the help file. Or your intention is not use the default plugin way(note tag or plugin parameter) to add this extra parameter? if yes, then why?

To retrieve any data from a data class object use the script call:

$dataClasses[CLASS ID] → Replace CLASS ID with the id of the class you want.


Usually, when people want to do something Dynamic with the Custom parameters, they also use another plugin of mine:

https://hakuenstudio.itch.io/eli-dynamic-parameters-for-rpg-maker

Hope it helps!

(+1)

My apologies, I was unfamiliar with notetags in RPG Maker (and truth told, I only started using RPG Maker recently). Thank you very much, you are a great help.