new campaign: Green Isle
Moderator: Forum Moderators
new campaign: Green Isle
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.
[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.
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.
secong try
copied most from working add ons
still wont show
what am doing wrong now
still wont show
what am doing wrong now
- Attachments
-
- Green_Isle.cfg
- (1.08 KiB) Downloaded 361 times
Re: secong try
You're saving your WML in some odd format (.rtf or something), and your file contents actually look like this:gabe wrote:what am doing wrong now
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]\
\
Also, icon=green-mage.png(1,magenta) is wrong, and won't work.
weird stuff in file
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?
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?
-
- Posts: 245
- Joined: November 28th, 2006, 12:42 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?
the campaign
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?
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?
-
- Posts: 245
- Joined: November 28th, 2006, 12:42 am
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?
new editor
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?
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 351 times
-
- Posts: 245
- Joined: November 28th, 2006, 12:42 am
questions
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
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
scenarios begin
this cfg used to work
now it dont
why?
ps can admin change the thread name to "Green Isle"
now it dont
why?
ps can admin change the thread name to "Green Isle"
- Attachments
-
- Intro.cfg
- (3.68 KiB) Downloaded 300 times
story for campaign as of now
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
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
campaign
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
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