Author Topic: Need some help!  (Read 4880 times)

peterkgiesbrecht

  • Guest
Need some help!
« on: 6 March 2006, 04:56:52 »
First of all, congratulations for the game.

Second, sorry about my english  :)

I am creating a new faction, and wondering how to do some things (and if it is possible);

1) There is a way to create a bulding that create resources over time, like gold? And this building must be created by the player, not like gold that u find it on the map.
2) What r all the types of a projectile? I know about linear and spiral.
3) How to create a building where the workers can "pray" to get ressources? Like one tower where u can set some workers to work on that building to create one ressource? It is possible?

If one of this is possible, please, explain how to do it.

thanks
« Last Edit: 1 January 1970, 00:00:00 by peterkgiesbrecht »

fireborn

  • Guest
(No subject)
« Reply #1 on: 6 March 2006, 16:06:27 »
1: Any unit costing a negative number of a resource of the type consumable will generate that resource over time.(cows and pigs generate food over time, if that counts)
2:i don't know
3:i don't think it is possible
« Last Edit: 1 January 1970, 00:00:00 by fireborn »

peterkgiesbrecht

  • Guest
(No subject)
« Reply #2 on: 6 March 2006, 16:21:10 »
My problem is:

I want a building that create resourcer over time. I know how to do it with a resource like food. But i need a resource like gold. There is a big diference.

U dont need to have a number of food to produce a unit, its just to maintain it. In the case of gold, u need some amount of gold to start production. This is the kind of resource that i need that a building generate over time.

I know about 3 types of resources:
- static (energy)
- tech (gold, stone and wood)
- consumable (food)

I want to use all these three kinds of resources, and a builnding that generate a "tech" type.

Is this possible?

thanks
« Last Edit: 1 January 1970, 00:00:00 by peterkgiesbrecht »

tucho

  • Ornithopter
  • *****
  • Posts: 369
    • View Profile
    • .::www.artbytucho.com::.
(No subject)
« Reply #3 on: 6 March 2006, 18:29:55 »
1) you can't made a building that creates tech resources over time... I suppose you want to make a mine, you can create a building with a limited quantity of a tech resource, and when the mine is exhaust you can build another mine.

2) the pojectile tipes are linear, spiral and parabolic, but all tipes have many parameters for customize it and by this way obtain many diferents effects

3) you can't  :(

PD: if you are making a faction, the Glest modder survival kit can be interesting for you, this must be released soon
« Last Edit: 1 January 1970, 00:00:00 by tucho »

peterkgiesbrecht

  • Guest
(No subject)
« Reply #4 on: 6 March 2006, 18:55:15 »
Thanks.

Just one more question, how can i set my worker to build a mine?

And how i can create this mine?
« Last Edit: 1 January 1970, 00:00:00 by peterkgiesbrecht »

tucho

  • Ornithopter
  • *****
  • Posts: 369
    • View Profile
    • .::www.artbytucho.com::.
(No subject)
« Reply #5 on: 6 March 2006, 20:49:03 »
for the worker to build a mine you must edit the worker xml:

 
Quote
<command>
         <type value= "build"/>
         <name value="build_basic"/>
         <image path="images/worker_build_basic.bmp"/>
         <unit-requirements/>
         <upgrade-requirements/>
         <move-skill value="move_skill"/>
         <build-skill value="build_skill"/>
         <buildings>
            <building name="farm"/>
            <building name="barracks"/>
            <building name="blacksmith"/>
                                <building name="castle"/>                            
<building name="mine"/>
         </buildings>
         <start-sound enabled="false"/>
         <built-sound enabled="true">
            <sound-file path="sounds/worker_work_end1.wav"/>
            <sound-file path="sounds/worker_work_end2.wav"/>
            <sound-file path="sounds/worker_work_end3.wav"/>                     
         </built-sound>   
      </command>

To make the mine for example:

Quote
<resource-requirements>
         <resource name="stone" amount="150" />
         <resource name="wood" amount="50" />
          <resource name="wood" amount="-1000" />
</resource-requirements>

or if you want the mine to cost gold too when you build it:

Quote
<resource-requirements>
         <resource name="gold" amount="100" />
         <resource name="stone" amount="150" />
         <resource name="wood" amount="50" />
         <resource name="wood" amount="-1000" />
      </resource-requirements>
« Last Edit: 1 January 1970, 00:00:00 by tucho »

tucho

  • Ornithopter
  • *****
  • Posts: 369
    • View Profile
    • .::www.artbytucho.com::.
(No subject)
« Reply #6 on: 6 March 2006, 20:57:47 »
other option create a static resource called gold, by this way your mines can pay a limited number of units, if you want make more units you must build more mines too, this metod have the advantage (or disvantage) that the enemys destroy your mines you must rebuild its for keep pay your new units
« Last Edit: 1 January 1970, 00:00:00 by tucho »

peterkgiesbrecht

  • Guest
(No subject)
« Reply #7 on: 6 March 2006, 21:27:11 »
Thanks again

But this kind of mine, gives one-time gold. Thats not bad, but not what i want.

Lets talk.

I dont like too much resource management and heavy base care in a game. Did u played "Lord of the rings: battle for middle earth"? This is the kind of resource gathering that i wanted to use. But i think that i cant do this in glest.

Your idea is usefull, i will think about it.
« Last Edit: 1 January 1970, 00:00:00 by peterkgiesbrecht »

NewStevenSpelberg

  • Guest
(No subject)
« Reply #8 on: 25 March 2006, 09:51:28 »
great :) :)
« Last Edit: 1 January 1970, 00:00:00 by NewStevenSpelberg »

VIN100

  • Guest
(No subject)
« Reply #9 on: 25 March 2006, 21:01:36 »
Sorry to leave the subject two seconds but...
Please NewStevenSpelberg can you stop posting links to your website (which have no relation with Glest) just to have a better score on some search engines, it's really annoying.
(For those who didn't understand, check the second smiley of all his replies)
Back to the subject now :)
« Last Edit: 1 January 1970, 00:00:00 by VIN100 »

Coz

  • Guest
(No subject)
« Reply #10 on: 28 March 2006, 03:38:50 »
The bunch of users that are doing this should be removed from the user list and the posts made by them deleted.
« Last Edit: 1 January 1970, 00:00:00 by Coz »

 

anything