The kValue's and eValue's

The kValues and eValues
In the game files you will see things like kCollector, kRefinery, kScout & eMotherShip, eCollector, eScout (the e's mostly in the classdef.lua file).

The kValues
The k's are assigned in a race's ai_build file, for example in scripts/races/{racename}/scripts/ai_build.lua you should see. kCollector = HGN_RESOURCECOLLECTOR kRefinery  = HGN_RESOURCECONTROLLER kScout = HGN_SCOUT kInterceptor = HGN_INTERCEPTOR kBomber = HGN_ATTACKBOMBER kCarrier = HGN_CARRIER kShipYard = HGN_SHIPYARD kDestroyer = HGN_DESTROYER kBattleCruiser = HGN_BATTLECRUISER In this example its using the hiligram ships. The variables like HGN_RESOURCECOLLECTOR are generated by the engine when generating the ships.

The eValues
Thanks to Greavesy for the image :)