HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

mana for buildings

08-11-2002, 04:08 PM#1
Guest
how to set mana & mana regeneration for buildings ?
08-11-2002, 04:28 PM#2
Guest
Buildings which do that have the ability "mana regeneration aura (neutral)" or "life generation aura (neutral)".
This should also work for units, probably even for items.
08-11-2002, 04:44 PM#3
Guest
but there is no field "mana maximum" or "mana regeneration" for buildings in both World Editor or WorldEditor Enhanched Blink 1.2.1
08-12-2002, 07:19 PM#4
Guest
Well here's an idea to get around this...
Create a new custom unit (from a preist let's say). Change the model and icon for the unit to the building you want... maybe a wizard's 'tower' or something. Now this unit will have life and mana. You should also change the movement to zero. Not sure if that's all you have to do, but you can change the unit types to mechanical so it can be repaired like a normal building, and set the regeneration to zero so it doesn't look like it's repairing itself. You can also set the "Unit trained" to what ever you want to have come out of the building too just for $h!ts and giggles.

I can't try it myself as I'm not in front of my home computer. Let me know if that works though!

Nicodemus
08-12-2002, 07:26 PM#5
Guest
Quote:
Originally posted by Reivax
but there is no field "mana maximum" or "mana regeneration" for buildings in both World Editor or WorldEditor Enhanched Blink 1.2.1

Augh. They are ABILITIES. You have to add them to the ABILITIES section of a building. Geez.

EDIT: Ah, ya meant mana for buildings, not mana regeneration like the Mana Fountain has. In that case you have to follow the steps he just said.
08-13-2002, 06:59 PM#6
Guest
I just thought of a potential problem with the previous idea I had with setting the movement speed to zero for a custom unit-turned-building... I ran into this while making a heroquest mod for WC3.

(I still haven't tried my previous suggestion with buildings since last night, fell asleep about 30 minutes after getting home)
Anyway, the only problem I could see happening is with the unit-facing attribute. If your custom building is based on a _character_ then any time you issue an order like move (even if movement speed=0) the unit will turn to face the direction of the order.

Hmm, now I need to go test this b/c it's going to bug me until I know for sure!!

Nicodemus
(PS Any confirmation of this problem by anyone else before I test tonight would be stellar!)
08-13-2002, 07:18 PM#7
Zedric
Make a trigger that detects when an order is issued and then cancel that order?
08-14-2002, 12:38 AM#8
Newhydra
Er...whatever editor I have lets you edit a building's starting mana/mana regen/max mana...
08-15-2002, 03:08 PM#9
Guest
Thx for all your answers.

But ... I finally found the solution myself. :)
In my War3 WorldEditor Enhanched Blink! v.1.2.1, I wasn't able to set the fields "mana maximum", "mana ..." cause they didn't appear for buildings.
So i ve simply edited the UnitMetaData.slk & i ve set the booleans of the "useBuilding" column to true for the targeted fields.
And finally i include the unitmetadata.slk in my map.w3m