| 08-19-2003, 09:58 PM | #1 |
Is it possible to make a unit that builds uhm.. other units? And if it is, is it possible to make a hero that builds other units with increasing unit good-ness as it levels up? I guess I could just use summoning and delay the casting time, but I'd rather have the hero actually construct the unit.. How can I do that? |
| 08-20-2003, 02:27 AM | #2 |
Hmm... You could try something with metamorphosis and have it place a unit after the transformation back. You could also try doing something with casting times and summon spells or with a channeling ability and a trigger that places the unit after channeling stops. |
| 08-20-2003, 05:46 AM | #3 |
Channeling ability? o.O Enlighten me, I'm stupid. |
| 08-20-2003, 06:25 AM | #4 |
Channeling Ability: Any ability that must be maintained (channeled) by the spellcaster to remain. Examples: Earthquake, Death & Decay, Starfall, Aerial Shackles |
| 08-20-2003, 07:18 AM | #5 |
Yeah, have the trigger detect when the unit starts channeling the ability so that you can subtract gold and lumber, then have one detect when the ability stops channeling, and then place the unit. The only trouble that I can think of here is that you could train the unit prematurely by interrupting the ability. You could always have your hero summon a phoenix egg-style unit and "train" the unit that way. |
| 08-20-2003, 05:12 PM | #6 |
Okay, thanks for the suggestions and help. |
| 08-22-2003, 02:06 AM | #7 |
Well, you could make the icon and stuff different, but if you gave him the build ability, just rename it or something or find a way you can build without clicking, then yo could do this with a trigger Event: Unit - A unit owned by Player 1(Red) Finishes construction. Condition: (Unit-Type of(Constructed Structure)) Equal to bla structure Action: Unit - Replace(Constructed Structure) with a bla unit using the new unit's default. All you have to do is make a structure with the same model and size as your unit, then when the structure is done building it will change into that unit. I hope this helps. |
| 08-23-2003, 01:45 AM | #8 |
Thanks, again. |
| 08-23-2003, 02:34 AM | #9 |
Yes, There's a way to make a hero create units there is a field in the object editor wich reads Stats - Is a Building and is by default false. Jus change it to True. Select another unit and reselect the hero. Some more fields are added under TechTree, one of thems is Units Trained, and there is a Units sold too. Insert the type of units then go back and make "Is a building" false. The units are added to the units techtree Also if you want them to get better every level do tihs: 1)Make a brand new upgrade wich does nothing upgradable as many times as the hero skill. 2)Edit every summoned unit to require a level of the upgrade (1, for level 1 skill, 2 for 2nd level skill, etc...) 3)Make sure a unit replaces another (the button is in the same place) 4)Make a trigger wich levels up the upgrade every time the skill is leveld up. This trigger should be made to also remove the previous summoned unit from the techtree, so it will avoid confusions. That's all. |
| 08-23-2003, 04:05 AM | #10 |
^.^ That was confusing but very, very helpful. And THAT is probably what I'll do. Those orc smileys suck. =P |
| 08-24-2003, 11:04 PM | #11 |
u could just make a cusinmunite of what unite u want to build and them custim unite of the builder and at it abilites pick the build or summion thing and then pick what u can build i know it sounds kinda confusing sorry but hey it works:foot: :guns: :guns: :guns: :guns: :guns: :guns: :guns: :guns: :guns: :guns: :guns: :guns: :guns: :guns: :guns: :guns: :guns: :guns: :guns: |
| 08-25-2003, 04:32 AM | #12 |
Er. ... emote_sweat |
| 08-26-2003, 07:10 PM | #13 | |
Quote:
I think he meant: [b]u could just make a custom unit of the unit u want to build and then a custom unit of the builder, and at its abilites tag in the object editor pick the build or summion thing and then pick what u can build (the first custom unit) |
| 08-26-2003, 10:45 PM | #14 |
Ngh. Now I'm stabbing away blindly into trigs so it might not belong here, but I'm still working on the same hero, so why make another thread? =\ How do I make a Hero Skill Comparison recognize a custom spell? |
| 08-27-2003, 08:58 PM | #15 |
Actually, nevermind that. But.. changing it to 'is a building - true' doesn't give the units trained field =\ Maybe heros can't build at all? That would suck, more triggering. |
