• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
March 28, 2024, 05:49:34 am

News:

Please use .png instead of .bmp when uploading unfinished sprites to the forum!


[MAP] Waterfall

Started by lirmont, May 31, 2011, 03:40:23 pm

lirmont

May 31, 2011, 03:40:23 pm Last Edit: May 31, 2011, 03:42:45 pm by lirmont
Last of my tests. Attempt at animation (view model, view model):







Download "Waterfall".

Result: animation of wheel (it rotates) exports properly, but doesn't display in-game; and, animation of texture works (but you have to use a movie file and only certain encodings display correctly; ex: M-JPEG but not "Raw Uncompressed").

mav

I gotta say, this is your best map yet. I really dig this one. I wouldn't mind seeing it with the full Tactics texture treatment though. Keep up the good work.

Cheetah

Looks totally unplayable, but very cool.
Current Projects:

Lijj

Whoah this is crazy! Loving your guys' map works.
  • Modding version: PSX

Kivutar

lirmont you are a great help!

I was not able to load this model in tethical, got this error:
kivutar@optiplex:~/code/tethical/client$ python2.6 main.py
DirectStart: Starting the game.
Known pipe types:
 glxGraphicsPipe
(all display modules loaded.)
[wav @ 0xaadeca80]Estimating duration from bitrate, this may be inaccurate
[wav @ 0xaadef330]Estimating duration from bitrate, this may be inaccurate
Client listening on 127.0.0.1 : 3001
Assertion failed: do_has_ram_mipmap_image(n) at line 3023 of panda/src/gobj/texture.cxx
Exception occurred while processing Func-battle_init-6 of Sequence-6:
Sequence-6:
 0.000 Sequence-6 {
 0.000   LerpColorInterval-6: color from 0 0 0 0 to 0 0 0 1 dur 2
 2.000   *Func-destroy-4
 2.000   *Func-stop-5
 2.000   *Func-battle_init-6
 2.000 }

Traceback (most recent call last):
 File "/usr/share/panda3d/direct/showbase/ShowBase.py", line 1634, in __ivalLoop
   IntervalManager.ivalMgr.step()
 File "/usr/share/panda3d/direct/interval/IntervalManager.py", line 96, in step
   self.__doPythonCallbacks()
 File "/usr/share/panda3d/direct/interval/IntervalManager.py", line 119, in __doPythonCallbacks
   ival.privPostEvent()
 File "/usr/share/panda3d/direct/interval/MetaInterval.py", line 505, in privPostEvent
   self.__doPythonCallbacks()
 File "/usr/share/panda3d/direct/interval/MetaInterval.py", line 481, in __doPythonCallbacks
   ival.privDoEvent(t, eventType)
 File "/usr/share/panda3d/direct/interval/Interval.py", line 207, in privDoEvent
   self.privInstant()
 File "/usr/share/panda3d/direct/interval/FunctionInterval.py", line 88, in privInstant
   self.function(*self.extraArgs, **self.kw)
 File "main.py", line 346, in battle_init
   terrain = loader.loadModel( 'models/maps/'+self.party['map']['model'] )
 File "/usr/share/panda3d/direct/showbase/Loader.py", line 159, in loadModel
   node = self.loader.loadSync(Filename(modelPath), loaderOptions)
AssertionError: do_has_ram_mipmap_image(n) at line 3023 of panda/src/gobj/texture.cxx
:task(error): Exception occurred in PythonTask ivalLoop
Traceback (most recent call last):
 File "main.py", line 983, in <module>
   run()
 File "/usr/share/panda3d/direct/showbase/ShowBase.py", line 2531, in run
   self.taskMgr.run()
 File "/usr/share/panda3d/direct/task/Task.py", line 496, in run
   self.step()
 File "/usr/share/panda3d/direct/task/Task.py", line 454, in step
   self.mgr.poll()
 File "/usr/share/panda3d/direct/showbase/ShowBase.py", line 1634, in __ivalLoop
   IntervalManager.ivalMgr.step()
 File "/usr/share/panda3d/direct/interval/IntervalManager.py", line 96, in step
   self.__doPythonCallbacks()
 File "/usr/share/panda3d/direct/interval/IntervalManager.py", line 119, in __doPythonCallbacks
   ival.privPostEvent()
 File "/usr/share/panda3d/direct/interval/MetaInterval.py", line 505, in privPostEvent
   self.__doPythonCallbacks()
 File "/usr/share/panda3d/direct/interval/MetaInterval.py", line 481, in __doPythonCallbacks
   ival.privDoEvent(t, eventType)
 File "/usr/share/panda3d/direct/interval/Interval.py", line 207, in privDoEvent
   self.privInstant()
 File "/usr/share/panda3d/direct/interval/FunctionInterval.py", line 88, in privInstant
   self.function(*self.extraArgs, **self.kw)
 File "main.py", line 346, in battle_init
   terrain = loader.loadModel( 'models/maps/'+self.party['map']['model'] )
 File "/usr/share/panda3d/direct/showbase/Loader.py", line 159, in loadModel
   node = self.loader.loadSync(Filename(modelPath), loaderOptions)
AssertionError: do_has_ram_mipmap_image(n) at line 3023 of panda/src/gobj/texture.cxx
:interval(warning): Losing outstanding events for Sequence-6 dur 2


But it worked well in panda viewer with the same graphic card. Did you have to mod the client code to get it running?

Your map made me wonder how to export official map animations. Too bad wavefront obj does not support animation. Maybe we could write an egg animation exporter, and past the result our current egg files. Or modding your obj exporter to directly export eggs?

What do you think?

Official maps support 3 types of animations:

  • Texture animation

  • Palette animation

  • Vertex animation



Thanks.
Tethical, an online FFT clone

lirmont

Quotedo_has_ram_mipmap_image(n)


You have to set the modes to LINEAR (within the .egg) and not LINEAR_MIPMAP_LINEAR. I guess I uploaded a slightly older version.

Kivutar

Same error. I will try it on another computer.
Tethical, an online FFT clone



Zaen

"Oh, God!! The Hokuten!!" ~Guard, Sand Rat Cellar