DoD Edge Network
Players Online: 0

Welcome, Guest. Please login or register.

Login with username, password and session length

Author Topic: [Tutorial] MythicMobs: Creating Custom Mobs & Bosses  (Read 16282 times)

FaliniFyreheart

[Tutorial] MythicMobs: Creating Custom Mobs & Bosses
« on: January 10, 2017, 04:08:00 PM »
I am here today to familiarize you with the mob plugin we use on the server which is called MythicMobs.
MythicMobs is a very powerful and complex plugin, and this tutorial will cover the basics to get you started with scripting mobs.

There is a 'plugin manual' located here which i will be making references to,
and you should be referring to it often when scripting for MythicMobs.


MythicMobs commands can be accessed in-game using the /mythicmobs or /mm commands.
So what is MythicMobs?
MythicMobs allows server administrators to create custom variants of mobs and bosses.



MythicMobs Features
[spoiler]
  • Giving mobs custom skills with powerful conditionals and delays, based on a robust system of triggers and/or timers
  • Modifying all mob attributes such as health, damage, speed, follow and combat range
  • Allowing mobs to use custom sounds, custom particles, and special effects
  • Setting equipment and creating custom items and drop tables with attributes.
  • Giving mobs Damage modifiers so mobs can be immune to, take half-damage or double-damage from certain damage types, such as fire.
  • Creating powerful custom Mob Spawners to spawn your Mythic Mobs at specific locations, with optional timers, attributes, cooldowns, and other powerful settings!
  • Spawning Conditions to give you finer control over where and when Mythic Mob Spawner and Random Spawning mobs can spawn! Make mobs that only spawn when it's raining, or on certain days!
  • Mob Levels to allow your mobs to level up and scale in power based on where and how they spawned.
[/spoiler]


MythicMobs Folder Structure:
[spoiler][/spoiler]


So let's just jump right into it! We will start with a mob that is located in the Cathedral dungeon. Once you know how to make a regular mob, bosses can be made in a similar fashion and they will just have more health and more damage, as well as the custom created skills and drops that you specify.

IMPORTANT: Never use Tab, always use spaces. YAML is very important!
Notepad++ is a very good text editor to use, and i highly recommend it.

WretchedZombie:



Mob Breakdown
[spoiler] WretchedZombie: (This can be any name, as long as it is unique to the mob you are making.)
Mobtype: zombie (All mob types can be found here.)
  Display: '&4Wretched Zombie' (This will be the name of the mob that everyone will see in-game.)
  Health: 75 (This is the amount of hearts the mob will have.)
  Damage: 5 (This is the amount of damage the mob will do.)
  Equipment: (This is where you specify what items the mob will have equipped on spawn.)
  - R_PearlescentMask:4
  - R_CrystallineBlade:0
  Drops: (This is where you specify what item drop tables the plugin will use to roll for items when the mob is killed.)
  - Tier1Misc_Common
  - Tier1Exp_Common
  - Tier1_Rare
  Options: (This is where you specify what options the plugin will attach to the mob. The full list can be found here.)
    AlwaysShowName: true
    MovementSpeed: 0.2
    PreventOtherDrops: false[/spoiler]

So now that you understand how to create the actual mob, let's move on to something more exciting, custom skills!


Mob Skills:

There really is no limit to how you can have a mob execute skills, and what conditions the mob will execute those skills with. There are the built-in skills such as: fireballs, arrows, etc. Then there are the MythicMob custom skills such as Pull (Pulls all players within a radius towards the casting mob at a specified velocity), Consume (Consumes nearby mobs of the given type that are within a specified radius. This deals damage to those mobs and heals the mob for each mob consumed), etc. You can even have a skill that executes a command from another plugin for example. The only limitation is your imagination! (yay for rhymes!)

You can find the full list of skills available to use here.

This is Commander Malor, the first boss you encounter in Cathedral:



Notice the Skills:
Code: [Select]
  Skills:
  - skill SmashAttack >0 0.2
Here is the actual code for the SmashAttack skill:



Note the following after the skill:
Code: [Select]
>0 0.2These parameters are using the following variables: [hp_modifier] <chance>.
>0 means as long as the mob is alive, and 0.2 is the chance % the skill will activate while the mob is alive. (1 = 100%)
You can also use ~onTimer:500 >0 1 for example.

As you can see, things can get very complicated very quickly. Trial and error is the best way to learn so you can have the mob act exactly how you want.


Custom Items:

Next next section we will talk about are the items you would like the mob to drop upon death, as well as items you would like for the mob to wear on mob spawn. Once you create a custom item, you will then need to either add it to an existing drop table, or create a new drop table.

Let's take a look at one of the items from the Tier3_Rare drop table that i have created:



This is the code for the item:



Item parameters:

Items are fairly easy to make, however it starts to get complicated when your specifying the drop chances for all items within the specified Drop Table.


Conclusion:

You should now have a basic understanding of the MythicMobs plugin, and how to script with it. It really is a lot to learn, but the more and more you work with it, the easier it will become. It is a very powerful plugin, and it can do some really amazing things! If you still don't understand something, or have any questions, comments, or concerns, feel free to reply to this thread and i will try my best to help you. I look forward to seeing your mob contraptions in-game!  :D

Video Tutorial:
« Last Edit: October 08, 2020, 10:54:56 AM by Death »


FaliniFyreheart

Re: [Tutorial] MythicMobs: Creating Custom Mobs & Bosses
« Reply #1 on: January 10, 2017, 04:13:21 PM »
Advanced Particle Spells:
(Courtesy of Faldonboy on Bukkit Forum)


Some of these Spells are already being used in some shape or form on the server.
I am just listing these here for educational purposes.

FAQ:

  • Q: Will these cause the server to lag?
  • A: Not unless you do something incredibly stupid with them, some of the more particle intensive skills may cause FPS lag for those caught in them though.
  • Q: Help! My skills aren't working!
  • A: Ok, well, first of all have you modified these skills in any way? Either way post a LINK to the configuration for the modified skill, also add the config for the mob using the skill. I recommend using Pastebin for posting configurations.


  • Q: Will you make a skill for me?
  • A: Sure, if you explain what you want.
  • Q: Whats the difference between your normal skills and the targeted versions?
  • A: The targeted version targets the block that the player is standing on when the skill starts, this has several benefits such as being able to dodge skills that would normally hit no matter where the player is or not having the particles of a skill follow the player around(which makes no sense for skills like Volcano or Erupt).




=== Ice Spells ===

Blizzard: Add skill conditions to the actual Blizzard skill if you need them. There is an optional set of skills added that you can add to the BlizzardDamage skill to make it either reduce or increase the skills power depending on if its a hot or cold biome. Just add the skills BlizzardDamageWarm and BlizzardDamageCold to the BlizzardDamage skill.


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10048/[/spoiler]


Blizzara: See Blizzard Skill for notes.


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10049/[/spoiler]


Blizzaga See Blizzard Skill for notes.


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10050/[/spoiler]


Frost Nova: Add skill conditions the the actual Frost Nova skill if you need them. There is an optional FrostNovaDamage skill that you can add to the FrostNovaAOE skill to make this skill do damage instead of just freezing everyone.


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10041/[/spoiler]


Hail Storm: Add skill conditions to the actual Hail Storm skill if you need them. I would only suggest changing the damage in increments of one or it could quickly become too overpowered. This skill can cause fps lag if too many players get caught in it!


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10108/[/spoiler]


Ice Crystal:


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10103/[/spoiler]


Targeted Ice Crystal:


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10319/[/spoiler]




=== Fire Spells ===



Erupt: Add skill conditions to the actual Erupt skill if you need them. You can change the EruptToss skills to change how far the eruption tosses you, I only recommend changing EruptTossOne though. You can also add more EruptDamageTwo skills throughout the Erupt skill to add more damage.


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10033/[/spoiler]


Fire: Add skill conditions to the actual Fire skill if you need them.


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10054/[/spoiler]


Fira: Add skill conditions to the actual Fira skill if you need them.


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10055/[/spoiler]


Firaga: Add skill conditions to the actual Firaga skill if you need them.


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10056/[/spoiler]


Flare: Add skill conditions to the actual Flare skill if you need them. This skill uses a lot of particles, it might glitch out if used with other particle skills.


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10109/[/spoiler]


Volcano: This skill uses a lot of particles, it might glitch out if used with other particle skills. This skill will probably cause minor fps lag for older computers.


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10110/[/spoiler]

Targeted Volcano: This skill uses a lot of particles, it might glitch out if used with other particle skills. This skill will probably cause minor fps lag for older computers.


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10166/[/spoiler]




=== Dark Spells ===


Lunarbeam: Lunarbeam is single target spell.


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10034/[/spoiler]


Targeted Lunarbeam: Targeted Lunarbeam is an AOE spell.


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10170/[/spoiler]


Vortex Cage: Add skill conditions to the actual VortexCage skill if you need them. This skill is experimental and might change a lot.


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10073/[/spoiler]


Starfall: This skill uses a lot of particles. It might glitch out if used with other particle skills.


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10187/[/spoiler]


Targeted Star Fall: This skill uses a lot of particles. It might glitch out if used with other particle skills.


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10191/[/spoiler]


Comet:


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10188/[/spoiler]


Targeted Comet:


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10189/[/spoiler]


Comet Rain: Comet Rain is very CPU intensive and might cause FPS lag!


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10190/[/spoiler]




=== Lightning Spells ===


Thunder: Add skill conditions to the actual Thunder skill if you need them.


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10051/[/spoiler]


Thundara: Add skill conditions to the actual Thundara skill if you need them. Add extra damage by adding in extra ThundaraDamage skills where you want them.


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10052/[/spoiler]


Thundaga: Add skill conditions to the actual Thundaga skill if you need them. If you want to add more damage I recommend using ThundagaMulti so the damage is accompanied by a lightning strike.


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10053/[/spoiler]




=== Earth Spells ===


Earth Bomb: Add skill conditions to the actual EarthBomb skill if you need them.


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10058/[/spoiler]


Enchanted Earth: Add skill conditions to the actual Enchanted Earth skill if you need them.


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10067/[/spoiler]


Biohazard: Add skill conditions to the actual Biohazard skill if you need them.


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10080/[/spoiler]


Petal Storm: Add skill conditions to the actual PetalStorm skill if you need them. This skill is experimental and might change a lot.


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10074/[/spoiler]




=== Wind Spells ===


Vacuum: Add skill conditions to the actual Vacuum skill if you need them.


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10111/[/spoiler]


Tornado:


Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10230/[/spoiler]




=== Light Spells ===


Holy Judgement: Add skill conditions to the actual HolyJudgement skill if you need them. This is a strong skill, by default it can kill an unarmored player if they get caught at point blank range.

Spell Script
[spoiler]
Code: [Select]
http://dev.bukkit.org/paste/10072/[/spoiler]


 

top android   android
© 2017, DoD Edge Network