Monster objects are a common source of confusion. While easily being the most fun objects to play around with, they are often misunderstood-- a monster tag actually contains the behavior data for all units, not just monsters. The stats and behavior for warriors, berserks, and dwarves are all defined here alongside mauls, Myrkridia, and Trow. Lots of fun to tinker with...
Just remember that, when you create a new monster tag, you MUST ALSO create a unit tag that points to it, or your unit will not be available in map editors like Loathing.
monster Tag Anatomy
- Collection - This is the collection of sprites used by this unit. Often, a unit is designed around these collections, not vice versa, so it might be a bad idea to switch these around (unless you been playing with the collections...).
- Object Tag - This box is for selecting a unit's type. See the objects entry for more information on these tags.
- Size - This flag is not for determining actual size, but for determining certain characteristics of a unit. A unit's size determines such things as whether or not a Trow, for example, will punch an enemy (if the enemy is giant size) or kick it (if it is smaller). It looks awfully silly when a Trow punches a dwarf, and even sillier when it kicks another Trow.
- Visibility - This box allows you to select a unit's field of vision. A nearsighted unit does not see as far as a farsighted unit does, which means units will not fade in or appear on the overhead map until they are closer. If set to None, then the unit is essentially blind-- generally not a desirable thing, but it could be used for some unique units.
- Class - This is the general class of units that this unit belongs to. The most common are Melee and Missile; hand to hand and long range units, respectively. Other unit classes include Suicide (such as Wights), Harmless (such as those hapless peasants), and Ambient Life (such as birds or chickens). Two others, Invisible Observers (hidden units that are used for map action scripts) and Special (not really used), are mostly used in map design.
- Allegiance - This pop-up is for selecting a unit's allegiance-- Light, or Dark. In netgames, this doesn't matter, but in the solo game, it... well, it still doesn't matter much there either. Still, you should set this flag appropriately.
- Local Projectile Group - This pop-up allows you to select an ambient local projectile group for your unit, one that follows the unit around. For example, if you select a chimney smoke group for your unit, he will appear to be perpetually smoking. This can be used for anything from mundane smoke to wild energy effects whirling around your unit.
- Map Action Tag - This pop-up is for selecting a map action that will automatically be created for this unit when it is created in a level. Chickens and ambient life use this to create their wandering effects, and it is possible to create such things as ambient Wights with this tag.
- Attacks
- Desired Projectile Volume - This pop-up is used to determine how large of a projectile a unit can pick up. Ghols, for example, prefer Small projectiles for their attack, and thus are set to small. This setting does not affect picking up ammunition.
- Attacks (un-named) - This window list shows all of this unit's different attacks. You can add, duplicate, or delete entries from this list, and double click on them to edit them, which brings up a new Attack Edit window (see below).
- Attack Edit (un-named window)
- Projectile - This pop-up allows you to select the projectile created by this attack.
- Sequences (un-named) - This list of four sequences defines the appearance of the attack. Double clicking an entry allows you to select one of this unit's available sequences (as defined in its collection). Selecting no sequence causes no sequence to be played--you should always have a sequence. In fact, Myth will not load if you don't have a sequence specified. In addition to selecting the sequence, opening the sequence edit window allows you to edit these three flags:
- Normal - If this is checked, this sequence will be used as the unit's normal, default attack. An attack must have at least one Normal sequence. If it has more, it will randomly select a sequence from those available, which is how warriors can be made to swing their swords differently.
- Declinated - If this is checked, this sequence is used when a unit is shooting at a downwards angle. Bowmen are great examples of this in action, as they have all three sequences and use them frequently. If no Elevated sequence is specified, the unit will simply use the Normal. And if no Normal is set, then the universe will implode and destroy all of reality. Be sure to set your Normal sequence.
- Elevated - If this is checked, this sequence is used when a unit is shooting at an upwards angle. Again, bowmen are great examples of this in action. If no Elevated sequence is specified, the unit will simply use the Normal.
- Minimum Range - This is the minimum range of this attack. If a target is inside this range, the unit will move away and try to correct this. Dwarves and archers use this.
- Maximum Range - This is a unit's maximum attack range. Melee units usually use 2.000 for this, while Missile units often have a much greater range. Keep in mind that an attack's range is also limited by characteristics of the projectile being fired.
- Repetitions - This is the number of times that an attack is carried out per command. If you set an archer's repetitions to 5, he will fire five arrows in rapid succession before pausing to... well, reload.
- Miss Fraction - This is the fraction of times that a unit will miss with his attack. For Melee units, this manifests as a harmless sword swipe, while for Missile units it results in an off shot. 1.00 causes the unit to miss all the time, while 0.000 results in no misses.
- Initial Velocity - These two fields show the range between which a projectile's initial velocity will be. It will be a random value between the two specified, so make sure the first is less than the second. If you want the value to be constant, enter the same number in both fields. Melee attacks use 0.00 to 0.00, while a dwarf ranges from .150 to .170.
- Initial Velocity Error - This is the amount of error that will be introduced to perfect initial velocity, causing the shot to miss. Melee units have an error of 0.00, while Missile units will often have a small error to keep them from hitting every time.
- Velocity Experience Delta - This is the amount that is removed from the Initial Velocity Error every time a unit scores a kill, resulting in more and more accuracy as the unit becomes more experienced.
- Recovery Time - This is the amount of time between a unit's attacks, in seconds. Keep in mind that a unit's attack time is also affected by the speed of its attack sequence animation. A unit cannot attackfaster than that its animation can run.
- Recovery Time Experience Delta - This is the amount that is removed from the Recovery Time every time a unit scores a kill, resulting in faster and faster attacks as a unit grows more experienced.
- Mana Cost - This is the cost of an attack in mana. A warlock's fireball has a value of 55.00, which is about half of his mana.
- Attack Flags (inside Attack Edit window)
- Is Indirect - This is whether or not an attack is directly targeted at a unit. An indirect attack is usually explosive, affecting any number of units around it, while a direct attack is a melee attack,that affects a single unit and no others.
- Does Not Require Solution - If this is checked, the unit will attack as soon as an opponent is in range. He doesn't aim, doesn't check for elevation, or any of that jazz. He Just Does It. Great for guided attacks.
- Aimed at Target's Feet - If checked, the projectile is aimed to hit the ground at the target's feet. This is useful for area effect attacks, like explosives, but lousy for impact weapons, like arrows or melee attacks.
- Leads Target - If this is checked, the unit looks at how fast and what direction a unit is moving in and takes these into account before attacking. While this greatly improves accuracy, it can result in some shockingly stupid moves-- a dwarf will sometimes throw straight up into the air in order to lead a unit rushing towards it. The result is more often a dead dwarf than a dead opponent. Still, check this if you unit is using a missile attack.
- Uses Ammunition - Just what it says. Attacks checked with this use ammunition from the unit's carried store, which is set elsewhere in the monster tag.
- Uses Carried Projectile - This is what ghols do-- this attack uses a projectile determined by the unit's ammunition, which can be anything from a pus packet to an old sword to a head. Your damage and mileage may vary.
- Is Reflexive - If this is checked, the unit inflicts this attack on itself. Silly in most circumstances, but very useful for targeting the ground directly beneath a unit (as a dwarf does when laying satchels) or inflicting a suicide triggering wound, as a wight does with its dagger.
- Is Special Ability - If this is checked, the attack is activated using the Special Ability key (default T).
- Is Primary Attack - If checked, this attack is the default attack selected and used when you simply tell a unit to attack a target. If this is not checked, you must trigger this attack using a double click, as in the case of an archer's knife attack.
- Avoids Friendly Units - If this is checked, the unit takes into account the presence of friendly units when lining up for a shot (though, he never seems to do a good job). Should be checked for units using an explosive attack who might harm a friendly unit by attacking.
- Vs. Giant Sized - This is an attack used only against units whose size is set to Giant. An example is a Trow's punch.
- Prohibited vs. Giant Sized - This is an attack that cannot be used against Giant sized units. An example is a Trow's kick, which is used only against smaller units.
- Is Fixed Pitch - If checked, the projectile will always be fired at an angle, resulting in an arcing shot instead of a direct, melee shot. Examples include dwarf cocktails and archer arrows.
- Don't shoot over nearby units - If this is checked, the unit will not try to shoot over a nearby unit. This is very handy for dwarves, who we all know are stupid enough to try and throw a bottle through a comrade's head.
- Lob to hit lower nearby units - If this is checked, a unit will try to lob a projectile at a target if that target is nearby and below the unit. This is specifically designed to help dwarves lob grenades from castle walls.
- Can be used against friendly units - If this is checked, this attack can target friendly units. This is necessary for such things as healing, but not necessary for such things as fire arrows or dispersal dreams (though, we all love shooting those lippy dwarves with fire arrows...).
- Projectile Groups
- Exploding - This is the projectile group created when a unit suffers a "hard death"-- by an explosion or other sufficiently violent event.
- Melee Impact - This is the projectile group created when a unit is struck with a melee attack, like a sword.
- Dying - This is the group created when a unit suffers a "soft death"-- by melee attacks or fire, etc.
- Blocked Impact - This is the group created when a unit blocks an attack, like a warrior does with his shield.
- Absorbed Impact - This is the group created when a unit absorbs a blow, like a journeyman does with his coat.
- Entrance - This is the group called when a unit enters the map. Usually, this is left empty.
- Exit - This is the group called when a unit exits the map. Usually, this is left empty too, with exceptions such as Soulblighter, who can call his crow effects.
- String Lists
- Spelling - This is for selecting a unit's spelling string list, which contains a unit's designation in singular and plural (i.e. Dwarf, Dwarves, or Ghol, Ghols).
- Names - This is for selecting the string list that contains all of the unit's possible names.
- Flavor - This is for selecting the string list that contains all of the unit's possible flavor texts.
- Special Ability - This is for selecting the string list that contains the unit's special ability text, which is displayed when you trigger a Special Ability attack.
- Distances
- Warning - This is the distance at which a unit becomes aware of other units' cries for help, such as when they've been attacked.
- Critical - This is the distance at which the unit is warned (made aware of) another unit's presence.
- Activation - This is the distance at which a unit takes action upon another unit. Highly aggressive units, like spiders, have very large values here.
- Ammunition
- Ammo Tag - This allows you to select the type of projectile a unit is carrying as ammunition.
- Initial Count - These fields allow you to enter an initial ammunition level, randomly selected from between the two numbers. If you want a fixed initial amount of ammo, enter the same amount in both fields.
- Maximum Count - The maximum amount of ammo a unit can carry.
- Left Handed Fraction - The fraction of units whose sprites are reversed (making them appear left handed).
- Turning Speed - The speed at which a unit can turn, in degrees per second.
- Hard Death System Shock - This number is used to define just how much damage a unit has to take to suffer a hard death from such things as an extremely hard hit.
- Flinch System Shock - This is number is used to define just how hard a unit has to be hit in order to flinch, or hesitate in its attack. For example, trow have a very high value here, which is why they can take such a licking and keep on ticking.
- Absorbed Fraction - The fraction of blows that a unit will absorb without damage. Journeymen, for example, absorb quite a few hits due to their thick coats.
- Healing Fraction - The fraction of a unit's health that can be restored through healing. 1.00 is complete restoration, while 0.00 is none at all.
- Combined Power - This number is used by the Myth AI to assess a unit's attack potential and danger. Consequently, units with a high Power are treated more seriously by the engine in terms of targeting, attack, and defense.
- Longest Range - This is the longest range at which a unit can attack.
- Experience Point Value - This is the number of kills a unit is worth to others who might kill it.
- Cost - This is the unit's cost during unit trading.
- Pathfinding Radius - This number determines the unit's "space bubble"-- the minimum distance it will allow between it and a allied unit who is trying to pass by it. Naturally, enemy units ignore this...
- Maximum Mana - This is the maximum number of mana points that a unit has.
- Mana Recharge Rate - This is the rate at which a unit recharges mana points.
- Berserk System Shock - If a unit suffers more damage than this amount, it will go berserk, attack all nearby units, friend and foe alike.
- Berserk Vitality - This fraction is the amount of life at which a unit will go berserk. An example is the Myrkridia, which have a setting of 0.25, and go berserk when reduced to a quarter of their health. Very nasty.
- Sequences
- Primary - This is the unit's primary, just hanging around sequence.
- Transition to Secondary - This is the transition sequence from primary to secondary.
- Secondary - This is the unit's second chillin' sequence.
- Transition to Primary - This is the transition sequence from secondary to primary.
- Moving - This is the unit's moving sequence.
- Running - This is the unit's running sequence.
- Pausing for Obstacle - This is the sequence to play while the unit is pausing for an obstacle.
- Turning - This is the (you guessed it!) sequence to play when a unit is turning.
- Blocking - This is for when a unit is blocking an attack.
- Flinching - This is for when a unit is flinching.
- Holding for Attack - This is for when a unit is waiting to attack.
- Ammunition Icon - Sequence is the single frame icon displayed beside a unit's ammunition count, like a dwarfs satchel count or an archers flaming arrows.
- Picking Up Object - This the sequence for when a unit is picking up an object.
- Taunting - This is, quite shockingly, the unit's taunt sequence.
- Celebration - This is the sequence played when a unit is celebrating a level or netgame victory. Often the same as their Taunt sequence.
- Gliding - This is the sequence that flying units use when they are gliding.
- Placeholder - This is, amazingly, a placeholder.
- Head Shots - This is the unit's head shot, as displayed in the status bar at the top of the screen.
- Sounds - The sounds dialog is very flexible, allowing you to fill slots with sound tags and specify what type of sound it is. The types you can assign are as follows.
- Attack Order - This is called when a unit is ordered to attack.
- Multiple Attack Order - This is called when the unit is repeatedly ordered to attack. Good for grumbling, petulant units like dwarves.
- Attack Order vs. Undead - This sound is unimplemented... sorry.
- Move Order - This is called when a unit is ordered to move.
- Multiple Move Order - This is called when a unit is ordered to move multiple times. Also good for grumpy units.
- Selection - This is called when you select (click on) a unit.
- Multiple Selection - This is called when you repeatedly select a unit.
- Hit Friendly Unit - This is called when the unit hits an ally. Usually an apology, or perhaps a warning.
- Hit By Friendly Unit - This is called when the unit is hit by a friendly unit. Usually complaints.
- Attack Obstructed By Friendly Unit - This is called when the unit's attack is obstructed by a friendly unit. Obviously, this is seldom called by melee units or units whose attacks are set to ignore friendly units.
- Attack Enemy Unit - This sound is unimplemented... sorry.
- Attack Enemy Unit with Friends Nearby - This sound is called when a unit is given an attack order and friendly units are nearby.
- Sprayed with Gore - This sound is unimplemented... sorry.
- Caused Enemy Death - This is called when the unit causes an enemy death (never would have guessed it...).
- Caused Friendly Death - This is called when the unit causes a friendly death.
- Caused Death of Enemy Undead - This is called when the unit kills an enemy undead unit.
- Caused Multiple Enemy Deaths - This sound is unimplemented... sorry.
- Terrain Parameters
- Base Movement Speed - This is the speed at which a unit naturally moves. Note that changing this does not affect the unit's walking sequence animation, and major changes here will result in the walking animation not matching the unit's actual speed.
- Speeds and Costs - All of these boxes determine whether or not a unit can cross a certain terrain. If the box is checked, a unit can cross this type of terrain. The Speed field beside it is the fraction of the unit's normal speed at which it will travel when it crosses this type of terrain (0.500 would be half speed, while 1.00 is full speed ahead). The Cost field is not used at this point, so don't worry about it.
- Monster Flags
- Translates Continuously - Monsters with this flag checked move smoothly despite not having a walk animation. Generally, you should use this only when the unit does not walk or animate as it is moving--soulless, shades, and other floating units are good examples of this.
- Holds with Clear Shot - If checked, the unit will stay put if it has a clear shot at the enemy. Otherwise, it will shoot, move, shoot, move, and so on.
- Floats - If checked, the unit will float just above the ground, as soulless and shades do.
- Flies - If checked, the unit will fly and glid like birds do (you'll need to use this in conjunction with an object that is told to stay a set height above the mesh. You will then have to place the unit in Loathing and raise it into the air).
- Allows Projectiles to Pass Through - If checked, the unit is ghostly, and arrows or spears will shoot right through it continuing on to cause more damage. An example of this are soulless.
- Experience Proportional to Damage - If this is checked, the unit appears to have more experience as its health decreases. This can be used to create a "berserker" effect, making a unit attack faster or more accurately when it is damaged.
- Is Anti-Missile Unit - If checked, this unit will always try to target units with the flag below...
- Is Anti-Missile Target - If checked, this unit will always be targeted by Anti-Missile units.
- Turns to Stone When Killed - Units with this checked turn to stone when they die, a la Trow.
- Concentrates on a Single Target - Units with this checked will focus their attacks on a single unit until it is dead, and then move on.
- Is Undead - If checked, the unit is an undead unit.
- Cannot Be Autotargeted - If checked, this unit cannot be automatically targeted by an attacking unit--it must be explicitly targeted by the player.
- Is Giant Sized - If checked, this unit is considered to be giant sized, which can affect such things as attacks.
- Does Not Respect Visibility - If this is checked, the monster is always visible--it does not fade out when it moves out of visual range. Great for things like winch and cannon monsters, which should always be visible (as they are actually a sort of scenery).
- Is Not Solid - Units with this flag are like ghosts, able to pass through scenery marked as solid (unless it marks the mesh as impassable) and immune to non-area effect weapons.
- Leaves Contrail - If checked, the unit leaves a ghostly trail behind it. It looks odd, but is useful in some cases. However, it tends to make a unit jerk along, and was never really used in Myth II.
- Invisible on Overhead Map - This flag, quite appropriately, makes the unit invisible on the overhead map. Very useful for ambient life.
- Cannot Be Healed - Self explanatory. Units with this flag cannot be healed.
- Does Not Drop Ammo When Dying - When units with this flag die, they no not drop any ammunition they were carrying (like dwarves do with their satchels).
- Is Inanimate Object - Units with this flag are inanimate objects. Examples of this include winch "monsters" and cannons.
- Is Skittish - Units with this flag are supposed to break into a run when approached or attacked. But they don't, so you probably shouldn't use this tag.
|