new campaign: Green Isle

Discussion and development of scenarios and campaigns for the game.

Moderators: Forum Moderators, Developers

Post Reply
gabe
Posts: 180
Joined: December 15th, 2006, 1:15 am
Location: an island in the pacific

new campaign: Green Isle

Post by gabe » December 24th, 2006, 7:52 am

i am creating a new campaign. have tried looking at code from several other add-ons and nothing will let it show up in the campaign menu. what am i doing wrong? here is the main campaign file contents. meant to do as attachment but wouldn't work.

[textdomain]
name=wesnoth-Half_Breed"
path="data/campaigns/Half_Breed/translations"
[/textdomain]
#textdomain wesnoth-Half_Breed
[campaign]


id=Half_Breed
icon=green-mage.png
name= _ "Half_Bredd"
define=CAMPAIGN_HALF
first_scenario="Intro"
difficulties=ONLY
difficluty_descriptions={MENU_IMG_TXT@ images/green-mage.png _ "Test"}
description= _ "Save the homeland from invaders."
[/campaign]
[about]
title= _ "Half_Breed"
text= ""
[/about]

#ifdef CAMPAIGN_HALF

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

[+images]
{@campaign/Half_Breed/images}
[images]

{@campaign/Half_Breed/units}

{@campaign/Half_Breed/images}

{@campaign/Half_Breed/}

{@campaigns/Half_Breed/scenarios/}

#endif

[binary_path]
path=data/campaigns/Half_Breed
[/binary/path]

any help would be appreciated.
Last edited by gabe on January 30th, 2007, 4:08 pm, edited 1 time in total.

User avatar
zookeeper
WML Wizard
Posts: 9740
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Post by zookeeper » December 24th, 2006, 2:22 pm

You're messing up and/or typoing about a dozen things. If you can't spot things like that, you can't make a campaign. So I suggest you go through what you've done so far (line by line, if needs be) and look at other campaigns and/or the WML reference to see how they're supposed to be done. It's not hard, you just need to be precise.

gabe
Posts: 180
Joined: December 15th, 2006, 1:15 am
Location: an island in the pacific

secong try

Post by gabe » December 28th, 2006, 2:51 am

copied most from working add ons
still wont show
what am doing wrong now
Attachments
Green_Isle.cfg
(1.08 KiB) Downloaded 292 times

User avatar
zookeeper
WML Wizard
Posts: 9740
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Re: secong try

Post by zookeeper » December 28th, 2006, 10:27 am

gabe wrote:what am doing wrong now
You're saving your WML in some odd format (.rtf or something), and your file contents actually look like this:

Code: Select all

{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf420
{\fonttbl\f0\fnil\fcharset77 Monaco;}
{\colortbl;\red255\green255\blue255;}
{\info
{\author gabe}}\margl1440\margr1440\vieww9200\viewh12760\viewkind0
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural

\f0\fs20 \cf0 [textdomain]\
	name="wesnoth-Green_Isle"\
	path="data/campaigns/Green_Isle/translations"\
[/textdomain]\
\
[campaign]\
	#textdomain wesnoth-gi\
	name= _ "Green_Isle"\
	first_scenario=Intro\
	define=CAMPAIGN_GREEN_ISLE\
	difficulties=NORMAL\
	difficulty_descriptions=\{MENU_IMG_TXT2 "images/green-mage.png" _ "Normal" _"(Test)"\}\
	description= _ "Save Green Isle from the invaders."	\
	icon=green-mage.png(1,magenta)\
[/campaign]\
\
So, make sure you save it as plain text (still with the .cfg extension, of course). I'm pretty sure you can do that while saving in whatever editor you're currently using.

Also, icon=green-mage.png(1,magenta) is wrong, and won't work.

gabe
Posts: 180
Joined: December 15th, 2006, 1:15 am
Location: an island in the pacific

weird stuff in file

Post by gabe » December 28th, 2006, 11:16 am

i have a mac
i have been using text edit
after creating the file i save and change the extension to .cfg
the mac says it is a .cfg
also it never shows that markup
when i accidentally opened a .cfg 1 time with my html editor
it showed me crazy markup
i figured it was due to being html editor
any suggestions on what to use to edit .cfg files?

wsultzbach
Posts: 245
Joined: November 28th, 2006, 12:42 am

Post by wsultzbach » December 28th, 2006, 11:25 am

I use Smultron, it works a lot better then TextEdit for me.
What's this annoying thing that appears at the bottom of every one of my posts?

gabe
Posts: 180
Joined: December 15th, 2006, 1:15 am
Location: an island in the pacific

the campaign

Post by gabe » December 28th, 2006, 11:33 am

been having isues
found was not all my mental handicaps
when that gets resolved(probally 2tmorrow) will reume work

anyway the basic idea for the campaign is this:
the wesnoth history starts on green isle
the orcs/bad folks come
they good guys go east
bad guys stay
end of green isle (except the wose campaign stuff)
my idea is sometime after that some humans and elves (independently)
go back to the green isle
they join forces
they remove the orcs/bad guys
then they have peace
years go by
they interbreed a little bit
time passes
then orcs and other bad guys return
possibly with some evil mage/lich leader
the green isle guys repel invaders
there leader will be a half breed
will have for units:
some modified elves
thug & poacher (to lvl 3)
a modified mage tree that will pretty much be same
but with the green mage tree from wose campaign and a lvl 4 silver
this will have all mages go to lvl 4
bad guys aren't fully decided but will have orc and evil mages at least

the actual time of the campaign is as my understanding goes not important
but any feedback on th actual idea would be appreciated

also for the leader i want to do the thing return of the legions ch 1 thing
with the leader getting options for power ups at lvl up + minor hp gain
a new option for big hp (10ish) is thought of
also i want him to start @ lvl 5 with lvl 1 stats for leadership reasons
especially valid since his lvl number wont change

comments or is this a bad idea?

wsultzbach
Posts: 245
Joined: November 28th, 2006, 12:42 am

Post by wsultzbach » December 28th, 2006, 4:38 pm

I like it, interesting idea to revisit the Green Isle. One thing though, I think that the leader should start at level 1 because that way the player has to work for higher level leadership. If you start with level 5 leadership it would be to easy. Level 1 units could get a 100% leadership bonus!
What's this annoying thing that appears at the bottom of every one of my posts?

gabe
Posts: 180
Joined: December 15th, 2006, 1:15 am
Location: an island in the pacific

new editor

Post by gabe » December 29th, 2006, 1:19 am

i got a new editor
doesn't seem to give me wierd markup
.cfg still wont work
the folder structure is the same as other working add on campaigns
the file looks proper compared to other campaign.cfg file
what am i still doing wrong?
Attachments
Green_Isle.cfg
(728 Bytes) Downloaded 277 times

wsultzbach
Posts: 245
Joined: November 28th, 2006, 12:42 am

Post by wsultzbach » December 31st, 2006, 7:20 am

I got it working, it appears your difficulties were wrong. You can only use EASY, NORMAL and HARD. Anyway, here it is, see if it works for you.
What's this annoying thing that appears at the bottom of every one of my posts?

joshudson
Posts: 501
Joined: January 17th, 2006, 8:04 pm
Contact:

Post by joshudson » January 1st, 2007, 5:20 am

Welcome to the club gabe.
CHKDSK has repaired bad sectors in CHKDSK.EXE

gabe
Posts: 180
Joined: December 15th, 2006, 1:15 am
Location: an island in the pacific

questions

Post by gabe » January 2nd, 2007, 11:40 am

was my problem due to the difficlties tag?
i want to know
looks that way from a quick check
maily because if that was the case i want to be able to modify slighty the cfg
2 create a psuedo template just to help others with a new topic for easy searching

thanks for the help cause the campaign now does show
more work on scenarios will be coming now

gabe
Posts: 180
Joined: December 15th, 2006, 1:15 am
Location: an island in the pacific

scenarios begin

Post by gabe » January 5th, 2007, 9:20 am

this cfg used to work
now it dont
why?


ps can admin change the thread name to "Green Isle"
Attachments
Intro.cfg
(3.68 KiB) Downloaded 241 times

gabe
Posts: 180
Joined: December 15th, 2006, 1:15 am
Location: an island in the pacific

story for campaign as of now

Post by gabe » January 5th, 2007, 9:30 am

the last post is abut scen #1
worked for a while now no more
but here is campaign story

story is
on green isle

orcs & lich + servant only
after wesnoth kings leave

island volcano
kills all

elves come years later

then humans

elves beat humans
then peace

half breeds cecome prevelent

then

want first to have higer lvl elf v human
elf win is victory

then

hald breeds
then many many years

then orcs/lich
they fight back
the story of

gabe
Posts: 180
Joined: December 15th, 2006, 1:15 am
Location: an island in the pacific

campaign

Post by gabe » January 23rd, 2007, 5:47 am

put the campaign on the server
has 2 working scenarios
the second one uses the same map for now
the icon doesn't show and the other data is messed up
this is my pbl file

author="gabe"
title="Green Isle"
icon="elves-wood/shyde.png"
version="0.25"
description="Revist the Green Isle. Not finished."
passphrase="***"

what is incorrect
do the fields need to be in the order as displayed on the server menu
also how do i use the passphrase to upload changes and new revisions

Post Reply