Enemy Equips

Do you have a game where players can visually see what enemies are using? For example, depending on what armor they wear, their appearance will change.
Or perhaps you have a stealing mechanic that allows you to steal enemy weapons and armors, which would lower the enemy’s strength and defense after those equips have been pilfered!

This plugin provides you with the ability to give enemies equips.

Enemies will receive all of the parameter bonuses and traits that the equip provides. If a skill requires a certain weapon type to be equipped, enemies must have the weapon in order to use the skill.

Download

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

Required Plugins

Installation

Start by installing the required plugins first.

Then, 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_EnemyEquips plugin.

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

Usage

Setting up Equip Slots

For details information on how to set up equip slots, please see the usage section for Equip Slots Core.

If you already know how to set up equip slots, basically just note-tag enemies with

<equip slot: ETYPE>

If you want to set up initial equipment, use the note-tag of the following format:

<equip slot: ETYPE ITEM_CODE>

enemyEquips2

Setting up Equip Traits

Just a reminder, but like actors, enemies will need to have the appropriate “equip” features so that they can actually equip weapons and armors.

enemyEquips3

Changing Equips During the Game

You can use script calls to change enemy equips during the game. I will provide an example.

We start by getting the enemy that we want to change equips.

  var enemy = $gameTroop.members()[INDEX];

Where the INDEX is the index of the enemy you want to choose. 0 is the first enemy, 1 is the second enemy, and so on.

Once you have your enemy, you will need a weapon or an armor. Let’s say you wanted to get weapon 3 from the database. You
would use this script call

  var weapon = $dataWeapons[3];

Next, you just need to have the enemy change equips, using the following script call:

  enemy.changeEquip(SLOT_INDEX, EQUIP);

Where the SLOT_ID is which slot you want to set the equip to. 0 is the first slot, 1 is the second slot, and so on.
So the whole script call would look something like this:

  var enemy = $gameTroop.members()[INDEX];
  var weapon = $dataWeapons[3];
  enemy.changeEquip(0, weapon);

If successful, your equip will now be using weapon 3.

Show Weapons During Battle

This plugin provides functionality for equipping enemies. However, this does not mean your battle system will automatically display weapon animations. You will need to have the battle system you’re using updated to support enemy equips.

You may also like...

50 Responses

  1. Ltadpr says:

    buy stromectol online – order eryc 250mg buy cefaclor cheap

  2. I visited multiple websites however the audio feature for audio songs current at this web site is genuinely excellent.

  3. Do you mind if I quote a few of your posts as long as I
    provide credit and sources back to your website?
    My blog is in the exact same area of interest as yours and
    my visitors would really benefit from a lot of the information you provide
    here. Please let me know if this alright with you.
    Thanks!

    Here is my site vpn special code

  4. Zvulzc says:

    buy zithromax without a prescription – tinidazole 300mg pills order ciprofloxacin generic

  5. Qvhiow says:

    buy clindamycin tablets – oxytetracycline 250 mg generic purchase chloramphenicol pills

  6. Its like you read my mind! You seem to know so much about this, like you wrote the book in it or something.

    I think that you can do with a few pics to drive
    the message home a little bit, but instead of that, this is great blog.

    An excellent read. I’ll definitely be back.

  7. I always used to study article in news papers but now as I am a
    user of web so from now I am using net for posts, thanks to web.

    Here is my web site :: vpn code 2024

  8. Every weekend i used to pay a quick visit this web site, as
    i wish for enjoyment, for the reason that this this site conations really fastidious funny material too.

  9. What’s up to every body, it’s my first pay a visit of this webpage;
    this weblog consists of remarkable and genuinely fine data in favor of readers.

    Here is my web page – vpn coupon code 2024

  10. vpn special says:

    whoah this weblog is wonderful i really like studying your posts.
    Keep up the great work! You recognize, lots of persons are hunting
    round for this info, you can aid them greatly.

    Also visit my site vpn special

  11. Mcofye says:

    purchase amoxicillin generic – generic ceftin cipro buy online

  12. Hsfhqh says:

    buy generic augmentin – myambutol 600mg sale cipro 500mg generic

  13. This blog was… how do I say it? Relevant!! Finally I’ve found something which helped me.
    Thanks a lot!

  14. My spouse and I absolutely love your blog and find nearly all of your post’s to be precisely what I’m looking for.
    Does one offer guest writers to write content available for you?
    I wouldn’t mind publishing a post or elaborating on a few of the subjects you write about here.

    Again, awesome web site!

    Here is my page: vpn coupon code 2024

  15. epivir verkrijgbaar op doktersvoorschrift lamivudine zonder
    recept in Leuven, België
    Kan ik lamivudine krijgen zonder medisch voorschrift? Online aankoop
    van lamivudine met discrete verzending
    lamivudine beschikbaar online in Nederland epivir kopen online apotheek
    Bestel lamivudine eenvoudig online
    lamivudine bestellen zonder recept in België lamivudine vloeistof in Nederland
    waar lamivudine te vinden
    gemakkelijk lamivudine kopen in Europa
    epivir te koop online
    lamivudine zonder doktersvoorschrift kopen
    Hoe epivir zonder recept te bestellen prijzen van lamivudine in de apotheek
    lamivudine beschikbaar zonder voorschrift in Zwitserland
    betrouwbare aankoop van lamivudine in Nederland
    lamivudine online bestellen in Enschede lamivudine online bestellen: veilig en vertrouwd
    Ontvang lamivudine zonder voorschrift gemakkelijk online lamivudine tegen concurrerende prijs in België
    lamivudine beschikbaar in apotheek in Rotterdam

  16. Kxkcgh says:

    anafranil 50mg cheap – sinequan 75mg sale buy sinequan 25mg online

  17. Gypbxp says:

    purchase quetiapine generic – purchase geodon generic buy eskalith no prescription

  18. Sfhenk says:

    generic clozapine 100mg – accupril usa order famotidine 40mg pills

  19. Ygxjwa says:

    retrovir 300 mg canada – buy generic allopurinol order generic zyloprim 300mg

  20. Wnyyvc says:

    buy glycomet for sale – buy lincomycin 500 mg generic buy lincocin cheap

  21. Beybky says:

    buy furosemide 100mg for sale – buy furosemide online diuretic order capoten 25 mg pill

  22. Fuucnw says:

    ampicillin over the counter buy penicillin no prescription cheap amoxicillin pills

  23. Jxbdes says:

    flagyl online buy – flagyl 200mg over the counter azithromycin 250mg ca

  24. Axknsz says:

    ivermectin 12 mg tablet – order sumycin 250mg generic sumycin uk

  25. Epsesx says:

    buy valacyclovir 1000mg generic – nemasole medication order zovirax 400mg generic

  26. Iqzgxj says:

    buy ciplox 500mg sale – erythromycin without prescription erythromycin brand

  27. Qpijcb says:

    buy metronidazole for sale – buy cleocin without a prescription zithromax order online

  28. Iowmqj says:

    baycip us – bactrim oral augmentin 375mg brand

  29. Pmcjnh says:

    cipro 500mg tablet – purchase ethambutol amoxiclav order

  30. Preethi says:

    Hello, i believe that i noticed you visited my weblog so i
    got here to return the want?.I’m attempting to find issues to
    improve my website!I assume its adequate to make use
    of a few of your ideas!!

  31. Quintus says:

    Right here is the right site for anybody who would like to understand
    this topic. You understand so much its almost tough to argue with you (not that I
    really will need to…HaHa). You definitely put a new spin on a subject
    that has been discussed for years. Excellent stuff, just great!

  32. Alizabeth says:

    Wow, that’s what I was seeking for, what a material! existing here at
    this web site, thanks admin of this site.

  33. Jesslyn says:

    Awesome site you have here but I was curious if you
    knew of any user discussion forums that cover the same topics
    talked about in this article? I’d really like to be a part of group where I can get comments
    from other experienced individuals that share the same interest.
    If you have any recommendations, please let me know.
    Kudos!

  34. Knammg says:

    buy lipitor 20mg online purchase atorvastatin lipitor pill

  35. Lucina says:

    I cant seem to get weapons with custom sprites to work on the enemies. is there any fix for this.
    I want to have my character fight herself and I want it to use the a special weapon i made just for the battle but it dosent seem to work. I dont know if im doing something wrong or now
    I have her able to Equip swords the she just use a basic punch every time.

  36. Macblink says:

    Just starting the test battle I get this crash error: Cannot read property ‘wtypeId’ of null. I use Yanfly’s: Battle engine core, animated sideview enemies, weapon animation (just to see the enemies attack with weapons), action sequence and Ramza’s: dual wield.. I gave the enemy his corresponding weapon type in Atributes section and in the Notes section, I don’t know what else should I do, or maybe this plugin isn’t compatible with the ones I mentioned.

  37. Jenova says:

    http://jenovaonline[dot]tk/img/images/2018/11/07/HimeBug%5Bdot%5Dpng

    idk what this is.

    It happens when I choose Equip from Main Menu

  38. Christian Selberg says:

    with this script, making a break or steal enemy weapon its 100% possible omg thank you!
    all i need is either have the skill call a common event or note tag it. i think common event might be best but. 😀

    • Zarsla says:

      Or you can use the lunatic mode of Yanfly Skill Core, spefically the skill phases with the script calls. Where user = the user and target = the target as with enemy.changeEquip(x,y);
      Becomes target.changeEquip(x,y); making it where the skill can target anybody, or just the enemy if it’s an actor only skill.

  39. Anonymous says:

    what if i want to change enemy’s armor during combat?

    • Hime says:

      You would have to use script calls for that. For example if you wanted to change the first enemy in the troop’s armor in slot 3 to armor 5 in the database, you would write

      var enemy = $gameTroop.members()[0];
      enemy.changeEquip(3, $dataArmors[5]);
      
  40. Anonymous says:

    what if i want to change enemy’s armor?

    • Christian Selberg says:

      make the skill have a note tag doing it or either call a common event that removes an enemy’s weapon? or have on the enemy page a condition if destroy weapon skill used, remove weapon or so it should work..

  41. Anonymous says:

    For the actors, I haven’t tried the enemies yet. But yea I turned the plugins off and the gun animation is working with the default setup. I will try again because your script is definitely what I want to use in my game. I don’t understand what happened to where it stopped working. I didn’t change anything major. My guns in the terms menu is #9 so my character note tag is

    • Hime says:

      Please disable all other plugins except Core Equip Slots and Enemy Equips and determine whether the gun animation works. My gun animation for actors works when Enemy Equips is installed. Or at least, I think it does. The actor just pulls out a gun and there’s a little yellow thing at the tip and that’s it.

  42. Anonymous says:

    I don’t know why but for some reason my gun attacks aren’t working now. Everything else is fine.

Leave a Reply

Your email address will not be published. Required fields are marked *