more than one sound.tdf entry per action

more than one sound.tdf entry per action

Requests for features in the spring code.

Moderator: Moderators

Post Reply
monohouse

more than one sound.tdf entry per action

Post by monohouse »

select1=X;
select2=Y;

and so that they both work, currently they dont, when more than one entry exists none of the sounds will be played.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

That entire system is made obsolete by the new lua APIs.
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

and by the play-sound thing you can put in scripts
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

Guessmyname wrote:and by the play-sound thing you can put in scripts
Hm actually no. We've had this discussion before (I'm pretty sure there is another thread like this) and things like selection sounds can't be done in BOS script.

How much effort is it to do it via LUA?
Quite frankly, I still think this is a good idea.
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

rattle wrote:
Guessmyname wrote:and by the play-sound thing you can put in scripts
Hm actually no. We've had this discussion before (I'm pretty sure there is another thread like this) and things like selection sounds can't be done in BOS script.
True, but a lot of other things can be
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

But Lua scripts can.
User avatar
yuritch
Spring 1944 Developer
Posts: 1018
Joined: 11 Oct 2005, 07:18

Post by yuritch »

There is one thing with play-sound that is fundamentally different from selection sounds. You can hear the sounds enemy units emit with play-sound even if you cannot see the units themselves. For example, add some engine sounds to tanks and you will know where they are on a map even if none of your units has them in LOS. That can be undesirable.
So the question is, is the same true for sounds made with lua scripts? Will the player hear sounds from things not in LOS?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

one of the things that bugs me is that I can only have one acknowledge etc per unit.

in ta we could have several per unit... and ta would randomize which one it would play on select/attackorder/etc.
monohouse

Post by monohouse »

yeah and besides, Lua lags when enabled
Post Reply

Return to “Feature Requests”