Tagged 'Laser shooter'

Bullet / laser generator

7 votes

This is a little script I wrote for a project I'm currently working on. It adds some extra controls to any maxNode and transforms it to a bullet (or laser beams) generator. The bullets (or laser beams) will come from the local Z-axis of the object.

There's two files attached; a .ms with a Custom Attributes definition, and a simple Max (2010) file with the custom attribute added to a Point Helper. It's very simple to use, the interface is self-explanatory, and tho code is open.

To apply the Custom Attributes to your objects, execute the script (once), select the object you want to transform in the bullet generator, and then type in the listener: custAttributes.add $.baseobject laserGunCA

 

Enjoy.