Author Topic: Resources  (Read 3233 times)

fireborn

  • Guest
Resources
« on: 18 February 2006, 21:47:16 »
i'm making a resource mod,(i called it the fossils) and i want to know how to put this on the screen, like:
energy 6 gold 200 stone 200 wood 200 fossils 200

please help me!
« Last Edit: 1 January 1970, 00:00:00 by fireborn »

thefinalstrike

  • Guest
(No subject)
« Reply #1 on: 19 February 2006, 07:29:48 »
Edit the xmls...
« Last Edit: 1 January 1970, 00:00:00 by thefinalstrike »

klinki

  • Guest
(No subject)
« Reply #2 on: 19 February 2006, 10:49:26 »
You only need a Unit wich requires the resource (edit the xml of a unit) and if you want to store it to, you need a unit (or building) wich store the resource (edit the xml of a unit).
That's all you need to do.

Preview Picture
« Last Edit: 1 January 1970, 00:00:00 by klinki »

fireborn

  • Guest
(No subject)
« Reply #3 on: 19 February 2006, 13:48:42 »
i already did it, but it won't show the info on the top corner of the screen like how much of them i have.
« Last Edit: 1 January 1970, 00:00:00 by fireborn »

fireborn

  • Guest
(No subject)
« Reply #4 on: 19 February 2006, 13:57:40 »
let's show an example:




red arrow: initiate harvesting new resource
blue arrow: new resource object
yellow arrow: resource amount info, won't show new resource, why?
« Last Edit: 1 January 1970, 00:00:00 by fireborn »

klinki

  • Guest
(No subject)
« Reply #5 on: 19 February 2006, 14:39:24 »
I`ve testet it and it worked..
look at my picture.




This are the xml Fiels I modified.
« Last Edit: 19 February 2006, 15:22:35 by klinki »

fireborn

  • Guest
(No subject)
« Reply #6 on: 19 February 2006, 15:01:09 »
i saw your picture, i just don't know how to make it work... :cry:
« Last Edit: 1 January 1970, 00:00:00 by fireborn »

fireborn

  • Guest
(No subject)
« Reply #7 on: 19 February 2006, 16:01:48 »
it worked now, i've changed the daemon to cost 5 fossils and it worked.

before i've had changed the ancient summoning upgrade to cost it, i think you need to have a unit costing it for it to work. :D  :D
« Last Edit: 1 January 1970, 00:00:00 by fireborn »

 

anything