KIND tni-physics-plugin
From TrainzOnline
(Difference between revisions)
(Created page with "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 nat...") |
Latest revision as of 13:22, 15 February 2021
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 |
[edit] KIND Hierarchy
[edit] Parent Classes
[edit] Child Classes
- none
[edit] Supported Tags
Each tni-physics-plugin asset supports the following tags:
kind "tni-physics-plugin" tni-library-name ""
[edit] 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.
[edit] 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"