Author Topic: Help packaging/ zipping an addon.  (Read 533 times)

So, I finished with my first addon. I got the bullet, Bullet shell, Gun in .DTS and the server.cs. Now, I need help. Why do people have the colors in there .Zip file? are those important? also I have the gun sound. Do I just put it in a zip file? Somone please help. Whoever helps the most gets a cookie and mentioned in the addon post. Thank you.

You shouldn't be copying the model and sound files from the Gun. If your weapon uses them, edit the script to reference "Add-Ons/Weapon_Gun/pistol.dts" etc. instead of "./pistol.dts".

The colour files go with the model to control textures. The blank, whiteCheck and black/greyXX (25, 50, 75) textures are partially transparent and blend to the item's colorShiftColor while the others are just solid shades of colour. For instance, the Wand in base/data/shapes has the ends textured with blank.png to be shifted to the colour of various other wands (Wand is white, Destructo Wand is red, Duplicator is green with one model) and the shaft is textured black to always stay that colour.
« Last Edit: July 17, 2009, 10:36:25 AM by Space Guy »

You shouldn't be copying the model and sound files from the Gun. If your weapon uses them, edit the script to reference "Add-Ons/Weapon_Gun/pistol.dts" etc. instead of "./pistol.dts".

The colour files go with the model to control textures. The blank, whiteCheck and black/greyXX (25, 50, 75) textures are partially transparent and blend to the item's colorShiftColor while the others are just solid shades of colour. For instance, the Wand in base/data/shapes has the ends textured with blank.png to be shifted to the colour of various other wands (Wand is white, Destructo Wand is red, Duplicator is green with one model) and the shaft is textured black to always stay that colour.
By Gun I ment the model i'm using. Same with the sound.

If you haven't created original gun shell or bullet files you should do the same.