Author Topic: Alchemy?  (Read 3202 times)

osiris

  • Guest
Alchemy?
« on: 26 June 2008, 01:09:50 »
i was wondering how you would make a unit change stone into gold... i'm not sure how i would put that in code or if its possible.
thanks
 :)
« Last Edit: 1 January 1970, 00:00:00 by osiris »

Nihilirian

  • Guest
(No subject)
« Reply #1 on: 26 June 2008, 15:08:03 »
I think you must first decide, imagine how it all would work.  Like , "trade" style converting some of your gold in to stone - nicknamed Alchemy. OR a unit having a spell that can cast on a resource converting it or part of it to another resource.
« Last Edit: 1 January 1970, 00:00:00 by Nihilirian »

Idanwin

  • Guest
(No subject)
« Reply #2 on: 30 June 2008, 18:09:58 »
When I saw Alchemy I thought: 'A new faction?'
I like the idea; maybe there should be a Alchemy faction which can convert resources into gold, or the other way around.
I think Alchemy fits with Tech and Magic...
« Last Edit: 1 January 1970, 00:00:00 by Idanwin »

tripsahoy

  • Guest
Re: Alchemy?
« Reply #3 on: 23 October 2008, 01:54:04 »
no offence
but thats a stupid ideafor a faction
it should be a skill

modman

  • Guest
Re: Alchemy?
« Reply #4 on: 23 October 2008, 02:15:03 »
The best way to do that would be with resource requirements for a command.

tripsahoy

  • Guest
Re: Alchemy?
« Reply #5 on: 23 October 2008, 02:19:39 »
Quote from: "modman"
The best way to do that would be with resource requirements for a command.
ya your talking about a skill

Quote from: "Idanwin"
When I saw Alchemy I thought: 'A new faction?'
hes talking about a faction

@kukac@

  • Guest
Re: Alchemy?
« Reply #6 on: 23 October 2008, 08:39:15 »
No, if you check the first post, it is clear it isn't a faction, rather a skill.

modman

  • Guest
Re: Alchemy?
« Reply #7 on: 23 October 2008, 22:07:48 »
Now you're getting into the environment changing things...That's definately something for GAE to handle.

This would also require some heavy changes to the engine because right now the only time someone can change a map is when they use up all the stone, gold or wood in one spot.

tripsahoy

  • Guest
Re: Alchemy?
« Reply #8 on: 23 October 2008, 22:51:04 »
Quote from: "modman"
Now you're getting into the environment changing things...That's definately something for GAE to handle.

ok dude your ubsessed with GAE now.

anyway i was watching a movie on issic newton in phisics and i learned that he studied Alchemy and that its the science of natural magic! it also says that the "elements" fire water earth and air are what make everything. also that a long long long long time ago were was a race of men who were extreamly advanced and knew more than we do today.

Now thats just a little bit about what i learnd about alchemy from the vidio but im shour their is more.
anyway this got me thinking that Alchemy would be a really cool faction.
It could also be put in its own tech tree called Science with other types of sciences as the base for factions like...
chemistry
biology
phisics
geology
astronomy
and alchemy of corse.

what do you guys think. obviously we would have to do a lot of research to make this tech tree and it would take a long time

tripsahoy

  • Guest
Re: Alchemy?
« Reply #9 on: 23 October 2008, 22:53:37 »
Quote from: "@kukac@"
No, if you check the first post, it is clear it isn't a faction, rather a skill.

Quote from: "osiris"
i was wondering how you would make a unit change stone into gold... i'm not sure how i would put that in code or if its possible.
thanks
:wink: - @kukac@]

ZaggyDad

  • Guest
Re: Alchemy?
« Reply #10 on: 24 October 2008, 00:23:25 »
Quote from: "tripsahoy"
Quote from: "modman"
The best way to do that would be with resource requirements for a command.
ya your talking about a skill

No, it would be much better if it were in the command, and it makes much more sense to have it in the command.

tripsahoy

  • Guest
Re: Alchemy?
« Reply #11 on: 24 October 2008, 11:22:06 »
Quote from: "ZaggyDad"
No, it would be much better if it were in the command, and it makes much more sense to have it in the command.

ya thats what i ment sorry

verarticus

  • Guest
Re: Alchemy?
« Reply #12 on: 31 October 2008, 03:27:33 »
ok heres what you do (this works btw im using it in a faction of mine) first give the unit a produce skill and command (you can change its name to convert to gold or whatever) and then make a new unit name it gold or whatever then give it this code.
Code: [Select]
<?xml version="1.0" standalone="no"?>

<unit>

<!-- *** parameters *** -->

<parameters>
<size value="0"/>
<height value="1"/>
<max-hp value="500" regeneration="0"/>
<max-ep value="0"/>
<armor value="0"/>
<armor-type value="organic"/>
<sight value="5"/>
<time value="40"/>
<multi-selection value="false"/>
<cellmap value="false"/>
<levels/>
<fields>
<field value="land"/>
</fields>
<properties/>
<light enabled="false"/>
<unit-requirements/>
<upgrade-requirements/>
<resource-requirements>
<resource name="gold" amount="50"/>
<resource name="food" amount="-5"/>
</resource-requirements>
<resources-stored/>
<image path="images/5_energy.bmp"/>
<image-cancel path="../acrobat/images/tech_cancel.bmp"/>
<meeting-point value="false"/>
<selection-sounds enabled="false"/>
<command-sounds enabled="false"/>

</parameters>


<!-- *** skills *** -->

<skills>
<skill>
<type value="stop"/>
<name value="stop_skill"/>
<ep-cost value="0"/>
<speed value="1000"/>
<anim-speed value="40"/>
<animation path="models/5_energy.g3d"/>  
<sound enabled="false"/>
</skill>

<skill>
<type value="die"/>
<name value="die_skill"/>
<ep-cost value="0"/>
<speed value="120"/>
<anim-speed value="80"/>
<animation path="models/5_energy.g3d"/>
<sound enabled="false"/>
<fade value="false"/>
</skill>
</skills>
<!-- *** commands *** -->

<commands/>
</unit>

now most of the stuff dosent matter but change the name of the stuff and also if you want for example 10 stome to equal 5 gold then set the cost to
                                 <resource-requirements>
         <resource name="stone" amount="10"/>
         <resource name="gold" amount="-5"/>         
      </resource-requirements>
and wala you have alchemy
if you have any trouble just ask and ill try to help.

mictes

  • Guest
Re: Alchemy?
« Reply #13 on: 31 October 2008, 11:59:39 »
Yes, the same trick like the Store.

 

anything