RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Theo - Difficulty Setting

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 68
RMIDans ~
Difficulty Setting
Version : 1.2
Type : Gameplay add-on

Introduction :
Inspired from The Elder Scroll series. This script allow you to modify game difficulty by changing the enemy parameters. The difficulty stored in $game_variables.

Features :
  • Change Enemy parameter
  • In Game difficulty
(Requires YEA-SystemOption)
[/list]

Screenshot

combined with YEA System Option (Screenshot from my game)

Script:
Get it from here => http://pastebin.com/VB5QUann

How to use:
- Put this script below material but above main.
- Decide the variable ID for game difficulty
- Then modify the percentage array

Credit:
You may credit me. TheoAllen

Note:
- I hope this script is useful for everyone
- If I've made some grammatical errors, it because my main language isn't english.
My scripts collection :
http://theolized.blogspot.com/
Sorry if I made it in Indonesian

Supporter of :


Make your own party composition based on 20 playable characters :

**
Rep: +0/-0Level 55
RMRK Junior
Hey, really like the way you have this script set up, makes it very useful.

But there's a game breaking bug that brings up this error when using Shop Processing:

Script 'Difficulty Setting' line 200: NameError occurred.

undefined local variable or method 'theolized_diff_start' for
#<Scene_Shop:0x94 d1ee0>

Note that all I did was put this in a blank project and open up the shop processing, as a test, and it still happened.

Thanks for all your work~
I am the Simple Mango.
Are you the Complicated Mango?
:3

*
Rep:
Level 82
It's a typing error.

Head to line 200, you will see this method and the offending line:

Code: [Select]
alias theolized_diffset_start start
def start
  theolized_diff_start
  @diff_hash = THEOLIZED::DIFFSETTING::DIFFICULTY_HASH.dup
end

Change the line (200)

Code: [Select]
theolized_diff_start

to:

Code: [Select]
theolized_diffset_start
(Why do I always feel like it's the end of the world and I'm the last man standing?)

**
Rep:
Level 68
RMIDans ~
My bad. As LoganF said, it was a typing error.
Anyway, thanks for report. I've fixed it in pastebin
My scripts collection :
http://theolized.blogspot.com/
Sorry if I made it in Indonesian

Supporter of :


Make your own party composition based on 20 playable characters :

**
Rep: +0/-0Level 55
RMRK Junior
Ahhh, that explains it. Thank you much~
I am the Simple Mango.
Are you the Complicated Mango?
:3

**
Rep:
Level 68
RMIDans ~
Small fix update. A guy in rmweb.com just found a new bug in scene shop (and it's about typing error again)

If u already use this script, just change line 207 to
Code: [Select]
@diff_hash.include?(var_value)
And I also updated bug fix in pastebin.
My scripts collection :
http://theolized.blogspot.com/
Sorry if I made it in Indonesian

Supporter of :


Make your own party composition based on 20 playable characters :