op2_sdk:creating_tech_trees

Creating Tech Trees

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. 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 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.
  • 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.
  • 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_p - Pre-release Plymouth 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

BEGIN_TECH "Advanced Vehicle Power Plant" 03901
    CATEGORY        4
    DESCRIPTION     "Cargo Truck, Robo-Dozer, and Earthworker speeds improved.  _______________________________________ The new R-3000 series cool-fusion plant has been installed in all Cargo Trucks, Robo-Dozers, Earthworkers, replacing the earlier R-2000 model.  This application of the High-Temperature Superconductivity technology has increased the speed of these vehicles."
    TEASER          "Improves Cargo Truck, Robo-Dozer, and Earthworker speeds.  _______________________________________ Several of the vehicle models we use are powered by the R-2000 cool-fusion plant.  Our work in High-Temperature Superconductivity may be applicable to an improvement of this power plant."
    IMPROVE_DESC    "Increased speed"
    REQUIRES        03402
    EDEN_COST       1400
    PLYMOUTH_COST   1600
    MAX_SCIENTISTS  11
    LAB             2
    UNIT_PROP BIG_TRUCK Move_Speed 3
    UNIT_PROP WALL_TRUCK Move_Speed 4
    UNIT_PROP BULL_DOZER Move_Speed 4
END_TECH

Semicolons (;) are used to designate comments. Place a semicolon at the beginning of a line to designate the entire line a comment.

Example:

; Outpost 2: Divided Destiny
; Research : Multiplayer Game

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.

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.

Use the keyword DESCRIPTION to add a short post-research description to what the technology does. Usually more specific than the 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.

Use the MAX_SCIENTISTS keyword to set the maximum number of scientists that can concurrently research the technology.

Use the keyword REQUIRES and then follow with the ID of the technology required as a prerequisite.

Example:

REQUIRES        03402

Use the LAB keyword to set which in-game Laboratory can research the technology.

ValueLab
1Basic Lab
2Standard Lab
3Advanced Lab

Use IMPROVE_DESC to set the phrase that will display on units affected by an upgrade provided by the associated technology.

Use to set a new value for a property associated with a unit. UNIT_PROP may be used multiple times within a technology.

Example:

UNIT_PROP BIG_TRUCK Move_Speed 3
Property TokenDefinition
ArmorChanges armor class of a unit
Build_PointsAmount of time it takes to build a unit (Need to verify)
Common_RequiredChanges common ore requirement to build
Concussion_DamageChanges the concussion damage of a weapon turret
Hit_PointsChanges the maximum hit points of a unit
Improved 1Increases 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_SpeedChanges move speed of vehicle. The lower the number, the faster the vehicle moves.
Penetration_DamageChanges the penetration damage of a weapon turret
Power_RequiredChanges power requirement of a structure
Production_CapacityIncreases 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_RateChanges the production rate or repair rate of a vehicle
Rare_RequiredChanges the amount of rare ore required to build a unit
Rate_Of_FireChanges rate of fire of a weapon turret
Sight_RangeIncreases the light radius around a unit. For a weapon turret, increases the distance the turret can fire.
Storage_baysNumber of storage bays in a factory or garage (Need to verify)
Storage_CapacityAlters time required to finish training scientists at the University
Workers_RequiredChanges the number of workers required
Research TreeIn Game Equivalent
ACIDAcid Cloud
AGRIDOMEAgridome
ASEMHD Generator (Need to verify)
BIG_TANKTiger
BIG_TRUCKCargo Truck
BULL_DOZERRobo Dozer
CANNONRPG Weapon Turret
COMMANDCommand Center (Need to verify)
CON_TRUCKConstruction Vehicle (ConVec)
DIRTDIRT
EMPEMP Weapon Turret
EMP_MISSILEEMP Missile
FACT_ANDROIDArachnid Factory
FACT_LUXURYConsumer Goods Factory
FACT_STRUCTUREStructure Factory
FACT_VEHICLEVehicle Factory
FOAMStickyfoam Weapon Turret
FORUMForum
GARAGEGarage
GEOTHERMALGeothermal Power Plant
GORFGORF
LASERLaser Weapon Turret
LIGHT_TANKLynx
MAGMA_WELLMagma Well
MED_CENTERMedical Center
MED_TANKPanther
MICROWAVEMicrowave weapon turret
MINECommon Ore Mine
MINE_ADVRare Ore Mine
MOBILE_HOMEEvacuation Transport (Need to verify)
OBSERVATORYObservatory
RAIL_GUNRail Gun
RECREATIONRecreation Facility
REPAIR_TRUCKRepair Vehicle
RESIDENCEResidence
RESIDENCE_EResidence Expanded
RESIDENCE_PResidence, Reinforced
SCORPIONScorpion
SCORPION_PACKPack of 3 Scorpions (Need to verify)
SCORPION_WEAPONEnergy Cannon
SCUTTLE_DESTRUCTSelf Destruct Damage (Need to verify)
SELF_DESTRUCTStarflare Weapon Turret, Vehicle (Need to verify)
SELF_DESTRUCT_ADVSupernova Weapon Turret, vehicle (Need to verify)
TURRET_DESTRUCTStarflare Weapon Turret, Guard Post (Need to verify)
TURRET_DESTRUCT_ADVSupernova Weapon Turret, Guard Post (Need to verify)
SMELTERCommon Ore Smelter
SMELTER_ADVRare Ore Smelter
SPACEPORTSpaceport
SPAMESG Weapon Turret
SPIDERSpider
SPIDER_PACKPack of 3 Spiders (Need to verify)
SURVEYORRobo Surveyor
UNIVERSITYUniversity
MINERRobo Miner
SCOUTScout
THORS_HAMMERThor's Hammer
TOWER_LIGHTLight Tower
TOWER_GUARDGuard Tower
WALLNormal Wall
WALL_MICROBEMicrobe Wall
WALL_TRUCKEarthworker

Keep a changelog at the top of the tech tree so other developers can see what you have changed.

Example Changelog:

;   Technology tree for Multiplayer mission for Outpost 2 pre-release demo.
;
;   NOTE:  IMPORTANT!!! PLEASE NOTIFY ALLEN MCPHEETERS OF ANY CHANGES
;   TO THIS FILE.
;
;   Change history
;   16 Mar 97:  Created this file by modifying existing Plymouth single-
;      player tech tree from demo.

- Go Back to Software Development Kit
- Go Back to Outpost 2 Main page
- Go Back to Wiki Home Page

  • op2_sdk/creating_tech_trees.txt
  • Last modified: 2016/11/03 04:14
  • by vagabond