Author Topic: [SUGGESTION] "nationFrequency"  (Read 113 times)

Offline Ostrich-Hungry

  • Sergeant
  • **
  • Posts: 12
    • View Profile
    • Email
[SUGGESTION] "nationFrequency"
« on: September 05, 2022, 06:39:27 pm »
Hey! I'm making a mod about names, and I would love to have some control over what nationality do agents get.
Xenonauts had something like this: "<Nation MODMERGE="insert" MODMERGEATTRIBUTE="name" name="Hungarian" chance="10" flag="hungary" >"

"chance" is the probability that said agent belongs to that nation (In this case, Hungary).
It would help me to elaborate immersion, because in some games you rarely find soldiers from, say, countries like England, Russia, Germany, China or the United States. Countries that would contribute many more soldiers than the rest.
This work the same for nations that are islands or very small countries. It should be very rare to have soldiers from those countries.