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: Model's sound  (Read 6394 times)

ladiszlai

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 194
    • View Profile
Re: Model's sound
« Reply #60 on: June 09, 2015, 06:57:08 pm »
Quote from: "schlumpf"
ofsValues is wrong

But spik96 say me : ofs=somewhere where you put a timestamp (uint32 value) like 0.

Or what value i need to add this ?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Model's sound
« Reply #61 on: June 09, 2015, 07:28:57 pm »
Which is correct. As you can even see, you point to some weird value, though (the beginning of the file), not a place where you can put a value to.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

ladiszlai

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 194
    • View Profile
Re: Model's sound
« Reply #62 on: June 09, 2015, 07:37:57 pm »
Quote from: "schlumpf"
Which is correct. As you can even see, you point to some weird value, though (the beginning of the file), not a place where you can put a value to.

And how can i look for the correct value?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Model's sound
« Reply #63 on: June 09, 2015, 08:30:34 pm »
Quote
somewhere where you put a timestamp (uint32 value)

Or to quote myself from the first page..

Quote from: "schlumpf"
… Then, add enough blank space behind it to hold one more record and increase the count in the header. At that point the template or whatever you are using will help you with filling out the event record. For the animation block / timestamp block, add free space again at the end of the file.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

ladiszlai

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 194
    • View Profile
Re: Model's sound
« Reply #64 on: June 09, 2015, 08:48:46 pm »
Quote
somewhere where you put a timestamp (uint32 value)

I don't know what this mean.

Now my final problem is the ofs value :D and soon this topic will be solved.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

spik96

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 275
    • View Profile
Re: Model's sound
« Reply #65 on: June 09, 2015, 08:58:54 pm »
Quote from: "ladiszlai"
Quote
somewhere where you put a timestamp (uint32 value)

I don't know what this mean.

Now my final problem is the ofs value :D and soon this topic will be solved.


To know where to find data the client needs to know the address, the position in the file. That's the goddamn offset.
You can click somewhere in the file, 010 editor will tell you the address of your cursor.
Click at the beginning of your value, copy the address, put the address in the ofs, and now the client will be able to read it, jump, and read the value.

I knew you lacked general basic CS knowledge. That's why you're having a bad time and difficulties to understand.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Github ]https://github.com/Koward[/url]    Skype : koward723 =)

ladiszlai

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 194
    • View Profile
Re: Model's sound
« Reply #66 on: June 09, 2015, 09:32:19 pm »
Quote from: "spik96"
Quote from: "ladiszlai"
Quote
somewhere where you put a timestamp (uint32 value)

I don't know what this mean.

Now my final problem is the ofs value :D and soon this topic will be solved.


To know where to find data the client needs to know the address, the position in the file. That's the goddamn offset.
You can click somewhere in the file, 010 editor will tell you the address of your cursor.
Click at the beginning of your value, copy the address, put the address in the ofs, and now the client will be able to read it, jump, and read the value.

I knew you lacked general basic CS knowledge. That's why you're having a bad time and difficulties to understand.

Thank you for this you really helpful...

Ok now i added an offset to the end of the file and i put this value to the ofs but the sound is not played yet. :



What i do wrong?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

ladiszlai

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 194
    • View Profile
Re: Model's sound
« Reply #67 on: June 10, 2015, 04:09:21 pm »
No ideas :(?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »