Author Topic: limit on units  (Read 4276 times)

Botjer

  • Guest
limit on units
« on: 24 April 2008, 17:26:51 »
for example. for every building X you may only have a set number of unit Y.
« Last Edit: 1 January 1970, 00:00:00 by Botjer »

orion

  • Guest
(No subject)
« Reply #1 on: 24 April 2008, 19:33:45 »
The Magic faction limits units with the energy resource. The only faction that doesn't limit units is tech and i personally like that it does not limit.
« Last Edit: 1 January 1970, 00:00:00 by orion »

ZaggyDad

  • Guest
(No subject)
« Reply #2 on: 24 April 2008, 19:58:23 »
Well, you can make as many energy sources as you want. So it's not really a limit.

~Zaggy
« Last Edit: 1 January 1970, 00:00:00 by ZaggyDad »

orion

  • Guest
(No subject)
« Reply #3 on: 24 April 2008, 20:00:08 »
True Zaggydad.

A really good example of a faction the limits units is the indians faction by titi. Here is the url

http://www.titusgames.de
« Last Edit: 1 January 1970, 00:00:00 by orion »

ZaggyDad

  • Guest
(No subject)
« Reply #4 on: 24 April 2008, 20:04:23 »
It's the same with that. You can make as many tents as you want.

~Zaggy
« Last Edit: 1 January 1970, 00:00:00 by ZaggyDad »

orion

  • Guest
(No subject)
« Reply #5 on: 24 April 2008, 20:13:02 »
Fine. I'm just going to shut up now. :D
« Last Edit: 1 January 1970, 00:00:00 by orion »

Alestance

  • Guest
(No subject)
« Reply #6 on: 24 April 2008, 21:28:14 »
All you got to do is give the faction a static resource and call it "men." This would work like the Energy does for Magic, but you can choose to have that no worker could build something to increase men, or you could have a new building called "Nursery" which increases "Men" slowly, over time, like reproduction.
« Last Edit: 1 January 1970, 00:00:00 by Alestance »

hailstone

  • GAE Team
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
(No subject)
« Reply #7 on: 25 April 2008, 00:26:04 »
I think other games use 'population' as the name. Good idea.
« Last Edit: 1 January 1970, 00:00:00 by hailstone »
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

daniel.santos

  • Guest
(No subject)
« Reply #8 on: 25 April 2008, 00:53:23 »
I can also modify gae so that resources can be hidden (not displayed) like I do with emanations.  In FPM, there are some emanations that I don't want to display like the restorative effect the necromancers & liches have on their minions, because all that matters is that if the minion wanders too far off, they start degenerating, plus I think that it's confusing to show "necromancer regeneration".  I might actually do this with the "shrines" and just improve the "not enough resources" message to tell you exactly what the problem is.
« Last Edit: 1 January 1970, 00:00:00 by daniel.santos »

ZaggyDad

  • Guest
(No subject)
« Reply #9 on: 25 April 2008, 02:23:00 »
Not possible yet.

~Zaggy
« Last Edit: 1 January 1970, 00:00:00 by ZaggyDad »

Botjer

  • Guest
(No subject)
« Reply #10 on: 25 April 2008, 08:40:41 »
well, what i want is that a castle is able to build 1 builders hall. and only 1 per castle, and that only that castle is able to build it.
« Last Edit: 1 January 1970, 00:00:00 by Botjer »

Botjer

  • Guest
(No subject)
« Reply #11 on: 25 April 2008, 09:17:43 »
when i think about it i think itll solve itself
« Last Edit: 1 January 1970, 00:00:00 by Botjer »

Botjer

  • Guest
(No subject)
« Reply #12 on: 25 April 2008, 09:36:54 »
so it is possible to hide resources in gae?
« Last Edit: 1 January 1970, 00:00:00 by Botjer »

ZaggyDad

  • Guest
(No subject)
« Reply #13 on: 25 April 2008, 16:45:11 »
I don't think I know what you mean, but if I do, no.

~Zaggy
« Last Edit: 1 January 1970, 00:00:00 by ZaggyDad »

daniel.santos

  • Guest
(No subject)
« Reply #14 on: 25 April 2008, 17:41:36 »
Quote from: "Botjer"
so it is possible to hide resources in gae?
It is now (well, as of the unrelease 0.2.7).  I modified the messages you get when you can't build, produce or upgrade due to lack of resources, so it tells you which resources you don't have enough of.

Here's what my shrine resource looks like now:
Code: [Select]
<resource>
<image path="../../placeholders/icon.bmp"/>
<type value="static"/>
<display value="false"/>
</resource>

So just add <display value="false"/> to your resource to hide it (in gae 0.2.7+).
« Last Edit: 1 January 1970, 00:00:00 by daniel.santos »

ZaggyDad

  • Guest
(No subject)
« Reply #15 on: 25 April 2008, 19:14:34 »
Why are you making it not be shown? I think I'd want to know how much I've got of it.

Heh...heh...Oh. I never noticed. :)

~Zaggy
« Last Edit: 1 January 1970, 00:00:00 by ZaggyDad »