notshareable=1; should make it impossible, to share a unit with anyone else.
maxunits=10; should define the unit limitation of this kind of units.
[req] notshareable=1; and maxunits=10;
Moderator: Moderators
- Optimus Prime
- Posts: 755
- Joined: 03 Oct 2005, 14:31
will read it later, must go now.AF wrote:A method of defining unit limits was discussed by me smoth and a few other people in another thread. I suggets you read it and post the link back here as we got quite far with finalizing it.
But i have another good implementation: like the armor.txt a limit.txt where you can define uni8tclasses and give them limitations. So for example you can make a limit for heavy tanks and one for planes or for single units.
I somewhat disagree. If a modder sets a hard limit on a unit, that's how it should be. Users could disable it as they can now, but they shouldn't be able to change that limit... that destroys the entire purpose of having the tag. Adjusting the limit for "normal" units would be fine though.SinbadEV wrote:That's one implimentation, but I would like to see it as a host defined list, perhaps the list would start showing the modders defined limits and be changeable by the end user
I agree with Gnome
If some modder limits a unit to 1, at any given time, its probably because having more than 1 would be so overpowered. So allowing the users to just alter the balance set up like that would be like allowing them to have sliders for certain weapons damage.. Only the overall unit count/ units that are not already limited should have some sort of adjustable controls..
Also it would be cool if you could set up unit limits like the Armor.txt That means you could limit units by either a class, or single units.. Ie make it so you can only ever have 30 heavy tanks of any kind, and only 1 super heavy tank... for example.. I have no idea whether that is feasibly codable.. but it reminds me of how Homeworld2 did stuff.. maybe when LUA scripting is implementable..
If some modder limits a unit to 1, at any given time, its probably because having more than 1 would be so overpowered. So allowing the users to just alter the balance set up like that would be like allowing them to have sliders for certain weapons damage.. Only the overall unit count/ units that are not already limited should have some sort of adjustable controls..
Also it would be cool if you could set up unit limits like the Armor.txt That means you could limit units by either a class, or single units.. Ie make it so you can only ever have 30 heavy tanks of any kind, and only 1 super heavy tank... for example.. I have no idea whether that is feasibly codable.. but it reminds me of how Homeworld2 did stuff.. maybe when LUA scripting is implementable..
Yes me and smoth covered that thorougly, and included per player and global game limits aswell as a few other things.Optimus Prime wrote:will read it later, must go now.AF wrote:A method of defining unit limits was discussed by me smoth and a few other people in another thread. I suggets you read it and post the link back here as we got quite far with finalizing it.
But i have another good implementation: like the armor.txt a limit.txt where you can define uni8tclasses and give them limitations. So for example you can make a limit for heavy tanks and one for planes or for single units.
it would be great if the unit limiting system that you and Smoth hashed out was implemented, it pretty much covered all the bases, no?AF wrote:Yes me and smoth covered that thorougly, and included per player and global game limits aswell as a few other things.Optimus Prime wrote:will read it later, must go now.AF wrote:A method of defining unit limits was discussed by me smoth and a few other people in another thread. I suggets you read it and post the link back here as we got quite far with finalizing it.
But i have another good implementation: like the armor.txt a limit.txt where you can define uni8tclasses and give them limitations. So for example you can make a limit for heavy tanks and one for planes or for single units.