MusicPlayer Type [Vietnam]
This type is used exclusively in Battlefield Vietnam.
The MusicPlayer object type is created by ObjectTemplate.Create.
This class puts a music system into the vehicle and specifies which song plays first.
The Musicmanager class sets up the playlist.
Used in a total of 25 .con files: Objects.con Parent directory of these .con files: vietnamObjects/Vehicles
Example: (from vietnamObjects/Vehicles/Land/Vespa/Objects.con)
rem **** muisic player ***
ObjectTemplate.Create MusicPlayer VespaMusicPlayer
ObjectTemplate.NetworkableInfo VespaMusicPlayerInfo
ObjectTemplate.SongId 0
ObjectTemplate.AutoStart 0
ObjectTemplate.AutoShutOff 1
Properties used with this type of object:
ObjectTemplate.AutoShutOff
ObjectTemplate.AutoStart
ObjectTemplate.Create
ObjectTemplate.NetworkableInfo
ObjectTemplate.SongId
Go to the ObjectTemplate type list page,
ObjectTemplate page, All
Types list, Class list,
CON file list, or Main
scripting page.
|