ScriptSpot

Script

Bullet / laser generator

By lutteral · Credited author: Martin Lutteral · 2010-06-01

Version
1
Date updated
2010-06-01
Votes
7
Description

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.

Attachments

Tags: Custom Attributes, Automated bullet generator, Laser shooter

Comments (1)

Michele71 · 2010-06-01

Excellent idea! I just downloaded Bullet / laser generator and now try it.
Later I tell you my impressions on this script ;)