New Campaign:Undead Incursion for 1.6 and 1.8
Moderator: Forum Moderators
- 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
For what I know, there are three ways to fix this: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.
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)
The Sojournings of Grog, Children of Dragons, A Rough Life, Wesnoth Lua Pack, The White Troll (co-author)
Re: New Campaign:Undead Incursion for 1.6 and 1.8
Luckily for me, the second unit is irrelevant. So its ok.
- 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
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.Kapoue_II wrote:Luckily for me, the second unit is irrelevant. So its ok.
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)
The Sojournings of Grog, Children of Dragons, A Rough Life, Wesnoth Lua Pack, The White Troll (co-author)
Re: New Campaign:Undead Incursion for 1.6 and 1.8
Thanks. I have put that in. I will upload a modified campaign to the server, either today or tomorow.
Re: New Campaign:Undead Incursion for 1.6 and 1.8
Ok.New update includes another way out of survival 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.
Spoiler:
Final scenario coming soon...... but I need to work on "A gryphons tale" as its been a bit neglected.
Re: New Campaign:Undead Incursion for 1.6 and 1.8
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
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
Re: New Campaign:Undead Incursion for 1.6 and 1.8
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.
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."
Re: New Campaign:Undead Incursion for 1.6 and 1.8
Oooops.... fixed it.
Re: New Campaign:Undead Incursion for 1.6 and 1.8
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
Jyri
Re: New Campaign:Undead Incursion for 1.6 and 1.8
Ah sorry- prototype unit................ caused a glitch. All sorted now.....
Re: New Campaign:Undead Incursion for 1.6 and 1.8
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.
?
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.
?
Re: New Campaign:Undead Incursion for 1.6 and 1.8
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 ;)
Reason: Don't forget to put WML inside [code] tags, it makes the code easier to read ;)