Use it instead of quadruple posting.
datablock ParticleData(FlashlightParticleA){ dragCoefficient = 5; gravityCoefficient = -0.0; inheritedVelFactor = 1.0; constantAcceleration = 0.0; lifetimeMS = 1; lifetimeVarianceMS = 0; textureName = "base/data/particles/dot"; spinSpeed = 0.0; spinRandomMin = 0.0; spinRandomMax = 0.0; colors[0] = "0 0 0 0"; colors[1] = "0 0 0 0"; colors[2] = "0 0 0 0"; sizes[0] = 0.15; sizes[1] = 0.15; sizes[2] = 0.3; times[0] = 0.0; times[1] = 0.5; times[2] = 1.0; useInvAlpha = false;};datablock ParticleEmitterData(FlashlightEmitterA){ ejectionPeriodMS = 10; periodVarianceMS = 0; ejectionVelocity = 10; velocityVariance = 0.5; ejectionOffset = 10; thetaMin = 0; thetaMax = 180; phiReferenceVel = 0; phiVariance = 360; overrideAdvance = false; particles = "FlashlightParticleA"; useEmitterColors = false; uiName = "Flashlight Hit";};
I used the word completely for a reason if it completely overwrites it, it would be called Tool_Laserpointer. Please go to school for your first time then respond.
Something else(the other flashlight mod) uses /flashlight
Code snipScrap this.
I'm still searching another way to make the flashlight show up. But it needs to fire the beam without clicking and the script I use needs to click so I can't really make the /flashlight thingy work good yet. it needs to become a personal light or somthign not a weapon.
You could do a keybind. It would be much easier to use then, especially when in a mini.
Well now you have the /FlashLight thing right?
Can other players see your light?because that would be a total dark minigame killer
I never SAID it completely overwrites it. Read the damn post before you make a smartass comment.
Overwriting another add-on can happen in many ways, not just the file. If the datablocks are titled the same, only one will exist. This can also happen through scripts being overwritten.
Please...can someone make a good flashlight. This is a good start but it has too many useless codes in it. (I would make it if i could, but i cant make it cause im a terrible scripter and i have no idea how to use 3d software.