MegaGlest Forum

Modding and game content creation => Maps, tilesets and scenarios => Topic started by: ElimiNator on 19 December 2012, 03:41:30

Title: MG Campaign
Post by: ElimiNator on 19 December 2012, 03:41:30
(https://i.imgur.com/bh5ioS8.png)
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 (https://www.mediafire.com/file/ybphy4usoi6ki42/campaign_1__lord_of_the_land.7z/file)

Part 2: Search for Allies - v1.0
Download (https://www.mediafire.com/file/4iyun870nuizpj4/campaign_2__search_for_allies.7z/file)

Part 3: The King - v1.0
Download (https://www.mediafire.com/file/khyvn5zs08i7atr/campaign_3__the_king.7z/file)
Title: Re: MG Campaign
Post by: MightyMic 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
Title: Re: MG Campaign
Post by: ElimiNator 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?
Title: Re: MG Campaign
Post by: MightyMic 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
Title: Re: MG Campaign
Post by: tomreyn 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
Title: Re: MG Campaign
Post by: ElimiNator 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!
Title: Re: MG Campaign
Post by: andy_5995 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.

Title: Re: MG Campaign
Post by: victorj 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!
Title: Re: MG Campaign
Post by: ElimiNator on 8 December 2019, 23:34:17
Fixed broken images and links in original post.