KIND tni-physics-plugin

From TrainzOnline
Revision as of 13:22, 15 February 2021 by Microlem (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

KIND tni-physics-plugin is an asset type which provides control of the internal train physics for any traincar, via TrainzNativeInterface. This asset type requires native code support and its use is restricted to authorised TNI content creators only.

Contents

KIND Hierarchy

Parent Classes

Child Classes

  • none

Supported Tags

Each tni-physics-plugin asset supports the following tags:

 kind                                    "tni-physics-plugin"
 tni-library-name                        ""

tni-library-name

Type: string
Desc: Specifies the filename of the plugin DLL to load (minus the platform-specific file extension). This plugin is expected to return a processing priority and handle a relevant locomotive's physics requests through TNIPhysics.

Example Config.txt

Sample config.txt file for a tni-physics-plugin asset, with some standard tags excluded for brevity:

 kuid                                    <kuid:401543:1085>
 kind                                    "tni-physics-plugin"
 trainz-build                            4.7
 username                                "Core Train Physics Plugin"
 tni-library-name                        "TNIPhysicsCore"
 category-class                          "YL"
 description                             "TNI plugin for default train physics"

Categories

Personal tools