The Sojournings of Grog (3.6.1 is out)
Moderator: Forum Moderators
Re: The Sojournings of Grog (3.0 on its way)
Good idea.This is my idea: use the new WML preprocessor function #ifhave #ifnhave to add such tracks ONLY if UMC Music is installed, and do the same in _main.cfg to avoid what happens in Love to Death, where if UMC Music is missing the campaign won't load. I'm not sure if it's possible, but I'll try and let you know what happens.
Howabout on easy we make the young gryphon move better in caves as it is smaller so could fit down tunnels easily?It was 2 in 1.0.2, I learned from A Gryphon's Tale thread. From 1.2 onwards, it was always 3
Nothing? OR just hiding around the signpost (scenario only camouflage ability)This is why I proposed Scorpions: Cactoses in A0 looked wrong to me, and Scorpions aren't much of a challenge for the Elves.
NB: Could we make your units for the intro to A2-1 be hidden while the dwarves talk?
SMALL!!!!!!!prefer to have a SMALL hint, so the player will be able to choose the hard way to get a possible reward

That is a peculiarity for the edge of the map which only happens if you ORDER the unit to the edge of the map and I dont thinkt that it should be a problem.It can be a problem, and I explain why. When you accidentally wrote a coordinate where Grog had to move, that was the border of the map, in the next scenario Grog was reverted to level 2, clear sign that moving him in the border killed him. Only solutions that I can think right now are using the [move_unit] tag, and moving them only halfway. There will still be the chance that the Trolls can end their move in a cave wall, depending on how much they are.
Good, and I like it. I like the shaman though I think he needs to take the top part of his shirt off. I can have a go if you want.I already lowered XP increasing, that now is 10/15/20% depending on the advancement. About the HP increase... time for me to go back at the debug console and calculator.
"Genius is 10% inspiration and 90% perspiration" (Thomas Edison) Which is why I smell so bad!
- Elvish_Hunter
- Posts: 1600
- Joined: September 4th, 2009, 2:39 pm
- Location: Lintanir Forest...
Re: The Sojournings of Grog (3.0 on its way)
Only one word: RIPLIB.Eros wrote:Howabout on easy we make the young gryphon move better in caves as it is smaller so could fit down tunnels easily?
Of course yes. I haven't tested yet the code that you placed in comments...Eros wrote:NB: Could we make your units for the intro to A2-1 be hidden while the dwarves talk?

..."there might be someone here..."Eros wrote:"We should avoid the dwarves in the north if we don't want a fight but there might..."

It's not a shirt, it's a necklace. And yes, I really appreciate your help offerEros wrote:I think he needs to take the top part of his shirt off. I can have a go if you want.

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: The Sojournings of Grog (3.0 on its way)
It doesnt workI haven't tested yet the code that you placed in comments...

Dont say "someone there" it is to blatent and reveals the nature of the bonus say something useful or "we might be able to glean some useful information from the prisoners"
I will have a go on the white troll. Could you post the origonals as well ASAP?

"Genius is 10% inspiration and 90% perspiration" (Thomas Edison) Which is why I smell so bad!
- Elvish_Hunter
- Posts: 1600
- Joined: September 4th, 2009, 2:39 pm
- Location: Lintanir Forest...
Re: The Sojournings of Grog (3.0 on its way)
The originals are in the campaign folderEros wrote:I will have a go on the white troll. Could you post the origonals as well ASAP?

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: The Sojournings of Grog (3.0 on its way)
Thanks 

"Genius is 10% inspiration and 90% perspiration" (Thomas Edison) Which is why I smell so bad!
-
- Inactive Developer
- Posts: 2461
- Joined: August 15th, 2008, 8:46 pm
- Location: Germany
Re: The Sojournings of Grog (3.0 on its way)
great ideaElvish_Hunter wrote:This is my idea: use the new WML preprocessor function #ifhave #ifnhave to add such tracks ONLY if UMC Music is installed, and do the same in _main.cfg to avoid what happens in Love to Death, where if UMC Music is missing the campaign won't load. I'm not sure if it's possible, but I'll try and let you know what happens.Eros wrote:Adding the music will be fine event hough it breaches our mainline policy (A bit extra music in BfW would be brilliant)
This is however maybe the only case where a missing ressource is not fatal.
Should not happen. Be sure to pass valid coordinates (passable for the particular units) as the first-choice target position. (And to report if you find corner case bugs...)Only solutions that I can think right now are using the [move_unit] tag, and moving them only halfway. There will still be the chance that the Trolls can end their move in a cave wall, depending on how much they are.
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
- Elvish_Hunter
- Posts: 1600
- Joined: September 4th, 2009, 2:39 pm
- Location: Lintanir Forest...
Re: The Sojournings of Grog (3.0 on its way)
Not exactly, because UMC Music needs to be loaded in _main.cfg, otherwise doesn't work. It's this the reason why Love to Death doesn't load at all if UMC Music is missing - and this some time ago made me believe that a single image missing could cause a fatal error on 1.9.Anonymissimus wrote:great ideaElvish_Hunter wrote:This is my idea: use the new WML preprocessor function #ifhave #ifnhave to add such tracks ONLY if UMC Music is installed, and do the same in _main.cfg to avoid what happens in Love to Death, where if UMC Music is missing the campaign won't load. I'm not sure if it's possible, but I'll try and let you know what happens.
This is however maybe the only case where a missing ressource is not fatal.
Anyway, I bring news: I just finished testing, and my idea works!


I implemented it this way in _main.cfg (pointing #ifhave to UMC Music _main.cfg because I'm not sure if it works pointing to a directory):
Spoiler:
Code: Select all
{INTRO_AND_SCENARIO_MUSIC "doug_kaufman-music_score.ogg" "elvish-theme.ogg"}
{EXTRA_SCENARIO_MUSIC "calm-before-storm.ogg"} # one track just for testing
{EXTRA_SCENARIO_MUSIC "wanderer.ogg"}
# a special story part...
#ifnhave ~add-ons/UMC_Music/_main.cfg
[part]
story= _ "It is recommended to install the UMC Music Pack add-on, because it contains some tracks that are used in some scenarios."
[/part]
#endif
Code: Select all
#ifhave ~add-ons/UMC_Music/_main.cfg
[lua]
code=<<wesnoth.message("New track added")>>
[/lua]
{EXTRA_SCENARIO_MUSIC "calm-before-storm.ogg"}
#endif
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)
-
- Inactive Developer
- Posts: 2461
- Joined: August 15th, 2008, 8:46 pm
- Location: Germany
Re: The Sojournings of Grog (3.0 on its way)
That line
{~add-ons/The_Sojournings_of_Grog/music/}
does nothing. Music is loaded with [binary_path].
And put the
[binary_path]
path=data/add-ons/UMC_Music/
[/binary_path]
into the campaign #ifdef.
EDIT
Really, your normal [binary_path] needs to be in the campaign #ifdef too. Yon can reference custom binary files (images) in the difficulty menu etc despite that. (look in ASC)
{~add-ons/The_Sojournings_of_Grog/music/}
does nothing. Music is loaded with [binary_path].
And put the
[binary_path]
path=data/add-ons/UMC_Music/
[/binary_path]
into the campaign #ifdef.
EDIT
Really, your normal [binary_path] needs to be in the campaign #ifdef too. Yon can reference custom binary files (images) in the difficulty menu etc despite that. (look in ASC)
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
- Elvish_Hunter
- Posts: 1600
- Joined: September 4th, 2009, 2:39 pm
- Location: Lintanir Forest...
Re: The Sojournings of Grog (3.0 on its way)
Fixed, thanks. Now it works correctly, except for one thing: the track wrapped inside the #ifhave apparently must be the last in the playlist, otherwise the tracks after this one are played only on the second playlist loop, not on the first one. I haven't yet tried by having two different playlists, with a structure like #ifhave #else #endif, or with #ifhave #endif #ifnhave #endif, but of course I'll do.
EDIT: Never mind, after more testing it was just the RNG that played the tracks exactly in the same sequence for four or five times, that tricked me. So, no problem. And I also found that using #ifhave #else #endif I can define two completely different playlists, one if the player has UMC Music installed and one if not.
EDIT: Never mind, after more testing it was just the RNG that played the tracks exactly in the same sequence for four or five times, that tricked me. So, no problem. And I also found that using #ifhave #else #endif I can define two completely different playlists, one if the player has UMC Music installed and one if not.

Last edited by Elvish_Hunter on November 19th, 2010, 6:11 pm, edited 2 times in total.
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)
-
- Inactive Developer
- Posts: 2461
- Joined: August 15th, 2008, 8:46 pm
- Location: Germany
Re: The Sojournings of Grog (3.0 on its way)
"the tracks after this one are played only on the second playlist loop, not on the first one"
????? (Actually, I don't understand the whole post.)
Aren't scenarios supposed to have a single playlist ? And the tracks are chosen randomly from the list afaik.
????? (Actually, I don't understand the whole post.)
Aren't scenarios supposed to have a single playlist ? And the tracks are chosen randomly from the list afaik.
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
- Elvish_Hunter
- Posts: 1600
- Joined: September 4th, 2009, 2:39 pm
- Location: Lintanir Forest...
Re: The Sojournings of Grog (3.0 on its way)
This was mainline AMLA_DEFAULT. Having the need to mark it as fullheal (this option was available from 1.2.8 that, for what I remember, didn't fully healed upon AMLA, except for Necrophage), I copied its content in the above units' files.Eros wrote:White troll and mudcrawler changes look good but the option with the little heart that is equivalent to AMLA_DEFAULT should be labelled as Full Heal.
As well as continuing my Lua work, I also made two replacement icons for that little heart. Not being an artist, I used OpenOffice (Eros, just to know, do you have it?) to draw the heart, pasted it in Gimp, and removed all strange pixels. As a result, we have two icon, which one should I use?
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: The Sojournings of Grog (3.0 on its way)
Yes, I use OpenOffice.As well as continuing my Lua work, I also made two replacement icons for that little heart. Not being an artist, I used OpenOffice (Eros, just to know, do you have it?) to draw the heart, pasted it in Gimp, and removed all strange pixels. As a result, we have two icon, which one should I use?
Search the internet for 3D hearts to match the semi-3d icons for all the rest of the upgrades. (Or just have no icon at all.) Keep up the good work

"Genius is 10% inspiration and 90% perspiration" (Thomas Edison) Which is why I smell so bad!
- Elvish_Hunter
- Posts: 1600
- Joined: September 4th, 2009, 2:39 pm
- Location: Lintanir Forest...
Re: The Sojournings of Grog (3.0 on its way)
This made me remember of OpenClipArt.org. So, I went here and searched "heart". There are 9 pages of results, but I think that some good examples are these:Eros wrote:Search the internet for 3D hearts to match the semi-3d icons
http://www.openclipart.org/detail/75055
http://www.openclipart.org/detail/21138
http://www.openclipart.org/detail/29043
http://www.openclipart.org/detail/80623
http://www.openclipart.org/detail/91609
Which one do you prefer? They should render well once placed inside the border like all other icons, they're SVG after all. And there are no license problems:
www.openclipart.org wrote:The actual clipart content on open clipart library is Public domain
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: The Sojournings of Grog (3.0 on its way)
I like the third one darkened a little.
I have done as much work as I can on the white troll. I dont understand palettes so if by randomly changing colours revert to the origonals. The main changes are
(1) Lighten the borders slightly on all frames (to go with lightening the skin colour)
(2) Recolour the necklace to gold. (Thought the efect isnt awesome I personally think its a little better)
Other than that that is the end of my art!
Your orig ones are OK if I have messed up the palettes.
I have done as much work as I can on the white troll. I dont understand palettes so if by randomly changing colours revert to the origonals. The main changes are
(1) Lighten the borders slightly on all frames (to go with lightening the skin colour)
(2) Recolour the necklace to gold. (Thought the efect isnt awesome I personally think its a little better)
Other than that that is the end of my art!

Your orig ones are OK if I have messed up the palettes.
- Attachments
-
- shaman-ranged.png (1.6 KiB) Viewed 2487 times
-
- shaman-melee.png (1.57 KiB) Viewed 2487 times
-
- shaman-defend.png (1.72 KiB) Viewed 2487 times
-
- white-shaman.png (1.73 KiB) Viewed 2487 times
"Genius is 10% inspiration and 90% perspiration" (Thomas Edison) Which is why I smell so bad!
- Elvish_Hunter
- Posts: 1600
- Joined: September 4th, 2009, 2:39 pm
- Location: Lintanir Forest...
Re: The Sojournings of Grog (3.0 on its way)
Palettes are just the colours that I used, and I picked them from the White Whelp sprite.Eros wrote: I dont understand palettes
Thanks, I'll add them to the next release (Lua slowed me a bit this time), but I'll not remove for now the White Whelp sprite, in case that it may be useful. Maybe I can use it as L1 and our new sprite as L2?Eros wrote:Other than that that is the end of my art!
I also have some questions:
1) I almost cleaned the spellchecker output. Several things were solved with # wmllint: local spelling and # wmllint: no spellcheck, some other were spelling mistakes that I fixed, some other were British words that I had to fix because mainline uses American English (colour -> color, honour -> honor, recognise -> recognize, centre -> center, and go on...). There is one word that I cannot fix: in B6 intro, there is written "cewwed". How should I correct this? Is it a spelling mistake, or should I add it to the local spelling (ignore) comments?
2) I shortened the starting tunnel in A4, added the missing tunnel at 19,20 and added some more cave path hexes: better now? 3) If you want that the scenario spams Undeads also from the tunnel at 19,20, maybe it's better to remove the zombies spawned in water, to avoid making it too much difficult?
4) This one is for Anonymissimus: wmllint output is almost clean (except for the spelling mistake above), but adding the #ifhave #ifnhave directives, the following happens:
Spoiler:
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)