Author Topic: [XP] Enemies That Level Up  (Read 5760 times)

Offline Magus

  • Astral Trancist
  • *****
  • Posts: 544
  • LV: -20
  • Gender: Male
  • Writer of Destiny
    • View Profile
[XP] Enemies That Level Up
« on: September 24, 2011, 09:56:45 PM »
Enemies That Level Up
Authors: SephirothSpawn
Version: 1.1
Type: Enemy manager
Key Term: Battle Add-on

Introduction

Enemies level up....
Type 1
What this does is Finds the average level of your party members, adds one, divides that by 100 (Turns it into a percent, level 99 being 100%), and assigns enemies stats based off whatever you assigned them in the database.
Meaning, In the database, make your monsters more powerful. Whatever you assign their stats to be in the database, is what their stats will be when your party is at level 99.
Just Remember to Make your enemies powerful, or they will be pushovers.

Updated:
Now Stats are randomly modified (+ or -) (0 to 15) %. Now every enemy you encounter, will be unique!

Type 2
This takes the stats from the database and multiples it by the average level of the members in your party. Then, randomly adds or subtract 0 to 15% of each stat the enemy carries.

Features

  • Enemies will get gradually stronger as your party levels up
  • Variance allows unique enemy stats, making every encounter different

Screenshots

None.

Demo

None. Author didn't provide one.

Script

Type one:
(click to show/hide)

Type two:
(click to show/hide)

Instructions

Place anywhere above Main
Both version include the Boss Feature:
By adding (BOSS) into any enemy's name in the database, their stats are not affected by these scripts.

Compatibility

Unknown...

Credits and Thanks

  • SephirothSpawn

Author's Notes

This is NOT my script.
« Last Edit: September 16, 2014, 12:47:56 AM by KK20 »
LEVEL ME DOWN. THE ANTI-BLIZZ GROUP IS AMONG YOU... Do it for the chick below...She watches..<br />

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19929
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Enemies That Level Up [XP]
« Reply #1 on: September 24, 2011, 10:28:33 PM »
*shakes head in agony for not applying the holy template*
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3247
  • LV: 294
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
Re: Enemies That Level Up [XP]
« Reply #2 on: September 24, 2011, 10:30:14 PM »
You didn't apply the template properly.
You're missing the key-term, a horizontal rule, and the entire post is centered instead of just the header.

* Sees that Blizz posted while he was typing, but posts anyways *
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Offline Magus

  • Astral Trancist
  • *****
  • Posts: 544
  • LV: -20
  • Gender: Male
  • Writer of Destiny
    • View Profile
Re: Enemies That Level Up [XP]
« Reply #3 on: September 25, 2011, 12:50:50 AM »
a... yikes... I'll correct this.
LEVEL ME DOWN. THE ANTI-BLIZZ GROUP IS AMONG YOU... Do it for the chick below...She watches..<br />

Offline AngryPacman

  • Transcended Spirit
  • ***
  • Posts: 182
  • LV: 5
  • Gender: Male
    • View Profile
Re: Enemies That Level Up [XP]
« Reply #4 on: September 25, 2011, 03:22:45 AM »
Lmao, centered code.
G_G's a silly boy.

Offline Magus

  • Astral Trancist
  • *****
  • Posts: 544
  • LV: -20
  • Gender: Male
  • Writer of Destiny
    • View Profile
Re: Enemies That Level Up [XP]
« Reply #5 on: September 26, 2011, 09:58:07 PM »
Lmao, centered code.
lmao, it is centered!
LEVEL ME DOWN. THE ANTI-BLIZZ GROUP IS AMONG YOU... Do it for the chick below...She watches..<br />

Offline ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3247
  • LV: 294
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
Re: Enemies That Level Up [XP]
« Reply #6 on: September 26, 2011, 11:47:08 PM »
lmao, it is centered!

And as long as it stays like this, it will never be in the script database. You can fix it with a simple [/center].
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Offline Magus

  • Astral Trancist
  • *****
  • Posts: 544
  • LV: -20
  • Gender: Male
  • Writer of Destiny
    • View Profile
Re: Enemies That Level Up [XP]
« Reply #7 on: March 27, 2012, 09:29:13 PM »
Somewhere... I didn't edit this right :/...  I'll have to recheck the template when I have time.
LEVEL ME DOWN. THE ANTI-BLIZZ GROUP IS AMONG YOU... Do it for the chick below...She watches..<br />

Offline candi.horror

  • Trained Member
  • *
  • Posts: 17
  • LV: 2
  • Gender: Female
    • View Profile
Re: Enemies That Level Up [XP]
« Reply #8 on: November 13, 2012, 12:33:04 AM »
I have a question regarding the use of this script with Satoh's Fluctuating Experience. In a nutshell, the Fluctuating EXP script bases how much XP an enemy gives by its level compared to yours. The enemy level is set in it's XP field in the database, so any enemy with 7 XP would be considered a level 7 enemy. With this in place, leveling up works like so:

(click to show/hide)

I see that with Type 2 of this script handles Xp with this equation:
Code: [Select]
@exp = (@b_exp * average).to_i
percent = (@exp * (( rand(15) + 1 ) / 100.0)).to_i
@exp += rand(2) == 0 ? percent : -percent

My question is how to modify this equation so that the XP "level' would scale with your level.

Hope this post isn't confusing. Cheers!
« Last Edit: November 13, 2012, 12:44:18 AM by candi.horror »

Offline KK20

  • Master Scripter Fixer
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3039
  • LV: 372
  • Gender: Male
  • Bringer of Salt
    • View Profile
Re: Enemies That Level Up [XP]
« Reply #9 on: November 13, 2012, 02:33:10 AM »
Deleted the double post.

Um...what do you mean by scale? You are really going to need to give an example of what should be expected.

Here, I'll start it off: Say that my party's level average is 30 and the monster is given a base level of 10. What is suppose to happen?



Other Projects
RPG Maker XP AceUpgrade RMXP to RMVXA performance!
XPA TilemapTilemap rewrite with many features, including custom resolution!


NNID: KK20-CP
Discord: KK20 Tyler#8901
Join the CP Discord Server

Offline candi.horror

  • Trained Member
  • *
  • Posts: 17
  • LV: 2
  • Gender: Female
    • View Profile
Re: Enemies That Level Up [XP]
« Reply #10 on: November 13, 2012, 03:40:58 AM »

Um...what do you mean by scale? You are really going to need to give an example of what should be expected.

Here, I'll start it off: Say that my party's level average is 30 and the monster is given a base level of 10. What is suppose to happen?

My apologies for not giving an example to make myself clearer. Your example illustrates what I wish to do, in this case the monster would be level 30 as well.

Sorry for the double post!

Offline KK20

  • Master Scripter Fixer
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3039
  • LV: 372
  • Gender: Male
  • Bringer of Salt
    • View Profile
Re: Enemies That Level Up [XP]
« Reply #11 on: November 13, 2012, 04:42:44 AM »
Code: [Select]
@exp = average?

And if that is the case, there is no point in assigning levels to your monsters. You can leave all the monsters' EXP values to be 0 and they will adjust accordingly.



Other Projects
RPG Maker XP AceUpgrade RMXP to RMVXA performance!
XPA TilemapTilemap rewrite with many features, including custom resolution!


NNID: KK20-CP
Discord: KK20 Tyler#8901
Join the CP Discord Server

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19929
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Enemies That Level Up [XP]
« Reply #12 on: September 14, 2014, 02:41:52 PM »
*bump* Can somebody fix the first post to fit the template?
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline KK20

  • Master Scripter Fixer
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3039
  • LV: 372
  • Gender: Male
  • Bringer of Salt
    • View Profile
Re: [XP] Enemies That Level Up
« Reply #13 on: September 16, 2014, 12:48:39 AM »
Fix'd and databased, but only because it's not Magus's script.



Other Projects
RPG Maker XP AceUpgrade RMXP to RMVXA performance!
XPA TilemapTilemap rewrite with many features, including custom resolution!


NNID: KK20-CP
Discord: KK20 Tyler#8901
Join the CP Discord Server

Offline WhiteRose

  • Trying to code in Ruby
  • Moderator
  • Lexima Warrior
  • ***
  • Posts: 2341
  • LV: 127
  • Gender: Female
  • <3
    • View Profile
Re: [XP] Enemies That Level Up
« Reply #14 on: September 16, 2014, 01:31:18 AM »
It would be interesting to adapt this script to be used for ease of use of the programmer rather than for level scaling. A lot of people (well, me personally sometimes, and, by extension, probably others. Unless I'm just terribly incompetent. >.<) sometimes have trouble knowing exactly how difficult to make the enemies in a given area of the game that will help them to be challenging but not frustrating. The ideal solution is to make creative enemies that use unique tactics, abilities, and so on.
However, if, for example, you're creating an area with only a minor role in the story, but want to be able to populate it with some quickly-made monsters, you could have the script generate enemies at the appropriate level relative to the area. Of course, you'd still probably want to have at least unique names and color schemes for the enemies so as not to ever cross the line of being downright lazy, but this would at least take some of the arithmetic and testing out of the picture.

Sorry for the rambling - just a thought I had as I was looking through the script.

Offline Wecoc

  • Transcended Spirit
  • ***
  • Posts: 108
  • LV: 44
  • Gender: Male
    • View Profile
    • Mundo Maker
Re: [XP] Enemies That Level Up
« Reply #15 on: September 16, 2014, 02:10:28 PM »
WhiteRose:
Some people use a defined formula across the game to define all the enemies using the same logic.

(click to show/hide)

The script could calculate that automatically, with some adds to the current one it shouldn't be difficult.
But testing the game several times is the best way, and for me, the only way.

I never had problems with this; once you defined and tested the first type of enemy, others can be calculated as an improvement of the first, plus specific enemy parameter changes (for example adding agility on a flying enemy type).



I know something interesting about enemies with level in a more complex way on RPG maker XP. Some time ago I contributed on the hispanic community with a script called ERON engine. I don't like some things on it but it's idea is great for some type of RPGs.

It's base is the next one: Enemies and Actors have the same properties and capacities; level, equip...
The way the script does that using the default Database is the next one:
Every Actor is associated to a Enemy ID it uses as a base, so every Enemy is also associated to an Actor ID (and its class), and the battler is the result of both. The Database 'Actor' parameters now control both actors and enemies parameters because of the level variation. The 'Actor' element / state represent the specific elements and states of that battler, and the 'Enemy' ones the weakness to that element / state. Finally the gold is recalculated using the 'Enemy' value with a level multiplicator, and enemy's equip is added to the treasures array.



About the SephirothSpawn's script, it's a good way to make the game difficult from start to end, and in a game based by time where everyone (good and evil) train in the same time to get the victory (for example Age of Empires), the more you wait the stronger your enemies are.  But for a classical RPG I would not use that because some reasons; First, the best way the player realize how strong his party has been made because of the training (and also how strong the antagonist is) is battle them with an enemy type which were hard to kill before and now it's so easy; Second, because with the script, grinding (go back to train) makes no sense since it will not cause an advantage of the party over the enemies; And Third, it's logical that the party gets stronger after every battle, but the enemies who didn't fight with the party shouldn't have that growth.

Uh and... I like the variance add-on, lol.

Offline Tiamat5774

  • Total Beginner
  • Posts: 6
  • LV: 1
    • View Profile
Re: [XP] Enemies That Level Up
« Reply #16 on: October 23, 2014, 03:32:04 AM »
This script doesn't work well.
Here's what I found....
corrupts saved games (a "nomethod" error on line 59 comes up if you edit anything in the game and you have to start over from the beginning)
Enemies go from super easy (just spam the attack button) to super hard in no time (game over easily by level 6). Really difficult to balance.  This goes for type 1 and 2.
This script needs some work before it is practical for use.