Author Topic: Units: Resource Processing  (Read 3280 times)

ChupaReaper

  • Guest
Units: Resource Processing
« on: 13 February 2012, 16:05:43 »
Is it possible or could it be to have units receive resources and convert them into different resources? So workers mine Iron Ore and deliver it to a Storehouse as normal. There is then a Blacksmith building that slowly converts the iron ore into weapons. I know this can be done using generate, but can generate somehow be put onto an auto-use so whenever the resources are available the Blacksmith will automatically convert them? This could be toggled on and off or exampled upon like the Blacksmith can make swords or maces depending on what the player tells it to make.

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: Units: Resource Processing
« Reply #1 on: 13 February 2012, 19:56:04 »
I would use a attack ability make it do zero damage, and then make it attack something elles, perhaps a...Iron stockpile?.
WiP Game developer.
I do danish translations.
"i break stuff"

ChupaReaper

  • Guest
Re: Units: Resource Processing
« Reply #2 on: 14 February 2012, 11:38:33 »
I would use a attack ability make it do zero damage, and then make it attack something elles, perhaps a...Iron stockpile?.
That's an interesting way to do it, only problem is you could make the Blacksmith 'attack' anything, its a bit of a dirty way of doing it. I'll look into the cast spell and see if I can get it to auto target itself and continuously cast a spell that does nothing on itself.
Ideally a skill that just loops when turned on with generate attached is all that is needed.

lazyanttu

  • Guest
Re: Units: Resource Processing
« Reply #3 on: 14 February 2012, 12:50:43 »
But I think that the cast-spell could be set <cycle=true>, when it cycles just like an attack. Would that solve the problem?

ChupaReaper

  • Guest
Re: Units: Resource Processing
« Reply #4 on: 2 March 2012, 18:16:57 »
But I think that the cast-spell could be set <cycle=true>, when it cycles just like an attack. Would that solve the problem?
I think that could work, so long as they building will target itself automatically so all the player has to do if click a button to start the processing.
Can then use the stop command to stop processing too which is always useful.

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: Units: Resource Processing
« Reply #5 on: 4 April 2012, 14:48:54 »
Dirty things are the result of imagination.

and are awesome.
WiP Game developer.
I do danish translations.
"i break stuff"