Ive used ET’s editspeaker command to add sound to my map. But I dont hear any sound at all, well, some times I do and some times I dont. But this is happening without editing the sps file.
I had one speaker work when the allies built the command post. Then I reloaded the map and when I built it again no sound played.
Here is my sps script:
speakerScript
{
speakerDef {
noise "sound/world/radio_allies.wav"
origin -2417 -196 10044
targetname "radiob"
looped "off"
broadcast "no"
volume 55
range 300
}
}
speakerDef {
noise "sound/world/radio_axis.wav"
origin -2417 -196 1044
targetname "radior"
looped "off"
broadcast "no"
volume 55
range 300
}
}
speakerDef {
noise "sound/world/dripping_01.wav"
origin 872 1848 712
looped "on"
broadcast "no"
volume 100
range 200
}
}
speakerDef {
noise "sound/world/dripping_01.wav"
origin 872 1696 712
looped "on"
broadcast "no"
volume 100
range 200
}
}
speakerDef {
noise "sound/world/dripping_01.wav"
origin 788 1592 712
looped "on"
broadcast "no"
volume 100
range 200
}
}
Iam also having problems with the command post sounds. Here is the script for that:
// ================================================
neutral_cp_toi
{
trigger show_neutral_cabinet // Show Neutral Closed CP
{
setstate neutral_cp_closed default
setstate neutral_cp_closed_model default
}
trigger hide_neutral_cabinet // Hide Neutral Closed CP
{
setstate neutral_cp_closed invisible
setstate neutral_cp_closed_model invisible
}
}
// ================================================
allied_cp_open
{
spawn
{
wait 100
constructible_class 2 // Dyno+Satchel
trigger self disable_cp_features // Default charge bar times
}
trigger disable_cp_features
{
setstate allied_cp_open_model invisible // Hide Open CP model
setchargetimefactor 1 soldier 1
setchargetimefactor 1 lieutenant 1
setchargetimefactor 1 medic 1
setchargetimefactor 1 engineer 1
setchargetimefactor 1 covertops 1
sethqstatus 1 0 // Landmines team warning message
disablespeaker radiob
}
trigger enable_cp_features
{
setstate allied_cp_open_model default // Show open CP model
setchargetimefactor 1 soldier 0.75
setchargetimefactor 1 lieutenant 0.75
setchargetimefactor 1 medic 0.75
setchargetimefactor 1 engineer 0.75
setchargetimefactor 1 covertops 0.75
sethqstatus 1 1 // Landmines team warning message
enablespeaker radiob
}
buildstart final
{
trigger neutral_cp_toi hide_neutral_cabinet // Hide Neutral CP model+clip brush
}
built final
{
trigger self enable_cp_features // Increase charge bar times
wm_announce "Allied Command Post constructed. Charge speed increased!"
wm_objective_status 5 1 1
wm_objective_status 5 0 2
// *----------------------------------- vo ------------------------------------------*
wm_teamvoiceannounce 0 "axis_hq_compost_constructed_allies"
wm_teamvoiceannounce 1 "allies_hq_compost_constructed"
wm_removeteamvoiceannounce 1 "allies_hq_compost_construct"
// *----------------------------------- vo ------------------------------------------*
}
decayed final
{
setstate allied_cp_open_model invisible // Hide Open CP model
trigger neutral_cp_toi show_neutral_cabinet // Show Neutral CP model+clip brush
}
death
{
trigger neutral_cp_toi show_neutral_cabinet // Show Neutral CP model+clip brush
trigger self disable_cp_features // Default charge bar times
wm_announce "Axis team has destroyed the Allied Command Post!"
wm_objective_status 5 1 2
wm_objective_status 5 0 1
// *----------------------------------- vo ------------------------------------------*
wm_addteamvoiceannounce 0 "axis_hq_compost_construct"
wm_addteamvoiceannounce 1 "allies_hq_compost_construct"
wm_teamvoiceannounce 0 "axis_hq_compost_construct"
wm_teamvoiceannounce 1 "allies_hq_compost_damaged"
// *----------------------------------- vo ------------------------------------------*
}
}
// ================================================
axis_cp_open
{
spawn
{
wait 100
constructible_class 2 // Dyno+Satchel
trigger self disable_cp_features // Default charge bar times
}
trigger disable_cp_features
{
setstate axis_cp_open_model invisible // Hide Open CP model
setchargetimefactor 0 soldier 1
setchargetimefactor 0 lieutenant 1
setchargetimefactor 0 medic 1
setchargetimefactor 0 engineer 1
setchargetimefactor 0 covertops 1
sethqstatus 0 0 // Landmines team warning message
disablespeaker radior
}
trigger enable_cp_features
{
setstate axis_cp_open_model default // Show open CP model
setchargetimefactor 0 soldier 0.75
setchargetimefactor 0 lieutenant 0.75
setchargetimefactor 0 medic 0.75
setchargetimefactor 0 engineer 0.75
setchargetimefactor 0 covertops 0.75
sethqstatus 0 1 // Landmines team warning message
enablespeaker radior
}
buildstart final
{
trigger neutral_cp_toi hide_neutral_cabinet // Hide Neutral CP model+clip brush
}
built final
{
trigger self enable_cp_features // Increase charge bar times
wm_announce "Axis Command Post constructed. Charge speed increased!"
wm_objective_status 5 1 2
wm_objective_status 5 0 1
// *----------------------------------- vo ------------------------------------------*
wm_teamvoiceannounce 0 "axis_hq_compost_constructed"
wm_teamvoiceannounce 1 "allies_hq_compost_constructed_axis"
wm_removeteamvoiceannounce 0 "axis_hq_compost_construct"
// *----------------------------------- vo ------------------------------------------*
}
decayed final
{
setstate axis_cp_open_model invisible // Hide Open CP model
trigger neutral_cp_toi show_neutral_cabinet // Show Neutral CP model+clip brush
}
death
{
trigger neutral_cp_toi show_neutral_cabinet // Show Neutral CP model+clip brush
trigger self disable_cp_features // Default charge bar times
wm_announce "Allied team has destroyed the Axis Command Post!"
wm_objective_status 5 1 1
wm_objective_status 5 0 2
// *----------------------------------- vo ------------------------------------------*
wm_addteamvoiceannounce 0 "axis_hq_compost_construct"
wm_addteamvoiceannounce 1 "allies_hq_compost_construct"
wm_teamvoiceannounce 0 "axis_hq_compost_damaged"
wm_teamvoiceannounce 1 "allies_hq_compost_construct"
// *----------------------------------- vo ------------------------------------------*
}
}
Can any one help me out please?