This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: Sound for m2  (Read 1283 times)

nrj45

  • Registred Member
  • Race Changer
  • *****
  • Posts: 33
    • View Profile
    • http://simka-wow.ws
Sound for m2
« on: September 14, 2013, 07:53:05 pm »
I want to set up my object to put music to come up to him when playing certain music (the music is added to the dbc) please tell me how to model m2 it add?

Looked at a ready-made model with music in her structure differs from mine here it is:


And my model is no such top entry struct sEvents _Events [2]:



Help me please, what you need to do to add music to the created object?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Sound for m2
« Reply #1 on: September 14, 2013, 11:22:59 pm »
Sub-structures with a null size or offset are not shown. Add some null-bytes at the end and set offset to that address and count to 1. Also, I'd suggest using $SND.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

nrj45

  • Registred Member
  • Race Changer
  • *****
  • Posts: 33
    • View Profile
    • http://simka-wow.ws
Re: Sound for m2
« Reply #2 on: September 14, 2013, 11:30:50 pm »
Can you give more detail, if possible with screenshots please?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Sound for m2
« Reply #3 on: September 15, 2013, 12:11:33 am »
  • Scroll down, note address.
  • Press 0 a hundred times.
  • Scroll up, look for ofsevents in header. insert address. Look for nevents, overwrite with 1.
  • Reapply template.
  • Edit event 0.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

nrj45

  • Registred Member
  • Race Changer
  • *****
  • Posts: 33
    • View Profile
    • http://simka-wow.ws
Re: Sound for m2
« Reply #4 on: September 15, 2013, 12:37:06 am »
Help please I still do not understand how to do, you can change the model here is that you need to add and where you want and I'll see?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Sound for m2
« Reply #5 on: September 15, 2013, 01:09:49 am »
I'd prefer of you try asking about the part you don't understand or even saying which one it is.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

nrj45

  • Registred Member
  • Race Changer
  • *****
  • Posts: 33
    • View Profile
    • http://simka-wow.ws
Re: Sound for m2
« Reply #6 on: September 15, 2013, 01:20:52 am »
Please specify where and what do I need to put in, I do not understand this, and would love to add music to the objects created by me.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »