Author Topic: How to make an upgrade researchable more than once?  (Read 1385 times)

Ingvarr23

  • Archer
  • *
  • Posts: 23
    • View Profile
How to make an upgrade researchable more than once?
« on: 23 September 2013, 11:19:28 »
Hello , i have found a market model online , successfully imported it into the game , created the building... I am trying to create a market that would function like this..

It would have upgrades {buy resources buttons , that would increase one resource while decreasing the other one} However I am not able to research an upgrade {buy wood for example} more than once so I can only perform the action one time. {buy wood} Any solutions?

MoLAoS

  • Ornithopter
  • *****
  • Posts: 433
    • View Profile
Re: How to make an upgrade researchable more than once?
« Reply #1 on: 23 September 2013, 14:51:07 »
Hello , i have found a market model online , successfully imported it into the game , created the building... I am trying to create a market that would function like this..

It would have upgrades {buy resources buttons , that would increase one resource while decreasing the other one} However I am not able to research an upgrade {buy wood for example} more than once so I can only perform the action one time. {buy wood} Any solutions?

This seems like a really weird use for upgrades. You may want to try making a size 0 unit and set the resource costs on the unit to negative for the ones you want to make more of and maybe give it 0 health so it dies instantly. You can buy any number of units of course so you can do it as much as you want.

Ingvarr23

  • Archer
  • *
  • Posts: 23
    • View Profile
Re: How to make an upgrade researchable more than once?
« Reply #2 on: 23 September 2013, 16:46:14 »
Thanks I will try that, but I still have a problem, unit model?

Edit- It crashes , when I try to train my unit? Why?

duble edit - managed to get around that but now , my unit does not die instantly {gave 0 hp to it... } It is invincible!
« Last Edit: 23 September 2013, 17:38:05 by Ingvarr23 »

titi_son

  • Draco Rider
  • *****
  • Posts: 284
  • titi_son
    • View Profile
Re: How to make an upgrade researchable more than once?
« Reply #3 on: 23 September 2013, 18:11:57 »
give him 1 hp and -1 hp regenration
My first Tilseset: SPRING :) (included in Megaglest )

Secret Hint: To play online join the IRC #megaglest-lobby on freenode which is the lobby chat ingame. So you can chat with or wait for people in the lobby without running megaglest all the time.

Ingvarr23

  • Archer
  • *
  • Posts: 23
    • View Profile
Re: How to make an upgrade researchable more than once?
« Reply #4 on: 23 September 2013, 19:03:26 »
Already did that but thanks anyway... Now i just need to get rid of the dying sounds..and some other visual bugs that do not affect gameplay..

 

anything