Are variations documented somewhere
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.
-
- Posts: 1212
- Joined: August 26th, 2018, 11:46 pm
- Location: A country place, far outside the Wire
Are variations documented somewhere
The only place I could find a list of variations was in the in-game help for walking corpses, which lists Wose, which does not work (wose does). Are these documented somewhere?
It seems to me that either the help should be updated or the variation, or make variation case-insensitive, but they should match.
It seems to me that either the help should be updated or the variation, or make variation case-insensitive, but they should match.
Code: Select all
#define ZOMBIE_WOSE SIDE X Y
[unit]
side={SIDE}
type=Walking Corpse
#variation=Wose # nope
variation=wose # yep
Speak softly, and carry Doombringer.
- Pentarctagon
- Project Manager
- Posts: 5567
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: Are variations documented somewhere
I would guess that what you're seeing in the help is the variation_name, not the variation_id. As far as I know they aren't documented anywhere, so you'd need to check the [variation]s in Corpse_Walking.cfg.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
Re: Are variations documented somewhere
For terrains, enabling debug mode and then opening the help displays extra information such as the id and terrain code. Would adding a similar feature for units be helpful?
Re: Are variations documented somewhere
No, you want to copy them anyways.
-
- Posts: 1212
- Joined: August 26th, 2018, 11:46 pm
- Location: A country place, far outside the Wire
Re: Are variations documented somewhere
That was the first place I looked, so I'd say it would.
There may be better places, just because I happened to look there first doesn't mean anyone else would do the same, but it would be much better (I ended up searching for an example and getting lucky that I noticed those entries were not capitalized). And the wiki could be updated to point the user there. Having the game generate the data from existing units seems more complete and robust than someone manually adding a list to the wiki.
Speak softly, and carry Doombringer.