Hi guys I was tempted to create my own breaking params but I was not sure where to touch this part...
I think this from Game_BattlerBase no ?
I was suspect this method :
def param_max(param_id) return 999999 if param_id == 0 # MHP return 9999 if param_id == 1 # MMP return 999 endto be the basic control setting for the params but I am not sure
I suspect if I change the values here to hit a error if I change the setting here
so people can provide me some point of how I can create my own limit breaker 🙂 ?
thanks for further answer!
Nope, that is pretty much the basic place to do it. Be aware that those limits will still be present in the editor itself, so you'll have to find another way to set your params higher than their limits (there are several scripts that can do this, but if you want to do it yourself you'll need to do a bit more scripting)
that's the point other breaking limits scripts don't offert the customization I want for scripts so I decide to make my own
but I noticed in the game actor if change the method from the param max this will throw me a error but I guess I can find a way to tweak this little code for work with my code haha
(I hate notetag so I don't use them)
Changing the values there works for me.
nana i mean if you want to call a method or to use "param_id" in a other method
the system will not recognize it
def param_max(param_id) # if param_id == 0 # MHP param_actor #(actor_id) return super end#~ def param_actor #(actor_id) if param_id == 0 case @actor_id when 1 return 100 when 2 return 1 else return 9999 end endendalso I can't find a way to break the limit of the levels :/ it's always throw me a error
Are you directly modifying the base scripts? There are multiple errors in this snippet, even more depending on the class which you are modifying (for example, @actor_id exists in Game_Actor, but not in Game_BattlerBase or Game_Enemy).
On first glance:
- param_id doesn't exist in param_actor.
- @actor_id may or may not exist, depending on the class.
- if it would work, you are discarding the result of param_actor.
- "super" may or may not exist, depending on the class, but if it exist, it needs a parameter.
What error are you getting?
so in simple I have to modify the rpg::class ?
for make it enable to break the level params?
Yeah, you would need to have it return values for levels > 99. You can either directly expand the @params table or create a method for higher levels and modify param_base to call it.
I am not really sure how to make this actually D:
of what I see he take the calculation via the level 98 for other levels..but I am not sure :/
thanks man!
do you allow me to use your method (for break the levels) as a dummy coding the time I found my own ways for break the level limits?