- Joined
- Jun 27, 2010
- Messages
- 2,763
Hi all, I am trying to create a working upgrade that makes all buildings of the player begin to create blight around themselves, after an upgrade. So far I tried:
1. Added Blight Growth to all units that Requires the upgrade, added the used upgrade to all buildings.
Problem: Blight Growth ignores the requirement and create blight anyway. (check dependencies: True is not working)
2. To the ability added a second level and turned off 'create blight:true' to level 1; The upgrade will increase its level.
Problem: Now it doesn't create blight even when upgraded.
3. went back to 1 level and did this:
4. This is an idea but it's a lot of work and I really think there msut be another way. Add 'berserker upgrade'-based ability on each buildings that changes it to one with the blight growth. this means 30 copies of the buildings and 30 abilities, one for each. Also the workers have to be changed so that they build the new versions.
Any ideas?
1. Added Blight Growth to all units that Requires the upgrade, added the used upgrade to all buildings.
Problem: Blight Growth ignores the requirement and create blight anyway. (check dependencies: True is not working)
2. To the ability added a second level and turned off 'create blight:true' to level 1; The upgrade will increase its level.
Problem: Now it doesn't create blight even when upgraded.
3. went back to 1 level and did this:
-
Upgrade Finish Path
-
Events
-
Unit - A unit Finishes an upgrade
-
-
Conditions
-
(Researched tech-type) Equal to Stone Path
-
-
Actions
-
Set ResearchedPath[(Player number of (Owner of (Triggering unit)))] = True
-
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)) matching (((Matching unit) is A structure) Equal to True)) and do (Actions)
-
Loop - Actions
-
Unit - Add Path Growth Small to (Picked unit)
-
-
-
-
-
Finish Construction Add Path
-
Events
-
Unit - A unit Finishes construction
-
-
Conditions
-
ResearchedPath[(Player number of (Owner of (Constructed structure)))] Equal to True
-
-
Actions
-
Unit - Add Path Growth Small to (Constructed structure)
-
-
4. This is an idea but it's a lot of work and I really think there msut be another way. Add 'berserker upgrade'-based ability on each buildings that changes it to one with the blight growth. this means 30 copies of the buildings and 30 abilities, one for each. Also the workers have to be changed so that they build the new versions.
Any ideas?
Last edited: