Campaign/Scenario problems.
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
-
- Posts: 266
- Joined: October 21st, 2005, 4:24 pm
- Location: In a galaxy, far, far away........
Campaign/Scenario problems.
I have created a campaign and put it in the Campaign folder.
I have then created the scenario for it and placed it in the scenario folder.
The scenario "could not be found". I tried placing the scenario:
Help?
(Shall I post the cfg files here?)
I have then created the scenario for it and placed it in the scenario folder.
The scenario "could not be found". I tried placing the scenario:
- In a sepcific folder in the scenario folder.
In the campaign folder.
Help?
(Shall I post the cfg files here?)
No, post everything including folders.
If you download a campaign and modify each piece line-by-line your chances of success should go up.
If you download a campaign and modify each piece line-by-line your chances of success should go up.
Hope springs eternal.
Wesnoth acronym guide.
Wesnoth acronym guide.
tgzip it. (tar -czvvf file.tar.gz FOLDER).
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
And I hate stupid people.
The World of Orbivm
-
- Posts: 161
- Joined: September 6th, 2005, 10:41 pm
- Location: Australia
The campaign folder and the campaign .cfg file. Anything in .wesnoth/data/campaigns (or userdata/data/campaigns/ or ~/Library/Preferences/Wesnoth/data/campaigns ... whichever applies to you) that pertains to your campaign.
You could post the contents of the .cfg file, but it would be hard to tell what's supposed to happen without knowing the directory structure of the campaign folder.
You could post the contents of the .cfg file, but it would be hard to tell what's supposed to happen without knowing the directory structure of the campaign folder.
Hope springs eternal.
Wesnoth acronym guide.
Wesnoth acronym guide.
-
- Posts: 266
- Joined: October 21st, 2005, 4:24 pm
- Location: In a galaxy, far, far away........
Here goes....
Grr... the campaign folder isn't tzipping!
Right, sorted it!
BTW, these are both folders in the /data folder. The Campaign is "Test Campaign" and the scenario is "Tester".
Grr... the campaign folder isn't tzipping!
Right, sorted it!
BTW, these are both folders in the /data folder. The Campaign is "Test Campaign" and the scenario is "Tester".
- Attachments
-
- wesnoth.tar.gz
- The scenario folder.
- (2 KiB) Downloaded 104 times
-
- camp.tar.gz
- The campaign folder.
- (2 KiB) Downloaded 103 times
If white was black and black was white, what would happen to zebra crossings?
Ok, first of all, you're using the game data folder and not the user data folder. You must use the user data folder, which varies based on operating system.
Assuming you have located the user's data folder, you should place your files in certain locations.
I recommend you do it like this:
./data/campaigns <- the user data folder
./data/campaigns/test_campaign.cfg
./data/campaigns/test_campaign/ <- a folder
./data/campaigns/test_campaign/scenarios/ <- drop your scenarios here
./data/campaigns/test_campaign/maps/ <- drop your maps here
The scenario file looks alright, except using the above scheme the map data line looks like this:
map_data="{@campaigns/test_campaign/maps/scenario1}"
The campaign configuration file, when using the above scheme, needs some lines telling the game where to find the scenario configuration files. The lines look like this:
#ifdef CAMPAIGN_TEST <- which is defined with the define= key in [campaign]
{@campaigns/Liberty/scenarios}
#endif
You should download a campaign from the campaign server and modify it. That way all of the structure is already done for you.
Assuming you have located the user's data folder, you should place your files in certain locations.
I recommend you do it like this:
./data/campaigns <- the user data folder
./data/campaigns/test_campaign.cfg
./data/campaigns/test_campaign/ <- a folder
./data/campaigns/test_campaign/scenarios/ <- drop your scenarios here
./data/campaigns/test_campaign/maps/ <- drop your maps here
The scenario file looks alright, except using the above scheme the map data line looks like this:
map_data="{@campaigns/test_campaign/maps/scenario1}"
The campaign configuration file, when using the above scheme, needs some lines telling the game where to find the scenario configuration files. The lines look like this:
#ifdef CAMPAIGN_TEST <- which is defined with the define= key in [campaign]
{@campaigns/Liberty/scenarios}
#endif
You should download a campaign from the campaign server and modify it. That way all of the structure is already done for you.
Hope springs eternal.
Wesnoth acronym guide.
Wesnoth acronym guide.
/home/(username)/.wesnoth/data/campaigns/
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
And I hate stupid people.
The World of Orbivm
-
- Posts: 266
- Joined: October 21st, 2005, 4:24 pm
- Location: In a galaxy, far, far away........
scott wrote:Ok, first of all, you're using the game data folder and not the user data folder. You must use the user data folder, which varies based on operating system.
Assuming you have located the user's data folder, you should place your files in certain locations.
I recommend you do it like this:
./data/campaigns <- the user data folder
./data/campaigns/test_campaign.cfg
./data/campaigns/test_campaign/ <- a folder
./data/campaigns/test_campaign/scenarios/ <- drop your scenarios here
./data/campaigns/test_campaign/maps/ <- drop your maps here
The scenario file looks alright, except using the above scheme the map data line looks like this:
map_data="{@campaigns/test_campaign/maps/scenario1}"
The campaign configuration file, when using the above scheme, needs some lines telling the game where to find the scenario configuration files. The lines look like this:
#ifdef CAMPAIGN_TEST <- which is defined with the define= key in [campaign]
{@campaigns/Liberty/scenarios}
#endif
You should download a campaign from the campaign server and modify it. That way all of the structure is already done for you.
The #ifdef thing I don't fully understand....
I copied down those lines, but do I need to put CAMPAIGN_TEST somewhere as well?
If white was black and black was white, what would happen to zebra crossings?