Bootstrapping to hero within a Gizmo?
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"> Code:
<thing id="modLaserArm" name="Laser Emitter" description="You can cut objects or make ranged attacks using a laser." compset="RobotMod"> 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"> Code:
<component Code:
Quote:
Quote:
|
You've also double-checked that a <shadow> element is within one of the components in the Weapon compset? Your posted code doesn't seem to include anything related to the weapon itself.
Also, to clarify how Shadow works - it will not remove the laser gun from inside the gizmo of the robot arm - it is still in that container, but its shadow will appear on the hero container as well, which lets you display it in various tables that are looking for picks that are in the hero container. |
Thank you sir!
I’ll check that in the morning. I don’t believe any of the weapon components had the shadow entry, so I bet that’s it. I understand that it’s not actually on the hero, but would childfound[] register a shadowed entry? |
Yes, all the usual ways of locating a pick in the hero container will work on a shadowed pick.
|
That is exactly what was missing, thank you! I added the shadow entry for the BaseWeapon, and it worked. :)
And good to hear about the pick-finding too. :) |
All times are GMT -8. The time now is 08:55 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.