View Single Post
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321

Old November 12th, 2023, 02:14 PM
Hi all!

I'm working on a dataset and in this dataset there are pieces of gear to represent the limbs, body and head of a robot.
Code:
  <thing id="robArm" name="Robot Arm" description="Arm of the robot" compset="Robot">
    <!-- Tag indicates what part this belongs to -->
    <tag group="RobotBody" tag="Arm"/>
    <tag group="ItemModCatAllowed" tag="RobotArm"/>
    <child entity="ItemMods"></child>
    </thing>
This Robot arm can come in a couple of varieties, one with a claw, and one with a laser for example. I thought about accomplishing this with a Mod whcich could be applied to the arm itself.
Code:
  <thing id="modLaserArm" name="Laser Emitter" description="You can cut objects or make ranged attacks using a laser." compset="RobotMod">
    <fieldval field="modNamePrefix" value="Laser"/>
    <tag group="ItemModCat" tag="RobotArm"/>
    <bootstrap thing="wpLaserGun"></bootstrap>
    </thing>
If I do this, the Laser Gun never shows on the hero (i think it should under the Ranged Weapons). In this instance, if I look at the gizmo Picks for robArm I see both the modLaserArm listed and the wpLaserGun listed as well.

I tried adding Helper.Shadow to the wpLaserGun bootstrap, but it didn't help.
Code:
  <thing id="modLaserArm" name="Laser Emitter" description="You can cut objects or make ranged attacks using a laser." compset="RobotMod">
    <fieldval field="modNamePrefix" value="Laser"/>
    <tag group="ItemModCat" tag="RobotArm"/>
    <bootstrap thing="wpLaserGun">
      <autotag group="Helper" tag="Shadow"/>
      </bootstrap>
    </thing>
Robot body part component:
Code:
  <component
    id="Robot"
    name="Robot Body Part"
    autocompset="no">

    <identity group="RobotPart"/> 
    <identity group="RobotHasPart"/> 
	
    <shadow target="hero">Helper.Shadow</shadow>
	  
    </component>
Robot Mod component:
Code:
		
  <component
    id="RobotMod"
    name="Robot Modification"
    autocompset="no">

    <identity group="RobotMod"/> 
	
    <shadow target="hero">Helper.Shadow</shadow>

    </component>
So, I appear to have:
Quote:
Hero
* Robot Arm
** modLaserArm
** wpLaserGun
when I'm looking to have:
Quote:
Hero
* Robot Arm
** modLaserArm
* wpLaserGun
Any thoughts on what may be missing?

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