I currently working on generating random names for wars. We have an excellent system in place to generate names from a set of rules created by Manuel. We use it for village names, loading tips and whatnot. However, I have a hard time coming up with good rules for wars, but maybe you guys can help me out with that!
Let me give you an example of how rules are interpreted in Reus:
We have special files that contain the rules to generate these random names. The system is similar to an L-System. Generating a name starts with an Axiom that defines what rule to start with. Then Rules are defined, which are simple substitution rules. Rules can also contain other rules which allow you create complex system of rules. Rule substitutions are comma separated. After the definition of the rule a semicolon is placed and a number which indicates the likelihood that this rule will be selected over other rules with the same name.
Here is an example:
Code: Select all
Axiom: Name
Name -> "Test War Name" ; 2
Name -> SimpleName, " War" ; 1
SimpleName -> "My" ; 1
SimpleName -> "Opium" ; 1
Here is a more complex example:
Code: Select all
Axiom: Name
Name -> "The ", Number, DatePeriod, " War" ; 1
Number -> "Two" ; 1
Number -> "Three" ; 2
Number -> "Four" ; 3
DatePeriod -> " Days" ; 1
DatePeriod -> " Weeks" ; 3
You are probably way more creative than I am! So Im just throwing this out there. Can you help me come up with an epic name generator for wars? In exchange I'll add your name to the credits (if I end up using it ;)).
Edit: One thing! The generated names cannot be to long..