op2_sdk:creating_tech_trees

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
op2_sdk:creating_tech_trees [2016/03/03 15:58] – created vagabondop2_sdk:creating_tech_trees [2016/11/03 04:14] (current) vagabond
Line 3: Line 3:
 Outpost 2 Tech Trees can be highly customized for individual scenarios. Each tech tree is a a .txt file that is parsed by Outpost 2 and may be used by multiple scenarios. Outpost 2 Tech Trees can be highly customized for individual scenarios. Each tech tree is a a .txt file that is parsed by Outpost 2 and may be used by multiple scenarios.
  
-Outpost 2 shipped with several different tech trees that can be used on a new scenario instead of designing a new tech tree. Tech trees pre-included with Outpost 2 game distributions are often stored in .vol files. The Mapmaker can be used to extract the tech trees from the vol files. The following tech trees are widely used in Outpost 2 scenarios:+Outpost 2 shipped with several different tech trees. Each of these can be used on a new scenario instead of designing a new tech tree. Tech trees pre-included with Outpost 2 game distributions are often stored in .vol files. The [[op2_sdk:helper_programs|Outpost 2 Mapmaker]] can be used to extract the tech trees from the vol files. The following tech trees are widely used in Outpost 2 scenarios:
  
   * **MULTITEK** - Standard tech tree for colony and multiplayer scenarios.   * **MULTITEK** - Standard tech tree for colony and multiplayer scenarios.
   * **MULTITEK2** - Outpost Universe modified tech tree for colony and multiplayer scenarios.   * **MULTITEK2** - Outpost Universe modified tech tree for colony and multiplayer scenarios.
 +  * **survtech** - Outpost Universe modified tech tree designed for survivor style multiplayer maps.
   * **edentek** - Eden campaign tech tree.   * **edentek** - Eden campaign tech tree.
   * **plytek** - Plymouth campaign tech tree.   * **plytek** - Plymouth campaign tech tree.
 +  * **basictek** - Multitek style tech tree that includes the Basic Lab research.
   * **dtek_e** - Pre-release Eden scenario tech tree.   * **dtek_e** - Pre-release Eden scenario tech tree.
   * **dtek_p** - Pre-release Plymouth scenario tech tree.   * **dtek_p** - Pre-release Plymouth scenario tech tree.
   * **dtek_m** - Pre-release multiplayer scenario tech tree.   * **dtek_m** - Pre-release multiplayer scenario tech tree.
 +
 +Each technology has a name and a 5 digit number that are defined on the same line as BEGIN_TECH. The 5 digit number is used on other parts of the tech tree to identify prerequisites. It is also used by the Outpost 2 SDK when designing scenarios to identify the technology for triggers and other in game purposes.
 +
 +It is possible to assign the same name to multiple technology descriptions. This is used to alter the results of the technology based on the faction researching. For example, Hypnopaedia is both tech 05309 and 05310 since the time to train scientists is reduced more for Eden than for Plymouth when researched.
 +
 +**WARNING:** If you wish to modify an existing tech tree file, ensure you change the name first. Otherwise, when you modify the tech tree file, it will modify all scenarios already linked to the tech tree.
  
 ===== Tech Tree Sample Entry ===== ===== Tech Tree Sample Entry =====
Line 43: Line 51:
 ; Research : Multiplayer Game ; Research : Multiplayer Game
 </code> </code>
 +
 +==== Plymouth & Eden Cost ====
 +
 +Use the keywords EDEN_COST and PLYMOUTH_COST to set the amount of 'research points' required for each faction to gain the technology. Setting the cost to 0 or -1 for a faction will make the associated technology not available for them to research.
 +
 +==== Technology Category ====
 +
 +Use the keyword CATEGORY to place the associated technology into a category group. These categories can be used in a scenario to limit the technology available during the scenario, similar to the original Eden and Plymouth campaign scenarios.
 +
 +==== Description ====
 +
 +Use the keyword DESCRIPTION to add a short post-research description to what the technology does. Usually more specific than the teaser.
 +
 +==== Teaser ====
 +
 +Use the keyword TEASER to set a short pre-research description of what the technology may offer if researched. Usually less specific than the description.
  
 ==== Max Scientists ==== ==== Max Scientists ====
Line 55: Line 79:
 REQUIRES        03402 REQUIRES        03402
 </code> </code>
 +
 +==== LAB ====
 +
 +Use the LAB keyword to set which in-game Laboratory can research the technology.
 +
 +^Value^Lab^
 +|1|Basic Lab|
 +|2|Standard Lab|
 +|3|Advanced Lab|
 +
 +==== IMPROVE_DESC ====
 +
 +Use IMPROVE_DESC to set the phrase that will display on units affected by an upgrade provided by the associated technology.
 +
 +==== UNIT_PROP ====
 +
 +Use to set a new value for a property associated with a unit. UNIT_PROP may be used multiple times within a technology.
 +
 +Example:
 +<code>
 +UNIT_PROP BIG_TRUCK Move_Speed 3
 +</code>
 +
 +===== Property Token List =====
 +
 +^Property Token^Definition^
 +|Armor|Changes armor class of a unit|
 +|Build_Points|Amount of time it takes to build a unit (Need to verify)|
 +|Common_Required|Changes common ore requirement to build|
 +|Concussion_Damage|Changes the concussion damage of a weapon turret|
 +|Hit_Points|Changes the maximum hit points of a unit|
 +|Improved 1|Increases amount of ore from a common or rare ore mine. Increases amount of ore salvaged from a GORF. Increases Ore gained from smelting at a common or rare ore smelter. Icreases the accuracy of an observatory/Meteor Defense program|
 +|Move_Speed|Changes move speed of vehicle. The lower the number, the faster the vehicle moves.|
 +|Penetration_Damage|Changes the penetration damage of a weapon turret|
 +|Power_Required|Changes power requirement of a structure|
 +|Production_Capacity|Increases the number of colonists serviced by a building. For a DIRT number of buildings serviced. For a Garage, the speed repairs are made. For a Power Plant, increases the power produced. For a Magma_Well, increases the amount or rare ore per truck load.|
 +|Production_Rate|Changes the production rate or repair rate of a vehicle|
 +|Rare_Required|Changes the amount of rare ore required to build a unit|
 +|Rate_Of_Fire|Changes rate of fire of a weapon turret|
 +|Sight_Range|Increases the light radius around a unit. For a weapon turret, increases the distance the turret can fire.|
 +|Storage_bays|Number of storage bays in a factory or garage (Need to verify)|
 +|Storage_Capacity|Alters time required to finish training scientists at the University|
 +|Workers_Required|Changes the number of workers required|
 +
 +===== Unit Specifier =====
 +
 +^Research Tree^In Game Equivalent^
 +|ACID|Acid Cloud|
 +|AGRIDOME|Agridome|
 +|ASE|MHD Generator (Need to verify)|
 +|BIG_TANK|Tiger|
 +|BIG_TRUCK|Cargo Truck|
 +|BULL_DOZER|Robo Dozer|
 +|CANNON|RPG Weapon Turret|
 +|COMMAND|Command Center (Need to verify)|
 +|CON_TRUCK|Construction Vehicle (ConVec)|
 +|DIRT|DIRT|
 +|EMP|EMP Weapon Turret|
 +|EMP_MISSILE|EMP Missile|
 +|FACT_ANDROID|Arachnid Factory|
 +|FACT_LUXURY|Consumer Goods Factory|
 +|FACT_STRUCTURE|Structure Factory|
 +|FACT_VEHICLE|Vehicle Factory|
 +|FOAM|Stickyfoam Weapon Turret|
 +|FORUM|Forum|
 +|GARAGE|Garage|
 +|GEOTHERMAL|Geothermal Power Plant|
 +|GORF|GORF|
 +|LASER|Laser Weapon Turret|
 +|LIGHT_TANK|Lynx|
 +|MAGMA_WELL|Magma Well|
 +|MED_CENTER|Medical Center|
 +|MED_TANK|Panther|
 +|MICROWAVE|Microwave weapon turret|
 +|MINE|Common Ore Mine|
 +|MINE_ADV|Rare Ore Mine|
 +|MOBILE_HOME|Evacuation Transport (Need to verify)|
 +|OBSERVATORY|Observatory|
 +|RAIL_GUN|Rail Gun|
 +|RECREATION|Recreation Facility|
 +|REPAIR_TRUCK|Repair Vehicle|
 +|RESIDENCE|Residence|
 +|RESIDENCE_E|Residence Expanded|
 +|RESIDENCE_P|Residence, Reinforced|
 +|SCORPION|Scorpion|
 +|SCORPION_PACK|Pack of 3 Scorpions (Need to verify)|
 +|SCORPION_WEAPON|Energy Cannon|
 +|SCUTTLE_DESTRUCT|Self Destruct Damage (Need to verify)|
 +|SELF_DESTRUCT|Starflare Weapon Turret, Vehicle  (Need to verify)|
 +|SELF_DESTRUCT_ADV|Supernova Weapon Turret, vehicle (Need to verify)|
 +|TURRET_DESTRUCT|Starflare Weapon Turret, Guard Post (Need to verify)|
 +|TURRET_DESTRUCT_ADV|Supernova Weapon Turret, Guard Post (Need to verify)|
 +|SMELTER|Common Ore Smelter|
 +|SMELTER_ADV|Rare Ore Smelter|
 +|SPACEPORT|Spaceport|
 +|SPAM|ESG Weapon Turret|
 +|SPIDER|Spider|
 +|SPIDER_PACK|Pack of 3 Spiders (Need to verify)|
 +|SURVEYOR|Robo Surveyor|
 +|UNIVERSITY|University|
 +|MINER|Robo Miner|
 +|SCOUT|Scout|
 +|THORS_HAMMER|Thor's Hammer|
 +|TOWER_LIGHT|Light Tower|
 +|TOWER_GUARD|Guard Tower|
 +|WALL|Normal Wall|
 +|WALL_MICROBE|Microbe Wall|
 +|WALL_TRUCK|Earthworker|
 +
  
 ===== Tech Tree Best Practices ===== ===== Tech Tree Best Practices =====
  
-Keep a changelog at the top of the tech tree so other developers can see what you have changed. For example:+Keep a changelog at the top of the tech tree so other developers can see what you have changed. 
  
 +//Example Changelog://
 <code> <code>
 ;   Technology tree for Multiplayer mission for Outpost 2 pre-release demo. ;   Technology tree for Multiplayer mission for Outpost 2 pre-release demo.
Line 69: Line 203:
 ;   16 Mar 97:  Created this file by modifying existing Plymouth single- ;   16 Mar 97:  Created this file by modifying existing Plymouth single-
 ;      player tech tree from demo. ;      player tech tree from demo.
-;   08 Feb 06:  OPU modified this techtree so most unit properties in the spreadsheets 
-;               will behave how they were in the demo. 
 </code> </code>
  
Line 76: Line 208:
  - //Go Back to [[op2_sdk:Software_Development_Kit_SDK|Software Development Kit]]//\\  - //Go Back to [[op2_sdk:Software_Development_Kit_SDK|Software Development Kit]]//\\
  - //Go Back to [[outpost_2:outpost_2|Outpost 2 Main page]]//\\  - //Go Back to [[outpost_2:outpost_2|Outpost 2 Main page]]//\\
- - //Go Back to [[http://wiki.outpostuniverse.org/doku.php?id=start|Wiki Home Page]]//+ - //Go Back to [[http://wiki.outpost2.net/doku.php?id=start|Wiki Home Page]]//
  • op2_sdk/creating_tech_trees.1457020685.txt.gz
  • Last modified: 2016/03/03 15:58
  • by vagabond