The RPG Maker Resource Kit

RMRK RPG Maker Creation => XP => XP Scripts Database => Topic started by: Heretic86 on November 27, 2013, 10:30:58 AM

Title: [XP] Heretic's Collection of Art and 100% Compatible Scripts
Post by: Heretic86 on November 27, 2013, 10:30:58 AM
Heretic's Collection  of Art and 100% Compatible Scripts
Authors: Heretic, Blizzard, ForeverZer0, KK20, LiTTleDRAgo, Wecoc, Ryex, Zeriab, Wachunga, Leon, game_guy, Kellessdee, ThallionDarkshine, Naramura, Trickster, Selwyn, Yeyinde, Lobosque, Inquisitor, SephirothSpawn, Near Fantastica, Prexus, Jimme Reashu, Reaper Phoenix
Version: 2.4
Type: Add-on Collection
Key Term: Add-on Collection


This is a massive collection of Art, including Graphics, Configured Tilesets, Characters, Music, and sixty five 100% Compatible Scripts in a giant Demo that tries to teach you how to use every single one of the Scripts!



Spoiler for:

There are far too many features to display in a single screenshot, so this is just the most recently updated stuff of the Caterpillar boarding a Boat Vehicle!

Heretic's Dynamic Lighting


This is HALF GAME, and HALF TECH DEMO.  NPC Characters explain everything!

Download: Version 2.4 - Updated Saturday, January 26th, 2019,13682.0.html

Spoiler for:
Obsolete Versions: (Version 2, Old) (Version 1, Old)


Grab the Demo.

Full List of Scripts:
Spoiler for:
- Heretic's Dynamic Lighting Version 1.0 - New in Collection Version 2.3, added Aug 20th, 2016
- Heretic's Unlimited Event Page Conditions - Version 1.0 -  Added in Collection Version 2.3
- KK20's Custom Prices
- SDK Character Update Fix
- Heretic's Animation Speed
- Modular Passable Core
- Heretic's Modular Collision Optimizer
- Heretic's Loop Maps
- Exclusion Elements
- Auto Font Install (Wachnunga, disabled in favor of ForeverZer0's Memory Font Loader)
- Memory Font Loader 1.1 (ForeverZer0)
- Autonomous Stutter Bugfix
- Pathfind (by ForeverZer0)
- Lagless Path Finder 1.22 (Blizzard)
- Multiple Message Windows 1.56 - Heretic Version (Originally by Wachnunga and Zeriab, SDK Free)
- M.M.W Add-on - Easy Chests
- Heretic's Caterpillar 2.0
- Heretic's Caterpillar Add-on - Auto Door Close
- Move Straight (useful for Projectiles that are at angles)
- Heretic's NPCs on Event Tiles (Modular Passable)
- Heretic's Diagonal Stairs Deluxe (Modular Passable)
- Heretic's Downhill Ice (Modular Passable)
- Heretic's Restrict Bush Passage (Modular Passable, used also with Vehicles)
- Heretic's Restrict Tile Passage (Modular Passabe, Vehicle Core)
- Heretic's Hotfoot Tiles (Modular Passable)
- Heretic's Circular Sprite Motion (Modular Passable)
- Heretic's Mirror Movement (Modular Passable)
- Heretic's Vehicles (Modular Passable, needs Restrict Tile Passage also, Boat and Magic Carpet)
- Heretic's Magic Compass
- Heretic's Rotate, Zoom, and Pendulums
- XRXS ATB Battle System (Front View Battle System)
- XRXS Battle System Add-on - Blink Low Actor Stats
- XRXS Battle System Add-on - No Prior Actor
- Battle System Add-on - Window Help Msg (Custom Help messages)
- Battle Self Switch (LiTTleDRAgo, use A,B,C,D Self Switches in Battle)
- Battle Target Anyone (KK20)
- Battle Target Anyone Add-on - Target Anyone Undead (Heal Zombies to death!)
- Battle System Add-on - Spy Equipment (See HP, SP, Weaknesses with Equipment)
- Reflect Spell (Blizzard)
- Battle Page Conditions
- Battle System Add-on - Always Hit in Demo (100% Hit Rate while Option is On, for Demonstrations)
- Disable Battle Commands
- Animated Battlers (Intended for Front View Battle Systems)
- No Battle Music Change (Leon)
- Variable Prices SDK (Reaper Phoenix)
- Die on Map Screen (from Poison)
- Super Event Sensor (Enemy AI)
- Control Self Switches Anywhere
- More Self Switches (game_guy / Gameus - Highly Recommended)
- Auto State Switches
- Event Range Conditions (ForeverZer0)
- Multiple / Unlimited Fogs (Gameus / game_guy)
- Heretic's Cloud Altitude 2.2
- LiTTleDRAgo Wave (wave Backgrounds, Fogs, and Panoramas)
- VX Ace Battle Backgrounds in XP
- Heretic's Lightning (not Lighting, Lightning, like Thunderstorm)
- Dynamic Lights (Kellessdee)
- Animated Title Scene
- Timed User Input (simulates Player Input for Demo)
- DEE (Ryex - Dynamic Effects Engine, Sound)
- Dynamic Sounds (Ryex)
- Mute Demo Sounds (Animated Title Scene Add-on, pre-game Demo Gameplay)
- Text Picture
- Ending Credits Script
- Event Transitions (ThallionDarkshine)
- Debug Fast Forward
- Food Tutorial Lesson (learn how to script)


Each script will have its own instructions.  Grab the Demo.


There are likely to be some conflicts, but all of these scripts work together with 100% compatability.

NOTE: If you have trouble opening the Demo from the Editor, you can change the version by editing Game.ini Library=RGSS102E.dll or what ever you need to suit your version of RPG Maker.  You can also edit Game.rxproj with Notepad and change RPGXP 1.02 to suit your version of RPG Maker.

Credits and Thanks

Author's Notes

Who is the Crumbling King?  (don't post the answer and spoil it for others!)
Title: Re: [XP] Heretic's Collection of Art and 100% Compatible Scripts - Demo - Beta
Post by: IAMFORTE on November 27, 2013, 05:59:23 PM
Downloading the demo now
Title: Re: [XP] Heretic's Collection of Art and 100% Compatible Scripts - Demo - Beta
Post by: UltimaZix on December 02, 2013, 11:47:54 PM
It's amazing! Any time there's a script I need some help with, I always come to this thing for a good reference. Saved me a ton of time searching ._. Thanks dood, great work!
Title: Re: [XP] Heretic's Collection of Art and 100% Compatible Scripts - Demo - Beta
Post by: PhoenixFire on December 12, 2013, 06:14:50 AM
I feel like I saw this somewhere before... Oh wait... I did.... lolz... It's so odd to see your things on CP, then come here and see you just finished posting it up here as well haha. Also, I'm not sure if you're on here or CP more, but I need to know what you would like your name listed as in the credits =p
Title: Re: [XP] Heretic's Collection of Art and 100% Compatible Scripts - Demo - Beta
Post by: Heretic86 on December 16, 2013, 01:34:29 PM
Ive been more active on CP, but neither place is very active.  One of the users over there requested a feature and found some mapping bugs (not much of a suprise there, Im sure they exist), so I'll have to update in the next few days.
Title: Re: [XP] Heretic's Collection of Art and 100% Compatible Scripts - Demo - Beta
Post by: PhoenixFire on December 17, 2013, 02:53:47 PM
Yeah, I've been keeping track of it over there too haha.. I saw that and wondered if you were going to do anything. Looks like yes =p
Title: Re: [XP] Heretic's Collection of Art and 100% Compatible Scripts - Demo - Beta
Post by: Winterfell on May 25, 2014, 03:48:04 PM
That's the best Compilation's of scripts demo i ever seen. It's really well explained and interesting.

All the stuff about game design and mechanism are also very nice.

Great Great job ^^ Thanks a lot
Title: Re: [XP] Heretic's Collection of Art and 100% Compatible Scripts - Demo - Beta
Post by: Heretic86 on May 26, 2014, 09:06:16 AM
That's the best Compilation's of scripts demo i ever seen. It's really well explained and interesting.

All the stuff about game design and mechanism are also very nice.

Great Great job ^^ Thanks a lot

Thanks!  Just updated and added a few minor bugfixes and some new features, including a very simple Animated Battlers!
Title: Re: [XP] Heretic's Collection of Art and 100% Compatible Scripts - Demo - Beta
Post by: Winterfell on May 26, 2014, 03:53:50 PM
The only thing missing is the ability to edit the menus simply because the original ones are not so beautiful  :V
(or i don't find the NPC who talk about that, i saw there are a "Menu System (Naramura)" folder in the Graphics.
Title: Re: [XP] Heretic's Collection of Art and 100% Compatible Scripts - Demo - Beta
Post by: Heretic86 on May 27, 2014, 12:07:35 AM
Menus are something I have definitely thought about.

I just played thru Final Fantasy X and was thinking about the Menu Options during that game.  They have some very good ideas in there, like being able to change equipment during combat and a scrolling list of Main Menu options.  And there were some things I didnt really like either.  Later in the game, your list of Menu Options tends to get really really long.  Attack, Skill, White Magic, Black Magic, Item, then you end up having to scroll really far to get where you want.  So there is more I want to do based on what makes those features add more frustration than satisfaction during gameplay.  I'd definitely need to build a full Option Scene, again, based on Final Fantasy with Cursor Memory customizable by the Player.  But if that is the only option, it needs more.  Battle Speed and Active Wait option would most likely need to be added.  Thus, result is a lot of work, and just for better menus, which would definitely be a plus.  The Battle System is basically "stuck" in a "Wait" mode, but I would like to change it around to allow for "Active", where an enemy can attack you and CP Bars still fill while the Main Menu is active, but Sub Menus like Select Spell or Item would pause the CP Bar.  The ability to do it fast makes gameplay faster and much more dynamic, however, menus themselves would need to be perfectly organized.

Other games Im fond of are the old 16 bit Phantasy Star games.  The second game is too different to consider borrowing style ideas, but some of the functionality of the fourth installment I think would be cool, like Combining Spells, or Macros.  I think I have seen a spell for combining spells somewhere, not sure about how to implement a Macro.

Honestly, I expected people to show more interest in the Battle System, but I think RMXP is dying off at such a rate that it hasnt really gotten enough peoples attention.  I did expect some Add On scripts for it as well, but suspect that will probably be on me to write and create.

So still on the topic of Menus, do you have any specific ideas for improving them?

The Naramura Menus should have just been Windowskins if I recall correctly, so there isnt really an NPC for that as it isnt really a feature.
Title: Re: [XP] Heretic's Collection of Art and 100% Compatible Scripts - Demo - Beta
Post by: Winterfell on May 27, 2014, 01:47:43 PM

First, sorry for my bad english, i'm french :P And i'm not a scripter.

Let's analyze the possibilities of the Battle System :

A key of this system is the speed of battle actions. The player and the enemies have an interest to act more often and to slow down their opponents.

There are skills, spells and objects which can do something about the speed.
For Armor, for example, we can create different rate of slow states and apply them in different pieces of armor, like the lead armor in the demo. That's the classic : “the more you are protected, the  less you are agile.”

The speed of the actions is important also. Take an object for the bag takes 75% of the CP bar, so if I want to act quick, maybe using an object instead using a spell is a better solution, etc.

To improve that, maybe add some spells or actions who takes a long time to be cast or used.  A summoning spell will take 100% of a CP Bar (first part of the spell) AND activate automatically a second action (the second part of the spell) for 100% of the CP bar to effectively summon the monster.

Maybe that can be done with a Combining Spell script, as you mentioned it.

After that, we have the zombie state and the reflect spell which is very cool indeed.

So we can, classic actions in RPG, play with the states for stun, weaken a parameter or the contrary...

An another improvement maybe can be a way to play with the choice of the target for the enemy. Enemy can target the weakest character and, a warrior can taunt for aggro the enemy's attacks on him.

The question is “What new on ATB ?” The system exist since a long time, players used to understand how it's work. I understand your way with Battle-Event which can transform a simple fight in a challenge. But for the mechanism ? The Active ATB is an option, indeed, with no pause when the player choose his skills and items...
Title: Re: [XP] Heretic's Collection of Art and 100% Compatible Scripts - Demo - Beta
Post by: Heretic86 on June 02, 2014, 12:06:36 AM
Your english is pretty good.  Dont worry too much as I clearly understood what you were communicating.

I think that Scripts themselves need to add and enhance functionality of an existing engine.  That is one of the reasons I tried to allow as much as possible to be done from the Editor.  Messing with Script Config is harder than clicking on stuff in a User Interface.

I tested out some of the State ideas, such as lowering and increasing Speed (agility), since the Battle Script is based heavily around that.  I do agree that different costs for different spells is a good idea, so I'll look into how to add that in.

Some of the stuff I did not do was to create many many States for weapons and armors.  I just tested a Sword that could inflict a State on an enemy, and it is already built in.  Player equips that sword and attacks an enemy that has a bad State Efficiency, and the sword inflicted that State on the Enemy.  Enemies can also have Specialized Attacks that can also inflict States on the Actors.  Being able to Inflict States on either Actors or Enemies does exactly what you said and alter States so that Agility is affected while those States are Inflicted.  But most of this seems to be Database work, not Script work.  I enjoy providing examples of how to accomplish specific goals in this Collection, but I also try to leave most things open so people can customize their game to their liking, based on examples I provide.

The "Lead Armor" I used "Auto State" to show that it was tough, but made it obvious that it slows the player down.  The "Auto State" is not needed to slow down who wears that armor, but it isnt that obvious to the player.  Its mostly a Database Example.  This is mostly Database Work and depends on how someone that uses RMXP in general wants to set up their game.  Some designers are lazy and just use default stuff.  Others dig in deep and really enhance everything.  I would figure that the best weapons and armor in any game would be light enough to not burden the Actor, so they would be very light but also very very strong.  Thus, Lead Armor can provide an Agility Penalty, while other Super Armor would actually increase Agility.  In the Armors Tab, the changes to Str, Dex, and Agi affect the Base Str, Base Dex, and Base Agi.  The way the script is written is to change the color of the CP Bar if an Actors Base Stats differ from Stats after States are applied.  Thus, changing Agi with Armor wont make the CP Bar change color, but an Armor that gives an "Auto State" of Haste will cause the CP Bar to change color.

There are some things about the Editor that are not clearly understood by everyone, yet, are fully available.  I tried to write my scripts to add to the current functionality, so those features still exist, but are sometimes forgotten about.  I'll try to explain what the current editor can do without Script addons. 

An actors Weapons can inflict States on Enemies.

An actors Armor can protect against States from Enemy Attacks or Spells.

An actors Armor also has "Auto State" when that Armor is equipped.

These features already exist in the Database Editor, but next version I'll try to include some examples of State Inflicting Weapons so it is better understood by all how to do these without Scripts.  I'll also put together an Add On for customizing Skill Costs for each Skill, which is something that cant be done from the Database Editor.  Im also working on a way to use VX Ace Backgrounds in XP with lots of additions, a fully "Active" Battle Mode, Battle Menu Enhancements (change equipment during battle), better Animated Battlers, and other additional added functionality.


Any requests for just about anything in the package is welcome by anyone.
Title: Re: [XP] Heretic's Collection of Art and 100% Compatible Scripts
Post by: Heretic86 on April 30, 2015, 09:53:34 AM

Heretic's Collection just got upgraded to Version 2.0, and this is a MAJOR UPDATE!

The total number of scripts is now at approximately 65!  The UPDATE includes FIFTEEN NEW SCRIPTS including VEHICLES!  There are so many new features that it would probably not fit within 10 posts!  That is how much stuff has been upgraded and still remain 100% compatible!

The core of the New Scripts is called "Modular Passable", which basically allows for more VX/A style code where simple alterations can be made.  This is what allowed me to write another script called Restrict Tile Passages, which allowed for VEHICLES!  Yes, the Player can move about on Water Tiles now!  Actually, EVERY Event can, and YOU have FULL CONTROL over where everybody can and can not move! 

Also contains new code for Looping Maps, Mirror Movement, Downhill Ice, Diagonal Stairs, NPCs on Event Tiles, Hotfoot Tiles, Circular Sprite Motion, Rotate Zoom and Pendulums, and a Collision Optimizer!  Oh, and even a Magic Compass!  You can now use VX Ace Backgrounds in XP Battle Systems!  You can Disable Battle Commands!  Map improvements such as Heretic's Lightning (for Thunderstorms).  I've literally lost track of how many new features I have added!

It is really worth your time to check out, even if you have checked this package out before!
Title: Re: [XP] Heretic's Collection of Art and 100% Compatible Scripts
Post by: Heretic86 on June 07, 2015, 09:08:17 AM

New version includes Transitions Pack by ThallionDarkshine.  Added a brief demo for the script.  I also updated the Transitions Pack script to fix a couple minor bugs and added a couple of options for enabling and disabling Transitions during gameplay.

No other changes to the rest of the scripts have been made.
Title: Re: [XP] Heretic's Collection of Art and 100% Compatible Scripts
Post by: Winterfell on June 27, 2015, 11:21:54 AM
I check time to time and i'm amazed you have continued and improved all the stuff.

I'm only worried about performance, the rpgmaker XP engine is not a tought one.
Title: Re: [XP] Heretic's Collection of Art and 100% Compatible Scripts
Post by: modern algebra on June 27, 2015, 11:55:04 AM
Wow Heretic, this is really cool.
Title: Re: [XP] Heretic's Collection of Art and 100% Compatible Scripts
Post by: Heretic86 on June 27, 2015, 07:24:56 PM
I check time to time and i'm amazed you have continued and improved all the stuff.

I'm only worried about performance, the rpgmaker XP engine is not a tought one.

I'd like to do more but just dont have as much free time as I used to.  Trust me, more is planned.

Now, for performance, believe me, more advances can be made, more scripts added, and framerates can actually increase!  As an example, one of the packaged scripts is called "Collision Optimizer".  Normally, every Event gets updated once per frame.  Now lets say you have five Events on the map.  When each of those Events tries to move, it scans every Event to check for a collision, thus 5 Events scanning for 5 Events results in 25 total checks.  Five events isnt a big deal and shouldnt cause anyone issues as far as performance, but when dealing with high number of Events, because ALL Events are checked, that is one place that performance hits take place.  So now lets say instead of just 5 Events, you have 250 Events.  Each frame, each Event moves, thus checks ALL Events.  As a result, for 250 Events moving, 250 Events are checked for each moving Event, thus, 250 x 250 = 62,500 and that is one place the Framerate really starts to suffer. 

The "Collision Optimizer" works like this: when an Event is updated, it checks its position against a Hash, and updates it when it is different.  But for checking for Collisions, the Hash allows the moving Event to check Events ONLY at a specific map location.  For example, $[129] tries to move to X=51, Y=39, the Hash is used to grab Events at that spot.  If there are no Events there, then ZERO Events are checked for collisions.  If one is there, then one Event is checked.  If two Events are at 51, 39, then ONLY those Events are checked.  This reduced the number of checks for 250 Events on a Map from 62,500 to less than 250 because not Every event is moving or colliding or next to another Event.  This speeded things up a LOT.  Now lets bump up the number even higher.  Lets say 5000 events.  Cant be done without scripts.  Without the Collision Optimizer, 5000 x 5000 = 25,000,000.  25 MILLION checks per frame.  That destroys framerates and turns games into slideshows.  With the CO, only the Events that are moving to a new set of logical coordinates are checked for collisions, thus, number of events scanned drops from 25,000,000 to well less than 5000.

As a result, further performance increases ARE possible, as well as adding more functionality and even more scripts. 

There are two more major roadblocks that take a toll on performance.  Graphics are the #1 framerate killer.  In XP, we dont have access to the core graphics renderer, but can make some adjustments to the module Graphics.  If collisions were written inefficiently, you can also imagine that the Graphics module was also written rather inefficiently also. 

Last on the list is Ruby itself.  Version 1.8.7, which is what XP uses is slow in comparison to newer flavors of Ruby.  Fortunately, we can use this to our advantage.  A couple of guys over on chaos-project have been working hard for some time on our own version of XP Ace, where we can use the speed and efficiency of both newer versions of RPG Maker and Ruby.  We edit with the XP Editor, and the game runs using the VX Ace dll files.  And there are some serious performance gains to be had there also, as well as drawbacks.  I ran into trouble using our homebrew XP Ace with a couple of scripts.  Cloud Altitude didnt like me very much on XPA, and Im pretty sure all the Transitions (lateset release) also dont work due to differences in the Graphics module.  So there are ups and downs to our homebrew XP Ace solution.

The last major update I put into the Collection came from rewriting just TWO core methods that handle collision checking.  And it enabled Vehicles, Non Player Characters to move around on Event Tiles (like the player can), the Collision Optimizer, Looping Maps for XP, Diagonal Stairs, Ice, Restrict Bush Passage, and Restrict Tile Passage (core for Vehicles).  That was the "Modular Passable" script.  Its kind of like the SDK for just 'Game_Map passable?' and 'Game_Character passable?' methods.  What I wanted to do there was to do it better than the SDK by only releasing ONE version of it, so it had to be absolutely perfect upon release.  That was what really killed the SDK for XP was so many versions, and what I did my best to avoid at all costs.  Trust me, that was a LOT of work.  It doesnt look like much but it took me months to fine tune and perfect Modular Passable.  I believe the payoff was well worth the effort since I can continue to write even more scripts, efficiently, that are 100% compatible with the rest of the Modular Passable scripts.  I did take it a bit further as I put in some extra code so we could also efficiently and easily add Comment configurations to Events with like two Aliases.  That allows us all to write compatible scripts that dont have that dont impact performance that much.  So if say M.A. wrote a script that prevents characters from moving on either Map Tiles or Events with a certain terrain tag, he'd put in a Comment that read something like "\no_move_terrain_tag[5,6]".  When the Events are doing their thing, his Comment Config gets scanned with the rest of the Comment Config calls so his code shouldnt have to do its own set of scans.  Then the new properties get added to Events in a more efficient manner.  What else is good is the Comment Configs do NOT have to be the very top line on an Event's Page which preserves Compatability between scripts.  What happens there is if someone writes a script that needs the top line of an Event Page to read one thing, and another script also needs to use the top line of an Event Page, then we, as users, would not be able to add features of both scripts to that Event.  Its usually one or the other, and again, Modular Passable takes care of that.  Comment Configs can take as many lines as they need to, in case a Config needs one or more Comments to configure.  Such as Sound Emitters and Super Event Sensor.

In the end, we can still use the XP engine without adverse effects on performance if we write our scripts properly.

Im glad you guys appreciate all the work I put into this thing.  Remember tho, Im always looking to expand it even further, with even more Scripts, Art, Tilesets, Characters, and Music, and I will continue to update this beast when time is available to me.
Title: Re: [XP] Heretic's Collection of Art and 100% Compatible Scripts
Post by: Heretic86 on August 21, 2016, 12:57:41 AM
Saturday, August 20th, 2016

- Heretic's Dynamic Lighting Version 1.0 - Release
Spoiler for:
Smooth Day / Night Transitions

Pendulum Lights

* - Very Fast Light and Shadow System
* - Fully Dynamic Lights (sorry, no realtime shadows)
* - Detect if a Character is being Illuminated with "in_light?(id)"
* - Built In Day and Night System
* - Pre Formatted Time in a Game Variable to display with \v[n] - 3:52 PM
* - Separate Indoor and Outdoor Settings (with a Game Switch)
* - Easy to configure Event Lights with Comments
* - Lights can be customized to Flicker either Size or Opacity
* - Smooth Transitions between Day and Night
* - Events and Lights can have different Opacity during Day and Night
* - Built In Game Clock or Sun / Moon Graphic (or both)
* - Highly Customizable, Length of Day, Color of Day, Night and Indoors, etc.
* - Lights can be Rotated
* - Shadows can prevent Lights for rooms and tops of buildings for logic
* - Spotlights point at characters and follow their movements
* - Pendulum Lights swing at the end of Pendulums
* - Standalone Script, should work fine with the SDK and Non SDK
* - Tested with XP Ace on and it seems to work
* - Gluten, Peanut, and Lactose Free

- Heretic's Unlimited Event Page Conditions
Spoiler for:
Use Scripts for Page Conditions

- KK20's Custom Prices
Spoiler for:
Set Prices for Every Item when Shops are called

- Added Sithjesters Sprites (800+ New Characters)
Spoiler for:
Title: Re: [XP] Heretic's Collection of Art and 100% Compatible Scripts
Post by: Heretic86 on January 27, 2019, 04:19:13 AM
UPDATED to Version 2.4,13682.msg180363.html#msg180363

New features include Updates to Dynamic Lights and Super Event Sensor allowing Players to use Darkness to hide!