Author Topic: MG Campaign  (Read 2948 times)

ElimiNator

  • Airship
  • ********
  • Posts: 3,391
  • The MegaGlest Moder.
    • View Profile
MG Campaign
« on: 19 December 2012, 03:41:30 »

I have been working on a campaign for MegaGlest for a while now and it is nearing completion.
I have 9/10 done.
Please test them and report bugs (There will be lots).

Part 1: Lord of the Land - v1.1
Download

Part 2: Search for Allies - v1.0
Download

Part 3: The King - v1.0
Download
« Last Edit: 8 December 2019, 23:33:42 by ElimiNator »
Get the Vbros': Packs 1, 2, 3, 4, and 5!

MightyMic

  • Technician
  • ****
  • Posts: 150
  • To mod, or not to mod...
    • View Profile
Re: MG Campaign
« Reply #1 on: 19 December 2012, 18:10:10 »
Part 1:
Pretty fun but too slow, should probably customize unit speed to keep the game play fun

Part 2:
I died looking for the second ally... and I haven't tried again

Part 3:
Didn't load correctly (I think it was "james" in the tech faction) and spit out an error and returned to the main menu

ElimiNator

  • Airship
  • ********
  • Posts: 3,391
  • The MegaGlest Moder.
    • View Profile
Re: MG Campaign
« Reply #2 on: 19 December 2012, 18:54:23 »
Part 2:
I died looking for the second ally... and I haven't tried again
If you follow the instructions given you can mostly avoid dying, but you still need to use caution.

Part 3:
Didn't load correctly (I think it was "james" in the tech faction) and spit out an error and returned to the main menu
Strange, works fine for me, are you using the newest version of MG?
Can you post exact error?
Get the Vbros': Packs 1, 2, 3, 4, and 5!

MightyMic

  • Technician
  • ****
  • Posts: 150
  • To mod, or not to mod...
    • View Profile
Re: MG Campaign
« Reply #3 on: 19 December 2012, 21:37:06 »
I tried it again and it gave me a different loading error...
Then I tried again and it worked...

Sorry, I didn't record the error that it gave, but it works

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: MG Campaign
« Reply #4 on: 19 December 2012, 22:31:35 »
Wohoo, updated campaigns! :)
That's great.

I just tried "Campaign 1: Lord of the Land", and (still beaing a worker) went straight towards the enemy bottom right of the village. First I fetched the 2 guys there and returned to the village to have the guards slain them, then fetched the third one a little further below and returned again. Then this error message (taken form my terminal) showed up on screen:

Code: [Select]
megaglest v3.7.1
Compiled using: GNUC: 40403 [64bit] on: Nov 23 2012 00:00:58 platform: Linux-X64 endianness: little
SVN: [Rev: 3948] - using STREFLOP [SSE] - [no-denormals]
[2012-12-19 23:20:15] *ERROR* In [/home/softcoder/Code/megaglest/trunk/source/glest_game/types/skill_type.cpp::load Line 416] WARNING CANNOT LOAD MODEL [/home/tomreyn/.megaglest/scenarios/campaign_1:_lord_of_the_land/megapack_/factions/tech/units/swordman_/models/guard_attacking.g3d] for parentLoader [/home/tomreyn/.megaglest/scenarios/campaign_1:_lord_of_the_land/megapack_/factions/tech/units/swordman_/swordman_.xml]
[2012-12-19 23:21:17] *ERROR* In [game.cpp::update Line: 1790] Error [Lua error: Can not get int from Lua state

Lua Stack:
-1: Unknown

Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0xb18eae] line: 237
./megaglest:Shared::Lua::LuaArguments::throwLuaError(std::string const&) constaddress [0xac3724] line: 1079
./megaglest:Shared::Lua::LuaArguments::getInt(int) constaddress [0xac3ae4] line: 647
./megaglest:Glest::Game::ScriptManager::unregisterCellTriggerEvent(lua_State*)address [0x68a7dd] line: 2113
./megaglest() [0xce4219]address [0xce4219]
./megaglest() [0xced929]address [0xced929]
./megaglest() [0xce46dd]address [0xce46dd]
./megaglest() [0xce3db7]address [0xce3db7]
./megaglest() [0xce3e32]address [0xce3e32]
./megaglest:lua_pcall()address [0xce14ff] line: 0
./megaglest:Shared::Lua::LuaScript::endCall()address [0xac1b4e] line: 585
./megaglest:Glest::Game::ScriptManager::onUnitDied(Glest::Game::Unit const*)address [0x6842f4] line: 545
./megaglest:Glest::Game::UnitUpdater::damage(Glest::Game::Unit*, Glest::Game::AttackSkillType const*, Glest::Game::Unit*, float)address [0xa36787] line: 1971
./megaglest:Glest::Game::UnitUpdater::hit(Glest::Game::Unit*, Glest::Game::AttackSkillType const*, Shared::Graphics::Vec2<int> const&, Glest::Game::Field)address [0xa377bd] line: 1924
./megaglest:Glest::Game::UnitUpdater::startAttackParticleSystem(Glest::Game::Unit*)address [0xa41813] line: 2014
./megaglest:Glest::Game::UnitUpdater::updateUnit(Glest::Game::Unit*)address [0xa43841] line: 139
./megaglest:Glest::Game::World::updateAllFactionUnits()address [0xa1c2d6] line: 471
./megaglest:Glest::Game::World::update()address [0xa2a36d] line: 569
./megaglest:Glest::Game::Game::update()address [0x642d1c] line: 1544
./megaglest:Glest::Game::Program::loopWorker()address [0x776493] line: 434
./megaglest:Glest::Game::glestMain(int, char**)address [0x768ff6] line: 4793
./megaglest:Glest::Game::glestMainWrapper(int, char**)address [0x76c703] line: 4973
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7fb21446a76d] line: 0
./megaglest() [0x5db3e9]address [0x5db3e9]
]

Indeed /home/tomreyn/.megaglest/scenarios/campaign_1:_lord_of_the_land/megapack_/factions/tech/units/swordman_/models/guard_attacking.g3d does not exist. This directory only contains these files:
swordman_attacking.g3d  swordman_charging.g3d   swordman_dying.g3d      swordman_standing.g3d   swordman_walking.g3d    texture_swordman.tga
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 · · ·

ElimiNator

  • Airship
  • ********
  • Posts: 3,391
  • The MegaGlest Moder.
    • View Profile
Re: MG Campaign
« Reply #5 on: 21 December 2012, 03:07:59 »
Funny bug you caught, it has actually nothing to do with the scenario code.

Its an xml glitch, will be fixed in next version.

Please keep testing!
Get the Vbros': Packs 1, 2, 3, 4, and 5!

andy_5995

  • Moderator
  • Ornithopter
  • ********
  • Posts: 472
  • Debian Linux user
    • View Profile
    • Andy Alt's home page
Re: MG Campaign
« Reply #6 on: 11 June 2016, 01:03:53 »
Hmmm.. first time I heard of this campaign.

I see Lord of the Land is in the MG mod center, but not the other 2. I downloaded them, but haven't played them yet.

I started campaign 2, and got this error
Quote
*ERROR* [2016-06-10 19:56:53] In [/home/andy/src/megaglest-3.12.0/source/glest_game/types/skill_type.cpp::load Line 485] WARNING CANNOT LOAD MODEL [/home/andy/.megaglest/scenarios/campaign_2:_search_for_allies/megapack_/factions/tech/units/swordman_/models/guard_attacking.g3d] for parentLoader [/home/andy/.megaglest/scenarios/campaign_2:_search_for_allies/megapack_/factions/tech/units/swordman_/swordman_.xml]

But it continued without crashing.

campaign 1 (Lord of the Land) and 3 gave me similar errors.


victorj

  • Guest
Re: MG Campaign
« Reply #7 on: 14 November 2016, 17:09:25 »
I think should have more campaign straight in MG, actually is very unorganized scenarios in game menu... thanks a lot for this job!

ElimiNator

  • Airship
  • ********
  • Posts: 3,391
  • The MegaGlest Moder.
    • View Profile
Re: MG Campaign
« Reply #8 on: 8 December 2019, 23:34:17 »
Fixed broken images and links in original post.
Get the Vbros': Packs 1, 2, 3, 4, and 5!

 

anything