Fossil: The Great Journey (6 SCENARIOS ONLINE)

Discussion and development of scenarios and campaigns for the game.

Moderator: Forum Moderators

Locked
User avatar
Captain_Wrathbow
Posts: 1664
Joined: June 30th, 2009, 2:03 pm
Location: Guardia

Re: Fossil (New Saurian Campaign I'll actually try to finish)

Post by Captain_Wrathbow »

Putting in the map is simple. Dots and sword-crosses are not.

The map is simply an image stuck on there as the background of that story part. Do that with an image key in the story tags. (if you don't understand what I mean, just look at how another campaign does it.)

The dots... are quite a bit trickier. The code will look like this:

Code: Select all

    {OLD_BATTLE 112 718}
    {OLD_JOURNEY 116 692}
    {OLD_JOURNEY 120 670}
    {OLD_JOURNEY 124 648}
    {OLD_JOURNEY 128 626}
    {OLD_BATTLE 132 600}
    {NEW_JOURNEY 117 584}
    {NEW_JOURNEY 105 572}
    {NEW_BATTLE 90 556}
It's normally placed in a file in data/campaigns/name/utils as a macro so that all the story-dot segments are in one place and easy to tweak.
As you can see, each line is a macro telling what type of icon is to be used (journey dots and battle cross-swords) and whether it is old or new. (grayed out or fresh) Also you'll need to designate the coordinates of where that icon should appear on your background image. (usually a map...)
I think there was/is a program for making dot-and-cross segments of code more easily... called Trackplacer or Trackmaker or something like that. But I have never tried it out. You might want to have a look at that, if you can find it.
User avatar
Hulavuta
Posts: 1668
Joined: October 11th, 2008, 8:17 pm
Location: United States

Re: Fossil (New Saurian Campaign I'll actually try to finish)

Post by Hulavuta »

Ehh...........I guess I'll just leave that out...
F:tGJ, Saurian Campaign
The Southern Chains, a fanfic
“The difference between winners and champions is that champions are more consistent."
~Sierra
User avatar
Captain_Wrathbow
Posts: 1664
Joined: June 30th, 2009, 2:03 pm
Location: Guardia

Re: Fossil (New Saurian Campaign I'll actually try to finish)

Post by Captain_Wrathbow »

Sorry if I discouraged you. :(
User avatar
Hulavuta
Posts: 1668
Joined: October 11th, 2008, 8:17 pm
Location: United States

Re: Fossil (New Saurian Campaign I'll actually try to finish)

Post by Hulavuta »

Nah, I knew it was complicated, wasn't really planning to do it anyway.

Anyway, first scenario is done, needs testing, but I have homework.
F:tGJ, Saurian Campaign
The Southern Chains, a fanfic
“The difference between winners and champions is that champions are more consistent."
~Sierra
User avatar
artisticdude
Moderator Emeritus
Posts: 2424
Joined: December 15th, 2009, 12:37 pm
Location: Somewhere in the middle of everything

Re: Fossil (New Saurian Campaign I'll actually try to finish)

Post by artisticdude »

I don't know about trackplacer, but the code for placing the 'dots' is relatively simple. Old journey is white dot, new journey is a red dot, old battle is white crossed swords, new battle is red crossed swords. The coordinates are the x y coordinates (in pixels) that the dots are placed on the map. If possible go ahead and do it, it gives the campaign more of a professional feel to it.
"I'm never wrong. One time I thought I was wrong, but I was mistaken."
User avatar
Captain_Wrathbow
Posts: 1664
Joined: June 30th, 2009, 2:03 pm
Location: Guardia

Re: Fossil (New Saurian Campaign I'll actually try to finish)

Post by Captain_Wrathbow »

Yeah the code itself isn't super complicated, but it can be a pain to get the x and y right were you want them... is there a better way to do it than guess-and-check? :hmm:
User avatar
Huston
Posts: 1070
Joined: April 29th, 2009, 8:26 pm
Location: Somewhere in this World(I Think)

Re: Fossil (New Saurian Campaign I'll actually try to finish)

Post by Huston »

yes camptain wraithbow. open the map in a program like paint, and use the pencil tool to plot out where you want the journey dots to be since it tells you the coordinates.
coded Rebellion During the Dark Age
Currently working on:
Era of the Future
User avatar
Hulavuta
Posts: 1668
Joined: October 11th, 2008, 8:17 pm
Location: United States

Re: Fossil (New Saurian Campaign I'll actually try to finish)

Post by Hulavuta »

Or, with that in mind, just open the map in paint and draw in arrow on the map XD

But, for some reason, the images for the intro don't show up.
F:tGJ, Saurian Campaign
The Southern Chains, a fanfic
“The difference between winners and champions is that champions are more consistent."
~Sierra
User avatar
Bialo224
Posts: 29
Joined: December 19th, 2009, 1:32 pm

Re: Fossil (New Saurian Campaign I'll actually try to finish)

Post by Bialo224 »

I would be very glad to play test your scenarios and give my opinion.
User avatar
Hulavuta
Posts: 1668
Joined: October 11th, 2008, 8:17 pm
Location: United States

Re: Fossil (New Saurian Campaign I'll actually try to finish)

Post by Hulavuta »

Okay, some crazy-ass thing went wrong with my computer, whenever I tried to start the campaign, it would give me an error report. When it didn't give me an error report, it just froze, and I have to restart the computer. Now it won't even open!
F:tGJ, Saurian Campaign
The Southern Chains, a fanfic
“The difference between winners and champions is that champions are more consistent."
~Sierra
User avatar
Huston
Posts: 1070
Joined: April 29th, 2009, 8:26 pm
Location: Somewhere in this World(I Think)

Re: Fossil (New Saurian Campaign I'll actually try to finish)

Post by Huston »

Hulavuta wrote:Or, with that in mind, just open the map in paint and draw in arrow on the map XD
no. this would effect other campaigns as well.
Hulavuta wrote:Okay, some crazy-ass thing went wrong with my computer, whenever I tried to start the campaign, it would give me an error report. When it didn't give me an error report, it just froze, and I have to restart the computer. Now it won't even open!
if you r running windows, what does your stderr.txt file say?
coded Rebellion During the Dark Age
Currently working on:
Era of the Future
User avatar
Hulavuta
Posts: 1668
Joined: October 11th, 2008, 8:17 pm
Location: United States

Re: Fossil (New Saurian Campaign I'll actually try to finish)

Post by Hulavuta »

Not if I make a copy of the map, and then put it in the new campaign.

Uh, here's what it says:
Battle for Wesnoth v1.7.11-1.8beta4
Started on Thu Feb 25 06:31:45 2010

Automatically found a possible data directory at C:/Program Files/Battle for Wesnoth 1.7
Unexpected characters at line start, value '' at <unknown>:1
F:tGJ, Saurian Campaign
The Southern Chains, a fanfic
“The difference between winners and champions is that champions are more consistent."
~Sierra
User avatar
artisticdude
Moderator Emeritus
Posts: 2424
Joined: December 15th, 2009, 12:37 pm
Location: Somewhere in the middle of everything

Re: Fossil (New Saurian Campaign I'll actually try to finish)

Post by artisticdude »

Hmm, that sounds complicated. Perhaps you could try uninstalling and then reinstalling wesnoth?
"I'm never wrong. One time I thought I was wrong, but I was mistaken."
User avatar
Hulavuta
Posts: 1668
Joined: October 11th, 2008, 8:17 pm
Location: United States

Re: Fossil (New Saurian Campaign I'll actually try to finish)

Post by Hulavuta »

Maybe, but would that keep my userdata folder? And the little ribbon things under the campaigns I completed?
F:tGJ, Saurian Campaign
The Southern Chains, a fanfic
“The difference between winners and champions is that champions are more consistent."
~Sierra
User avatar
Captain_Wrathbow
Posts: 1664
Joined: June 30th, 2009, 2:03 pm
Location: Guardia

Re: Fossil (New Saurian Campaign I'll actually try to finish)

Post by Captain_Wrathbow »

Back up your whole userdata folder to somewhere else, reinstall wesnoth, and replace the new, blank userdata folder with your old one, and you have everything: your addons, your ribbons, even your preferences, I think.
Locked