Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
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> 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> 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> Code:
<component id="Robot" name="Robot Body Part" autocompset="no"> <identity group="RobotPart"/> <identity group="RobotHasPart"/> <shadow target="hero">Helper.Shadow</shadow> </component> Code:
<component id="RobotMod" name="Robot Modification" autocompset="no"> <identity group="RobotMod"/> <shadow target="hero">Helper.Shadow</shadow> </component> Quote:
Quote:
Working on - |
||
#1 |
|
|