Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Authoring Kit

Notices

Reply
 
Thread Tools Display Modes
ShadowWalker
Senior Member
 
Join Date: Jun 2014
Posts: 243

Old August 27th, 2019, 06:55 AM
I made a change to the vehicle component and vehicle compset within the equipment.str file.
I then made changes to the editor.dat file to allow me to enter vehicles.
I get an error message saying those fields don'e exists.

Quote:
Hero Lab was forced to stop compilation after the following errors were detected:

Edit Thing 'Vehicle' - Editor references field 'vehAC' that doesn't exist
Edit Thing 'Vehicle' - Editor references field 'vehSpeed' that doesn't exist
Edit Thing 'Vehicle' - Editor references field 'vehHP' that doesn't exist
Edit Thing 'Vehicle' - Editor references field 'vehCrew' that doesn't exist
Edit Thing 'Vehicle' - Editor references field 'vehTonnage' that doesn't exist
All of the above fields are indeed part of the vehicle component and the vehicle component is part of the vehicle compset. So I've no idea what I've done wrong to get this error. All I did to the vehicle component was add some fields.
I've created other compsets and components for drones and starships and they are having the same problem.

Shadowrun: Player and GM
Pathfinder: Player and GM

Shadowrun Adjustments: http://forums.wolflair.com/showthread.php?t=60633
ShadowWalker is offline   #1 Reply With Quote
Duggan
Senior Member
Volunteer Data File Contributor
 
Join Date: Nov 2009
Posts: 1,502

Old August 27th, 2019, 08:36 AM
Is the code brief enough to show us the vehicle component/component set and the relevant part of the Editor?
Duggan is offline   #2 Reply With Quote
ShadowWalker
Senior Member
 
Join Date: Jun 2014
Posts: 243

Old August 27th, 2019, 09:43 AM
Code:
  <component
    id="Vehicle"
    name="Vehicle"
    autocompset="no">

    <field
	  id="vehSpeed"
	  name="Speed"
	  type="static">
	  </field>
	  
	<field
	  id="vehHP"
	  name="HP"
	  type="static">
	  </field>
	  
	<field
	  id="vehAC"
	  name="AC"
	  type="static">
	  </field>
	  
	<field
	  id="vehCrew"
	  name="Crew"
	  type="static">
	  </field>
	  
	<field
	  id="vehTonnage"
	  name="Tonnage"
	  type="static">
	  </field>
Code:
  <compset
    id="Vehicle">
    <compref component="Vehicle"/>
    <compref component="Gear"/>
    </compset>
Code:
  <editthing
    compset="Vehicle"
    name="Vehicles"
	group="Vehicles"
    prefix="veh"
    description="Weapons, vehicles, and simple equipment all have their own tabs for creating objects of those types."
    summary="Defines vehicles that can be selected on the vehicle tab.">
    <inputthing
      name="AC"
      helptext="Specify the Defense rating of the armor against attacks.">
      <it_field field="vehAC"/>
      </inputthing>
    <inputthing
      name="Cost"
      helptext="Specify the standard cost of the item, with a value of 0 meaning it is free.">
      <it_field field="grCost"/>
      </inputthing>
    <inputthing
      name="Tech Level"
      helptext="Specify the weight of the item.">
      <it_field field="grTL"/>
      </inputthing>
    <inputthing
      name="Speed"
      helptext="Specify the speed of the item.">
      <it_field field="vehSpeed"/>
      </inputthing>
    <inputthing
      name="HP"
      helptext="Specify the HP of the item.">
      <it_field field="vehHP"/>
      </inputthing>
    <inputthing
      name="Crew"
      helptext="Specify the Crew of the item.">
      <it_field field="vehCrew"/>
      </inputthing>
    <inputthing
      name="Tonnage"
      helptext="Specify the weight of the item.">
      <it_field field="vehTonnage"/>
      </inputthing>
    </editthing>

Shadowrun: Player and GM
Pathfinder: Player and GM

Shadowrun Adjustments: http://forums.wolflair.com/showthread.php?t=60633

Last edited by ShadowWalker; August 27th, 2019 at 09:56 AM.
ShadowWalker is offline   #3 Reply With Quote
ShadowWalker
Senior Member
 
Join Date: Jun 2014
Posts: 243

Old August 27th, 2019, 10:27 AM
Well you can ignore this. I knew there was something stupid wrong as the code looked fine, and it is, as long as it's in the same folder. some how I opened the equipment.str file in the samples folder. no clue how that happened but it did and I didn't notice. GAH!

Shadowrun: Player and GM
Pathfinder: Player and GM

Shadowrun Adjustments: http://forums.wolflair.com/showthread.php?t=60633
ShadowWalker is offline   #4 Reply With Quote
Duggan
Senior Member
Volunteer Data File Contributor
 
Join Date: Nov 2009
Posts: 1,502

Old August 27th, 2019, 10:37 AM
^_^ Glad to have served as your rubber duck.
Duggan is offline   #5 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old August 27th, 2019, 11:09 AM
Quote:
Originally Posted by Duggan View Post
^_^ Glad to have served as your rubber duck.
Rubber Duck Debugging FTW!

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #6 Reply With Quote
ShadowWalker
Senior Member
 
Join Date: Jun 2014
Posts: 243

Old August 29th, 2019, 01:14 PM
After working in the coding industry for 2 decades I have never seen that site or the story. Thank you for both. It's great!

Shadowrun: Player and GM
Pathfinder: Player and GM

Shadowrun Adjustments: http://forums.wolflair.com/showthread.php?t=60633
ShadowWalker is offline   #7 Reply With Quote
Reply

Thread Tools
Display Modes

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 01:13 AM.


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