[SW] Light Saber Model 3.3.5a (Custom Colors) 1.0.0

   (0 reviews)
Sign in to follow this  

3 Screenshots

Hello again!

This release includes a very basic lightsaber model with customizable colors (you wont have to edit or assign textures)
Let me explain: The color on the blade is determined from ParticleColor.dbc, if no colorid is assigned, the blade is red.
(i've included a .csv to add some of my personal custom colors, they're not perfect, but they work, theres a total of 17 pre-made color patterns)

Installation:
-Drop the "saber" folder into your item/objectcomponents/weapon folder
-Apply the .csv to your ParticleColor.dbc and add it to the DBFilesClient Folder
-Add new entries in ItemDisplayInfo.dbc, make sure you add the new particle color ids for each entry, refer to the model as "saber/saber.m2" etc. they do not need texture assignments, they are all hardcoded
-Add new items via Item_Template, make sure you use the same display ids that you created in the previous step
-Restart your server, and test the new items!

Custom Colors:
If youd like to create your own colors for the blade, youll need to learn how to convert hex colors to a decimal value, color codes here are written as 0xAARRGGBB values that are encoded. Online Converter will help you make new colors, when you enter a color code, scroll to the bottom and get the " INT32 - Big Endian (ABCD) " value it produces, that will be your encoded color code.
Keep in mind, there are two particle emitters on the blade, one at the hilt and one at the tip, the hilt portion uses the Start/Mid/End [1] columns, and the tip goes by the StartMidEnd [2] Columns

Particle Emitter changes:
If you'd like to change the size, rate or type of particles on the blade you can do this via hex editing as well, simply open the .m2 in 010 or another hex editor with template support, navigate to the Particle section near the bottom. Heres a brief explanation of things you can change;
-Lifespan will control how long the particle is active
-"Emissionrate" is the speed in which particles are produced
-"emissionspeed" is the rate by which particles travel in space
-Colortrack and Alphatrack can be used to adjust the default color and transparency of the particles
-scaletrack is used to define the size of each particle

Hope you guys like these! Use however you wish!

This model was taken from Sketchfab for free, and applied and converted using Wow Blender Studio (blender 3.1.2), some changes in Pymodeleditor, and of course hex editing via 010





User Feedback