Difference between revisions of "V3 ScratchPad"

From FreeOrionWiki
Jump to: navigation, search
(=Mining=)
m (revert)
 
(76 intermediate revisions by 12 users not shown)
Line 1: Line 1:
<b>Unless you are a Spathi or named Tyreth, please don't edit this document. Comments are welcome on the talk page. The "Effects" section of this document has been erased, the new and hopefully final version of effects will probably show up on the wiki before July 15.--drek</b>
+
=Cliff Notes for v.3 Tech and Building Design=
  
=Meters=
+
=Meters and Resources=
Meters are variables attached to planets, representing the production capabilities and social attributes of each colonized world.  Future Note: There may eventually be “meters” associated with ships, ship parts, empires, and perhaps the galaxy itself.
+
  
Meters always range from 0-100. For greater granularity, meters can be modified in fractions of a full step. As a side note, the effects of a building or technology on a meter should almost always be expressed as integers (eg. "Superlabs gives +4 to research"), and the value of a meter should be rounded to the nearest integer on the UI.  
+
Every planet’s got a bunch of meters, ranging in value from 0 to 100. Each meter’s got a max value and a current value. The current value slowly (each turn) increases until it matches the max value. The current value of each meter represents actual buildings, people, or whatever.
  
A meter with a value of 25 is at the "breakeven point". A world with Farming set to 25 can feed it's own population, for example.  A world with Health at 25 grows at a very slow rate, but doesn't lose population.
+
* Population -- how many people are on the planet.
 +
* Construction –represents roads, office towers, everything that doesn’t fit into other meters. Determines how fast the other meters rise.
 +
* Farming -- determines how much food is grown on the planet. 20 Farming is required for a planet to feed itself
 +
* Mining -- determines how many minerals are mined on the planet
 +
* Industry –determines how many minerals are ground up into Production Points
 +
* Science --determines the number of Research points generated
 +
* Trade --determines the amount of money generated
  
Planet Meters have both a Max value and a Current value. A Current Meter slowly increases until it matches the value of it's associated Max Meter.
+
There’s also the social meters. These meters only have a max value—they don’t slowly build up like the other meters:
  
The Max Meters can be thought of as potential infrastructure; the Current Meters represent this potential realized. Bonuses and penalties from foci, technologies, buildings, planet specials, and racial picks influence the Max Meters. Certain catastrophic events (such as bombings and earthquakes) modify the Current Meter, representing damage to actual infrastructure.
+
* Health – determines how quickly population grows or shrinks. At 20 Health and below population shrinks.
 +
* Happiness – not used in v.3. Presumably, at 20 and below bad things happen.
 +
* Security – not used in v.3. At 20 and below, bad things happen.
  
After all Effects have executed, if a Meter falls outside the range of 0-100, the Meter is set to either 0 (if below 0) or 100 (if above 100).
+
Just like v.2 of FreeOrion, the current values of each resource meter are multiplied with population to determine how much of each resource is generated. As in v.2, each resource meter (Farming, Mining, Industry, Science, Trade) can hold a Focus:
  
On a new colony, all Current Meters begin at 0.  At the start of the game, all Current Meters on each empire’s Homeworld are set to match the associated Max Meters.
+
* Primary Focus adds + 15 to the selected Max Meter
 +
* Primary Balanced Focus adds +3 to all Max Resource Meters.
 +
* Secondary Specialized Focus adds +5 to the selected Max Meter
 +
* Secondary Balanced Focus adds +1 to all Max Resource Meters.
  
==Construction Meter==
+
===Gameplay Considerations for meters===
The Construction Meter represents the general infrastructure of a planet. It is used to determine the growth rate of Current Meters.
+
* New colonies suck. They can’t even feed themselves and they produce next to nothing. It takes a while before a new colony is an asset to the empire, instead of a liability. This is because no matter what it’s max meter is, it’s current meters require time to grow.
 +
* Colonies on worlds with poor environments really suck. They have poor Health and Farming—it isn’t worth colonizing a poor planet unless there’s a good strategic reason.
 +
* The homeworld rocks. It gets a bonus of +10 to most meters. The homeworld pays for the rest of the empire, in the first couple dozen turns of the game. Some early techs might *only* improve the homeworld.
 +
* All of the effects in the game (techs and buildings) put together should add up to somewhere in the neighborhood of 70 to 80 to each meter. (this leaves room for government and leader effects later on)
  
Max Construction Meter is 25, further modified by the effects of buildings, technologies, racial picks, events, planet specials, etc.
+
===Gameplay considerations for food===
 +
* Early game, there just isn’t enough food to go around. The player won’t be able to concentrate on rapid expansion until he solves the built-in food shortage.
 +
* An empire with 4x as much food as population receives Health and Happiness bonuses
  
Each turn, Current Construction increments via the following formula:
+
===Gamplay Considerations for Focus===
 +
* Focus is how we judge if a planet should receive most bonuses. Most bonuses should only effect worlds of a certain focus. This means a Farming world will catch a lot more Farming bonuses than a world set to Mining.
  
(New Current Consturction) = (Current Construction) + (Max Construction/20)
 
  
Future Note: the value of "20" in the forumla above might be moddable by galaxy settings.  For example, players who wish to play a quicker game might choose "Quick Construction."
+
==Technology==
  
If Max Construction is greater than Current Construction, then Current Construction is reduced to match Max Construction. This test should occur after all Effects have been executed.
+
Every tech is either a Theory or an Application. Theories unlock Applications; applications actually do stuff, unlock buildings, or unlock ship components.
  
Note: The Homeworld planet special adds +30 to Max Construction.
+
Techs cost X RP for Y Turns to research. There is no method of speeding up research: it always takes at least Y turns.
  
===Infrastructure Labels===
+
===Gameplay Considerations for Foci improving Techs===
Infrastructure Labels have no gameplay effect; the labels are meant to provide an easy method for players to quickly judge the progress of a colony.
+
* Most techs should improve a specific focus
 +
* Some techs should improve the balanced and secondary foci as well as the specific focus
  
A label is selected for each planet based on Current Construction:
+
===Gameplay Considerations for Early Techs===
* 1-10:  Rural Colony
+
* The homeworld all by itself should be able to research early techs, meaning RP costs should range from 10 to 25. A tech that costs 25 RP per turn would require the homeworld be Focused on researching. Number of turns might range from 5 to 20.
* 11-30: Developing World
+
* Early techs should solve the food shortage problem, but not completely.
* 31-60: Established World
+
* Early tech bonuses should be small.
* 61-90: Heavily Developed World
+
* 91-100: Metroplex
+
  
==The Resource Meters==
+
===Gameplay Considerations for Mid Techs===
Resource meters determine the quantity of resource production on each planet. There is one resource meter for each type of resource in the game.  
+
* The assumption is that there will be multiple worlds at the same level as the homeworld in Mid Game, with tech bonuses. The average world that isn’t focused on Research will probably have a research score of 10. With focus, 20 to 40. A mid game tech should therefore probably cost 25 to 500 RP per turn.
 +
* Mid tech bonuses are all over the scale, but should mostly be significant.
  
For each planet, quantity of resource production is determined via the following formula:
+
===Gameplay Considerations for Late Techs===
 +
* The empire will span dozens of worlds, each with high levels of tech bonuses. 500-3000 per turn sounds right.
 +
* High tech bonuses should actually be smaller than mid-game bonuses. The player is paying to be just a little bit better than the competition.
  
(Resources Produced) = (Current Resource Meter/10) * (Planet Population)
 
  
The Max Resource Meters are determined by the planet’s Focus settings.  (see Focus for details)  They are further modified by Effects from various Actors (including technologies, buildings, events, planet specials, and racial picks).
+
==Buildings==
  
Each turn, all Current Resource Meters increment via the following formula:
+
Like Research Points, Production Points are pooled globally. Buildings, like techs, cost X PP for Y turns to build. Again, there is no method of speeding up a build: it always takes at least Y turns.
  
(New Current Resource Meter) =  (Current Resource Meter ) + (Current Construction /10)
+
Buildings also have prerequisite conditions: generally based on the Focus of the planet and the current Construction meter. Nice buildings should not be buildable on newly colonized worlds.
  
If a Max Resource Meter is greater than it’s associated Current Meter, then the Current Meter is reduced to match the Max Meter.  This test should occur after all Effects have been executed.
+
Buildings have an upkeep: an amount of money they eat every turn.
  
===Farming===
+
===General Gameplay considerations for buildings===
Farming determines the amount of Nutrients a world produces. In addition to Focus and the effects of various Actors, this meter is heavily modified by environment:
+
* Buildings in FO are in fact Wonder-sized structures. Massive costs to build, massive costs to maintain. There should be one to two buildings per planet. Most planets will have 0 buildings—as it makes sense to concentrate buildings on a few “hub” planets.
 +
* Buildings are generally Area-of-effect. Many buildings improve all planets within the same starsystem, or all planets within 1 or 2 starlane hops away.
 +
* This creates clusters: if the player builds a building that improves Science focused worlds, he’ll want to set many of the planets within the area of effect to the “Science” focus. The player must micromanage his buildings’ locations, so that his total empire has as few wasteful overlaps as possible, much like the schools and firestations in SimCity.
 +
* Many buildings also have negative side-effects. The player must micromanage his building’s locations to avoid the worst of the negative effects.
 +
* A planet with a nice building is also a nice target for attack. You can take out the economy of an entire cluster if you take all the worlds with buildings.
  
* Terrible Environments reduce Max Farming by 30.
+
===Early Buildings===
* Adequate Environments reduce Max Farming by 10.
+
*There should be very few early buildings.
* Optimal Environments have no effect on the Farming meter.
+
*Early buildings should be buildable by the homeworld acting alone. For this reason, early buildings need a build cost of 10 to 25 per turn.
* Superb Environments increase Max Farming by 10.  
+
*Early buildings should be maintainable by the homeworld acting alone. Maintaince of 0 to 12. There needs to be some money held back for ship upkeeps.
 +
*Early buildings should have small effects and severe negative side effects. This is so the player isn’t tempted to populate his entire late game empire with early buildings.
  
Note: the Homeworld special improves Max Farming by 10.
+
===Mid Buildings===
 +
*Cost per turn and maintaince of 25 to 500. Maintaince should be controlled, to so there’s some money left over for ship upkeeps.
 +
* Effects can be better, side effects much less severe, but still something the player needs to micromanage.
  
===Mining===
+
===Late Buildings===
Mining determines the number of Minerals produced.   There will probably be planet specials that modify the Mineral meter, collectively known as the “Mineral Richness specials.” 
+
* Cost 500 to 3000.
 +
* Effects are generally small, but with few or no negative side effects.
 +
* There can be “game changing” buildings, but they should have huge negatives.
  
Note: the Homeworld special improves Max Mining by 10.
+
==Effects==
  
===Industry===
+
There are three basic kinds of effects…tech effects are empire wide, building effects tend to be area-of-effect (with frequent exceptions), specials tend to have effects that only operate on a single planet.
Industry determines the Production Points (PP) generated by a world.  Each Industry point must be matched with a Mineral point to produce PP, as described in the Production section of this document.  In addition to Focus and the effects of various Actors, this meter is modified by planet size:
+
  
* Tiny worlds grant a +10 bonus to Max Industry, due to low gravity.
+
Effects can be “targeted” to only operate on certain kinds of planets, as explained in the [[Effects]] document. For example, you might have a building that only operates on enemy worlds within 2 starlane hops. Or a building that only effects planets orbiting a yellow star.
* Small worlds grant a +5 bonus to Max Industry.
+
* Normal sized worlds give no special modifiers to the Industry meter.
+
* Large worlds reduce Max Industry by 5, due to heavy gravity.
+
* Huge worlds reduce Max Industry by 10.
+
  
Note: the Homeworld special improves Max Industry by 15.
+
Most good effects should be targeted to effect planets with a certain focus. Techs should probably never have bad side effects, since the player can’t get rid of a researched technology.
  
===Science===  
+
===Some ideas for negative side effects===
Science determines the Research generated by a world. In the future, government picks will probably have a significant influence on this meter.   "Scientifically interesting” planet specials might modify this meter.
+
* A building that gives bonuses to enemy worlds as well as friendly worlds
 +
* A building that spawns bad events on nearby worlds (a MegaFactory that produces Pollution.)
 +
* A building that drastically reduces a meter value on the planet that holds it (a massive strip mining operation annihilates Farming, reducing it to 0)
 +
* A building that “hates” a certain Focus, causing huge negatives if any planets with that focus are nearby.
 +
* A building that “hates” another building, causing huge negatives if they are next to each other.
  
Note: the Homeworld special improves Max Science by 10.
+
===Some ideas for positive effects beyond simple bonuses===
 +
* A building that gives bonuses to an unrelated meter for a Focused world (a BioLab that improves Farming on Science focused worlds)
 +
* A building that removes bad events on nearby worlds (removing the MegaFactory’s pollution, for example)
 +
* A building that spawns good events on nearby worlds (a baby factory that spawns Population Explosion events)
 +
* A building that adds directly to the empire’s stockpile, skirting around the population*resource formula
 +
* A building that only gives bonuses to planets that have another kind of building
 +
* A building that gives penalties to enemy worlds as well as friendly worlds. Something to stick on the border of your hated enemy.
  
===Trade===
+
==Future notes==
Trade determines the Money extracted from a world. In the future, government picks will probably have a significant influence on this meter.   “Valuable commodity” planet specials might modify this meter.
+
In v.4, we’ll have various kinds of shipyards and other kinds of buildings that effect ships.
 
+
Happiness and security meters, along with the event engine and planet specials, will vastly increase the types of effect conditions that are possible…furthering complicating the micromanagement decisions the player will have to make.
Note: the Homeworld special improves Max Trade by 10.
+
 
+
==The Social Meters==
+
Unlike the Resource meters, Social meters don’t have separate Max and Current values.  Effects always operate on the Current Social Meter.
+
 
+
===Health===
+
Health governs the growth rate of population.  The Health Meter is based on the Environment of the planet, and can be modified through the usual set of Actors.  The Famine event in particular reduces Health by 50 points.
+
 
+
* Terrible Environments adds +30 to the Health meter.
+
* Adequate Environments adds +40 to the Health meter.
+
* Optimal Environments adds +50 to the Health meter.
+
* Superb Environments adds +60 to the Health meter.
+
 
+
The Health Meter is used by the Population growth formula.  As a note, if the Health Meter is below 25, population growth should be negative.
+
 
+
Note: The Homeworld special improves Health by 20.
+
 
+
===Suggested Future Social Meters===
+
 
+
'''Happiness:''' Happiness guards against unrest events. It is not used in v.3.
+
 
+
'''Security:''' Security lowers the duration of unrest events, guards against piracy events, and guards against enemy espionage. It is not used in v.3
+
 
+
 
+
=Planet Focus=
+
<b>Note: This section is a suggested amendment to the current design document.</b>
+
 
+
The player can assign a Primary and Secondary Focus on every colonized planet, representing which resources the planet is "focused" on producing.
+
The values of the Max Resource Meters are determined by Focus settings. Both Foci can be independently set to one of the five resource meters or the "Balanced" setting.
+
 
+
New colonies begin with both the Primary and Secondary Focus set to Balanced.  The Homeworld begins the game with Primary set to Balanced and Secondary to Farming.
+
 
+
==Focus Effects on Max Resource Meters==
+
Focus settings have these effects on max meter values:
+
 
+
* Primary Focus adds + 12 to the selected Max Meter
+
* Primary Balanced Focus adds +4 to all Max Resource Meters.
+
* Secondary Specialized Focus adds +6 to the selected Max Meter
+
* Secondary Balanced Focus adds +2 to all Max Resource Meters.
+
 
+
Some technologies and buildings effectively increase the bonus applied by Focus.  See Effects for details.
+
 
+
'''Legacy Note''': In version .2, every colony produced a little of each type of resource, thanks to bonuses to every "meter" from the Focus settings. In v.3,  worlds still produce a little of everything, once the proper techs are researched and buildings constructed.  Essentially, the player has to earn the old v.2 bonuses through research and build projects.
+

Latest revision as of 05:01, 21 June 2006

Cliff Notes for v.3 Tech and Building Design

Meters and Resources

Every planet’s got a bunch of meters, ranging in value from 0 to 100. Each meter’s got a max value and a current value. The current value slowly (each turn) increases until it matches the max value. The current value of each meter represents actual buildings, people, or whatever.

  • Population -- how many people are on the planet.
  • Construction –represents roads, office towers, everything that doesn’t fit into other meters. Determines how fast the other meters rise.
  • Farming -- determines how much food is grown on the planet. 20 Farming is required for a planet to feed itself
  • Mining -- determines how many minerals are mined on the planet
  • Industry –determines how many minerals are ground up into Production Points
  • Science --determines the number of Research points generated
  • Trade --determines the amount of money generated

There’s also the social meters. These meters only have a max value—they don’t slowly build up like the other meters:

  • Health – determines how quickly population grows or shrinks. At 20 Health and below population shrinks.
  • Happiness – not used in v.3. Presumably, at 20 and below bad things happen.
  • Security – not used in v.3. At 20 and below, bad things happen.

Just like v.2 of FreeOrion, the current values of each resource meter are multiplied with population to determine how much of each resource is generated. As in v.2, each resource meter (Farming, Mining, Industry, Science, Trade) can hold a Focus:

  • Primary Focus adds + 15 to the selected Max Meter
  • Primary Balanced Focus adds +3 to all Max Resource Meters.
  • Secondary Specialized Focus adds +5 to the selected Max Meter
  • Secondary Balanced Focus adds +1 to all Max Resource Meters.

Gameplay Considerations for meters

  • New colonies suck. They can’t even feed themselves and they produce next to nothing. It takes a while before a new colony is an asset to the empire, instead of a liability. This is because no matter what it’s max meter is, it’s current meters require time to grow.
  • Colonies on worlds with poor environments really suck. They have poor Health and Farming—it isn’t worth colonizing a poor planet unless there’s a good strategic reason.
  • The homeworld rocks. It gets a bonus of +10 to most meters. The homeworld pays for the rest of the empire, in the first couple dozen turns of the game. Some early techs might *only* improve the homeworld.
  • All of the effects in the game (techs and buildings) put together should add up to somewhere in the neighborhood of 70 to 80 to each meter. (this leaves room for government and leader effects later on)

Gameplay considerations for food

  • Early game, there just isn’t enough food to go around. The player won’t be able to concentrate on rapid expansion until he solves the built-in food shortage.
  • An empire with 4x as much food as population receives Health and Happiness bonuses

Gamplay Considerations for Focus

  • Focus is how we judge if a planet should receive most bonuses. Most bonuses should only effect worlds of a certain focus. This means a Farming world will catch a lot more Farming bonuses than a world set to Mining.


Technology

Every tech is either a Theory or an Application. Theories unlock Applications; applications actually do stuff, unlock buildings, or unlock ship components.

Techs cost X RP for Y Turns to research. There is no method of speeding up research: it always takes at least Y turns.

Gameplay Considerations for Foci improving Techs

  • Most techs should improve a specific focus
  • Some techs should improve the balanced and secondary foci as well as the specific focus

Gameplay Considerations for Early Techs

  • The homeworld all by itself should be able to research early techs, meaning RP costs should range from 10 to 25. A tech that costs 25 RP per turn would require the homeworld be Focused on researching. Number of turns might range from 5 to 20.
  • Early techs should solve the food shortage problem, but not completely.
  • Early tech bonuses should be small.

Gameplay Considerations for Mid Techs

  • The assumption is that there will be multiple worlds at the same level as the homeworld in Mid Game, with tech bonuses. The average world that isn’t focused on Research will probably have a research score of 10. With focus, 20 to 40. A mid game tech should therefore probably cost 25 to 500 RP per turn.
  • Mid tech bonuses are all over the scale, but should mostly be significant.

Gameplay Considerations for Late Techs

  • The empire will span dozens of worlds, each with high levels of tech bonuses. 500-3000 per turn sounds right.
  • High tech bonuses should actually be smaller than mid-game bonuses. The player is paying to be just a little bit better than the competition.


Buildings

Like Research Points, Production Points are pooled globally. Buildings, like techs, cost X PP for Y turns to build. Again, there is no method of speeding up a build: it always takes at least Y turns.

Buildings also have prerequisite conditions: generally based on the Focus of the planet and the current Construction meter. Nice buildings should not be buildable on newly colonized worlds.

Buildings have an upkeep: an amount of money they eat every turn.

General Gameplay considerations for buildings

  • Buildings in FO are in fact Wonder-sized structures. Massive costs to build, massive costs to maintain. There should be one to two buildings per planet. Most planets will have 0 buildings—as it makes sense to concentrate buildings on a few “hub” planets.
  • Buildings are generally Area-of-effect. Many buildings improve all planets within the same starsystem, or all planets within 1 or 2 starlane hops away.
  • This creates clusters: if the player builds a building that improves Science focused worlds, he’ll want to set many of the planets within the area of effect to the “Science” focus. The player must micromanage his buildings’ locations, so that his total empire has as few wasteful overlaps as possible, much like the schools and firestations in SimCity.
  • Many buildings also have negative side-effects. The player must micromanage his building’s locations to avoid the worst of the negative effects.
  • A planet with a nice building is also a nice target for attack. You can take out the economy of an entire cluster if you take all the worlds with buildings.

Early Buildings

  • There should be very few early buildings.
  • Early buildings should be buildable by the homeworld acting alone. For this reason, early buildings need a build cost of 10 to 25 per turn.
  • Early buildings should be maintainable by the homeworld acting alone. Maintaince of 0 to 12. There needs to be some money held back for ship upkeeps.
  • Early buildings should have small effects and severe negative side effects. This is so the player isn’t tempted to populate his entire late game empire with early buildings.

Mid Buildings

  • Cost per turn and maintaince of 25 to 500. Maintaince should be controlled, to so there’s some money left over for ship upkeeps.
  • Effects can be better, side effects much less severe, but still something the player needs to micromanage.

Late Buildings

  • Cost 500 to 3000.
  • Effects are generally small, but with few or no negative side effects.
  • There can be “game changing” buildings, but they should have huge negatives.

Effects

There are three basic kinds of effects…tech effects are empire wide, building effects tend to be area-of-effect (with frequent exceptions), specials tend to have effects that only operate on a single planet.

Effects can be “targeted” to only operate on certain kinds of planets, as explained in the Effects document. For example, you might have a building that only operates on enemy worlds within 2 starlane hops. Or a building that only effects planets orbiting a yellow star.

Most good effects should be targeted to effect planets with a certain focus. Techs should probably never have bad side effects, since the player can’t get rid of a researched technology.

Some ideas for negative side effects

  • A building that gives bonuses to enemy worlds as well as friendly worlds
  • A building that spawns bad events on nearby worlds (a MegaFactory that produces Pollution.)
  • A building that drastically reduces a meter value on the planet that holds it (a massive strip mining operation annihilates Farming, reducing it to 0)
  • A building that “hates” a certain Focus, causing huge negatives if any planets with that focus are nearby.
  • A building that “hates” another building, causing huge negatives if they are next to each other.

Some ideas for positive effects beyond simple bonuses

  • A building that gives bonuses to an unrelated meter for a Focused world (a BioLab that improves Farming on Science focused worlds)
  • A building that removes bad events on nearby worlds (removing the MegaFactory’s pollution, for example)
  • A building that spawns good events on nearby worlds (a baby factory that spawns Population Explosion events)
  • A building that adds directly to the empire’s stockpile, skirting around the population*resource formula
  • A building that only gives bonuses to planets that have another kind of building
  • A building that gives penalties to enemy worlds as well as friendly worlds. Something to stick on the border of your hated enemy.

Future notes

In v.4, we’ll have various kinds of shipyards and other kinds of buildings that effect ships. Happiness and security meters, along with the event engine and planet specials, will vastly increase the types of effect conditions that are possible…furthering complicating the micromanagement decisions the player will have to make.