Socket-template-list Container

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{ORP-top}} A container type tag for defining socket templates for use within TNI_Socket_Interface within TNI. ==Supported Tags== Ea...")

Revision as of 09:55, 12 December 2017

A container type tag for defining socket templates for use within TNI_Socket_Interface within TNI.

Contents

Supported Tags

Each subcontainer supports the following tags. Each tag is shown here with its default value.

 network                                 ""
 domain                                  ""
 ip                                      ""
 port                                    0

network

Type: list
Desc: If true this is an 'ambient' sound, ambient sounds are played in 2D and do not make use of 3D positioning in the world other than to affect volume. Unlike positional sounds, ambient sounds may be stereo.

domain

Type:
Desc:

ip

Type:
Desc:

port

Type:
Desc:

Example config.txt

Sample config.txt file for a TNI library asset which connects to another process on the local machine:

 kind                                    "library"
 kuid                                    <KUID:0:0>
 trainz-build                            4.6
 tni-library-name                        "TNISocketTest"
 tni-socket-templates
 {
   0
   {
     network                             "local"
     port                                7357
   }
 }


Categories

Personal tools