Save-Point
Advantages! - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html)
+---- Thread: Advantages! (/thread-2589.html)



Advantages! - DerVVulfman - 03-05-2008

Advantages!
Version: 1.8


Introduction
Ever wanted your heroes to surprise their foes? Ever wanted your party to be surprised? Now you can.

This system (based in part by a KGC script) allows you to take advantage to be ambushed by your foes. You can set up conflicts to 'automatically' have the advantage and a bonus round at the start of combat... or lose a couple rounds... or have the system arbitrarily decide based on who's the fastest in combat.

This system is a decently remastered version of KGC's Pre-Eemptive Attack system that allows the hero's party (or the enemy troop) to have a free round to attack at the battle's start. In essence, it allows you to create sneak attacks.

Unlike what I've seen (however) is the ability for the original system to work with other battlesystems (ParaDog's, Fomar0153's, Trickster's) so I've worked to add more functionality for the AT functions of these systems. I have also trimmed certain sections to be more compliant with the SDK.

And for those concerned, it works with a number of non-AT bar systems too, like Ccoa's sideview system.

Hey... I was surprised too... :)


Features
  • Compatible with many battlesystems
  • Can delay surprised party/troop through 'Status Effect' usage
  • Can fill or wipe AT bars based on who's got the advantage ('Status' Effect optional then)
  • SDK compliant??? (Has to. It works with Trickster's ATB & His CTB)
  • Adjustable difficulty for advantage gaining
  • A retrievable value (for sideview system scripters)


Screenshots
None, though you'd get a nice battlesystem with a popup window saying 'You've been Bushwhacked!" or something...


Demo
None. Actually quite simple to use.


Script
The Script

Instructions
The instructions are in the script above, and they're amazingly easy to use.

It is recommended to create an 'Advantage' Status effect for use with this system. This is a status effect similar to dazzle, sleep or stun, that the party and/or enemy troop suffers. When created, you should flag the restriction to 'Can't Move'... turn the 'Can't Evade' switch on, and set a duration for this status effect.

The fastest way to create an 'Advantage' Status effect is to COPY the 'Sleep' status effect, paste it into a new spot and rename it 'Advantage'. Just change the Animation and Release Conditions to your liking.


FAQ
Allow me to quote Petros:

"From what I can read here it seems like you've chewed the old script up spat it out, injected it with steroids and gave it some cosmetic surgery to look like Angelina Jolie. Okay maybe I went a little too far on the wierd metaphors there..."

I thought that was fun to read. :D


Compatibility
SDK Compliant but not necessary.

Compatible with the following custom battlesystems:
KGC's Active Count Battle, ParaDog's v 2.58, XRXS #65, Cogwheel's RTAB, Trickster's ATB*, Trickster's CTB*, Ccoa's SideView, Fomar0153's Action Cost Battle, and Charlie Fleed's CTB
* Trickster's systems already include a built-in variant of Advantages. But this works too.



Credits and Thanks
Basic credit goes to KGC for quickie lessons in element tagging and aliases and so on. The basic mechanics were so eeeaaasssyyyy.... Oh, and to Jaide for requesting a 'hide the window' feature.


Terms and Conditions
Free for personal and commercial use. Only caveat is due credit.

[Image: xp_warning.png]
Image has link to Enterbrain's Download Page



Advantages! - Ace - 12-26-2009

great script, I really searched this but i use rpg maker xp and charlie fleeds ctb 3.0. Now i tried to get it work
but only the advantage for my party is working (also if i use $game_system.advantage_force = '2' Oo)
Could you help me with this? I want this so bad^^ sounds really great, would be also cool if this works when my party has
a disadvantage the whole formation is mirrored

ty Zare


Advantages! - DerVVulfman - 12-30-2009

BUMP
to Version 1.6

Your wish is granted.

Place this script below the principle first scripts of Charlie Fleed's CTB but above the Animated Battlers scripts and it should work fine.


Advantages! - DerVVulfman - 12-31-2009

BUMP
to Version 1.7

A minor update to 1.7 thanks to Charlie Fleed for an automatic delay system added. It can be bypassed with a configurable value.


Advantages! - Ace - 01-04-2010

yeah great script! awesome :D ty^^


RE: Advantages! - DerVVulfman - 12-12-2011

BUMP
to version 1.8

Came up with a fix in responce to a bug that Yin encountered. It apparently was a glitch that occurred when the popup messages were disabled while using Charlie Fleed's CTB and when enemies have the advantage.
[/align]