Save-Point
States Activation System aka State-Based Passive Augments, Version 0.2 - 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)
+--- Thread: States Activation System aka State-Based Passive Augments, Version 0.2 (/thread-730.html)



States Activation System aka State-Based Passive Augments, Version 0.2 - Charlie Fleed - 02-17-2010

States Activation System
aka State-Based Passive Augments
Version 0.2

Introduction

This system lets you select a set of states that can be activated/deactivated from a menu window. Each character has an amount of STAPs (Status Activation Points) and each status costs some STAPs.
Characters earn STAPs as they level up, and the user can customize the amount of STAPs available at each level independently for each character.
This way the system will work with any passive augments system that relies on states, like my battle system.

Instructions

Suppose you want to make an Auto-Protect state that automatically gives your characters the Protect state.
- Make a skill (yes, a skill) and call it "Auto Protect".
- Add an entry in the STATE_SKILL_COSTS hash that indicates its cost.
- Add an entry in the SKILL_TO_STATE_LINKS hash that indicates the state it activates (Protect).
And you're done.

Screenshots

[Image: th_c7b07983.png]

Demo

demo

Author's Notes

Terms and Conditions

Free for Commercial Use.
Please credit Charlie Fleed.


States Activation System aka State-Based Passive Augments - Ace - 02-17-2010

I tried to draw the Activation Points to the main menu but I got an error, I want it to be e.g. like this:
The Actor has 15 SkAP, 11 are equipped already, so 4 left:

4/15

what would I have to write in my menu script?


States Activation System aka State-Based Passive Augments - fgsfds - 02-17-2010

Like this idea, personally, my game relies on passives and mods (Thanks to your script) where level itself isn't enough, I'm using a CMS therefore I'm unable to use this, but can you do something like 'Press A/S to change from Skill Window to Passive Window' (similar fashion to your Skill Equip)?


States Activation System aka State-Based Passive Augments - Ace - 02-17-2010

you could put this in your skill scene:

Content Hidden

and this one in your state skill activation scene

Content Hidden

(but with your skill scene you have to define different keys if you are using the ctb by charlie)

I think this should work


States Activation System aka State-Based Passive Augments - fgsfds - 03-03-2010

Doesn't seem to be working, I get error about how S is invalid, and when I change it myself it does nothing, by replacing it with Y.


States Activation System aka State-Based Passive Augments - Kread-EX - 03-03-2010

Yes, S isn't a valid input constant. Try with SHIFT or Z.
@Charlie: excellent idea, really. Remind me FFIX system. Great work.


States Activation System aka State-Based Passive Augments - Ace - 03-03-2010

sorry, forgot that S doesn't exist -_-


States Activation System aka State-Based Passive Augments - fgsfds - 03-06-2010

Doesnt seem to switch windows at all