Custom plague
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Custom plague
How do you make a custom plague attack? I've tried many things but it never works, so how do you do it?
Gold is great!
Swat them bugs!
Swat them bugs!
- James_The_Invisible
- Posts: 534
- Joined: October 28th, 2012, 1:58 pm
- Location: Somewhere in the Northlands, fighting dark forces
- Contact:
Re: Legend of the Invincibles
While this works, it is unnecessary complicated. There is macro WEAPON_SPECIAL_PLAGUE_TYPE in core which has TYPE parameter.Dugi wrote:For example with this:Lordlevis wrote:How do you make a custom plague attack? I've tried many things but it never works, so how do you do it?Code: Select all
{WEAPON_SPECIAL_PLAGUE} [+plague] type=Fire Dragon # Or whatever type you want to create [/plague]
My content: For Power series
Ports: Danse Macabre Story of the Wose
Guides: How to translate your UMC
Ports: Danse Macabre Story of the Wose
Guides: How to translate your UMC
Re: Legend of the Invincibles
Can some one show me a unit list that has a unit with the [PLAGUE] (not walking corpse) as their weapon special, also I'm new to code so can someone also explain a bit.
Gold is great!
Swat them bugs!
Swat them bugs!
Re: Legend of the Invincibles
The Sire from the Vampire faction has a Plague attack, but I can't seem to put it on any other unit from another era/add on and change the replacement. It's kind of annoying in a good.
Gold is great!
Swat them bugs!
Swat them bugs!
Re: Legend of the Invincibles
How and where do I place this block
{WEAPON_SPECIAL_PLAGUE}
[+plague]
type=Fire Dragon # Or whatever type you want to create
[/plague]
I'm kind of like, WOW.
{WEAPON_SPECIAL_PLAGUE}
[+plague]
type=Fire Dragon # Or whatever type you want to create
[/plague]
I'm kind of like, WOW.
Gold is great!
Swat them bugs!
Swat them bugs!
- ForestDragon
- Posts: 1771
- Joined: March 6th, 2014, 1:32 pm
- Location: Ukraine
Re: Legend of the Invincibles
put this inside the [specials] tag, which inside the [attack] tag in unit type filesLordlewis wrote:How and where do I place this block
{WEAPON_SPECIAL_PLAGUE}
[+plague]
type=Fire Dragon # Or whatever type you want to create
[/plague]
I'm kind of like, WOW.
also, you could use this for simplicity:
Code: Select all
{WEAPON_SPECIAL_PLAGUE_TYPE (insert a unit's id here) }
My active add-ons: The Great Steppe Era,XP Bank,Alliances Mod,Pestilence,GSE+EoMa,Ogre Crusaders,Battle Royale,EoMaifier,Steppeifier,Hardcoreifier
My inactive add-ons (1.12): Tale of Alan, The Golden Age
Co-creator of Era of Magic
My inactive add-ons (1.12): Tale of Alan, The Golden Age
Co-creator of Era of Magic