MegaGlest Forum
Modding and game content creation => Mods => Topic started by: Ingvarr23 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?
-
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.
-
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!
-
give him 1 hp and -1 hp regenration
-
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..