• 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

Vehicle Separators not sorting correctly

Gumbytie

Well-known member
In my .user setting I have:

Code:
  <thing
	id="vhSepTRAi"
	name="– Aircraft –"
	compset="Vehicle"
	isshowonly="yes"
	description="">
    <usesource source="Travel"/>
    <tag group="VehType" tag="Aircraft"/>
    </thing>

  <thing
	id="vhSepTRGr"
	name="– Ground –"
	compset="Vehicle"
	isshowonly="yes"
	description="">
    <usesource source="Travel"/>
    <tag group="VehType" tag="Ground"/>
    </thing>

And here are some sample vehicles:

Code:
  <thing 
	id="vhTRTATV" 
	name="All Terrain Vehicle, Tracked" 
	description="" 
	compset="Vehicle">
    <fieldval field="vhAccel" value="5"/>
    <fieldval field="vhTopSpeed" value="20"/>
    <fieldval field="vhTough" value="18/18/16"/>
    <fieldval field="vhArmor" value="4/4/2"/>
    <fieldval field="vhCrew" value="1+16"/>
    <fieldval field="grCost" value="30,000"/>
    <fieldval field="vhCost" value="$30K+"/>
    <usesource source="Travel"/>
    <tag group="VehEra" tag="Military"/>
    <tag group="VehType" tag="Ground"/>
    <tag group="User" tag="Military"/>
    <tag group="Vehicle" tag="HvyArmor"/>
    <tag group="Vehicle" tag="Tracked"/>
    <tag group="thing" tag="holder_top"/>
    </thing>

  <thing 
	id="vhTRAirRaf" 
	name="Air/Raft" 
	description="" 
	compset="Vehicle">
    <fieldval field="vhAccel" value="10"/>
    <fieldval field="vhTopSpeed" value="30"/>
    <fieldval field="vhClimb" value="15"/>
    <fieldval field="vhCrew" value="1+3"/>
    <fieldval field="vhTough" value="13"/>
    <fieldval field="vhArmor" value="3"/>
    <fieldval field="grCost" value="600,000"/>
    <fieldval field="vhCost" value="$600K+"/>
    <usesource source="Travel"/>
    <tag group="VehEra" tag="Civilian"/>
    <tag group="VehType" tag="Aircraft"/>
    <tag group="Vehicle" tag="Spacecraft"/>
    <tag group="Vehicle" tag="Atmosphere"/>
    <tag group="thing" tag="holder_top"/>
    </thing>

So the separators show up in the selection menu for vehicles, but the vehicles are not showing up listed under the appropriate separators. Unfortunately in the core files there are no good examples of Vehicle separators but I think I have everything correct.

Also, the separators are not centered in the Vehicles list like those in the Gear list, FYI.

So any ideas where I went wrong? :)
 
I know I have lots of vehicles in some of the other data files. Look at Weird War II and I think Tour of Darkness, Hell on Earth and Deadlands Noir should have examples of vehicle separators and usage. At first glance what you have looks about right but to really compare I'd need to grab my other computer and kick up Hero Lab which I probably won't be able to do until tomorrow. If you need it sooner maybe grab one of the above Savage Settings and see if that helps.
 
Oh, wait a sec. If you look at the second post on the Common Codes thread vehicles have a bit of an odd sort based not just on vehicle type but era as well, so you may need to set that on your separators to get them to line up right.
 
You are correct sir. I looked over you Deadlands Noir and back to the Common Codes. So I needed to add (in my case):

Code:
  <thing
	id="vhTRSepAir"
	name="– Aircraft –"
	compset="Vehicle"
	isshowonly="yes"
	description="">
    <usesource source="Travel"/>
    [B]<tag group="VehEra" tag="Civilian"/>
    <tag group="VehEra" tag="Military"/>[/B]
    <tag group="VehType" tag="Aircraft"/>
    </thing>

So unlike Gear, for Vehicles to sort, you need to add the VehEra tags in as well. Good to know :)
 
I should mention is the other option, if you are making your own Vehicles list, if you do NOT include any "VehEra" tags on your vehicles, then you do not need to add them to your separators.

They don't display anywhere on the List or print out, so not really necessary perhaps?
 
I suppose that's probably true. I'm not sure if it defaults to one of the existing eras and you're just seeing a sort based on that or if it sorts it at the beginning or end of the era sorting. I'd probably have to experiment to find out but without eras you do end up with only 3 categories so that would be something else to consider.
 
Back
Top