Author Topic: Baseball Bat Help  (Read 3644 times)

Alright this is my first Addon. I made the model and everything, It's Just I have no experience with Torque scripting so I couldn't Make it work right, Also How do you texture Models with Milkshape? I made the model in milkshape and made the material a light tan, but in game its grey. Look below for pic.

If you could write a code for me, I would give you lots of  :cookie:'s

Make the material names "blank" (lightest), "black25" (slightly dark), "black50" (half brightness) and "black75" (very dark) so it can be recoloured by "colorShiftColor" and then post the DTS file after exporting it.

handle should be the size of two of the smallest squares on the grid. Also, you need to make two joints. The first should be mountPoint, the second should b called muzzlePoint. Be sure to deselect one before making the other. For more detailed descriptions look on one of the modification forums and masterloug has a tut. on how to do this.

if you want, i could make it for ya  :cookieMonster:

handle should be the size of two of the smallest squares on the grid. Also, you need to make two joints. The first should be mountPoint, the second should b called muzzlePoint. Be sure to deselect one before making the other. For more detailed descriptions look on one of the modification forums and masterloug has a tut. on how to do this.

It's already correctly sized and everything. The joints are made and the points are all made correctly, I just need a good script and Help texturing

Make the material names "blank" (lightest), "black25" (slightly dark), "black50" (half brightness) and "black75" (very dark) so it can be recoloured by "colorShiftColor" and then post the DTS file after exporting it.

Would you please elaborate?


if you want, i could make it for ya  :cookieMonster:

Yes plz.


Because one of them I added on accident and since Milkshape has horrible selections I couldn't select and delete it. Or, Everytime I would go to delete it with the "Clear" button, it would give me an error, SO just named it "Discard" or something like that.

Anyways. When I'm making those materials do I give them a color or just leave them the default grey???

Ones the muzzleNode, anothers the mountNode and the last one should be renamed to ejectPoint.

Ones the muzzlePoint[/b}, anothers the mountPoint and the last one should be renamed to ejectPoint.

On all my Torque Modeling Tutorials, I never read anything about Ejectpoint. Also its point, not node..

Make the material names "blank" (lightest), "black25" (slightly dark), "black50" (half brightness) and "black75" (very dark) so it can be recoloured by "colorShiftColor" and then post the DTS file after exporting it.

Would you please elaborate?

Transparent textures on a model allow it to be recoloured by the ColorShiftColor when making a script. The Gun, Destructo Gun, Multitool and other such things all use the same model - changing the color shift makes it different.

To reduce downloading from every addon maker including their own partially transparent textures with their mods, Badspot included several "default" ones. In the Add-Ons/Shapes folder there are several .png, 24x24 (I think) of black made transparent to a certain degree - blank is 0 alpha, 25 is 25% or 64 alpha, etc. The 'darker' (more alpha) it is, the darker it will be in-game when coloured. For instance, in Kaje's Stunt Buggy, different materials are used to allow the seats to be lighter than the rest but still change color slightly when painted.

Making the handle black25 and the rest of the model blank, then changing the colorshift to a tan color makes the handle appear brown, and allows the model to be used more easily by other add-on makers. (Say, a Police Baton rather than a baseball bat by changing the color to a dark blue)

Warning - while you were typing 3 new replies have been posted. You may wish to review your post.
ejectPoint is only needed for guns which have a gun shell being ejected.

They are named as Node's inside a script.

Ok So In milkshape do I leave the materials default, w/o assigning them to anything? or Do I color them, and assign them?

Ok So In milkshape do I leave the materials default, w/o assigning them to anything? or Do I color them, and assign them?
Assign them White50 or something, maybe Black25 on the handle.

Then in the script, set the 'colorshift'.

Ok I assigned the Materials, Fixed the joints. And all that jazz. So Heres the DTS if anyone wants to make a script for me. I will give credit and lots of cookies :D

http://www.mediafire.com/upload_complete.php?id=tu5t2yxozmb

What if you copied the script from the sword? But made it so they weren't using the same datablox of course.