Campaign: Invasion of Arendia

Discussion and development of scenarios and campaigns for the game.

Moderator: Forum Moderators

Post Reply
troodon
Posts: 218
Joined: July 22nd, 2006, 8:55 pm

Imperial Era

Post by troodon »

Any reason you can't just take all the units from the Imperial Era, put them in your campaign's unit file, and thusly ensure that no one will mess them up except you? It just seems sort of strange to require the imperial era to be there since then someone else can mess it up.
User avatar
Ranger M
Art Contributor
Posts: 1965
Joined: December 8th, 2005, 9:13 pm
Location: England

Re: Imperial Era

Post by Ranger M »

JW wrote:4) You must be using the L3 Outlaw pack in the IoA download. 8) Your Footpads only have 4-2, 4-2 and 28 hp! XD
Actually, you have all the Outlaws duplicated with their ids looking like this: "B-Footpad", but then they advance to their normal advancements: "advanceto=Outlaw" - which means they'll advance to their normal Default units. I wonder why you need the duplicate units at all then? The only unit that advances to a "B-" unit is the Henchman who advances to the B-Thug and the B-Footpad. (Who then advance to Default units.)
That was because When I did it I wasn't confident enough with WML to tie the new units in in any other way (and I don't think that the advances from tag existed back then) I could tie them in properly, which was on my todo list, and was part of the reason why the last realease wasn't going to be compatable with old saves, but I forgot to do it before that release.

What I am going to do is a staggered change, the old files will still be there, except they advance to the normal units (unless they are advancing to a unit from the L3 bandit pack), and eventually nobody will have any of the B-outlaws anymore, so I can just remove them.
troodon wrote:Any reason you can't just take all the units from the Imperial Era, put them in your campaign's unit file, and thusly ensure that no one will mess them up except you? It just seems sort of strange to require the imperial era to be there since then someone else can mess it up.
This is how it used to work, but having them, and any other imperial era factions that turn up (maurauders and frost elves being two planned ones) meant that the file size of the download was massive (the largest on the server, and it would only get larger as animations were added to the units). It also means that the units get updated alongside the ones in the imperial era, animations get added, stats changed, without me doing anything, so I don't have to update the campaign for these things to get included.

It also has the added bonus that the duplicated units don't turn up in the help file twice (I always hated it when that happens)
devadip
Posts: 11
Joined: January 27th, 2006, 8:16 am
Location: France

new version ?

Post by devadip »

Where is the 0.0.5c ?
Imac G5 1.9 GHz 1 Go Ram OS X.4.10 (The Tiger)
PB G4 1.5 GHz 1 Go Ram OS X.3.9 (Panther)
bloblo

Re: Imperial Era

Post by bloblo »

Ranger M wrote:
JW wrote:4) This is how it used to work, but having them, and any other imperial era factions that turn up (maurauders and frost elves being two planned ones) meant that the file size of the download was massive (the largest on the server, and it would only get larger as animations were added to the units). It also means that the units get updated alongside the ones in the imperial era, animations get added, stats changed, without me doing anything, so I don't have to update the campaign for these things to get included.

It also has the added bonus that the duplicated units don't turn up in the help file twice (I always hated it when that happens)
I have charged the Imperial Era and put 'Wild_Elf_Herald.cfg' on the 'units' folder and 'herald.png' on the 'images' folder... and now i can play 'Sneaking_Around'... I have checked the scenario config file and i see any mention about some wild elf... a strange bug....
User avatar
Ranger M
Art Contributor
Posts: 1965
Joined: December 8th, 2005, 9:13 pm
Location: England

Re: new version ?

Post by Ranger M »

devadip wrote:Where is the 0.0.5c ?
There won't be one, I'm putting in a few dialogue changes and making the through water and stone mission, and then releaseing 0.0.6, it should be out be tomorrow afternoon.

At least that was the plan, then the [advance_from] tag didn't work, and I have to fix that as well (which is why I'm releaseing tomorrow afternoon, not today).
User avatar
Ranger M
Art Contributor
Posts: 1965
Joined: December 8th, 2005, 9:13 pm
Location: England

Re: Imperial Era

Post by Ranger M »

bloblo wrote:I have charged the Imperial Era and put 'Wild_Elf_Herald.cfg' on the 'units' folder and 'herald.png' on the 'images' folder... and now i can play 'Sneaking_Around'... I have checked the scenario config file and i see any mention about some wild elf... a strange bug....
If you have the latest imperial era version then it should work without you doing this, and that means that another campaign is messing with the units. Could you list all of the MP eras and campaigns which you know of that include the Wild elves that you have in your current wesnoth version?
User avatar
turin
Lord of the East
Posts: 11662
Joined: January 11th, 2004, 7:17 pm
Location: Texas
Contact:

Post by turin »

BTW, I don't known if you're doing this, but the proper way to reference the Imperial Era in your campaign.cfg file is this:

Code: Select all

#ifdef CAMPAIGN_INVASION_OF_ARENDIA
#define IMPERIAL_ERA
#enddef
[binary_path]
path=data/campaigns/Invasion_of_Arendia/
[/binary_path]

{@campaigns/Imperial_Era.cfg}

[+units]
	{@campaigns/Invasion_of_Arendia/units/}
[/units]

{@campaigns/Invasion_of_Arendia/scenarios/utils/}
{@campaigns/Invasion_of_Arendia/scenarios}
#endif
It's possible you forgot to add the {@campaigns/Imperial_Era.cfg}, and that's why it isn't working...
For I am Turin Turambar - Master of Doom, by doom mastered. On permanent Wesbreak. Will not respond to private messages. Sorry!
And I hate stupid people.
The World of Orbivm
User avatar
Ranger M
Art Contributor
Posts: 1965
Joined: December 8th, 2005, 9:13 pm
Location: England

Post by Ranger M »

turin wrote:BTW, I don't known if you're doing this, but the proper way to reference the Imperial Era in your campaign.cfg file is this:

Code: Select all

#ifdef CAMPAIGN_INVASION_OF_ARENDIA
#define IMPERIAL_ERA
#enddef
[binary_path]
path=data/campaigns/Invasion_of_Arendia/
[/binary_path]

{@campaigns/Imperial_Era.cfg}

[+units]
	{@campaigns/Invasion_of_Arendia/units/}
[/units]

{@campaigns/Invasion_of_Arendia/scenarios/utils/}
{@campaigns/Invasion_of_Arendia/scenarios}
#endif
It's possible you forgot to add the {@campaigns/Imperial_Era.cfg}, and that's why it isn't working...
That could be it, although I don't quite understand why I need this:

Code: Select all

#define IMPERIAL_ERA
#enddef
anyway, I'll add it in.
User avatar
turin
Lord of the East
Posts: 11662
Joined: January 11th, 2004, 7:17 pm
Location: Texas
Contact:

Post by turin »

How were you doing it? It's possible you were using an alternate correct way... but the way I posted is what Fall of SIlvium uses, and I KNOW it is correct.
For I am Turin Turambar - Master of Doom, by doom mastered. On permanent Wesbreak. Will not respond to private messages. Sorry!
And I hate stupid people.
The World of Orbivm
User avatar
Ranger M
Art Contributor
Posts: 1965
Joined: December 8th, 2005, 9:13 pm
Location: England

Post by Ranger M »

The old Invasion_of_Arendia.cfg
User avatar
turin
Lord of the East
Posts: 11662
Joined: January 11th, 2004, 7:17 pm
Location: Texas
Contact:

Post by turin »

This should work better.

BTW, when I look at this code:

Code: Select all

[+units]
   {@campaigns/Invasion_of_Arendia/units/elemental_units}
   {@campaigns/Invasion_of_Arendia/units/hoard}
   {@campaigns/Invasion_of_Arendia/units/human}
   {@campaigns/Invasion_of_Arendia/units/nagas}
[/units]

{@campaigns/Invasion_of_Arendia/units}
{@campaigns/Invasion_of_Arendia/utils/deaths.cfg}
{@campaigns/Invasion_of_Arendia/utils/rangers.cfg}
{@campaigns/Invasion_of_Arendia/utils}
{@campaigns/Invasion_of_Arendia/scenarios}
It looks like you are including the same files multiple times... that will make the game go a lot slower...
Attachments
Invasion_of_Arendia.cfg
(2.17 KiB) Downloaded 170 times
For I am Turin Turambar - Master of Doom, by doom mastered. On permanent Wesbreak. Will not respond to private messages. Sorry!
And I hate stupid people.
The World of Orbivm
User avatar
Ranger M
Art Contributor
Posts: 1965
Joined: December 8th, 2005, 9:13 pm
Location: England

Post by Ranger M »

turin wrote:This should work better.

BTW, when I look at this code:

Code: Select all

[+units]
   {@campaigns/Invasion_of_Arendia/units/elemental_units}
   {@campaigns/Invasion_of_Arendia/units/hoard}
   {@campaigns/Invasion_of_Arendia/units/human}
   {@campaigns/Invasion_of_Arendia/units/nagas}
[/units]

{@campaigns/Invasion_of_Arendia/units}
{@campaigns/Invasion_of_Arendia/utils/deaths.cfg}
{@campaigns/Invasion_of_Arendia/utils/rangers.cfg}
{@campaigns/Invasion_of_Arendia/utils}
{@campaigns/Invasion_of_Arendia/scenarios}
It looks like you are including the same files multiple times... that will make the game go a lot slower...
your probably right, I'll remove them.
devadip
Posts: 11
Joined: January 27th, 2006, 8:16 am
Location: France

Post by devadip »

I would like to play Trashan now but I can not recruit any new unit !
I can recall my old units.
(IoA 0.0.5b, BfW 1.1.8 )
Thanks for this campain.
Imac G5 1.9 GHz 1 Go Ram OS X.4.10 (The Tiger)
PB G4 1.5 GHz 1 Go Ram OS X.3.9 (Panther)
User avatar
Ranger M
Art Contributor
Posts: 1965
Joined: December 8th, 2005, 9:13 pm
Location: England

Post by Ranger M »

devadip wrote:I would like to play Trashan now but I can not recruit any new unit !
I can recall my old units.
(IoA 0.0.5b, BfW 1.1.8 )
Thanks for this campain.
to fix this go into the scenario file and change the old Wild elf warrior spirit id (I have forgotten what it used to be, but if you do a search for warrior spirit it should turn up, it will not be in the recruit list in Reth's [side] tag) to "Sidhe Warrior Spirit", and that should fix it.

I would like to release the version that I have on my Laptop which would have this fixed, and a bunch of other changes, however I'm still having troubles with the [advance_from] tag, which means that you would no longer be able to get the L3 outlaws. There is also a possibility that it will break the recruit lists (although not your current units) which I need to check out, and if it does make a fix for it so that you don't all have to start the campaign again (it shouldn't be too hard, I think).
User avatar
JW
Posts: 5047
Joined: November 10th, 2005, 7:06 am
Location: Chicago-ish, Illinois

Post by JW »

One simple thing you could do is just update the B-unit stats to their new ones and have them upgrade to other B-units. You'll also have to make sure the recruit lists include the B-units.

You can also do this for the IE units you're duplicating, which would make it a stand-alone download, but I'm not sure how many units you use from there and if you want to increase the dl that much.

Just some thoughts. I had to alter all the Undead in the EOM this way, so I know how it works.
Post Reply