Author Topic: Load md2 model Error: Too many sub-sequences defined  (Read 3262 times)

Offline Davi

  • byte
  • *
  • Posts: 33
    • View Profile
Load md2 model Error: Too many sub-sequences defined
« on: October 28, 2011, 07:08:26 pm »
when Load md2 model ,the log show:

Loading Texture...
     ... ...
Processing:deathc...
[1319821045737] - ERROR: Too many sub-sequences defined. Modify configuration to allow a higher number.

I want to know how to modify configuration to allow a higher number??? ???please help

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Load md2 model Error: Too many sub-sequences defined
« Reply #1 on: October 28, 2011, 10:24:33 pm »
That's this setting: http://www.jpct.net/jpct-ae/doc/com/threed/jpct/Config.html#maxAnimationSubSequences
I've never seen a MD2 exceeding this value though...

Offline Davi

  • byte
  • *
  • Posts: 33
    • View Profile
Re: Load md2 model Error: Too many sub-sequences defined
« Reply #2 on: October 29, 2011, 08:05:14 am »
thank you,I have saw that ,then how to set configuration: Config.maxAnimationSubSequences
 in my program?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Load md2 model Error: Too many sub-sequences defined
« Reply #3 on: October 29, 2011, 05:20:02 pm »
Well...just do something like

Code: [Select]
Config.maxAnimationSubSequences=40;

at the beginning of your code.

Offline Davi

  • byte
  • *
  • Posts: 33
    • View Profile
Re: Load md2 model Error: Too many sub-sequences defined
« Reply #4 on: October 29, 2011, 05:33:34 pm »
Thank you very much,it works fine ;D