• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Lists and divisions

Topdecker

Well-known member
Alright... I have plugging in almost all of Mercenary Breed and have asked practically no questions. And, dangit, I _really_ hate to ask this one but I am stumped by a minor cosmetic issue...

I am plugging in ranged weapons. I want all of the Mercenary Breed stuff to appear away from commonly establish gear since it will work better. Anyhow, while it does appear away from other gear, it only shows one label - I cannot create discrete groupings of weapons

Group definitions (individual weapons are members of appropriate groups)
<tag group="WeaponType" tag="MB2_1pist" name="Mercenary Breed Pistols" abbrev="Merc Breed Pistols"/>
<tag group="WeaponType" tag="MB2rifles" name="Mercenary Breed Rifles" abbrev="Merc Breed Rifles"/>
<tag group="WeaponType" tag="MB2_mchgun" name="Mercenary Breed MGs" abbrev="Merc Breed MGs"/>

List label definitions - only RIFLES are visible and all weapons are under it
<thing id="wpMB2xlab3" name="– Mercenary Breed MGs –" compset="Ranged" isshowonly="yes">
<usesource source="MB2"/>
<tag group="WeaponType" tag="MB2_mchgun"/>
</thing>

<thing id="wpMB2xlab4" name="– Mercenary Breed Rifles –" compset="Ranged" isshowonly="yes">
<usesource source="MB2"/>
<tag group="WeaponType" tag="MB2rifles" name="Mercenary Breed Rifles" abbrev="Merc Breed Rifles"/>
</thing>

<thing id="wpMB2xlab2" name="– Mercenary Breed Pistols –" compset="Ranged" isshowonly="yes">
<usesource source="MB2"/>
<tag group="WeaponType" tag="MB2_1pist"/>
</thing>

That code example is condensed and non-functional - I just pulled all of the relevant lines so the naming conventions and so on were readily evident.

Everything that I am adding appears at the top of the selection list under "Mercenary Breed Rifles" and then shows up in alphabetical order. There is no group of pistols, or MGs, or rifles - everything is failing to honor the weapon groups that they have been assigned to.

What is going on?
 
I don't believe you can just create new categories for things like weapons, you have to appropriate existing ones and use the separator to delineate them on the printout/list view. It's covered in the 2nd post on the Common Code Examples thread, but it's a bit convoluted because it's kind of a convoluted method, but essentially you would appropriate a category you are not using otherwise, say "Special: Rocket Launchers". You'd set one of your categories, such as MBR Pistols, to actually be "Special: Rocket Launchers" but preclude the separator entry for "Special: Rocket Launchers" and create a new one for "- Mercenary Breed Pistols -". Then every MBR Pistol create is still tagged as "Special: Rocket Launchers" but will be grouped under the heading of Pistols you created.
 
Ah, my expectations were different from reality. Thanks for taking the time to point me in the right direction, Zarlor!
 
Back
Top