MegaGlest Forum
Archives (read only) => Glest Advanced Engine => Feature requests => Topic started by: RealtimeFreak on 7 January 2011, 16:47:05
-
Hi Guys,
now i have a little time,
I have a idee, Megaglest, has a feature named MaxUnitCount,
it would be nice if GAE this feature would help, too?
by MegaGlest works this, by Human Players, and the AI.
i think thats a good feature for GAE ;)
regards RealtimeFreak,
-
This is already possible using static resources.
-
yes , i know
I mean something different /:
-
I can see wanting to do it for the sake of keeping consistent methods between the two engines, but I think that's a lost cause if the other side isn't interested in making an effort. Then there's the issue of allowing GAE to still play MG mods, but I think compatibility is going to break sooner or later anyway. Maybe worth it, maybe not.
I'm not entirely sure what this feature does, though. Is it a limit on one unit type, or on total units?
-
its for total units what i mean,
hm..
i think the possible its , can control the AI a bit, with this feature.
I thought it was just a great thing for MG,because you can adjust, example:
depending on the unit, first unit = max10, max 10 = second unit third unit = max15
-
Do you mean a population limit where units cost a certain amount of population then you can't build anymore units once you reach that limit? Perhaps you could link to an MG page or a commit log.
-
Do you mean a population limit where units cost a certain amount of population then you can't build anymore units once you reach that limit? Perhaps you could link to an MG page or a commit log.
in short, "popcap." nearly every RTS has one...
-
What's the point of this? The food system provides a generally realistic and dynamic popcap. How is adding an aritificial, unrealistic, and static one going to do any good?
-
Actually, if you have tons of resources there is kinda no limit...
-
Actually, if you have tons of resources there is kinda no limit...
It's a dynamic limit as I said, can be high low, anywhere. But really what is the point of a limit. Can't handle the units? If so an optional/editable popcap should be added, and default to off.
-
It's a dynamic limit as I said, can be high low, anywhere.
Oh, I didn't see that for some reason. True, but still; it is not really a true limit...
Anyways I suppose the code could be used from MG or new code...but personally I don't think it is needed...
-
I don't want to see a population limit. It might work fine with a game that can be played financially (ie: stronghold), but Glest is all military and a population limit is a negative. I simply don't see it making gameplay any better for us.
-
Surely, it might not suit the limits of everyone's imagination but as long as it can be turned off it seems a very good thing?
(I like to play mg mods in gae)
-
(I like to play mg mods in gae)
How does that make a difference?
True, but still; it is not really a true limit...
A realistic one, that works well.
I don't want to see a population limit. It might work fine with a game that can be played financially (ie: stronghold), but Glest is all military and a population limit is a negative. I simply don't see it making gameplay any better for us.
Agreed.
-
population limit is often what i dont like about games, especially when it doesn`t fit. I think of Glest more as of a game were you build colonies and try to remove the enemy colony if yuou get what i mean. And there pop cap is just sad and tragic. The only thing i hates about AOE1/2/3 was the pop cap. But in the settlers, pop cap makes the game more fun. Talking about the realistic one, not the other kid TS.
-
population limit is often what i dont like about games, especially when it doesn`t fit. I think of Glest more as of a game were you build colonies and try to remove the enemy colony if yuou get what i mean. And there pop cap is just sad and tragic. The only thing i hates about AOE1/2/3 was the pop cap. But in the settlers, pop cap makes the game more fun. Talking about the realistic one, not the other kid TS.
:thumbup:
In Praetorians, the popcap always annoyed me, because I couldn't have a massive army, I was forced to limit which made it hard to set up huge battles. :swordman: :swordman: :archer: :archer:
-
hi all, thx for the many answer,
but i mean no generally popcap limit.
what i mean its , that exactly self MaxUnitCount system , from MG
(is advantageous that one unit each, so each file xml, which can adapt limit at MG)
so like a example: archer limit = 10, guard limit = 10, swordman = 10, worker = 20,
(from the Unit.XML <max-unit-count value=""/> )
to popcap limit:
it its quite feasible, with static ressources, like the housing system from MG
a problem its, the AI build max 11-13 houses (tents),
but i think, the poplimit, with this housing system, works really good.
so is the unit count, depends from the houses.
-
it might be quite convienient for a middle earth faction - how many ring wraiths can you be allowed to build?
-
Initially this was made for heroes and gods! My sons always wanted to do something like this. Basically they always use it set to 1 .
But of course you can also set it to another number ;D .
For the basic heroes idea:
For example if you want to add a chieftain to the indians which is very powerful and you want only 1 chieftain in the game you set it to 1. Of course you can get the same effect by adding a resource "chieftain" or something like this. But beside that this looks ugly it will look even more ugly if you decide to limit some more like only allow one totem and maybe one commandable firelike god in addition. Then you would already have new fake ressources. This looks bad and thats basically why i decided to add this feature in MG.
Now where I see this feature beeing discussed again I think about the way I have implemented it.... Maybe it would have been better to add a special "unit_limit_resource" that is not displayed the normal way, but inside the units stats display in the game. On the other hand its an attribute of the unit type and it should be defined there.....
-
MaxUnitCount would certainly be more convenient in some cases. Using resources (which can be hidden, by the way) is a bit more flexible, though. For example, if you have more than one kind of hero, then you could have each cost one "hero point" and give the faction only one hero point, so they can pick either a warrior hero or a wizard hero, but not both.
-
This will happen eventually, but it's one of those things that I feel needs to well thought about beforehand.
This will be an expanded unit-requirements system, and will somehow be made generic enough to do far more than simply limit the maximum number of a unit type you can have at any one time. You might want the limit to be only 1 X for every 5 Y, or maybe the limit would be at most 2 of X, Y or Z. etc etc etc.
-
As another note, I think that if this is ever implimented, modders will need to take into aspect the thoughts and opinions of the other players as well, particularily their opinions on limit caps. For example, I wouldn't want a limit on archers or guards. A god unit or hero, is understandable (though, like John, I prefer a hidden resource for that).
This will be an expanded unit-requirements system, and will somehow be made generic enough to do far more than simply limit the maximum number of a unit type you can have at any one time. You might want the limit to be only 1 X for every 5 Y, or maybe the limit would be at most 2 of X, Y or Z. etc etc etc.
Wouldn't that be better done with a hidden resource though? For example, "hidden_resource1" has a supply of 5, and units A, B, and C all use one of that resource. Thus, we can only build 5 of those 3 units, in any combination, and simpler than having to impliment a new feature.
Just my 2 bits.
-
This will be an expanded unit-requirements system, and will somehow be made generic enough to do far more than simply limit the maximum number of a unit type you can have at any one time. You might want the limit to be only 1 X for every 5 Y, or maybe the limit would be at most 2 of X, Y or Z. etc etc etc.
Wouldn't that be better done with a hidden resource though? For example, "hidden_resource1" has a supply of 5, and units A, B, and C all use one of that resource. Thus, we can only build 5 of those 3 units, in any combination, and simpler than having to impliment a new feature.
You may have me here... I thought I'd be able to invent a scenario that it couldn't handle easily enough, but it passes them all with flying colours so far. I'll talk to my people ;)
-
What about if you wanted to treat the limit as separate for each unit of that type? For example if you have a aircraft carrier or a pupput master that can only "manage" (ie produce) a certain amount. When one of them dies it recycles the cost allowing for another unit to take its place. These cases will be handled with the already ticketed local resources (https://sourceforge.net/apps/trac/glestae/ticket/9).
-
Yes all good points. Simply saying "hidden resources" is too simple in my opinion. Even hidden resources must be displayed in any way to tell the player about them in a way he knows how it is meant. If you have a good solution for this its maybe better than what I did.
@silnarm: An expanded unit-requirements system is what I had intentionally in mind. I just made this simple case to get an idea of how it works at the moment ( and because my kids wanted it ... )
-
What if there was an XML value for hidden resources that toggled them so they'd be displayed as an available/total in the unit's creation tooltip. Instead of having it on the top, like all the other resources, being hidden, it's mentioned in passing in the "resource requirements". ie: if the resource is called "hero_units", and has a maximum of 3, then the tooltip for hero units would include "Hero units 0/3" in the resource requirements, thus showing how many they can make.
-
hm.. small idea:
resource could be in the static,
not something to add, so that they do exist,
but are invisible in the game, resources so that the display, remains free for other important?
i think, such a feature, would be a good possibility to control individual units.
-
resource could be in the static,
not something to add, so that they do exist,
but are invisible in the game, resources so that the display, remains free for other important?
That's exactly how it works now, unless I'm reading you wrong.
-
no its not correct , if i create a static ressource, shows that on the display current,
i meant but, if a static ressourece exist, then hidden the ressource, on the display screen.(as if they were not there)
-
no its not correct , if i create a static ressource, shows that on the display current,
i meant but, if a static ressourece exist, then hidden the ressource, on the display screen.(as if they were not there)
Yeah, you can totally do that.
<?xml version="1.0" standalone="no"?>
<resource>
<image path="../mana/mana.bmp"/>
<type value="static"/>
<display value="false"/>
</resource>
-
wow unbelievable, which has this been :o cool..
very thanks, John.d.h ;)
hm, I do not know now, but somehow, would be so now a new unit limit unnecessary ;D
( if that so works, its that but okay )
hm.. is the thread now as obsolete?
-
hm.. is the thread now as obsolete?
Possibly, but possibly not. If the limit you seek is '1' then you can cleverly name the resource so the resource requirement reads well, ie 'my_unit_limit' will show on the tooltip as My Unit Limit 1, but this fails for limits other than one, doesn't show how many you already have (if any) and the message on the console is still stupid, 'not enough My Unit Limit ...'
We'll look into ways this might be solved... via some sort of custom resource requirement messages or some such.
-
Hmm, that is true... If you use language files to ensure the resource is parsed as something like "Limit", that would partially solve that, though you do have a point...
-
Possibly, but possibly not. If the limit you seek is '1' then you can cleverly name the resource so the resource requirement reads well, ie 'my_unit_limit' will show on the tooltip as My Unit Limit 1, but this fails for limits other than one, doesn't show how many you already have (if any) and the message on the console is still stupid, 'not enough My Unit Limit ...'
hm thats its true /:, i self mean that for the AI thats good, but for the player sees the different again from..., thats true
-
Can GAE have max-unit-count option like MG has?(Without require any special resources).
The feature is very convenient to control AI behavior, and it's problem one fork has the option and another fork doesn't have when designing Mod.