Glenfire Forest

Discussion and development of scenarios and campaigns for the game.

Moderator: Forum Moderators

User avatar
perseo
Posts: 324
Joined: January 8th, 2011, 4:09 am

Re: Glenfire Forest

Post by perseo »

The problem was that the background image was lucicriously heavy. 11,9 Mb is quite silly, take a look to the official images before doing things like that but more than 150 kb per image sounds too heavy for me. Putting it to the right size and converting it to .jpg (which, BTW, is the official image format) will fix the problem. Anyway I've solved it. Now it weights 98 kb.
Also be carefult with the copyright of the images you use.
See ya!
Also you have to modify you main file, you forgot to add " at the end of the icon tag, so no icon appears:

Code: Select all

    icon="units/elves-wood/hero-melee-2.png"
this is what you need.
And you have to put the campaign image in your campaign folder, otherwise it doesn't work.
Attachments
Defense_of_Glenfire_Forest.tar.gz
(103.24 KiB) Downloaded 100 times
"I was pulling a barrow, when I saw a stalking horse
what a beautiful day!- he said- for visiting a red herring
and getting hoarse."
Working on this campaign: The septentrional tower
Gambrous
Posts: 26
Joined: July 3rd, 2012, 8:22 pm

Re: Glenfire Forest

Post by Gambrous »

Thanks again perseo, but I may not use that image, it is one I just pulled of the web somewhere and didn't think about copyright. Much appreciated.

Gambrous
User avatar
perseo
Posts: 324
Joined: January 8th, 2011, 4:09 am

Re: Glenfire Forest

Post by perseo »

Don't worry, when we start doing this we always make the same mistakes :) Feel free to ask whatever you want, and anyway I want to play the second scenario.
Only one thing 'bout the storyline, you do a twist between third and first person and it sounds quite strange. Do you know what I mean?
See ya!
"I was pulling a barrow, when I saw a stalking horse
what a beautiful day!- he said- for visiting a red herring
and getting hoarse."
Working on this campaign: The septentrional tower
Gambrous
Posts: 26
Joined: July 3rd, 2012, 8:22 pm

Re: Glenfire Forest

Post by Gambrous »

yeh, it was meant to flow better than that. The third person was really just to set the scene, the first person is meant to be a long lost diary that Gambrous left behind.

The second scenario is complete and the third is almost ready to go but I'm having some issues with it, basically I don't get the code enough to do some things I'd like. I want to make Pelor the leader of another team (allied to Gambrous) in the third scenario (like when Gruu leads the trolls seperately in one of the scenarios in Son of the Blackeye), but my attempt was a total failure. If you could let me know how it could be done then that would be great. I shall send you where I'm at so far and see what you think to the second and third scenario.

Gambrous
Gambrous
Posts: 26
Joined: July 3rd, 2012, 8:22 pm

Re: Glenfire Forest

Post by Gambrous »

This is it so far
Attachments
Defense_of_Glenfire_Forest.7z
the campaign so far
(106.93 KiB) Downloaded 126 times
User avatar
perseo
Posts: 324
Joined: January 8th, 2011, 4:09 am

Re: Glenfire Forest

Post by perseo »

I'll try to play it tomorrow coz I don't have time tonight and I'll see what we can do with this coding issue you're talking 'bout.
See ya!
"I was pulling a barrow, when I saw a stalking horse
what a beautiful day!- he said- for visiting a red herring
and getting hoarse."
Working on this campaign: The septentrional tower
User avatar
perseo
Posts: 324
Joined: January 8th, 2011, 4:09 am

Re: Glenfire Forest

Post by perseo »

I've played scenario 2 which was pretty nice. The main problem you have in third scenario is that you don't conserve the advancement and xp points of pelor and this is not realistic. You have to do something like that:
add the variable canrecruit=yes to Pelor at the beginning of the scenario
store the unit
then kill the unit without the firing the event
and here is where I get lost.
If you don't mind please do a threat asking for help at WML workshop they'll explain it to you.
See ya!
"I was pulling a barrow, when I saw a stalking horse
what a beautiful day!- he said- for visiting a red herring
and getting hoarse."
Working on this campaign: The septentrional tower
User avatar
Espreon
Inactive Developer
Posts: 630
Joined: June 9th, 2007, 4:08 am

Re: Glenfire Forest

Post by Espreon »

Code: Select all

[textdomain]
    name="Defense_of_Glenfire_Forest"
    path=""	
[/textdomain]
should be:

Code: Select all

[textdomain]
    name="wesnoth-Defense_of_Glenfire_Forest"
    path="data/add-ons/Defense_of_Glenfire_Forest"	
[/textdomain]
All occurrences of “#textdomain wesnoth-DoGF” should be “#textdomain wesnoth-Defense_of_Glenfire_Forest”.

Code: Select all

    icon="units/elves-wood/hero-melee-2.png
    image= "images/units/elves-wood/hero.png
should be:

Code: Select all

    icon="units/elves-wood/hero-melee-2.png"
    image="images/units/elves-wood/hero.png"
Instead of things like this:

Code: Select all

[objective]
    description= _ "Turns Run Out"
    condition=lose
[/objective]
... just use “{TURNS_RUN_OUT}”.
User avatar
Crendgrim
Moderator Emeritus
Posts: 1328
Joined: October 15th, 2010, 10:39 am
Location: Germany

Re: Glenfire Forest

Post by Crendgrim »

Espreon wrote:

Code: Select all

    icon="units/elves-wood/hero-melee-2.png
    image= "images/units/elves-wood/hero.png
should be:

Code: Select all

    icon="units/elves-wood/hero-melee-2.png"
    image="images/units/elves-wood/hero.png"
Actually, this should be:

Code: Select all

    image="units/elves-wood/hero.png"
UMC Story Images — Story images for your campaign!
Gambrous
Posts: 26
Joined: July 3rd, 2012, 8:22 pm

Re: Glenfire Forest

Post by Gambrous »

thanks to perseo, epreon and crendgrim for your advice, I shall make the appropriate alterations to the campaign.

Gambrous
Gambrous
Posts: 26
Joined: July 3rd, 2012, 8:22 pm

Re: Glenfire Forest

Post by Gambrous »

Just an update, this is the latest version with 5 scenarios completed.

Gambrous
Attachments
Defense_of_Glenfire_Forest.7z
The campaign so far
(111.18 KiB) Downloaded 108 times
Post Reply