New Campaign:Undead Incursion for 1.6 and 1.8

Discussion and development of scenarios and campaigns for the game.

Moderator: Forum Moderators

User avatar
Elvish_Hunter
Posts: 1600
Joined: September 4th, 2009, 2:39 pm
Location: Lintanir Forest...

Re: New Campaign:Undead Incursion for 1.6 and 1.8

Post by Elvish_Hunter »

Kapoue_II wrote:Second- the events for sighting trolls/skeletons are done using the sighting event-which is famously buggy, and I cannot do anything about that. Notice that even in mainline campaigns, similar issues occur.
For what I know, there are three ways to fix this:
1) Love to Death: this campaign uses event=sighted,moveto and adds a [filter_vision] tag. Does not work when you need a second_unit.
2) TSoG: I use a sighted event, then a moveto+[filter_vision] event, then a [fire_event] in both. In some situations, I also use NEAREST_UNIT (custom macro) to find a second_unit.
3) 1.9: in 1.9.2, there is the ON_SIGHTING macro, that you can try to backport.
It's up to you to choose which one do you prefer :)
Current maintainer of these add-ons, all on 1.16:
The Sojournings of Grog, Children of Dragons, A Rough Life, Wesnoth Lua Pack, The White Troll (co-author)
User avatar
Kapoue_II
Posts: 203
Joined: October 11th, 2010, 9:41 am

Re: New Campaign:Undead Incursion for 1.6 and 1.8

Post by Kapoue_II »

Luckily for me, the second unit is irrelevant. So its ok.
User avatar
Elvish_Hunter
Posts: 1600
Joined: September 4th, 2009, 2:39 pm
Location: Lintanir Forest...

Re: New Campaign:Undead Incursion for 1.6 and 1.8

Post by Elvish_Hunter »

Kapoue_II wrote:Luckily for me, the second unit is irrelevant. So its ok.
Ok. So, I copied here an "integrated sighted" (as I call them) event from Love to Death, so you can see what can be done.

Code: Select all

    [event]
        name=sighted,moveto
        first_time_only=yes
        [filter]
            type=Walking Corpse
            [filter_vision]
                viewing_side=1
            [/filter_vision]
        [/filter]
        [message]
            speaker=Aleva
            message= _ "What is this horror? Poor creature, we shall free his soul."
        [/message]
    [/event]
Current maintainer of these add-ons, all on 1.16:
The Sojournings of Grog, Children of Dragons, A Rough Life, Wesnoth Lua Pack, The White Troll (co-author)
User avatar
Kapoue_II
Posts: 203
Joined: October 11th, 2010, 9:41 am

Re: New Campaign:Undead Incursion for 1.6 and 1.8

Post by Kapoue_II »

Thanks. I have put that in. I will upload a modified campaign to the server, either today or tomorow.
User avatar
Kapoue_II
Posts: 203
Joined: October 11th, 2010, 9:41 am

Re: New Campaign:Undead Incursion for 1.6 and 1.8

Post by Kapoue_II »

Ok.New update includes another way out of survival
Spoiler:
as well as a new unit type (complete with aninmations) I give you : the elvish black mage. I took the opportunity to expand the background of the whole elves-using-human-magic thing (admittedly it was semi-inspired by my desire to explain the identical graphics. But whatever.). The black mage represents the elf that went slightly mad with the power that was never meant for the elves to wield- the one who has it a bit like a drugs addiction, they just want more and more. It has a 4-8 melee attack (with swarm) a 8-4 cold (ranged) attack and a 7-3 arcane ranged attack that drains. It also has nightstalk. My playtesting has shown them to be excellent assasins, but not so good at fighting skeletons and ghosts-so i'm ok that its mildly OP.
Final scenario coming soon...... but I need to work on "A gryphons tale" as its been a bit neglected.
jyrierik
Posts: 65
Joined: May 23rd, 2004, 10:12 pm

Re: New Campaign:Undead Incursion for 1.6 and 1.8

Post by jyrierik »

I'm having a strange problem with the campaign. I start the campaign with only Macryn at the mouth of a cave "replying" to no one. Despite being alone I see that Eorlyn dying is one of the ways to lose. When I get to the keep I'm told there's no one to recruit, and needless to say I get overwhelmed very quickly. At that point I decided to check out the campaign files and I see that I'm somehow starting the campaign in scenario 6a (Cave Path) instead of 1 (Orc hunting).
I have Wesnoth 1.8.5 and am using Mac OS 10.6.5. Any ideas why the campaign won't start at the start?

Jyri
Velensk
Multiplayer Contributor
Posts: 4005
Joined: January 24th, 2007, 12:56 am

Re: New Campaign:Undead Incursion for 1.6 and 1.8

Post by Velensk »

I decided to try your campaign again to see if you'd improved it any and I find that you released a version where the _main.cfg sends the player strait to the final scenario.

Your campaign is practically unplayable to people who don't know WML. You should fix it or remove it from the server until you have more time to work on it.
"There are two kinds of old men in the world. The kind who didn't go to war and who say that they should have lived fast died young and left a handsome corpse and the old men who did go to war and who say that there is no such thing as a handsome corpse."
User avatar
Kapoue_II
Posts: 203
Joined: October 11th, 2010, 9:41 am

Re: New Campaign:Undead Incursion for 1.6 and 1.8

Post by Kapoue_II »

Oooops.... fixed it.
jyrierik
Posts: 65
Joined: May 23rd, 2004, 10:12 pm

Re: New Campaign:Undead Incursion for 1.6 and 1.8

Post by jyrierik »

Tried it again and this time I get "Unknown scenario 'orc_slayer'" when I try to start it. When I opened up the file the Something still seems to be wrong

Jyri
User avatar
Kapoue_II
Posts: 203
Joined: October 11th, 2010, 9:41 am

Re: New Campaign:Undead Incursion for 1.6 and 1.8

Post by Kapoue_II »

Ah sorry- prototype unit................ caused a glitch. All sorted now.....
Luddite
Posts: 2
Joined: August 12th, 2011, 3:52 pm

Re: New Campaign:Undead Incursion for 1.6 and 1.8

Post by Luddite »

I've enjoyed the campaign so far, but the wheels have fallen off in the "Road to the Horde" scenario.

It was crashing with unknown unit, Troll Wizard, at the end of turn five, I updated, and now It's unknown Unit Type Elvish White Mage when I try to reload from a the turn five save file.

?
vicente
Posts: 33
Joined: November 21st, 2011, 9:40 pm
Location: Washington DC, USA

Re: New Campaign:Undead Incursion for 1.6 and 1.8

Post by vicente »

I have a problem with the scenario "05a mountain path" in 1.8.6. I choose to ally with the dwarves. When I killed the orc leader, an error occurs as: "game error: creating unit with empty type field". It is possible that something is wrong when Macryn is modified. Some codings do not seem right (such as hitpoints=$stored_macryn.experience). I attach the saved game for trouble-shooting.

Code: Select all

[store_unit]
    id=Macryn
    variable=stored_macryn
    kill=yes
   [/store_unit]
   [unit]
    id=Macryn
    name=Macryn
    experience=$stored_macryn.experience
    hitpoints=$stored_macryn.experience
    x=$stored_macryn.x
    y=$stored_macryn.y
    canrecruit=yes
    side=1
    [modifications]
     [resistances]
      blade=65
      pierce=65
      impact=65
     [/resistances]
    [/modifications]
   [/unit]
Attachments
My_enemies_enemy.....-Auto-Save15.gz
(40.44 KiB) Downloaded 237 times
Last edited by artisticdude on March 24th, 2012, 3:25 am, edited 1 time in total.
Reason: Don't forget to put WML inside [code] tags, it makes the code easier to read ;)
Post Reply