Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # =============================================================================
- # Theolized Sideview Battle System (TSBS)
- # Version : 1.3
- # Contact : www.rpgmakerid.com (or) http://theolized.blogspot.com
- # (English Language)
- # -----------------------------------------------------------------------------
- # Requires : Theo - Basic Modules v1.5b
- # >> Basic Functions
- # >> Movement
- # >> Core Result
- # >> Core Fade
- # >> Clone Image
- # >> Rotate Image
- # >> Smooth Move
- # =============================================================================
- =begin
- Introduction :
- Move addons is a trick to split action sequence in different script slot to
- gain more control on you sequences
- How to make move addon :
- - Insert a new script below TSBS
- - Start with "module TSBS"
- - End it with keyword "end"
- - Insert any constant name you want between "module TSBS" and "end". Start
- it with capital letter. For example "Stella_Moves"
- - Add = {} symbol after the name you just typed
- - Define new action sequences inside {}
- - Adds AnimLoop.merge!(Your_Inputed_Name) in the end of line
- The simple example would be like this
- -------------------------------------------------------------------------------
- =end
- module TSBS
- MoveAddon = {
- "New_Action" => [
- [],
- [:pose, 1,3,4],
- [:pose, 1,3,4],
- [:pose, 1,3,4],
- [:target_damage],
- # IT JUST SAMPLE!
- ],
- }
- AnimLoop.merge!(MoveAddon) # <-- closure
- end
- =begin
- -------------------------------------------------------------------------------
- Or you could see the example below
- -------------------------------------------------------------------------------
- =end
- module TSBS
- # Constant name
- Kaduki_Standard = { # <-- adds {
- # Define new action sequence between {}
- # ---------------------------------------------------------------------------
- # Idle sequence
- # ---------------------------------------------------------------------------
- "K-idle" => [
- [true,false,false],
- [:icon, "Clear"],
- [:pose, 1, 0, 15],
- [:pose, 1, 1, 15],
- [:pose, 1, 2, 15],
- [:pose, 1, 1, 15],
- ],
- # ---------------------------------------------------------------------------
- # Hurt sequence
- # ---------------------------------------------------------------------------
- "K-hurt" => [
- [false,false,false],
- [:pose, 1, 3, 10],
- [:pose, 1, 4, 10],
- [:pose, 1, 5, 10],
- ],
- # ---------------------------------------------------------------------------
- # Critical sequence
- # ---------------------------------------------------------------------------
- "K-pinch" => [
- [true,false,false],
- [:pose, 1, 6, 15],
- [:pose, 1, 7, 15],
- [:pose, 1, 8, 15],
- [:pose, 1, 7, 15],
- ],
- # ---------------------------------------------------------------------------
- # Move sequence (Not used)
- # ---------------------------------------------------------------------------
- "K-move" => [
- [false,false,false],
- [:pose, 1, 9, 5],
- [:pose, 1, 10, 5],
- [:pose, 1, 11, 5],
- ],
- # ---------------------------------------------------------------------------
- # Victory sequence
- # ---------------------------------------------------------------------------
- "K-victory" => [
- [false,false,false],
- [:pose, 2, 0, 30],
- [:pose, 2, 1, 8],
- [:pose, 2, 2, 60],
- ],
- # ---------------------------------------------------------------------------
- # Evade sequence
- # ---------------------------------------------------------------------------
- "K-evade" => [
- [false,false,false],
- [:slide, 25, 0, 7, 20],
- [:pose, 2, 3, 2],
- [:pose, 2, 4, 2],
- [:pose, 2, 5, 3],
- [:pose, 1, 0, 10],
- [:goto_oripost, 5, 0],
- ],
- # ---------------------------------------------------------------------------
- # Dead sequence
- # ---------------------------------------------------------------------------
- "K-dead" => [
- [true,false,false],
- [:pose, 2, 9, 10],
- [:pose, 2, 10, 10],
- [:pose, 2, 11, 10],
- ],
- # ---------------------------------------------------------------------------
- # In (bad) state sequence
- # ---------------------------------------------------------------------------
- "K-state" => [
- [false,false,nil],
- [:pose, 1, 7, 10],
- ],
- # ---------------------------------------------------------------------------
- # Item Use
- # ---------------------------------------------------------------------------
- "K-Item" => [
- [],
- [:slide, -45, 0, 7, 10],
- [:pose, 1,0,30],
- [:flip, true],
- [:pose, 3, 6, 4],
- [:pose, 3, 7, 4],
- [:sound, "Evasion1", 80, 100],
- [:projectile, 0, 20, 10, "item_in_use.icon_index", 90],
- [:pose, 3, 8, 4],
- [:wait, 30],
- [:flip, false],
- ],
- # ---------------------------------------------------------------------------
- # Kaduki Cast Pose
- # ---------------------------------------------------------------------------
- "K-Cast" => [
- [:pose, 3, 9, 6],
- [:pose, 3, 10, 6],
- [:pose, 3, 11, 6],
- [:pose, 3, 10, 6],
- ],
- } # <-- end "}"
- AnimLoop.merge!(Kaduki_Standard) # <-- Add this line as closure
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement