Home   Help Search Login Register  

Author Topic: How can i set the player to breathing hard?  (Read 570 times)

0 Members and 1 Guest are viewing this topic.

Offline Se7eN

  • Contributing Member
  • **
  • Cannot load mission, missing addons: Brain.pbo
How can i set the player to breathing hard?
« on: 02 Aug 2005, 09:04:13 »
When you run and  breath and your hand is shakeing. ???

Offline 456820

  • Contributing Member
  • **
Re:How can i set the player to breathing hard?
« Reply #1 on: 02 Aug 2005, 09:23:43 »
let me get this straight you want to make the player breathe hard and have shakey hands ? you didnt make it all that clear if thats what you want
is the units init field put this
this setdammage 0.3
that will make his hands shake to make him breath harder you must use a sound file i think wich must be defined in a description.ext
have a look at this the one at the bottom the sound tutorial one

Offline Se7eN

  • Contributing Member
  • **
  • Cannot load mission, missing addons: Brain.pbo
Re:How can i set the player to breathing hard?
« Reply #2 on: 02 Aug 2005, 09:47:44 »
I need that breathing, and handshakeing what you can see if you run long time ago.

The "setdammage" solution isnt good for me.

Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Re:How can i set the player to breathing hard?
« Reply #3 on: 02 Aug 2005, 14:04:10 »
CanÂ't really help you with the breathing, but thereÂ's an alternative to the setDamage alternative  456820 suggested. Set your loon to:

unit setDamage -1

A negative damage level will not kill the unit, but his hands will start to shake like heÂ's a smoker in need of another Marlborough.

Breathing sounds are quite easy to implement as custom soundfiles (just breathe into your mike during the recording and trigger the sound with the say or playsound command).

OFPEC | Intel Depot
RETARDED Ooops... Retired!

Offline Se7eN

  • Contributing Member
  • **
  • Cannot load mission, missing addons: Brain.pbo
Re:How can i set the player to breathing hard?
« Reply #4 on: 03 Aug 2005, 12:42:23 »
Thx Guys!

 :cheers: