Release hints

Home Forums Support Release hints

This topic contains 0 replies, has 1 voice, and was last updated by  admin 1 year, 9 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #19413

    admin
    Keymaster

    This page is primarily intended for people who would like to modify Train Fever.
    If you want to learn more about mods, please visit our FAQ page.

    Please find below the release hints for the latest version published on Steam.

    Build 7753 (February 25)

    The town grow algorithm was further optimized and a new option was added to the base_config.lua:

    game.config.townGrowthExponent = .89 	
    -- .5 - 1.0 (exponent to attenuate late game town growth) 
    

    Setting the value to 1.0 will result in a similar town growth as prior to build 7554 for new games.

    Towns in save games created with a build version prior to 7554 will also grow faster by increasing the value and due to further optimization should experience less notable drops in size.

    Build 7554 (February 5)

    This build adds the option to generate landscapes from height maps. To use this function, create a maps folder within the Train Fever folder.

    The directory structure is as follows:

    Train Fever\
      maps\
        sample_map\    		(1)
          info.lua                  (2)
          heightmap.png		(3)
          strings.lua               (4) (optional)
          image_00.tga              (5) (good practice)
    
    1. Each height map has to be stored within its own subfolder. The subfolder can have an arbitrary name.
    2. Contains the map’s metadata (like name, description etc.). Find an example below.
    3. The height map file must be a greyscale PNGs with either 2049×2049, 3073×3073 or 4097×4097 pixel in size and 8 or 16bit depth. Make sure to not include an alpha channel.
    4. Contains translations of the map’s texts.
    5. An (preview) image, used by mod managers.

    info.lua example code:

    function data()
       return {
          name = _("Example Map"),			-- (1)
          range = { 90.0, 450.0 }, 			-- (2)
          seed = "defaultseed",			-- (3)  (optional)
          description = _("Example description"),	-- (4)  (good practice)
          tags = { "Map", "Switzerland" },		-- (5)  (good practice)
          authors = {				-- (6)  (good practice)
             {
                name = "Map Creator",				  
                role = "CREATOR",					
                steamProfile = "1234567890", 		
                tfnetId = 12345						
             }
          }
       } 
    end
    
    1. Map name which will be displayed in the selection menu.
    2. The range sets the height for the black and white pixels in the PNG. The water is placed at 100 meters. So the example above will create a landscape from 90 meter (lowest) to 450 meter (highest) and the water will be between 90 and 100 meter.
    3. Default value for the seed textbox.
    4. – 6. Values used by mod managers.

    Placing at least one correct info.lua in the maps folder will enable the button Select map in the Basic-tab when starting a new game.

    When you receive error messages regarding the map generation upon starting a new game, try to raise the lower land value towards 100 to reduce water areas or use more flat terrain. In general make sure to leave enough suitable terrain for the map generator to seed towns and industries.

    An example height map can be downloaded >here< .


    From 1875 on tram tracks can now be built and upgraded with catenaries. Per default this is only a visual feature. To enable the gameplay aspect of the feature, please turn it on in the options menu under the “Advanced” section. Please note, that this setting only affects new games. Once a game has been started with either setting, chancing this setting does not apply to further save games.


    New options to change the availability of various features have been added to the base_config.lua:

    • game.config.tramCatenaryYearFrom
    • game.config.trackCatenaryYearFrom
    • game.config.highSpeedTracksYearFrom
    • game.config.busLaneYearFrom

    A new option to force the game to use the graphics mode for Intel GPUs has been added to the settings.lua:

    intelGraphicsMode = "AUTO" – Options: AUTO/ON/OFF
    

    If you are using an Intel GPU and experienced crashes prior to this build, try changing the option to “ON”.

    Build 6219 (September 15)

    This build introduces the new loadConfigs in addition to capacities in the vehicle mdl-files, which allows for multiple cargo configurations.

    In the example below, the vehicle can be fitted with two configurations:

    • coal or iron ore
    • wood, oil or goods

    Example:

    transportVehicle = 
    {
        carrier = “ROAD”,
        loadConfigs = 
        {
            {
                { type = “COAL”, capacity = 44 },
                { type = “IRON_ORE”, capacity = 44 }  
            },
            {
                { type = “WOOD”, capacity = 44 },
                { type = “OIL”, capacity = 44 },
                { type = “GOODS”, capacity = 44 }
            }
        },
        loadSpeed = 3
    }
    

    Of course every other combination and number of sets is possible too!

    Please note:

    If no loadConfigs exists in the mdl-file, the behavior from build 6181 is unchanged.

    If both capacities and loadConfigs exist, loadConfigs is prioritized over capacities.

    A mod that adds an additional option which combines all freight types into one selection to vehicles supporting different cargo types, can be downloaded here

    Build 6181 (September 3)

    Please be aware of the following legacy save game loading behavior (save games prior to the new version):

    • Vehicles supporting multiple cargo types at the same time (further on referred to as “old”), which were bought in versions prior to this build still exist in the game but can no longer be purchased.
    • Automatic vehicle replacements are deactivated for any line which contains old vehicles. When reactivating the automatic replacement please make sure to select the desired cargo type, otherwise the vehicle will be replaced with the default cargo type.
    • If a train with old wagons is sent into a depot and its configuration is changed (removing of wagons, adding of wagons), all old wagons are automatically replaced with new wagons. The new wagons are configured with the default cargo type.

    The following parameters where added to base_config.lua:

    • maxIndustryProduction – measured in units per year
    • townGrowthFactor – between 0.0 and 2.0 (none to double)
    • townSizeFactor – between 0.5. and 2.0 (half to double)

    Lua Code:
    game.config.maxIndustryProduction = 400
    game.config.townGrowthFactor = 1.0

    game.config.world = {
          [..]
          townSizeFactor = 1.0
    }

    • This topic was modified 2 years, 2 months ago by  admin.
    • This topic was modified 2 years, 2 months ago by  admin.
    • This topic was modified 2 years, 2 months ago by  admin.
    • This topic was modified 2 years, 2 months ago by  admin.
    • This topic was modified 2 years, 2 months ago by  admin.
    • This topic was modified 2 years, 2 months ago by  admin.
    • This topic was modified 2 years, 2 months ago by  admin.
    • This topic was modified 2 years, 2 months ago by  admin.
    • This topic was modified 2 years, 2 months ago by  admin.
    • This topic was modified 2 years, 2 months ago by  Tom.
    • This topic was modified 2 years, 2 months ago by  Tom.
    • This topic was modified 2 years, 2 months ago by  Tom.
    • This topic was modified 2 years, 2 months ago by  Tom.
    • This topic was modified 2 years, 2 months ago by  Tom.
    • This topic was modified 2 years, 2 months ago by  Tom.
    • This topic was modified 2 years, 2 months ago by  Tom.
    • This topic was modified 2 years, 2 months ago by  admin.
    • This topic was modified 2 years, 2 months ago by  Tom.
    • This topic was modified 2 years, 2 months ago by  Tom.
    • This topic was modified 2 years, 2 months ago by  Tom.
    • This topic was modified 2 years, 2 months ago by  Tom.
    • This topic was modified 2 years, 2 months ago by  Tom.
    • This topic was modified 2 years, 2 months ago by  Tom.
    • This topic was modified 2 years, 2 months ago by  Tom.
    • This topic was modified 2 years, 2 months ago by  Tom.
    • This topic was modified 2 years, 2 months ago by  Tom.
    • This topic was modified 2 years, 2 months ago by  Tom.
    • This topic was modified 2 years, 2 months ago by  Tom.
    • This topic was modified 2 years ago by  Tom.
    • This topic was modified 2 years ago by  Tom.
    • This topic was modified 2 years ago by  Tom.
    • This topic was modified 2 years ago by  Tom.
    • This topic was modified 2 years ago by  Tom.
    • This topic was modified 1 year, 9 months ago by  Tom.
    • This topic was modified 1 year, 9 months ago by  Tom.
    • This topic was modified 1 year, 9 months ago by  Tom.
    • This topic was modified 1 year, 9 months ago by  Tom.
    • This topic was modified 1 year, 9 months ago by  Tom.
    • This topic was modified 1 year, 9 months ago by  Tom.
    • This topic was modified 1 year, 9 months ago by  Tom.
    • This topic was modified 1 year, 9 months ago by  Tom.
    • This topic was modified 1 year, 9 months ago by  Tom.
    • This topic was modified 1 year, 9 months ago by  Tom.
    • This topic was modified 1 year, 9 months ago by  Tom.
    • This topic was modified 1 year, 9 months ago by  Tom.
    • This topic was modified 1 year, 9 months ago by  admin.
    • This topic was modified 1 year, 9 months ago by  Tom.
    • This topic was modified 1 year, 9 months ago by  Tom.
    • This topic was modified 1 year, 9 months ago by  Tom.
    • This topic was modified 1 year, 9 months ago by  Tom.
    • This topic was modified 1 year, 9 months ago by  Tom.
    • This topic was modified 1 year, 9 months ago by  Tom.
    • This topic was modified 1 year, 9 months ago by  Tom.
    • This topic was modified 1 year, 9 months ago by  Tom.
    • This topic was modified 1 year, 9 months ago by  Tom.
    • This topic was modified 1 year, 9 months ago by  Tom.
    • This topic was modified 1 year, 9 months ago by  Tom.
Viewing 1 post (of 1 total)

The topic ‘Release hints’ is closed to new replies.