[ian-reeds-games] Re: player sounds

  • From: Zak Claassen <zak.claassen@xxxxxxxxx>
  • To: ian-reeds-games@xxxxxxxxxxxxx
  • Date: Sun, 27 Jan 2013 11:22:30 +0200

In sound rts, when defining a unit you can have a "is_a" line followed
by a unit name, which causes this unit to automatically inherit all
the properties of that unit and allows you to only specify the ones
you want to change, for example the keep has a line that says "is_a
townhall" and then only has lines for its max hp, cost etc, only those
things that are different from the townhall.  Would this be what
you're looking for?  Or is having separate units at all the problem.
You can always change a specific unit's flags within the map file,
I've never tried it with sound but I think it would work.

On 1/27/13, Allan Thompson <allan1.thompson@xxxxxxx> wrote:
> Hi,
> I was just thinking. Currently I got male and female units that are the
> exact same thing, but are forced to be diffrent named classes, so that there
> is a male and female sound profile. "The truth will set you free"
> Jesus Christ of Nazareth 33A. Should there be a way to have two sound
> profiles for the same unit for such occasions?
>
> al
>
>
> "The truth will set you free"
> Jesus Christ of Nazareth 33A.D.

Other related posts: