Sideview Actor Enemies

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

Do you want to use side-view actors as enemies?

For example, maybe one of your actors decides to join the enemies, but you still want them to appear the same as they did when they were in your party!

With this plugin, you can easily set up enemies to use side-view actor sprites.

Enemies will behave the same way as actors

  • When they are preparing to attack, they will be in their ready stance
  • When they are preparing to cast a spell, they will begin chanting.
  • When they are in critical condition, this will be shown on the sprite
  • When they die, they will fall over.

Download

Plugin: download here (right-click, save-as)

Addons

Installation

Download ths plugin and place it in the “plugins” folder in your project’s “js” folder. Then open your Plugin Manager (F10), double-click an empty row, and select the HIME_SideviewActorEnemies plugin.

Once it is in your list of plugins, turn the plugin on.

If you would like to use the enemy weapons add-on, you will also need to install Enemy Equips, along with any requirements that it needs.

Usage

sideviewActorEnemies2

To have enemies use a side-view actor spritesheet as their sprite, note-tag the enemy with

<sv actor name: NAME />

Where the NAME is the filename of the SV Actor sprite that you want to use. The sideview actor image must be placed inside the sv_actors folder.

Setting up Enemies in the Troop Editor

You will notice that I don’t actually talk about the sv_enemies folder. This is because the image used here will be ignored during the game.

Everything will remain the same for the enemy: you would set their positions in the troop editor as usual and the enemy will appear there, except using SV Actor sprites.

You can take one of the sprites from the SV Actor spritesheet and use that as the enemy sprite in the database. This is only used as a placeholder for visual setup purposes.

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

You may also like...

44 Responses

  1. Zeta G. says:

    I really wish I didn’t have to bother you. But can I get a video just to see what you did? I downloaded your plugins and did everything as told, but nothing really shows up. Yanfly always gives me an issue with the height being undefined and you’re honestly the last leg I have to stand on. Much appreciated if you actually give a tutorial step-by-step. ^^

  2. Logan says:

    For some reason, when I put in the note-tag, the sprite won’t appear in the image.

  3. Anonymous says:

    Hi. I just want to say that this is the freaking, best plugin that I have found so far. One of my biggest problems up to this point is
    that I can’t draw but like having unique characters, including enemies. Now I can just use the built in character generator to create
    my own villains. Thank you so much!

  4. Ben Kilgore says:

    For whatever reason, this plugin isn’t working at all when I try to use it. I followed the instructions as written, and nothing happened.

  5. Anonymous says:

    Hello, I know I am very late to ask but how can I fix the ‘TypeError: undefined is not a function’. I first read all the comments and tried the possible fixes but I get the error again and again. The error occur during playtests when I place a battle proccessing. I don’t get the error when I use “Battle Test” in the Database. Sorry for any wrong grammar…

  6. Bryan says:

    My actor enemies are working but when they attack the weapons aren’t showing.

  7. dennis chen says:

    I don’t get it, how do you use it?

  8. Anonymous says:

    i can’t use it. wai.

  9. Sundricat says:

    Just took another look, and that did prove true. I ensured that an enemy using a side view actor sprite would be casting a spell by only the only skill as setting a magic attack, and the motion works like normal. I also tested special conditions on enemy skills. Everything works like normal until you add special conditions to a skill on the enemy page. If an enemy has a skill set with a condition other than always, the enemy’s side view actor sprite locks up.

    • Hime says:

      This sounds like a bug, because the enemy should not be preparing to use a skill since they have no skills that they can use.

  10. vjshadow08 says:

    It says
    TypeError
    Cannot read property ‘update’ of undefined

  11. Sundricat says:

    I’ve noticed that as soon as the battle command window opens, the enemies using side-view actor sprites completely freeze in the “wait” (as it’s called in rpg_sprites) motion. I also noticed that if you transform an enemy before the battle command window opens (Turn 0), the transformation works perfectly.

  12. Fusion says:

    So i might just be being plain Dumb but i have entered the code for this as you have shown on the site in the notes tab, only difference is used my characters name (also what i saved is SV actor as) instead of the actor2_2 like you have on yours and it does not seem to be showing up. do you have an idea as to what i am doing wrong?

    • Hime says:

      Try saving the game before playtesting. I’m not sure if newly added plugins might not take effect during battle test until you save.

      Check if there is a compatibility issue with another plugin.

  13. Mr_Juds says:

    I need help, the enemy is jumping me, if he does he turns around at the time of attack, what do I do?

  14. Q says:

    Umm.. I’m getting “Cannot read property of ‘height’ undefined”

    • Hime says:

      Disable other plugins that are not required and see if it still occurs. Maybe there is a conflict.

    • WingDongs says:

      The fix I had with this was to throw in some of that in-game character art that you would normally use for a battle, the plugin cancels it out and puts in the character sprite instead! 🙂

  15. Foxii says:

    sorry to bother…

    TypeError: undefined is not a function
    at Sprite_EnemyActor.Sprite_Battler.updateSelectionEffect (file:///C:/Users/Foxii/Documents/Games/Project1/js/plugins/YEP_CoreEngine.js:880:44)
    at Sprite_EnemyActor.Sprite_Battler.update (file:///C:/Users/Foxii/Documents/Games/Project1/js/rpg_sprites.js:496:14)
    at Sprite_EnemyActor.Sprite_Battler.update (file:///C:/Users/Foxii/Documents/Games/Project1/js/plugins/YEP_BattleEngineCore.js:2193:38)
    at Sprite_EnemyActor.Sprite_Battler.update (file:///C:/Users/Foxii/Documents/Games/Project1/js/plugins/YEP_X_BattleSysCTB.js:1932:38)
    at Sprite_EnemyActor.Sprite_Battler.update (file:///C:/Users/Foxii/Documents/Games/Project1/js/plugins/YEP_X_ActSeqPack2.js:1080:39)
    at Sprite_EnemyActor.Sprite_Actor.update (file:///C:/Users/Foxii/Documents/Games/Project1/js/rpg_sprites.js:736:37)
    at file:///C:/Users/Foxii/Documents/Games/Project1/js/rpg_core.js:3290:19
    at Array.forEach (native)
    at Sprite_Enemy.Sprite.update (file:///C:/Users/Foxii/Documents/Games/Project1/js/rpg_core.js:3288:19)
    at Sprite_Enemy.Sprite_Base.update (file:///C:/Users/Foxii/Documents/Games/Project1/js/rpg_sprites.js:25:29)
    at Sprite_Enemy.Sprite_Battler.update (file:///C:/Users/Foxii/Documents/Games/Project1/js/rpg_sprites.js:491:34)
    at Sprite_Enemy.Sprite_Battler.update (file:///C:/Users/Foxii/Documents/Games/Project1/js/plugins/YEP_BattleEngineCore.js:2193:38)

  16. Hime says:

    Can I get anyone that’s having undefined method error issues to press F8 before battle to open the console and then take a screenshot of the error? It should show a bunch of red lines detailing where it crashed.

  17. Rex says:

    I have the same error, and in new projects that no other plug-ins, my party is invisible. Please forgive me for Google translator.

  18. OgaBoga says:

    “TypeError: undefined is not a function”

  19. Hyreal says:

    Hey there, I love all of your plugins but I’ve come across a problem with this one. I’ve done everything you say to do and it all works perfectly in the game right up until I try to attack them, then I get a “TypeError: undefined is not a function” message across my screen.

    I can do everything else that doesn’t involve me targeting them (eg: casting spells on my own party) and they will also fight on their turn like the plugin allows but the moment I click attack and try to attack them, that error pops up and stops the game.

    Any idea as to how I can fix this?
    Great stuff by the way 🙂

    • Hime says:

      Does this work with all other plugins disabled? If you're using the weapons add-on, do you have equip slots core installed as well?

      • Hyreal says:

        Yes it works with everything else turned off and so I tried to only turn on YEP_CoreEngine plugin and I got the error again.

        I know you mentioned somewhere it wasn’t able to work correctly with the battle core.
        Is it not compatible with yenfly’s core engine?

        • Hime says:

          It works for me with yanfly’s core engine. Are you using the trial version of MV?

          • Hyreal says:

            No, I am using a full version of the game and I even just updated all of my YEP plugins to make sure that wasn’t the problem either.

            It still only seems to be yenflys core engine that is conflicting with it.
            Sorry for the hassle but I thank you for your time to help with this.

          • Hime says:

            Let me try it with the latest version of MV. It seems like there have been some updates to the core files.
            The YEP core I tested with was 1.09

          • Hime says:

            I am unable to reproduce it. Can you put together a new project demonstrating the issue? Preferably under 10 MB. Remove all img and audio and only have the sprites that are needed.

          • Hyreal says:

            I can’t reproduce it on a new project either so I’m doing something wrong in my current file.

            It works fine when I start a new project. Guess I need to do some digging.

  20. Andrew says:

    Hi I’m having an issue with this plugin…for some reason every time an enemy goes to attack i get a type error saying “undefined is not a function”. I have followed all of your instructions so i don’t know what the problem is…if you could help that would be amazing.

    Thank you,

    Andrew Price

Leave a Reply

Your email address will not be published.

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax