Code: Select all
BuildingRules = { { "distance", { Distance = 1, DistanceType = "<=", Type = "unit-road"}}}
Yes, this could be implemented. (if this won't work, try this on trunk version of Stratagus)b_o wrote:I'm wondering if "rain of fire" can be recreated in wargus.
You need to create a new modified version of blizzard spell and change this lines in spell
Code: Select all
old:
"start-offset-x", -128,
"start-offset-y", -128
new:
"start-offset-x", 0,
"start-offset-y", -256,
And the last thing to do is to make a new SpellCast animation block for conjurer and copy Attack block into it, then modify it like this:
Code: Select all
SpellCast = {"unbreakable begin",
"if-var s_spell-rain-of-fire == 1 rainoffire",
--...normal spell cast...
"goto end",
"label rainoffire",
--...slowed rain of fire cast...
"label end", "unbreakable end", "wait 1",},
Feel free to ask questions about scripting and Stratagus features. I have been developing Doom Wars for 4.5 years and using a lot of it's features in my game, so I'm glad to share my experience gained in Doom Wars development.
Just checked it out on DOS Warcraft 1.20 now and there wasn't any formations at all: every unit tried to move as closely to destination point as it could.b_o wrote: Formations is the other thing I was wondering about