Frictional Games Forum

Full Version: WARNING: No 'extra scene' element found!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Everythings fine with models, physics, levels, lights, entity files, materials, all types of joints, and i was about to start making my mod/game.
The last thing i wanted to learn was animation in the engine, and this is where things got bad.What im trying, is to export a keyframe animation of a single cube, from 3DS MAX.
The error i get in hpl.log file is the following:
...
Added resource directory 'Mystuff/tutorial_files/tutorial_5/safety'
WARNING: No 'extra scene' element found!
Loaded resource 'Diffuse_Light_vp.cg' in 33 ms
...

From what i know until now things are limited in ColladaMax in comparison to ColladaMaya, (outdated eitherway) but there must be a walkaround to these issues..
I've spend so many hours studying in HPL and the thing that only the import-export to collada issue, will be the reason to drop my project, through away the hours ive spend, and start from scratch learning another engine...drives me crazy.
I hope you guys at "Frictional Games" can give me some feedback on those problems ive encountered so far...
Thanks in advance...
Currently, animations are not supported for Max. And especially not in the old tech demo version.

I will see if we can sort this out for the release of Oveture - Episode 1.

For a hackish solution, open up the dae file in a text editor and add the following to the scene element:

Code:
<extra>
        <technique profile="MAYA">
          <start_time>0</start_time>
          <end_time>1.125000</end_time>
        </technique>
      </extra>

And change start and end time to fit your needs.

I am not sure if the other animtion data from Max works though, never tried exporting animtions from max.
Hi..Thanks for taking the time...
But still I have issues:
Adding this piece of code under the <scene>, still crashes the HPLhelper with the same ERROR.
I saw from character .dae model that this "extra" code rests under <visual_scene>, so I did put it there, with no luck.This time HPLhelper doesnt crashes, but still the animation is not playing.
Reference URL's