(done) Tweak champion's sound

This forum is for the Lua scriptable clone of DM/CSB called Dungeon Strikes Back by Sophia. Use DSB to build your own highly customised games.

Moderator: Sophia

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
Qwerty
Apprentice
Posts: 55
Joined: Sun Aug 30, 2009 6:21 am

(done) Tweak champion's sound

Post by Qwerty »

Why don't you add [Who] or [ppos] argument at "function hurt_sound()"?
I want to tweak a particular champion's hurt sound using this function.
(e.g. Adding new (wo)man voices from dsb_get_sound() and if champion gets some damage, The Oof-sound changes an additional voices whether the champion is a man or a woman.)
But this function gets no argument from another functions, so that I can't identify "Who get hurt?" and tweak it.
User avatar
Sophia
Concise and Honest
Posts: 4306
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: (done) Tweak champion's sound

Post by Sophia »

In DSB 0.60, hurt_sound will take ppos and who parameters.
Post Reply