Question

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
alluton
Posts: 420
Joined: June 26th, 2010, 6:49 pm
Location: Finland

Question

Post by alluton »

1.first i hope this is right forum.(move it right one if it isnt)

2.where does belong file looking like this?

border_size=1
usage=map

Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg
Gg , Gg , Gs^Fp , Gg , Gs^Fp , Gg , Gs^Fp , Gg , Gs^Fp , Gg , Gg , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gg , Gs^Fp , Gg , Gs^Fp , Gg , Gg , Gs^Fp , Gg , Gs^Fp , Gg , Gg , Gg , Gg , Gs^Fp , Gg , Gg , Gg , Gg
Gg , Gg , Gg , Gs^Fp , Gg , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gg , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gg , Gs^Fp , Gg , Gs^Fp , Gg , Gg , Gg , Gg , Gg
Gg , Gg , Gg , Gs^Fp , Gs^Fp , Gg , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gg , Gg , Gg , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gg , Gg , Gs^Fp , Gs^Fp , Gg , Gg , Gg , Gg , Gg , Gg , Gs^Fp , Gs^Fp , Gg , Gg
Gg , Gg , Gg , Gg , Gs^Fp , Gg , Gs^Fp , Gs^Fp , Gs^Fp , Gg , Gg , Gg , Gg , Gg , Gg , Gs^Fp , Gs^Fp , Gs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, Gg , Gs^Fp , Gg , Gg , Gs^Fp , Gg , Gg , Gg , Gg , Gg , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gg , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gg , Gg , Gs^Fp , Gg , Gg , Gg , Gs^Fp , Gg , Gs^Fp , Gg , Gg
Gg , Gg , Gg , Gs^Fp , Gg , Gs^Fp , Gg , Gg , Gg , Gg^Ve , Gg , Gg , Gs^Fp , Gs^Fp , Gg , Gg , Gs^Fp , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gg , Gg
Gg , Gg , Gg , Gs^Fp , Gs^Fp , Gs^Fp , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gs^Fp , Gg , Gg , Gs^Fp , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gs^Fp , Gs^Fp , Gg , Gg , Gg , Gs^Fp , Gg , Gg
Gg , Gg , Gg , Gs^Fp , Gs^Fp , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gs^Fp , Gg , Gs^Fp , Gs^Fp , Gg , Gg , Gg , Gg , Gg^Ve , Gg , Gg , Gs^Fp , Gg , Gg , Gs^Fp , Gg , Gg , Gg , Gs^Fp , Gg , Gg
Gg , Gg , Gg , Gs^Fp , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gs^Fp , Gg , Gs^Fp , Gs^Fp , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gs^Fp , Gs^Fp , Gg , Gs^Fp , Gg , Gg , Gg , Gg , Gg , Gg
Gg , Gg , Gg , Gg , Gs^Fp , Gs^Fp , Gs^Fp , Gg , Gs^Fp , Gg , Gs^Fp , Gs^Fp , Gg , Gg , Gg , Gs^Fp , Gs^Fp , Gg , Gs^Fp , Gg , Gs^Fp , Gs^Fp , Gg , Gg , Gg , Gs^Fp , Gs^Fp , Gs^Fp , Gg , Gg^Ve , Gg , Gg , Gg
Gg , Gg , Gg , Gg , Gg , Gs^Fp , Gg , Gs^Fp , Gg , Gg , Gg , Gg , Gs^Fp , Gg , Gg , Gg , Gg , Gs^Fp , Gg , Gs^Fp , Gg , Gs^Fp , Gg , Gg , Gg , Gg , Gg , Gg , Gs^Fp , Gg , Gg , Gg , Gg
Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gs^Fp , Gg , Gs^Fp , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg^Wm , Gg , Gg , Gs^Fp , Gg , Gs^Fp , Gg , Gg , Gg
Gg , Gg , Gg , Gg , Gs^Fp , Gg , Gg , Gg , Gg , Gg , Gs^Fp , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Ch , Gg , Gg , Gs^Fp , Gg , Gg , Gs^Fp , Gg , Gg
Gg , Gg , Gg , Gg , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gg , Gs^Fp , Gg , Gg , Gg , Gg , Ch , Ch , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Ch , Gg , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gg
Gg , Gg , Gg , Gg , Gg , Gs^Fp , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Ch , Rd , Rd , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Ch , Gg , Gg , Gs^Fp , Gs^Fp , Gg , Gg , Gg
Gg , Gg , Gg , Gg , Gs^Fp , Gg , Gg , Gg , Gg , Gg , Gs^Fp , Gg , Gg , Gg , Gg , Gg , Gg , Gg^Ve , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Rd , Gg , Gs^Fp , Gg , Gg , Gg , Gg , Gg
Gg , Gg , Gg , Gg , Gs^Fp , Gs^Fp , Gg , Gg , Gs^Fp , Gs^Fp , Gg , Gg , Gg , Gg , Gg , Gg , Rd , Rd , Gg , Gg , Ch , Gg , Gg , Gg^Ve , Rd , Rd , Gg , Gs^Fp , Gs^Fp , Gs^Fp , Gg , Gg , Gg
Gg , Gg , Gg , Gs^Fp , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Rd , Gg , Rd , Ch , 2 Kh , Ch , Rd , Rd , Gg , Gg , Gg , Gg , Gs^Fp , Gs^Fp , Gg , Gg , Gg
Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg^Wm , Gg , Gg , Gg^Ve , Gg , Rd , Gg , Ch , Ch , Ch , Gg , Rd , Gg , Gg , Gg , Gs^Fp , Gg , Gg , Gs^Fp , Gg , Gg
Gg , Gg , Gg , Gg , Gs^Fp , Gs^Fp , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Rd , Gg , Gg , Gg , Gg , Gg , Rd , Rd , Gg , Gg , Gg , Gg , Gs^Fp , Gg , Gg , Gg
Gg , Gg , Gg , Gg , Gg , Gs^Fp , Gg^Ve , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Rd , Rd , Gg , Gg , Gg , Gg , Gg , Gg^Ve , Rd , Gg , Gg , Re^Gvs , Gg , Gs^Fp , Gs^Fp , Gg , Gg
Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Rd , Gg^Ve , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Rd , Gg , Gg , Re^Gvs , Gg , Gg , Gg , Gs^Fp , Gg
Gg , Gg , Gg , Gs^Fp , Gg , Gg , Gg , Re^Gvs , Gg , Gg , Gg , Gg , Gg , Ch , Gg , Rd , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Ch , Gg , Gg , Gg , Gg , Gg , Gs^Fp , Gs^Fp , Gg
Gg , Gg , Gs^Fp , Gs^Fp , Gg , Gg , Gg , Gg , Gs^Fp , Gg , Gg , Gg , Gg , Ch , Ch , Rd , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Ch , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg
Gg , Gg , Gg , Gg , Gg , Gg , Gg^Ve , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Ch , Gg , Gg , Gg , Gg , Gs^Fp , Gg , Gs^Fp , Gg , Gg
Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Re^Gvs , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Re^Gvs , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gg , Gg
Gg , Gg , Ce , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg^Ve , Gg , Gg , Gg , Gg , Gs^Fp , Gg , Gg , Gg
Gg , 1 Ke , Ce , Ce , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gs^Fp , Gg , Gg , Gg
Gg , Ce , Ce , Ce , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg


3.and where does belong file looking like this?

#textdomain wesnoth-anl
[multiplayer]
id=multiplayer_A_Test_Map
name= _ "2p - A Test Map"
map_data="{userdata/editor/Test_Map.map}"

{DEFAULT_SCHEDULE}
{DEFAULT_MUSIC_PLAYLIST}



[side]
[ai]
villages_per_scout=12
[/ai]
side=1
canrecruit=yes
controller=human
team_name=north
user_team_name= _ "teamname^North"
fog=no
[/side]
[side]
[ai]
villages_per_scout=12
[/ai]
side=2
canrecruit=yes
controller=computer
team_name=east
user_team_name= _ "teamname^East"
fog=no
[/side]

[event]
name="prestart"
[unit]
name=spearman
side=1
x,y=10,10
[/unit]
[/event

Thank you fro all answers.
"This game cured me of my real life addiction."
-Flameslash
Anonymissimus
Inactive Developer
Posts: 2460
Joined: August 15th, 2008, 8:46 pm
Location: Germany

Re: Question

Post by Anonymissimus »

"{userdata/editor/Test_Map.map}"
Don't reference it like that. The folder userdata is only existant on windows anyway.
Put Test_Map.map into add-ons/Your_Add-On_Name/maps/ and let the preprocessor insert it with "{~add-ons/Your_Add-On_Name/maps/Test_Map.map}"
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml startersPlan Your Advancements: mp mod
The Earth's Gut: sp campaignSettlers of Wesnoth: mp scenarioWesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
alluton
Posts: 420
Joined: June 26th, 2010, 6:49 pm
Location: Finland

Re: Question

Post by alluton »

you mean userdata/data/add-ons

because there isnt anything inside add-ons
"This game cured me of my real life addiction."
-Flameslash
User avatar
bumbadadabum
Developer
Posts: 1005
Joined: March 20th, 2008, 5:54 pm
Location: Netherlands
Contact:

Re: Question

Post by bumbadadabum »

No, he means the folder you ought to install your add-ons in. You may have to look up where is is, but everyone has that folder.
alluton
Posts: 420
Joined: June 26th, 2010, 6:49 pm
Location: Finland

Re: Question

Post by alluton »

ouh thank you then.
"This game cured me of my real life addiction."
-Flameslash
User avatar
Gambit
Loose Screw
Posts: 3266
Joined: August 13th, 2008, 3:00 pm
Location: Dynamica
Contact:

Re: Question

Post by Gambit »

alluton
Posts: 420
Joined: June 26th, 2010, 6:49 pm
Location: Finland

Re: Question

Post by alluton »

i finded wesntoh 1.6.1 in there but not my newew version 1.8.2
"This game cured me of my real life addiction."
-Flameslash
alluton
Posts: 420
Joined: June 26th, 2010, 6:49 pm
Location: Finland

Re: Question

Post by alluton »

you guys sure i just cant but them in userdata/data/add-ons ?
"This game cured me of my real life addiction."
-Flameslash
User avatar
bumbadadabum
Developer
Posts: 1005
Joined: March 20th, 2008, 5:54 pm
Location: Netherlands
Contact:

Re: Question

Post by bumbadadabum »

No, at least nof when you want to publish it.
User avatar
Gambit
Loose Screw
Posts: 3266
Joined: August 13th, 2008, 3:00 pm
Location: Dynamica
Contact:

Re: Question

Post by Gambit »

What operating system are you on again?
alluton
Posts: 420
Joined: June 26th, 2010, 6:49 pm
Location: Finland

Re: Question

Post by alluton »

i got wesnoth 1.8.2 and windows vista
"This game cured me of my real life addiction."
-Flameslash
User avatar
Gambit
Loose Screw
Posts: 3266
Joined: August 13th, 2008, 3:00 pm
Location: Dynamica
Contact:

Re: Question

Post by Gambit »

So go to
My Documents/My Games/Wesnoth 1.8/data/add-ons/
alluton
Posts: 420
Joined: June 26th, 2010, 6:49 pm
Location: Finland

Re: Question

Post by alluton »

i still dont come here i reinstall and check that game will save data in mygames/wesnoth...

but still i dont find it:(
"This game cured me of my real life addiction."
-Flameslash
alluton
Posts: 420
Joined: June 26th, 2010, 6:49 pm
Location: Finland

Re: Question

Post by alluton »

Anonymissimus wrote:
"{userdata/editor/Test_Map.map}"
Don't reference it like that. The folder userdata is only existant on windows anyway.
Put Test_Map.map into add-ons/Your_Add-On_Name/maps/ and let the preprocessor insert it with "{~add-ons/Your_Add-On_Name/maps/Test_Map.map}"
okey i got it there now
i need to creae folder scenarios in same place whit maps right?
what else i need (after maps and scenarios)
"This game cured me of my real life addiction."
-Flameslash
Post Reply