Author Topic: Gas  (Read 6444 times)

fireborn

  • Guest
Gas
« on: 19 February 2006, 20:48:14 »
i made a new resource for the tech faction,it's called gas, now a few units have to consume gas in order to work, these are the units:

airplane
ornithopter
battle machine


http://www.4shared.com/file/843206/b28e ... ource.html

this is the link to download
« Last Edit: 1 January 1970, 00:00:00 by fireborn »

PiZZ

  • Guest
(No subject)
« Reply #1 on: 7 March 2006, 11:02:03 »
great idea, like all the others you've had.   :D
but, how can I collect gas? which figure had to do it? and where its collected?

and then, little OT: i've noticed that pikemen can't be healed, is it a bug (quick to fix)?

thank you.
« Last Edit: 1 January 1970, 00:00:00 by PiZZ »

fireborn

  • Guest
(No subject)
« Reply #2 on: 7 March 2006, 16:47:46 »
gas is built automatically once you have a technodrome, and the more you have, more gas you'll receive, and more machines you'll be able to use.

ps: i wasn't me who built the pikemen, it was toph, so if you wish to ask something about this unit ask him.
« Last Edit: 1 January 1970, 00:00:00 by fireborn »

PiZZ

  • Guest
(No subject)
« Reply #3 on: 7 March 2006, 19:35:48 »
uh, well... i saw something similar to what you say, but seemed to me that the amount of gas decreased of 10 parts instead of increase.
where are the parameters of the gas' evolution, in the technodrome's XML?
thank you.

(no problem, for the facts of pikemen...it was a simple matter of figures that technicians could heal, as these are listed in technician's XML)   ;)
« Last Edit: 1 January 1970, 00:00:00 by PiZZ »

fireborn

  • Guest
(No subject)
« Reply #4 on: 8 March 2006, 01:57:06 »
my friend nociced it also when i showed it to him,it's just one of those damn programming errors you don't notice, this is how to fix it, look for the resource requirements in the XML of the technodrome(the moded one), and multiply the gas cost by -1, that should solve it
« Last Edit: 1 January 1970, 00:00:00 by fireborn »

PiZZ

  • Guest
(No subject)
« Reply #5 on: 9 March 2006, 14:09:37 »
ok, fixed.
but still don't get any gas during the game, always 0/10... :'(
« Last Edit: 1 January 1970, 00:00:00 by PiZZ »

klinki

  • Guest
(No subject)
« Reply #6 on: 9 March 2006, 18:25:35 »
when I've downloaded the technodrom.xml looks so:
Quote
      <resource-requirements>
         <resource name="gold" amount="100" />
         <resource name="wood" amount="250" />
      </resource-requirements>
      <resources-stored>
         <resource name="wood" amount="200" />
         <resource name="gas" amount="-10"/>   
      </resources-stored>

but if you want the technodrom to produce gas, it must lokks so:
Quote
      <resource-requirements>
         <resource name="gold" amount="100" />
         <resource name="wood" amount="250" />
         <resource name="gas" amount="-10"/>   
      </resource-requirements>
      <resources-stored>
         <resource name="wood" amount="200" />
      </resources-stored>

and if you want the technodrom to store gas to, it must look so:
Quote
      <resource-requirements>
         <resource name="gold" amount="100" />
         <resource name="wood" amount="250" />
         <resource name="gas" amount="-10"/>   
      </resource-requirements>
      <resources-stored>
         <resource name="wood" amount="200" />
         <resource name="gas" amount="100"/>   
      </resources-stored>


you can change the amounts, but do not change the negative sign..
« Last Edit: 1 January 1970, 00:00:00 by klinki »

PiZZ

  • Guest
(No subject)
« Reply #7 on: 9 March 2006, 18:49:10 »
FAN TA STIC ! ! !   :D
« Last Edit: 1 January 1970, 00:00:00 by PiZZ »

fireborn

  • Guest
(No subject)
« Reply #8 on: 9 March 2006, 19:01:46 »
man, i didn't expect my mod to have so many errors...
« Last Edit: 1 January 1970, 00:00:00 by fireborn »

PiZZ

  • Guest
(No subject)
« Reply #9 on: 9 March 2006, 20:55:33 »
don't worry, man. just call it COOPERATIVE WORK!!!  :shock:

apart from the fact that you can't have more units fueled with gas than technodromes in play.   :|
« Last Edit: 9 March 2006, 22:05:26 by PiZZ »

fireborn

  • Guest
(No subject)
« Reply #10 on: 9 March 2006, 21:58:35 »
Quote from: "PiZZ"
just one thing more, 'cause at last I've found a way...
in a strange way, gas was acting similar like food (when you waste all you have or when the number in the parenthesis start being negative, people begin to die)


that's because consumable resources, like food... or gas, act like this, it's more like a basic need for units, people need to eat food, as well as machines need to have gas in order to work properly ;)
« Last Edit: 1 January 1970, 00:00:00 by fireborn »

PiZZ

  • Guest
(No subject)
« Reply #11 on: 9 March 2006, 22:07:42 »
that's ok.
but as you could imagine, it's hard to efford one TECHNODROME par each gas fueled unit in play!   :o
« Last Edit: 1 January 1970, 00:00:00 by PiZZ »

PiZZ

  • Guest
-
« Reply #12 on: 9 March 2006, 22:28:53 »
reasonably, the only way could be edit the TECHNODROME.XML like

Quote
   
<resource-requirements>
<resource name="gold" amount="100"/>
<resource name="wood" amount="250"/>
<resource name="gas" amount="-100"/>
</resource-requirements>

because it will allow you to have 10 gas fueled unit per each technodrome.
 :-[
« Last Edit: 19 June 2016, 06:44:57 by filux »