Jump to content

Search the Community

Showing results for tags 'script error'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community Central
    • Introductions & Farewells
    • Forum Announcements
    • Forum Feedback and Support
    • The Competition Zone
  • The Developer's Corner
    • Theory and Development
    • Recruitment
  • Game Development
    • Editor Support and Discussion
    • Programming
    • Tutorials
    • Workshop
  • Game Production
    • Games in Progress
    • Completed Games
    • Game Reviews
    • Archived Games -Projects that have been inactive for 12 months are stored here.
  • Resource Center
    • 2D Resources
    • 3D Models
    • RPG Maker
    • Audio
    • Resource Market
    • Developing Tools
  • Creative Area
    • Artwork Gallery
    • Music Room
    • Literature Library
    • Animation Theater
  • Off-topic
    • General Discussion
    • Role Playing And Forum Games

Blogs

  • Loki's Blog
  • Kirin's Blog
  • Cremno's Blog
  • Nelneo's Blog
  • silversatyr's Blog
  • Virtuous Blade Development Blog :: DISCONTINUED
  • Lone Barrel Works
  • Intrigue of the Crystals Development Blog
  • Princess Project
  • Endafy's Corner
  • Knightmare's Blog
  • The Septrian Voyager
  • Animated Battlers
  • Pikalyze's Apple Tree
  • Marshzd Film to RPG Blog
  • Guardian Spirits Status Blog
  • Shinsei Stuff
  • æ�±æ´‹ã‚¢ãƒˆãƒªã‚¨
  • Eve of Perception [RPGMakerMV] Devlog
  • Blood Boundary Development
  • Little Girl That Could dev blog
  • Alice - Human Sacrifice Blog
  • Brualrosian Empire
  • Bashar's Blog
  • Shin RPG Maker
  • ShinGamix's Ace.net Only Blog
  • UnDead Studios
  • tillypope's Blog
  • whitedahlia
  • Rusted Souls Project Blog
  • Somnium: Burning Ember Development Blog.
  • E. Rin's Blog
  • Mako Star's Blog
  • A Descent into the Maelström
  • Aarowaim's Blog
  • CubixPG's
  • Pokemon Planet Project
  • Uprising:The Blog
  • COOL TELOCH BLOG
  • Politics: The game project blog
  • MonDez's Custom Resources
  • BlueDragonGamers
  • CT Bolt's Blog
  • Cid Gaius' Blog
  • Cidiomar's Blog
  • monster311
  • Velvela Jade
  • Dark Horseman
  • Pocketmouse, Project: Blog
  • Looking for Artist
  • COVB Custom
  • Ravenith's Laboratory
  • The Ninth Life Gaming
  • Daniel Tom's Blog
  • Daniel Tom's Blog
  • Level 99
  • Blood Shadows Blog
  • PK8's Blog
  • It's Acezon
  • Saphire Action Battle System IV how do you make the player Die?!
  • jomarcenter gamer news blog
  • Random Designs~
  • Mini Game Ideas
  • A Mouthful Of Maus
  • Mundane's Blog
  • The Guardian's Wicked Cool Stuffs!
  • Script Request
  • Ultima - Virtuous
  • Deadwater's Blog
  • Alendalin RPG
  • Cait's Blog
  • Acer K Productions
  • Hyde's Development Journal
  • DWM2 Development Journal
  • ~Hikari No Uta~
  • => proceed to recycle bin
  • The8th's Journal
  • Face Emotions
  • Request on Tutorials Anyone?
  • estriole's Blog
  • NecromireGames Blog
  • Toheka's blog
  • Bluestar Blog
  • Upcoming Tutorials
  • Misadventures
  • Resource Blog
  • LunaWing118's Blog
  • My Game
  • A Masterpiece In Development
  • N.O.I.M.
  • Hey PL! (Passive Lion's Official VX Ace Blog)
  • RagingHobo's Blog
  • Arctic Fox's Blog
  • Utajärvi
  • Yin's Blog
  • TDW's Blog
  • pxlgraphic- Official Blog
  • The Making of Zendir
  • Rowen's Blog: Okami project
  • Vintaisa:School magic
  • Elixia's Memoir Chamber
  • Progress Project
  • Realms of Eternity
  • Infernal Cauldron of Miscellany
  • The Making of Zendir 2
  • Hortator's Blog
  • Project Shotgun
  • kelchw2323's Blog
  • kelchw2323's Blog
  • Aesorian's Thingymajig
  • NewMarker's Blog
  • Dezz's Stuff!
  • Pixel Art
  • KilloZapit's Magical Fairyland
  • Zendir 1: The Director's Cut
  • Bá´€ssÒ“ire [â—£ â—¢]'s Blog
  • My sweet abyss
  • RuinLight's Blog
  • ohheart's Blog
  • Indy Star: Dev Log
  • Logic's Blog
  • Mark Juner
  • LunaWing118's Blog
  • The fall of equestria
  • chronicles of a gamer
  • Replication/Tutorials
  • King's & Heroes Dev Blog
  • Whistler Wolf's Blog
  • kaz's Blog
  • China Rgss Scripts
  • Draciarch Games' Blog
  • Modern's Goal
  • Z3R0's Blog
  • 7-continents worldwide travel
  • "The World After" in the Making.
  • DarthVollis' Blog
  • SMC Development Blog
  • ~Choco's Blog~
  • Thoughts
  • The Four Stones
  • The Zen
  • Maindric's Blog
  • icon's Unusual Ideas
  • kayden997 Gaming Moment
  • Jonnie's Blog!
  • RuinLight Blog
  • Wren's Blog
  • Axio Chronicles: Progress Report
  • Liphidain - The Record
  • Nightgazer Starlight's Blog
  • Thebigzumawinz's Blog
  • Orrgar's RPG Blog
  • SchnitzelLion's Blog/etc
  • SirBilly's Blog
  • The Guardian's "Project RPG"
  • Alufey's Blog
  • Zanara's Blog
  • Legend of Erthia - The Etheral Gate
  • Naruto RPG Blog
  • GreenSheepGo's Blog
  • siChainlinks' Blog
  • Haunted Robots Blog
  • A blog emerges.
  • HimeWorks
  • cHAOScythe's Blog
  • Aetra: The Blog
  • Soul of Sul
  • Tutorial Drafts
  • Tigerbite's Blog
  • I need a little help... (o.\\)
  • Project A
  • The Shadows of Splendor
  • Deej's Blog
  • From the studio...
  • Vos: Demon Eater
  • RuinLight's Blog
  • Project Pepé
  • Project: █████▌
  • LunaticZio's Blog
  • Vauge
  • ThunerzIX's Blog
  • Smokey's Blog
  • AlexanderK's Blog
  • Magic Warrior
  • VanillaCube's Blog
  • Eventing 101
  • wirt2650's Blog
  • Rabie's Vaccine
  • Ninja Wolf Blog
  • Grotaiche's Blog
  • Writing Competition
  • OtaEnt Studios
  • Totori's Blog
  • The Kokonut Tree
  • Universecoffee's Blog
  • Universecoffee's Blog
  • Judgement Journey : Develop Blog
  • OmegaDSX's Blog
  • CharmingDominion's Blog
  • Jay Heartay's Blog
  • Arfax Games Dev-Blog
  • Pandemonuim the game
  • Remains: Dream Paradise
  • Just Starting Out
  • dev[otion]
  • Taffer's Blog
  • Soft-Square's
  • OmegaDSX's Off site blog
  • Story Review
  • My Ideas
  • EVENavesT
  • Elementstormrpgteam's Blog
  • RavenTheOld's Blog
  • Unnamed Game Dev
  • The Arbitrators Series
  • Medicine Man
  • Laura Yeah Right's Blog
  • Stradar's Blog
  • Silvershore
  • Jonath4nC's Blog
  • xMikachux's Stuff
  • Cecillia's Blog
  • Liphidain Development Blog
  • Pixelated
  • animeforfun's Blog
  • Purogurama Project
  • Flora Development
  • animeforfun's Blog
  • anna trinh's Blog
  • DragonWing Studios Blog
  • Constellation
  • Tangential
  • P3RR1N's Blog
  • Necromedes' Blog
  • Soul Attraction
  • Tsarmina's Ramblings
  • lastonealive111's Blog
  • privateer's Blog
  • Warhamme40k Extermination
  • Dead Island Reincarnate part 1 review
  • Murgianswordsman's Blog
  • Jungernaut's Status Updates
  • Dead island Reincarnate info
  • KevinFrost's Blog
  • The Ensnarer
  • InfectedChild's Blog
  • Cupcake293's Blog
  • Choco's Dev Blog
  • Something Witty
  • t h e j a y s t u d i o's Blog
  • Zeth-Almer's Blog
  • Blindga's Lounge
  • Yenok's Blog
  • Eroha Maximus Development Blog
  • General Douchebaggery
  • My RPG progress blog
  • Master of The Forge - Development Blog
  • Draaloff - a small artwork collection
  • Update Blog
  • Cazziuzz' Blog
  • Personal blog
  • Ramblings of a writer
  • Ocedic's Blog
  • Gump's Dev Blog
  • smashdaddy's Blog
  • Biwy's Scripts
  • Ooooh! A Blog!~
  • So yea...
  • Cakes Notebook
  • Questions about my game
  • Flaming Teddy Productions
  • JamTam Universe
  • Tales of Mysteania DEMO
  • Near Misses of the Mundane Sort
  • Patch game title WIP
  • Tales of Time
  • Is anyone willing to assist me?
  • EraYachi's ...*sigh*..."Blog"
  • Help and Advice Requested
  • Fallen Temple
  • QuizicalGin's Blog
  • Ace Academy in Action
  • Fairy, Fairy How Contrary
  • Post-apocalytpic Simulation
  • Tweaksource's Blog
  • McCrumple's Blog
  • Utopia Software
  • gaixareku's Blog
  • DH2 Productions' Blog
  • Palladinthug's Blog
  • magicmetal's life
  • AlliedG's Blog
  • JStewartMusic Blog
  • Attack on Diary
  • Jeff-Andonuts PLAYS SOME RPGMaker VX Ace GAMES!
  • The Thoughts of a Squirrel King
  • Kamalot_INC Presents
  • Crazy Lady with a Hammer!
  • Question About Damage Formulas
  • Wow, such blog!
  • Phantom Antiquary
  • My Game Days
  • ShadowSphere Entertainment
  • Quick Question with Victor's Battle System
  • OFFICAL HIREING LIST
  • UnDead Studios Archive
  • Big project, I need help
  • Welcome to Entropy
  • Tactical Game System
  • Under The Name Sanders
  • Otterlicious
  • ScottofNorth's RPG Journal
  • LukeRiley's Project:
  • DiaWulf here~
  • A Spark of Inspiration
  • Downwinds' Blog
  • Arctic Thunder Crunch
  • luwehazcu's Blog
  • Fake but real
  • Allusion's Blog
  • Preparing For Massive Crowdfunding
  • nicoleanderson's Blog
  • Light and the Dark, A Journal
  • Kuronekox's Blog
  • Tris Blog
  • Omniblacklight's Blog
  • Theolized Stuffs
  • Blood Heart Redemption Dev Blog
  • Sug's Blog
  • GameMaking Blogger TheAqib
  • An artist's scattered thoughts
  • CloudTheWolf's Blog
  • Malagar's RPG Dev Diary
  • PoorCollegeGuy's Blog
  • nanokan's Blog
  • Movie Review Blog
  • Minerva's Touhou Diary
  • GameCreations' Blog
  • insomnioid
  • Johnny's Corner
  • Rush2112's Blog
  • Cat`s and Lolipops
  • The Rock Music Blog
  • New Artwork!! :D
  • Wolf Engine
  • Ultim's Thoughts
  • NightWolf's Logo Hub
  • Arcane Blog
  • Lith's Corner
  • HTML & CSS Learning Diary
  • Freak's Games
  • ASOE - Asynchronous Online Engine
  • Dark Cloud RPG Maker Edition
  • Plague's Blurbs
  • An Errant Soul's Musings
  • Stellar Complex - Development Blog
  • Venya's Blog
  • Wish to the Stars development blog
  • A Writers Paradise
  • Project Aventice
  • Aljara~
  • Extreme edits
  • Concepts & Roughs
  • Hokobishu's Japanese Tea House
  • Yukijin's Storehouse
  • The Pantheon
  • Pixii Stix since 1986
  • The Manic Elf
  • Ramblin' Roccstar
  • Blogging and Things
  • Opal Starlight
  • Game Watch
  • Turt's Blog
  • minefan's development blog
  • Kotori-chan`s Review Adventures~
  • Vectra Productions
  • ~Diary of Wrath~
  • DMTK Stuffs
  • Ailuro's Blog
  • Omni Link's Blog
  • Scoosh's Blog
  • DavidFoxfire's Works in Progress
  • DJBailey on Sound, Life, Development
  • Tools of The Trade
  • Kaiso's Blog of ideas and art
  • ImAGirlUPerv's Blog
  • TimothyWhitcomb's Blog
  • Chaosian's Blog
  • Lex's Blog
  • Spooky Does Blog Stuff
  • @Monkeysnow55's Blog
  • Don't have a project title yet :x
  • TheCaliMack RPG (California Macky's Blog)
  • Point08's Blog
  • Emphasis Log
  • A World On Fire
  • Space game
  • Project Eden Dev Blog
  • Soul Eka
  • The Consensus' RMVX Ace Musings
  • Writer's Resource
  • Spectre's Freebies
  • Karsh's Developer Blog
  • AngelCou's Blog
  • Intelligent Debates/feelings/conversations
  • The scripting life of a big red dog
  • Realm of the Nine Palms
  • D'Art Blog
  • BHR development
  • Personal Blog
  • And A Random Blog Appears From The Shadows
  • [Project Log] Relic Hunter
  • LadyLemonGames' Diary
  • Takeo's Game Updates
  • Visual Novel Progress
  • Absolute Nonsense(The Good Kind XP)
  • My Precious Days
  • Wander Work Blog
  • upsidedownprtl's IGMC Blog
  • IGMC Entry
  • Joseph's Development Chatter
  • The Daily Apple
  • [Project Log] The Keeper of the Wards
  • Local Woman Creates Blog: Users React in a Rampage
  • JaiCrimson's Blog
  • Returning to RMVX
  • Vectra's Speeches
  • Monster's Den Blog
  • Firehawk Labs
  • gunsage's magical death metal unicorn apocalypse
  • LTN Games
  • EpicFILE Leisure Time
  • Personal Blog
  • Random Things
  • My small ideas
  • The Waffle of Gold! Development Blog!
  • Blithe's Bleh
  • Maki's Semi-Transparent Cube
  • thejaxinator's INAW3
  • ~Dia's Rant's, Comments, And Concerns of Today's World~
  • Development of Beyond the Dark
  • You walked into Shin's Room
  • Manga Gothic
  • My year with the dragon
  • Memoirs of a Space Traveler
  • The Bounty Hunters
  • Cookie ninja shares!
  • Balter's blog
  • Veryll Tavern
  • Random Postings
  • Devonair320's Blog
  • Green With It's Freedom-Land Field Guide
  • Thought-crime and Other Misdemeanours
  • Jaluna's Berry Bush
  • Character Showcase and Other Things
  • Khaos' Kavern
  • markA's Blog
  • Equestria
  • PixeLockeT Plays & Plugs
  • Jacklack3's Book Of Stuff
  • Paradox: The Dev Log
  • Scalvose: Demons and Dragons Progress Holder
  • KunLibertad's Blog
  • Development of STA-FDW
  • Decim Blog, and Other Things
  • Tales of the Clumsy Beginner
  • Shiggy's Lab of Randomness
  • Bunbunmaru News
  • Raymi's Blog
  • Shiggy's Blog
  • GameKirby's Blog
  • LewisDruid's Gaming Corner
  • Nirwanda's Corner
  • Jax's Game Log
  • ashm13's Blog
  • A Dog's Guide to Highwick
  • Jacob Mann's IIAW3
  • The Eddsworld Fangame(s?)
  • beh
  • As Time Takes Its Course
  • Tempest of Souls
  • Tochiko Island: Juju Talks to Herself (And Others)
  • Unfortunate Ideas
  • The Woodcutter's Daughter (dev corner)
  • Demon's Gate Progress Blog
  • Cleosetric's Journal
  • Cinder's Stuff
  • Project Iniquitous
  • Milton Monday Plays Something
  • Ac Games
  • Characters And Such
  • Gaming, Writing, and Music
  • GamePad DevBlog
  • CVincent's Blog
  • Cupid's Universe
  • The Lightsworn Devrambles
  • Tarq's Backlog
  • Iron Fortress
  • Chungsie's Dagger Thunder Poop
  • Straydog's Blog
  • DRC's Blog
  • The Book of Love: South Park Fanfiction
  • The Legend of Jerry Quiver: Dev Blog
  • Official Works
  • Cosmo's Development log and Process Anouncments
  • 9 Circles Casino & Hotel
  • The Hurst's Development... Thingy
  • Chibae's Blog
  • JesseO's Blog
  • Party Pals!
  • 'Lucid' Blog Thing I Think
  • Cryptic: Project Journal
  • Neryan's Bloggie >,<
  • Planned All Along
  • Planned All Along
  • Alphys Hedge's Blog
  • Nexus of Naoto
  • FluffexStudios' Blog
  • CAW Series
  • RGSS3 Rumbles
  • Journal of the Phoenix
  • Project Updates
  • Perang Cemen's Devil Boy Quest
  • Fleshport Development Blog
  • Amyrakunejo's Game Cabinet
  • Secret Project
  • "Crystal Crown" Devlog [RPG Maker MV]
  • Memory of the Fallen Leaves Demo 1.8 coming soon-ish
  • Delve into the Digital Embrace
  • Nira, the Experiment
  • Testing Blog
  • Loco's Loose Leaf Odyssey
  • CH2 - Afterword
  • Verdiløs Games
  • An it harm none do what ye will.
  • Eddsworld: Life After The End
  • Final Fantasy (Working Title)
  • Alva (not the skater)-A planet and world much like the one we know, or claim to...
  • The Absinthe Gazette
  • Absinthe Ingram Makes A Game

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Skype


Location


Interests

Found 3 results

  1. I don't know where to start. I am currently using RPG maker and I could have sworn I have posted about this a thousand times, but I seem to keep losing the thread I've made in regards to this. I'm sure this has been asked a thousand times anyway because I had done a search for this on and off for about a year or so and end up with the same results. Though I did manage to find a way around it, but because I am using scripts I am receiving script errors. Well, one in particular. There's a script error for Galv's region effects. As it is shown here it has something to do with the PadConfig. Right where is highlighted is what the error is showing me and so I don't know what sort of changes I need to make to get this script working again. Galv's Region effects is there for tile special effects on character movements like the splashing in water or the dust trail on the road. I would like to be able to keep these effects in the game if at all possible. Help in this would very much appreciate it.
  2. Do recently I got the famous Yanfly visual battlers script I was excited at first, designed all my enemies to look good in said system but things quickly started to turn sour. You see there is a certain mechanic my game has. It's called flee and is used by a cowardly character to ditch everyone else in the middle of a battle. It worked just fine before the yanfly script. eventually I removed a certain line in the script that stopped me from calling actions mid battle. It seemed to fix the problem in the short run. That is until I attempted to have the coward flee and then had the rest of the party escape. The game displayed an error again. So I once again turned the lines that were conflicting with my orders to #comments It fixed everything gameplay wise. However it messed up something else. Now the character visuals won't respond appropriately when K.O'd This is the entire script WITH the edits copied from my game. I am a noob at programing so it's gibberish to me. I was wondering if anyone could help me fix it somehow? If not then tell me if there are any scripts similar to this one that don't conflict with the escape command #============================================================================== # # ¥ Yanfly Engine Ace - Visual Battlers v1.01 # -- Last Updated: 2012.07.24 # -- Level: Easy # -- Requires: n/a # # ¥ Modified by: # -- Yami # -- Kread-Ex # -- Archeia_Nessiah # # - Barreytor's modded copy of the script # Includes: # - "Actors drop dead" quickfix # - "Actors stay still" quickfix with toggle # - "Actors moonwalk back" quickfix with toggle #============================================================================== $imported = {} if $imported.nil? $imported["YEA-VisualBattlers"] = true #============================================================================== # ¥ Updates # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= # 2012.12.18 - Added preset views and able to change direction in-game. # 2012.07.24 - Finished Script. # 2012.01.05 - Started Script. # #============================================================================== # ¥ Introduction # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= # This script provides a visual for all actors by default charsets. The actions # and movements are alike Final Fantasy 1, only move forward and backward when # start and finish actions. # #============================================================================== # ¥ Instructions # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= # To change the player direction in-game, use the snippet below in a script # call: # # $game_system.party_direction = n # # To install this script, open up your script editor and copy/paste this script # to an open slot below ¥ Materials but above ¥ Main. Remember to save. # #============================================================================== # ¥ Compatibility # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= # This script is made strictly for RPG Maker VX Ace. It is highly unlikely that # it will run with RPG Maker VX without adjusting. # #============================================================================== module YEA module VISUAL_BATTLERS #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # - Party Location Setting - #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # These settings are adjusted for Party Location. Each Actor will have # coordinates calculated by below formula. There are two samples coordinates # below, change PARTY_DIRECTION to the base index you want to use. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- PARTY_DIRECTION = 6 # This direction is opposite from actual direction. PARTY_LOCATION_BASE_COORDINATES ={ # Index => [base_x, base_y, mod_x, mod_y], 2 => [ 250, 290, 40, 0], #UP 4 => [ 150, 280, 20, -20], #LEFT 3 => [ 460, 280, 30, -10], #RIGHT 6 => [ 460, 280, 32, 20], #DEFAULT RIGHT 8 => [ 260, 230, 40, 0], #DOWN } # Do not remove this. PARTY_LOCATION_FORMULA_X = "base_x + index * mod_x" PARTY_LOCATION_FORMULA_Y = "base_y + index * mod_y" ACTORS_WALK_WHEN_STILL = true ACTORS_MOONWALK_BACK = true # Change this if you want the sprites to face another direction when they # have the dead state. Refer to PARTY_DIRECTION to see what is what DEAD_DIRECTION = 0 # Change this if you want the battlers' sprites to get directly rotated when # they have the death state, and how much of an angle. Useful for a simple # "Lying down dead" effect (that'd be -90 here) DEAD_ANGLE = 180 end # VISUAL_BATTLERS end # YEA #============================================================================== # ¥ Editting anything past this point may potentially result in causing # computer damage, incontinence, explosion of user's head, coma, death, and/or # halitosis so edit at your own risk. #============================================================================== #============================================================================== # ? ¥ Direction #============================================================================== module Direction #-------------------------------------------------------------------------- # self.correct #-------------------------------------------------------------------------- def self.correct(direction) case direction when 1; return 4 when 3; return 6 when 7; return 4 when 9; return 6 else; return direction end end #-------------------------------------------------------------------------- # self.opposite #-------------------------------------------------------------------------- def self.opposite(direction) case direction when 1; return 6 when 2; return 8 when 3; return 4 when 4; return 6 when 6; return 4 when 7; return 6 when 8; return 2 when 9; return 4 else; return direction end end end # Direction #============================================================================== # ? ¥ Game_System #============================================================================== class Game_System; attr_accessor :party_direction; end #============================================================================== # ? ¥ Game_BattleCharacter #============================================================================== class Game_BattleCharacter < Game_Character #-------------------------------------------------------------------------- # initialize #-------------------------------------------------------------------------- def initialize(actor) super() setup_actor(actor) @move_x_rate = 0 @move_y_rate = 0 end #-------------------------------------------------------------------------- # setup_actor #-------------------------------------------------------------------------- def setup_actor(actor) @actor = actor @step_anime = true set_graphic(@actor.character_name, @actor.character_index) setup_coordinates dr = $game_system.party_direction || YEA::VISUAL_BATTLERS::PARTY_DIRECTION direction = Direction.opposite(dr) set_direction(Direction.correct(direction)) end #-------------------------------------------------------------------------- # step_anime= #-------------------------------------------------------------------------- def step_anime=(step_anime) @step_anime = step_anime end #-------------------------------------------------------------------------- # sprite= #-------------------------------------------------------------------------- def sprite=(sprite) @sprite = sprite end #-------------------------------------------------------------------------- # setup_coordinates #-------------------------------------------------------------------------- def setup_coordinates location = ($game_system.party_direction || YEA::VISUAL_BATTLERS::PARTY_DIRECTION) base_x = YEA::VISUAL_BATTLERS::PARTY_LOCATION_BASE_COORDINATES[location][0] base_y = YEA::VISUAL_BATTLERS::PARTY_LOCATION_BASE_COORDINATES[location][1] mod_x = YEA::VISUAL_BATTLERS::PARTY_LOCATION_BASE_COORDINATES[location][2] mod_y = YEA::VISUAL_BATTLERS::PARTY_LOCATION_BASE_COORDINATES[location][3] @actor.screen_x = eval(YEA::VISUAL_BATTLERS::PARTY_LOCATION_FORMULA_X) @actor.screen_y = eval(YEA::VISUAL_BATTLERS::PARTY_LOCATION_FORMULA_Y) @actor.origin_x = @actor.screen_x @actor.origin_y = @actor.screen_y @actor.create_move_to(screen_x, screen_y, 1) end #-------------------------------------------------------------------------- # index #-------------------------------------------------------------------------- def index return @actor.index end #-------------------------------------------------------------------------- # screen_x #-------------------------------------------------------------------------- def screen_x return @actor.screen_x end #-------------------------------------------------------------------------- # screen_y #-------------------------------------------------------------------------- def screen_y return @actor.screen_y end #-------------------------------------------------------------------------- # screen_z #-------------------------------------------------------------------------- def screen_z return @actor.screen_z end end # Game_BattleCharacter #============================================================================== # ? ¥ Game_Battler #============================================================================== class Game_Battler < Game_BattlerBase #-------------------------------------------------------------------------- # public instance variables #-------------------------------------------------------------------------- attr_accessor :moved_back attr_accessor :origin_x attr_accessor :origin_y attr_accessor :screen_x attr_accessor :screen_y attr_accessor :started_turn #-------------------------------------------------------------------------- # alias method: execute_damage #-------------------------------------------------------------------------- alias game_battler_execute_damage_vb execute_damage def execute_damage(user) game_battler_execute_damage_vb(user) if @result.hp_damage > 0 move_backward(24, 6) unless @moved_back @moved_back = true end end #-------------------------------------------------------------------------- # face_opposing_party #-------------------------------------------------------------------------- def face_opposing_party direction = ($game_system.party_direction || YEA::VISUAL_BATTLERS::PARTY_DIRECTION) character.set_direction(Direction.correct(direction)) rescue 0 end #-------------------------------------------------------------------------- # new method: face_coordinate #-------------------------------------------------------------------------- def face_coordinate(destination_x, destination_y) x1 = Integer(@screen_x) x2 = Integer(destination_x) y1 = Graphics.height - Integer(@screen_y) y2 = Graphics.height - Integer(destination_y) return if x1 == x2 and y1 == y2 #--- angle = Integer(Math.atan2((y2-y1),(x2-x1)) * 1800 / Math::PI) if (0..225) === angle or (-225..0) === angle direction = 6 elsif (226..675) === angle direction = 9 elsif (676..1125) === angle direction = 8 elsif (1126..1575) === angle direction = 7 elsif (1576..1800) === angle or (-1800..-1576) === angle direction = 4 elsif (-1575..-1126) === angle direction = 1 elsif (-1125..-676) === angle direction = 2 elsif (-675..-226) === angle direction = 3 end #--- character.set_direction(Direction.correct(direction)) rescue 0 end #-------------------------------------------------------------------------- # create_move_to #-------------------------------------------------------------------------- def create_move_to(destination_x, destination_y, frames = 6) @destination_x = destination_x @destination_y = destination_y frames = [frames, 1].max @move_x_rate = [(@screen_x - @destination_x).abs / frames, 2].max @move_y_rate = [(@screen_y - @destination_y).abs / frames, 2].max end #-------------------------------------------------------------------------- # update_move_to #-------------------------------------------------------------------------- def update_move_to @move_x_rate = 0 if @screen_x == @destination_x || @move_x_rate.nil? @move_y_rate = 0 if @screen_y == @destination_y || @move_y_rate.nil? value = [(@screen_x - @destination_x).abs, @move_x_rate].min @screen_x += (@destination_x > @screen_x) ? value : -value value = [(@screen_y - @destination_y).abs, @move_y_rate].min @screen_y += (@destination_y > @screen_y) ? value : -value end #-------------------------------------------------------------------------- # move_forward #-------------------------------------------------------------------------- def move_forward(distance = 24, frames = 6) direction = forward_direction move_direction(direction, distance, frames) end #-------------------------------------------------------------------------- # move_backward #-------------------------------------------------------------------------- def move_backward(distance = 24, frames = 6) direction = Direction.opposite(forward_direction) move_direction(direction, distance, frames) end #-------------------------------------------------------------------------- # move_direction #-------------------------------------------------------------------------- def move_direction(direction, distance = 24, frames = 6) case direction when 1; move_x = distance / -2; move_y = distance / 2 when 2; move_x = distance * 0; move_y = distance * 1 when 3; move_x = distance / -2; move_y = distance / 2 when 4; move_x = distance * -1; move_y = distance * 0 when 6; move_x = distance * 1; move_y = distance * 0 when 7; move_x = distance / -2; move_y = distance / -2 when 8; move_x = distance * 0; move_y = distance * -1 when 9; move_x = distance / 2; move_y = distance / -2 else; return end destination_x = @screen_x + move_x destination_y = @screen_y + move_y create_move_to(destination_x, destination_y, frames) end #-------------------------------------------------------------------------- # forward_direction #-------------------------------------------------------------------------- def forward_direction return ($game_system.party_direction || YEA::VISUAL_BATTLERS::PARTY_DIRECTION) end #-------------------------------------------------------------------------- # move_origin #-------------------------------------------------------------------------- def move_origin create_move_to(@origin_x, @origin_y) if not(YEA::VISUAL_BATTLERS::ACTORS_MOONWALK_BACK) face_coordinate(@origin_x, @origin_y) end @moved_back = false end #-------------------------------------------------------------------------- # moving? #-------------------------------------------------------------------------- def moving? return false if dead? || !exist? return @move_x_rate != 0 || @move_y_rate != 0 end end # Game_Battler #============================================================================== # ? ¥ Game_Actor #============================================================================== class Game_Actor < Game_Battler #-------------------------------------------------------------------------- # overwrite method: use_sprite? #-------------------------------------------------------------------------- def use_sprite? return true end #-------------------------------------------------------------------------- # new method: screen_x #-------------------------------------------------------------------------- def screen_x return @screen_x rescue 0 end #-------------------------------------------------------------------------- # new method: screen_y #-------------------------------------------------------------------------- def screen_y return @screen_y rescue 0 end #-------------------------------------------------------------------------- # new method: screen_z #-------------------------------------------------------------------------- def screen_z return 100 end #-------------------------------------------------------------------------- # new method: sprite #-------------------------------------------------------------------------- def sprite index = $game_party.battle_members.index(self) return SceneManager.scene.spriteset.actor_sprites[index] end #-------------------------------------------------------------------------- # new method: character #-------------------------------------------------------------------------- def character return sprite.character_base end #-------------------------------------------------------------------------- # face_opposing_party #-------------------------------------------------------------------------- def face_opposing_party dr = $game_system.party_direction || YEA::VISUAL_BATTLERS::PARTY_DIRECTION direction = Direction.opposite(dr) character.set_direction(Direction.correct(direction)) rescue 0 end #-------------------------------------------------------------------------- # forward_direction #-------------------------------------------------------------------------- def forward_direction return Direction.opposite(($game_system.party_direction || YEA::VISUAL_BATTLERS::PARTY_DIRECTION)) end end # Game_Actor #============================================================================== # ? ¥ Game_Enemy #============================================================================== class Game_Enemy < Game_Battler #-------------------------------------------------------------------------- # new method: sprite #-------------------------------------------------------------------------- def sprite return SceneManager.scene.spriteset.enemy_sprites.reverse[self.index] end #-------------------------------------------------------------------------- # new method: character #-------------------------------------------------------------------------- def character return sprite end end # Game_Enemy #============================================================================== # ? ¥ Game_Troop #============================================================================== class Game_Troop < Game_Unit #-------------------------------------------------------------------------- # alias method: setup #-------------------------------------------------------------------------- alias game_troop_setup_vb setup def setup(troop_id) game_troop_setup_vb(troop_id) set_coordinates end #-------------------------------------------------------------------------- # new method: set_coordinates #-------------------------------------------------------------------------- def set_coordinates for member in members member.origin_x = member.screen_x member.origin_y = member.screen_y member.create_move_to(member.screen_x, member.screen_y, 1) end end end # Game_Troop #============================================================================== # ? ¥ Sprite_Battler #============================================================================== class Sprite_Battler < Sprite_Base #-------------------------------------------------------------------------- # public instance_variable #-------------------------------------------------------------------------- attr_accessor :character_base attr_accessor :character_sprite #-------------------------------------------------------------------------- # alias method: dispose #-------------------------------------------------------------------------- alias sprite_battler_dispose_vb dispose def dispose dispose_character_sprite sprite_battler_dispose_vb end #-------------------------------------------------------------------------- # new method: dispose_character_sprite #-------------------------------------------------------------------------- def dispose_character_sprite @character_sprite.dispose unless @character_sprite.nil? end #-------------------------------------------------------------------------- # alias method: update #-------------------------------------------------------------------------- alias sprite_battler_update_vb update def update sprite_battler_update_vb return if @battler.nil? update_move_to update_character_base update_character_sprite end #-------------------------------------------------------------------------- # new method: update_character_base #-------------------------------------------------------------------------- def update_character_base return if @character_base.nil? @character_base.update end #-------------------------------------------------------------------------- # new method: update_character_sprite #-------------------------------------------------------------------------- def update_character_sprite return if @character_sprite.nil? @character_sprite.update end #-------------------------------------------------------------------------- # new method: update_move_to #-------------------------------------------------------------------------- def update_move_to @battler.update_move_to end #-------------------------------------------------------------------------- # new method: moving? #-------------------------------------------------------------------------- def moving? return false if @battler.nil? return @battler.moving? end end # Sprite_Battler #============================================================================== # ? ¥ Sprite_BattleCharacter #============================================================================== class Sprite_BattleCharacter < Sprite_Character #-------------------------------------------------------------------------- # initialize #-------------------------------------------------------------------------- def initialize(viewport, character = nil) super(viewport, character) character.sprite = self end end # Sprite_BattleCharacter #============================================================================== # ? ¥ Spriteset_Battle #============================================================================== class Spriteset_Battle #-------------------------------------------------------------------------- # public instance_variable #-------------------------------------------------------------------------- attr_accessor :actor_sprites attr_accessor :enemy_sprites #-------------------------------------------------------------------------- # overwrite method: create_actors #-------------------------------------------------------------------------- def create_actors total = $game_party.max_battle_members @current_party = $game_party.battle_members.clone @actor_sprites = Array.new(total) { Sprite_Battler.new(@viewport1) } for actor in $game_party.battle_members @actor_sprites[actor.index].battler = actor create_actor_sprite(actor) end end #-------------------------------------------------------------------------- # new method: create_actor_sprite #-------------------------------------------------------------------------- def create_actor_sprite(actor) character = Game_BattleCharacter.new(actor) character_sprite = Sprite_BattleCharacter.new(@viewport1, character) @actor_sprites[actor.index].character_base = character @actor_sprites[actor.index].character_sprite = character_sprite actor.face_opposing_party end #-------------------------------------------------------------------------- # alias method: update_actors #-------------------------------------------------------------------------- alias spriteset_battle_update_actors_vb update_actors def update_actors for actor in $game_party.battle_members if $game_party.battle_members[actor.index].death_state? @actor_sprites[actor.index].character_sprite.angle = YEA::VISUAL_BATTLERS::DEAD_ANGLE @actor_sprites[actor.index].character_base.set_direction(Direction.opposite(YEA::VISUAL_BATTLERS::DEAD_DIRECTION)) @actor_sprites[actor.index].character_base.step_anime = false # #elsif @actor_sprites[actor.index].battler.moving? @actor_sprites[actor.index].character_sprite.angle = 0 @actor_sprites[actor.index].character_base.set_direction(Direction.opposite(YEA::VISUAL_BATTLERS::PARTY_DIRECTION)) @actor_sprites[actor.index].character_base.step_anime = true else # @actor_sprites[actor.index].character_sprite.angle = 0 # @actor_sprites[actor.index].character_base.set_direction(Direction.opposite(YEA::VISUAL_BATTLERS::PARTY_DIRECTION)) @actor_sprites[actor.index].character_base.step_anime = YEA::VISUAL_BATTLERS::ACTORS_WALK_WHEN_STILL end end if @current_party != $game_party.battle_members dispose_actors create_actors end spriteset_battle_update_actors_vb end #-------------------------------------------------------------------------- # new method: moving? #-------------------------------------------------------------------------- def moving? return battler_sprites.any? {|sprite| sprite.moving? } end end # Spriteset_Battle #============================================================================== # ? ¥ Scene_Battle #============================================================================== class Scene_Battle < Scene_Base #-------------------------------------------------------------------------- # public instance variables #-------------------------------------------------------------------------- attr_accessor :spriteset #-------------------------------------------------------------------------- # alias method: process_action_end #-------------------------------------------------------------------------- alias scene_battle_process_action_end_vb process_action_end def process_action_end start_battler_move_origin scene_battle_process_action_end_vb end #-------------------------------------------------------------------------- # alias method: execute_action #-------------------------------------------------------------------------- alias scene_battle_execute_action_vb execute_action def execute_action start_battler_move_forward scene_battle_execute_action_vb end #-------------------------------------------------------------------------- # new method: start_battler_move_forward #-------------------------------------------------------------------------- def start_battler_move_forward return if @subject.started_turn @subject.started_turn = true @subject.move_forward wait_for_moving end #-------------------------------------------------------------------------- # new method: start_battler_move_origin #-------------------------------------------------------------------------- def start_battler_move_origin @subject.started_turn = nil move_battlers_origin wait_for_moving @subject.face_opposing_party rescue 0 end #-------------------------------------------------------------------------- # new method: move_battlers_origin #-------------------------------------------------------------------------- def move_battlers_origin for member in all_battle_members next unless member.exist? next if member.dead? member.move_origin end end #-------------------------------------------------------------------------- # new method: wait_for_moving #-------------------------------------------------------------------------- def wait_for_moving update_for_wait update_for_wait while @spriteset.moving? end end # Scene_Battle #============================================================================== # # ¥ End of File # #==============================================================================
  3. first excuse me if i didnt post this in the right place (new here) so i am just making my first game just to get used to rpg maker and i added a script that is supposed to be adding a fishing minigame . but when i walk up to the fishing spot and press space the game crashes and gives me this error : http://prntscr.com/87h86i it is abouth this line for some reason ? : http://prntscr.com/87h8oh anybody see something wrong with it or anything i can do to fix? or would it help to upload the game so someone can check?
×