Rise and Fall Development

Rise And Fall Development

Main

News

Chat Forums

Pictures

Documentation

Development

Code

Download

SourceForge Logo

Landtype.dat: This file will contain all the land types used in the game. These land types will be used for drawing the graphics on the world and for city growth. Each land type will have a model file that will be used when drawing that land type. The file will include: Land type name, discription, move cost, defense bonus, food supply, resource supply(s), amount of trade, data on irrigation, mining, and transforming. I am thinking of making multiple resorces, or the possibility of it, to add to the game. Resorces could include wood, iron, fur, oil, coal, etc. These can then be required by units and buildings, and could be traded between cities.


Landinfo.txt: This file will contain all the land types used in the game. These land types will be used for drawing the graphics on the world and for city growth. Each land type will have a model file that will be used when drawing that land type. The file will go like this:

TypeNumber, TypeName, movecost, defense, food, resources, trade, irrigate, iturns, iAI, mine, mturns, mAI, transform, tturns, tAI, model.

TypeNumber: This is for the computer.
TypeName: The name of the land type.
Movecost: How much movement it will take to cross this terrain.
Defense: Used to deturmine the defensive rating of the land.
Food: How much food does the land give to towns.
Resources: How many resources does the land give to towns.
Trade: How much trade does the land bring to the city.
Irrigate: Can the land be irrigated. If so what type of land does it become?
iTurns: How long will it take to Irrigate.
iAI. Used for the computer AI.
Mine: Can the land be mined. If so what type of land does it become?
mTurns: How long will it take to mine.
mAI: Used for the computer AI.
Transform: Can the land be transformed. If so what type does it become?
tturns: How lone will it take to transform.
tAI: Used for the computer AI.

Example:

1 "Forest" 2 2 2 0 0 0 0 0 2 10 5 3 10 4 "Forest.mdl"