• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Faster Harvesting Peon Ability

Status
Not open for further replies.
Level 6
Joined
Nov 3, 2005
Messages
103
I'm trying to figure out how to create an ability where the Peon can transform into a Chaos Peon, increasing it's harvesting/construction speed and damage. I wanted the new Peon unit to have an increased attack rate while attacking trees, but using Chemical Rage or Robo-Goblin preserves some of the unit's properties.

I wanted the player to be able to hop back and forth between the two types, the Chaos Peon losing health as time goes on.

Another issue is that changing the Peon when he's attacking a tree, or in the Gold Mine stops him from attacking all together or puts him back outside the Gold Mine, in which case he needs to re-enter the Gold Mine to fix the glitch.

I've tried making both of the Peons dependent on each other using dependency equivalent, but that didn't help.

Anyone got any ideas on how to fix these problems?
 
Level 29
Joined
Mar 9, 2012
Messages
1,557
Another issue is that changing the Peon when he's attacking a tree, or in the Gold Mine stops him from attacking all together or puts him back outside the Gold Mine, in which case he needs to re-enter the Gold Mine to fix the glitch.
Thats cause when harvesting peon carries the harvested resource amount, upon transforming it is a new unit thus loses what he was carrying and must mine anew restarting on zero up again.
 
Status
Not open for further replies.
Top