Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Authoring Kit
Register FAQ Community Today's Posts Search

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321

Old August 13th, 2021, 09:19 AM
Hi all.

After a time away from HL and related coding I'm diving back into it.

The dataset I'm attempting involves Vehicles as Minions (seems to be the default for the Sample Dataset)

I have the following:
components
Code:
  <!-- Vehicle component
        All vehicles use this to display for purchase/selection
  -->
  <component
    id="Vehicle"
    name="Vehicle Helper"
    autocompset="no">

    </component>
	
  <!-- VehicleBase component
        All vehicles use this for the vehicle details/attributes
  -->  
  <component
    id="VehicleBase"
    name="Vehicle Base"
	autocompset="no">	

    <field
      id="vebReliability"
      name="Reliability"
      minvalue="0"
      maxvalue="6"
      type="derived">
      </field>
	  
    <field
      id="vebCombatSpeedOn"
      name="Combat Speed (On Road)"
      minvalue="0"
      defvalue="0"
      type="derived">
	  </field>
	
    <field
      id="vebCombatSpeedOff"
      name="Combat Speed (Off Road)"
      minvalue="0"
      defvalue="0"
      type="derived">
	  </field>
	  
    </component>
Compset:
Code:
  <!-- Vehicle -->
  <compset
    id="Vehicle"
    stackable="no">
    <compref component="Vehicle"/>
    <compref component="VehicleBase"/>
    <compref component="Equipment"/>
    <compref component="Gear"/>
    <compref component="Minion"/>
    </compset> 
  <!-- VehicleBase -->
  <compset
    id="VehicleBase"
    stackable="no">
    <compref component="VehicleBase"/>
    <compref component="Minion"/>
    </compset>
Thing:
Code:
  <thing id="vehM1114HMMWV" name="M1114 HMMWV" compset="Vehicle" stacking="never">
    <fieldval field="grCost" value="12000"/>
    <minion id="Vehicle" ownmode="no" livefield="minEnabled" coupledfield="minCoupled">
      <tag group="MinionSet" tag="Vehicle" name="Vehicle" abbrev="Vehicle"/>
      <bootstrap thing="vebM1114HMMWV"></bootstrap>
      </minion>
    </thing>
	
  <thing id="vebM1114HMMWV" name="M1114 HMMWV" description="Testing" compset="VehicleBase" uniqueness="unique">
    <tag group="VehicleCat" tag="USMil"/>
    <tag group="VehicleType" tag="4WDCar"/>
    <fieldval group="vebReliability" value="5"/>
    <fieldval field="vebCombatSpeedOn" value="5"/>
    <fieldval field="vebCombatSpeedOff" value="4"/>
    </thing>
(continued next post)

Working on -
  • (SWADE) WIP Savage Rifts
  • Savage Rifts (Deluxe): Update link in This post
  • Star Trek Adventures: Update link in This post
TCArknight is offline   #1 Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 10:28 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.