Last of my tests. Attempt at animation (view model (http://darkabstraction.com/showOff/ffhackticks/waterfall-preview-0.jpg), view model (http://darkabstraction.com/showOff/ffhackticks/waterfall-preview-4.jpg)):
(http://darkabstraction.com/showOff/ffhackticks/waterfall-preview-1.jpg)
(http://darkabstraction.com/showOff/ffhackticks/waterfall-preview-2.jpg)
(http://darkabstraction.com/showOff/ffhackticks/waterfall-preview-3.jpg)
Download "Waterfall". (http://darkabstraction.com/showOff/ffhackticks/MAP_Waterfall.zip)
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").
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.
Looks totally unplayable, but very cool.
Whoah this is crazy! Loving your guys' map works.
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.
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.
Same error. I will try it on another computer.
I'm surprised no one has pointed out the obvious inspiration for this map yet:
http://www.google.com/imgres?imgurl=http://4.bp.blogspot.com/-H5igRbngfz4/TV9kmH1K-6I/AAAAAAAAGt0/kreOyPz4_jk/s800/escher_waterfall.jpg&imgrefurl=http://merepekcorner.blogspot.com/2011/02/impossible-escher-waterfall-may-have.html&usg=__66F_H6CKmzre7eMNNwz2u7Ejlk8=&h=800&w=617&sz=185&hl=en&start=0&zoom=1&tbnid=CSQO74z1y3lBRM:&tbnh=142&tbnw=112&ei=MJPqTZO4OMK1tgeKpaCXAQ&prev=/search%3Fq%3Descher%2Bwaterfall%26um%3D1%26hl%3Den%26client%3Dfirefox-a%26sa%3DN%26rls%3Dorg.mozilla:en-US:official%26biw%3D1601%26bih%3D750%26tbm%3Disch&um=1&itbs=1&iact=hc&vpx=456&vpy=330&dur=1916&hovh=256&hovw=197&tx=113&ty=89&page=1&ndsp=36&ved=1t:429,r:29,s:0&biw=1601&bih=750 (http://www.google.com/imgres?imgurl=http://4.bp.blogspot.com/-H5igRbngfz4/TV9kmH1K-6I/AAAAAAAAGt0/kreOyPz4_jk/s800/escher_waterfall.jpg&imgrefurl=http://merepekcorner.blogspot.com/2011/02/impossible-escher-waterfall-may-have.html&usg=__66F_H6CKmzre7eMNNwz2u7Ejlk8=&h=800&w=617&sz=185&hl=en&start=0&zoom=1&tbnid=CSQO74z1y3lBRM:&tbnh=142&tbnw=112&ei=MJPqTZO4OMK1tgeKpaCXAQ&prev=/search%3Fq%3Descher%2Bwaterfall%26um%3D1%26hl%3Den%26client%3Dfirefox-a%26sa%3DN%26rls%3Dorg.mozilla:en-US:official%26biw%3D1601%26bih%3D750%26tbm%3Disch&um=1&itbs=1&iact=hc&vpx=456&vpy=330&dur=1916&hovh=256&hovw=197&tx=113&ty=89&page=1&ndsp=36&ved=1t:429,r:29,s:0&biw=1601&bih=750)
Eternal did, there http://ffhacktics.com/smf/index.php?topic=7250.msg146691#msg146691
Mind is blown.