Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Bug #870579

Remove useless "*StartUnit" roles

Added by Alexandro Ignatiev about 2 years ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Actually, only the first "*StartUnit" role has any game meaning. Abundance of the roles in supplied units.ruleset files spawned the belief that they are used by the AI; they are not and are not going to be, that's why starting roles were separated from game ones in the first place. Only So, remove the non-first specifications of the roles from all the rulesets.
(Side note for further tickets: why at all do the starting letters need some associated roles hard to remember? There could be just starting_unit_letter = "w" parameter. Currently, the only non-starting function that cares starting units, give_midgame_initial_units, relies on just 'k' letter. Also, we can't now give separate but optable out kings for nations like it's done in CivIII.)

History

#1 Updated by Marko Lindqvist about 2 years ago

I think they make a difference depending on what techs player knows, i.e., when 'techlevel' server setting > 0.

#2 Updated by Marko Lindqvist about 2 years ago

But you are right that those roles should be reviewed, and quite possibly limited to just one unit with a given role in the supplied rulesets. The history of the assigned roles is that when "*StartUnit" roles were separated from other roles and flags, they were blindly given to any unit with the base role or flag to not make any behavior change in that point. They have not been carefully thought.

#3 Updated by Alexandro Ignatiev about 2 years ago

Yes, 'techlevel' is what I've missed. Actually, I have never started at a level allowing Feudalism or Magnetism (earliest classic ruleset techs that change something here), but a scenario may grant some higher era start. So maybe we really can't delete some flags in published versions (but e.g. Archers don't obsolete Warriors while having the same starting role and obsoleted by the same unit, so the redundant ones do exist).

#4 Updated by Marko Lindqvist over 1 year ago

  • Sprint/Milestone changed from 2.6.3 to 2.6.4

#5 Updated by Marko Lindqvist about 1 year ago

  • Sprint/Milestone changed from 2.6.4 to 2.6.5

#6 Updated by Marko Lindqvist 11 months ago

  • Sprint/Milestone changed from 2.6.5 to 2.6.6

#7 Updated by Marko Lindqvist 6 months ago

  • Sprint/Milestone changed from 2.6.6 to 3.0.1

#8 Updated by Marko Lindqvist about 1 month ago

  • Sprint/Milestone changed from 3.0.1 to 3.0.2

Also available in: Atom PDF