Loading...
  OR  Zero-K Name:    Password:   

option request: max amount of a unit

8 posts, 586 views
Post comment
Filter:    Player:  
sort
snoke
i want to request an option for multiplayer battles that allows a player to build a maximum amount of a specific unit only
like:
!setoptions maxStoragesPerPlayer = 1
can someone figure this out? or maybe something like this already exist?
+7 / -0

5 years ago
Do you mean max on the field or max per game?
+0 / -0
snoke
5 years ago
maximum alive on field per player
+0 / -0


5 years ago
Fairly simple to do. I think you could use unitdefs_post to do this using the engine tag (?) unitRestricted = somevalue.
+0 / -0

5 years ago
!setoptions maxStarlightPerPlayer = 1
!setoptions maxStarlightPerTeam = 1
!setoptions maxNukesPerTeam = 1
!setoptions maxSameFactoryPerPlayer = 1
!setoptions maxFirePluksPerTeam = 0
+4 / -0
snoke
5 years ago
indeed 400
+0 / -0


5 years ago
!setoptions maxMexPerPlayer = 1
!setoptions communism = false
+0 / -0
5 years ago
By joining squads, a squad could have multiple of that unit then. So the squad maximum for a unit would probably have to be the unit maximum per player times the number of players of that squad. Just in case anybody will ever code that.
+0 / -0