collapse

Author Topic: Agregar sonido cuando recibe golpes  (Read 1500 times)

0 Members and 1 Guest are viewing this topic.

Offline tomast

  • New Member
  • *
  • Posts: 4
  • Last Login:July 21, 2018, 03:59:20 PM
    • Email
Agregar sonido cuando recibe golpes
« on: May 18, 2010, 07:51:18 PM »
Hola, volvi con una duda nueva :) desde ya gracias por todo lo que me ayudaron pero ahora me surgio un nuevo inconveniente que es, que quiero ponerle un sonido cuando recibe el golpe el personaje es decir que cuando reciva un golpe haga "ouch", el sonido lo tengo, ya lo agrege al char y todo pero lo que no se es en que parte se debe poner el codigo y que codigo poner si no es que es el de todos los sonidos,

Desde ya gracias, si no se entiende bien preguntenme!!
Saludos



Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: Agregar sonido cuando recibe golpes
« Reply #1 on: May 19, 2010, 01:23:34 AM »
Tienes que editar el common1 (es un archivo que tiene los codigod comunes, como el caminar, brincar, etc), si no quieres agregar ese archivo a tu char, puedes hacerlo desde el statedef -3, usando un playsnd.

[State -3, PlaySnd]
type = PlaySnd
trigger1 =stateno =5000 && time =1
value = S3,0
volume = 0

Este codigo funciona asi: Se activa cuando estes en el statedef 5000 y el tiempo en el estado sea =1, el sonido que se activara, sera el 0 del grupo 3.

Si no quedo bien explicado, avisame e intentare explicarlo mas sencillo


sig made by shullbocka

Offline tomast

  • New Member
  • *
  • Posts: 4
  • Last Login:July 21, 2018, 03:59:20 PM
    • Email
Re: Agregar sonido cuando recibe golpes
« Reply #2 on: May 22, 2010, 06:33:37 PM »
Muchas Gracias!!!!
 :thumbsup:
 ^:)^ ^:)^ ^:)^

Gracias a vos estoy terminando mi char y esta quedando realmente bueno (aun que lo diga yo mismo)

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: Agregar sonido cuando recibe golpes
« Reply #3 on: May 23, 2010, 03:43:50 AM »
Denada ;)

Espero pronto ver tu char ::salute::


sig made by shullbocka

Tags:
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[June 03, 2024, 03:18:12 PM]


[BOR] _Avengers United Battle Force_ by O Ilusionista
[June 03, 2024, 03:13:51 PM]


Mega Man & Bass - Dynamo Man by Sir Rousseau by O Ilusionista
[June 03, 2024, 03:09:50 PM]


D2TD VS Showcase Thread by D2TD
[May 31, 2024, 11:44:23 AM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[May 26, 2024, 07:39:11 PM]


TMNT Hong Kong Stage for 1.0 & 1.1 Re-Release by LightFlare
[May 24, 2024, 01:44:07 PM]


Captain Commando Stage Pack by Vegaz by LightFlare
[May 24, 2024, 09:20:05 AM]


Street Fighter 1 Ultimate Ryu by ELECTRO
[May 22, 2024, 03:58:25 PM]


China Town (Revenge of Shinobi) by Lord_Enemil
[May 22, 2024, 03:02:10 PM]


Neon Light Force Demo by Uche_of_IMT
[May 22, 2024, 10:21:37 AM]

* IMT Calendar

June 2024
Sun Mon Tue Wed Thu Fri Sat
1
2 3 [4] 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30

SimplePortal 2.3.5 © 2008-2012, SimplePortal