Unlocking units in the glossary

General feedback and discussion of the game.

Moderator: Forum Moderators

Post Reply
BrTarolg
Posts: 19
Joined: March 18th, 2008, 7:15 pm

Unlocking units in the glossary

Post by BrTarolg »

Hey its been a long time since i played westnoth (over a year?) and ive reinstalled, but my help/glossary is ofc, completely empty! Is there a way i can fill it up again without having to do it the slow way?
User avatar
Hulavuta
Posts: 1668
Joined: October 11th, 2008, 8:17 pm
Location: United States

Re: Unlocking units in the glossary

Post by Hulavuta »

You can use debug mode and create all the units. And I think there is something in preferences that you can edit to get them all.
F:tGJ, Saurian Campaign
The Southern Chains, a fanfic
“The difference between winners and champions is that champions are more consistent."
~Sierra
BrTarolg
Posts: 19
Joined: March 18th, 2008, 7:15 pm

Re: Unlocking units in the glossary

Post by BrTarolg »

Ah yeah i can see it the "encountered units and terrain"

Don't really know the syntax in terms of what to put in there though, any ideas?
User avatar
Hulavuta
Posts: 1668
Joined: October 11th, 2008, 8:17 pm
Location: United States

Re: Unlocking units in the glossary

Post by Hulavuta »

Probably the unit id, which is normally the same as the name. But I don't recommend changing the preferences file.
F:tGJ, Saurian Campaign
The Southern Chains, a fanfic
“The difference between winners and champions is that champions are more consistent."
~Sierra
monochromatic
Posts: 1549
Joined: June 18th, 2009, 1:45 am

Re: Unlocking units in the glossary

Post by monochromatic »

The unit id's.

Ninja'd.
BrTarolg
Posts: 19
Joined: March 18th, 2008, 7:15 pm

Re: Unlocking units in the glossary

Post by BrTarolg »

Blub

Don't suppose someone nice can upload their preferences file here?
User avatar
Sapient
Inactive Developer
Posts: 4453
Joined: November 26th, 2005, 7:41 am
Contact:

Re: Unlocking units in the glossary

Post by Sapient »

Just use the new :discover command
http://www.wesnoth.org/wiki/User:Sapient... "Looks like your skills saved us again. Uh, well at least, they saved Soarin's apple pie."
User avatar
Hulavuta
Posts: 1668
Joined: October 11th, 2008, 8:17 pm
Location: United States

Re: Unlocking units in the glossary

Post by Hulavuta »

NEW COMMAND!?!!?!?!? I MUST TRY IT!!!


....I just realized that I discovered all units....is there an "undiscover" command? Probably not, since it's pointless...but...


EDIT: Does Discover discover everything? Or do you need to specify a unit id? Because I have data on a unit that I didn't before, so I'm wondering if that's part of discover or if I had already found it before.
F:tGJ, Saurian Campaign
The Southern Chains, a fanfic
“The difference between winners and champions is that champions are more consistent."
~Sierra
Alink
Inactive Developer
Posts: 181
Joined: March 5th, 2007, 6:45 am
Location: Belgium

Re: Unlocking units in the glossary

Post by Alink »

Hulavuta wrote: ...is there an "undiscover" command? Probably not, since it's pointless...but...
There is one actually, for debugging purposes. But it's disabled to avoid that people clear their encountered units just by typing it to see what it does. I suppose that we could reactivate it and hide it from :help.

Note that deleting the key "encountered_units" in your preferences file works too.
Hulavuta wrote: EDIT: Does Discover discover everything? Or do you need to specify a unit id? Because I have data on a unit that I didn't before, so I'm wondering if that's part of discover or if I had already found it before.
":discover" discovers all units used in the current campaign (or in multiplayer if not in a campaign). That means that you may need to :discover again when starting a new one having new special units. Note that to be visible in help, a unit must exist in the current campaign *and* be discovered.
User avatar
Hulavuta
Posts: 1668
Joined: October 11th, 2008, 8:17 pm
Location: United States

Re: Unlocking units in the glossary

Post by Hulavuta »

Okay. Thanks.
F:tGJ, Saurian Campaign
The Southern Chains, a fanfic
“The difference between winners and champions is that champions are more consistent."
~Sierra
BrTarolg
Posts: 19
Joined: March 18th, 2008, 7:15 pm

Re: Unlocking units in the glossary

Post by BrTarolg »

Thats awesome, thanks so much for your help guys ^^
Alink
Inactive Developer
Posts: 181
Joined: March 5th, 2007, 6:45 am
Location: Belgium

Re: Unlocking units in the glossary

Post by Alink »

Reactivated ':undiscover' but with a confirmation dialog to prevent 'accident'
Post Reply