Firion Corodix
21 years ago
only one in the entire mod? lol, why is it like that, is there no way to get multiple? like maybe that if you get a cost changing upgrade that the older unit goes away from the build bar and that the cheaper one comes up there.
UserPostedImage
CommieDog
21 years ago
It's like that because EAP didn't have the foresight to allow me to create KindOf bits. If I made a cheaper clone, then the new unit will be different from the old unit, breaking the select type function.
UserPostedImage 
CommieDog: Because someone has to do your dirty work for you
Firion Corodix
21 years ago
but then couldn“t you place in a script which will replace all the old version with the new versions when you get the upgrade and that those new versions have thesame amount of hp left as their older versions?
UserPostedImage
Blbpaws
  • Blbpaws
  • 100% (Exalted)
  • Administrator
21 years ago
apparently not. I'll take his word for it.
UserPostedImage
Firion Corodix
21 years ago
maybe he just doesn't know how to do it....
UserPostedImage
Blbpaws
  • Blbpaws
  • 100% (Exalted)
  • Administrator
21 years ago
it's learnable.
UserPostedImage
CommieDog
21 years ago


but then couldn“t you place in a script which will replace all the old version with the new versions when you get the upgrade and that those new versions have thesame amount of hp left as their older versions?

cdlord wrote:


There is code to do that, but the object being replaced must be still when the upgrade takes effect; moving objects will crash the game. There would also be a one-time boost to the health of the replaced units, possibly enough to change the tide of a big battle.
UserPostedImage 
CommieDog: Because someone has to do your dirty work for you
Firion Corodix
21 years ago
so it's not possible to make the new units have thesame health as the first units?
then we could do it so that the tank itself has the upgrade to get more power and that that upgrade costs ..% of the price of the tank, then it's still thesame upgrade only now it's like the upgrades for overlord. doesn't that solve the problem? maybe the upgrade in the battle lab will enable the upgrade for the tanks so you can then upgrade each tank if you want.
UserPostedImage
CommieDog
21 years ago

so it's not possible to make the new units have thesame health as the first units?

cdlord wrote:


You can set the cheaper tank to have the same maximum health as the original, but there is no way to set the initial health to vary with the upgraded units health.

then we could do it so that the tank itself has the upgrade to get more power and that that upgrade costs ..% of the price of the tank, then it's still thesame upgrade only now it's like the upgrades for overlord. doesn't that solve the problem?

cdlord wrote:


You can have as many upgrades as you want (within reason) to increase the power consumption/production of an object; the aforementioned restriction only applies to upgrades that change cost.
UserPostedImage 
CommieDog: Because someone has to do your dirty work for you
Firion Corodix
21 years ago
well then the problem is solved, because if you make a unit 15% more costly and increase it's power by 20% then you can just give every unit a seperate upgrade that makes them 20% more powerful and the upgrade costs 15% of the total cost of the unit, then it's thesame only you need to do it for each unit you build. then you can have another upgrade which enables these upgrades.
UserPostedImage
ukrockhit
21 years ago
hi all,

I think for upgrades that ra harriers could have upgrade for speed of maybe 5%,

What do you think?
Blbpaws
  • Blbpaws
  • 100% (Exalted)
  • Administrator
21 years ago
It's possible. I'm not sure of why it's a big change though.
UserPostedImage
Users browsing this topic