- Joined
- Apr 19, 2008
- Messages
- 2,414
I'm making a Voidwalker-ish race for a race mod project, and their Shrine of the Æther serves both as a Town Hall and as 6 peasants. It drains gold with a custom lightning effect energy beam and lumber with a bright green laser. All of that works fine.
While I was developing the Building for the race, I made a spellbook with several Charge Gold and Lumber abilities, which when activated ran a fancy series of JASS scripts I wrote to activate hidden Build Tiny abilities on the building so that each one will build a respective building. In this way, the race summons their buildings with their town center with a long range (currently it can summon buildings from up to 4200 range, but only upon Void-corrupted ground, which functions as blight)
In my test map where I had all of this laid out it was working like a sweet charm, but then I hit a stump. Charge Gold and Lumber does not actually require the tech put on its "requirements" lists, so even though I have the summoning of buildings long-range functioning great with building costs functioning perfectly, I realized that nothing required anything (which I at first did not notice in my test map where all the buildings required are already placed.)
Is there any other Instant (No Target) spell that displays gold and lumber costs, has a functional Requires list (it does not need to actually make the player pay the costs, I just want it on the UI panel) and can function inside of a spellbook? I have already tried using a series of Destroyer-form type morphing abilities for the gold/lumber/requirement UI display, which worked great except that they always display on the unit's normal command card as well as in the spellbook.
So, I'm looking for a spell suggestion. I do not want to make a series of added and removed hidden spellbooks containing passive abilities that say "This building requires this" and "That building requires that," because it would be a very tedious process, but it is the last possibility I can think of to solve my problem. Is there anyone out there with a better idea for me to try?
<----- The Void will be dead if you don't help me.
While I was developing the Building for the race, I made a spellbook with several Charge Gold and Lumber abilities, which when activated ran a fancy series of JASS scripts I wrote to activate hidden Build Tiny abilities on the building so that each one will build a respective building. In this way, the race summons their buildings with their town center with a long range (currently it can summon buildings from up to 4200 range, but only upon Void-corrupted ground, which functions as blight)
In my test map where I had all of this laid out it was working like a sweet charm, but then I hit a stump. Charge Gold and Lumber does not actually require the tech put on its "requirements" lists, so even though I have the summoning of buildings long-range functioning great with building costs functioning perfectly, I realized that nothing required anything (which I at first did not notice in my test map where all the buildings required are already placed.)
Is there any other Instant (No Target) spell that displays gold and lumber costs, has a functional Requires list (it does not need to actually make the player pay the costs, I just want it on the UI panel) and can function inside of a spellbook? I have already tried using a series of Destroyer-form type morphing abilities for the gold/lumber/requirement UI display, which worked great except that they always display on the unit's normal command card as well as in the spellbook.
So, I'm looking for a spell suggestion. I do not want to make a series of added and removed hidden spellbooks containing passive abilities that say "This building requires this" and "That building requires that," because it would be a very tedious process, but it is the last possibility I can think of to solve my problem. Is there anyone out there with a better idea for me to try?
<----- The Void will be dead if you don't help me.