Rise and Fall Development

Rise And Fall Development

Main

News

Chat Forums

Pictures

Documentation

Development

Code

Download

SourceForge Logo

CityNames.dat: This file will be basically the same as described below, except for the following:

  • It will now be a data file, instead of text.
  • A land type option will be added. So you get certain land type descriptions for cities.
  • It will now hold some index data so it will be easy to make random names without reading the whole file.

CityNames.txt: This file is used for creating the names of the cities the player makes. It keeps the program from forcing the player to enter a name. This file will work in one of two ways, and is a little more complex than the other file types. Each race can have a list, or all races can share a list. The list goes like so:

RaceNumber, "Start"
NameStart
RaceNumber, "End"
NameEnd
RaceNumber, "Both"
NameBoth
RaceNumber, "Whole"
NameWhole

RaceNumber: This is the number of the race this list will be used for. 1 will be used for all races.
NameStart: This is the first half of a two half city name.
NameEnd: This is the second half of a two half city name.
NameBoth: This is a name that can be used in the start or end of a city name.
NameWhole: This is a complete city name.

Example:

-1 "Start"
Windy
Dusty
Rocky
-1 "End"
Point
Bluff
Falls

What the computer will do with these names is put them together randomly to make new and different names. This process is not very exact, and can come up with some silly names, but allows for more flexibility than that of a fixed name system. However NameWhole can be used instead to force a whole fixed name. The previous example could make a city name or Windy Bluff, or Dusty Falls.