Author Topic: 3.5.3-dev+r2439: persian swordmans' guard_attacking model cannot be loaded  (Read 987 times)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
While playing a single player game, indians (me) against persian (CPU) I got this:

Code: [Select]
[2011-07-05 15:22:51] *ERROR* In [/home/user1/SCM/megaglest-trunk/source/glest_game/types/skill_type.cpp::load Line 167] WARNING CANNOT LOAD MODEL [/home/user1/SCM/megaglest-trunk/mk/linux//techs/megapack/factions/persian/units/swordman/models/guard_attacking.g3d] for parentLoader [/home/user1/SCM/megaglest-trunk/mk/linux//techs/megapack/factions/persian/units/swordman/swordman.xml]

It should probably say 'swordman_attacking.g3d' only, not 'guard_attacking.g3d', in techs/megapack/factions/persian/units/swordman/swordman.xml?
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Now that we support multiple animations per skill, any animation files that do not exist will give a warning on the console. There are some xml's which contain multiple entries for animations where some of the files do not exist (such as the one you mentioned) and this should be cleaned up before release.

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
It's good that this now getting tested for, too. :)
However, should it not either say "warning" or "error", not both? I assume this is a warning, since it doesn't prevent the game from running, and one the game is able to handle fine.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
I assume this is a warning, since it doesn't prevent the game from running, and one the game is able to handle fine.
Provided that at least one of the models can be loaded, yeah.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Indeed its a warning if at least 1 model per skill is loadable, all other missing files are warnings