Blockland Forums > Suggestions & Requests
Treadmarks Tire Emitter
SWAT One:
Also, you need to edit the angle of the particle and turn faceviewer off I believe.
Wink:
This is the code for the default vehicle tire emitter. I don't know what to change, but I have a feeling the thetaMin/Max need to be 0. If I wanted to make a new ParticleEmitterData, do I just copy this code and change the "VehicleTireEmitter" to something else? Then I don't know where to save it.
--- Code: ---//--- OBJECT WRITE BEGIN ---
new ParticleEmitterData(VehicleTireEmitter) {
className = "ParticleEmitterData";
ejectionPeriodMS = "3";
periodVarianceMS = "0";
ejectionVelocity = "5";
velocityVariance = "3";
ejectionOffset = "0.09";
thetaMin = "10";
thetaMax = "30";
phiReferenceVel = "0";
phiVariance = "360";
overrideAdvance = "0";
orientParticles = "0";
orientOnVelocity = "1";
particles = "VehicleTireParticle";
lifetimeMS = "0";
lifetimeVarianceMS = "0";
useEmitterSizes = "0";
useEmitterColors = "0";
uiName = "Vehicle Tire";
doFalloff = "1";
doDetail = "1";
overrideAdvances = "0";
};
//--- OBJECT WRITE END ---
--- End code ---
Aide33:
--- Quote from: Wink on January 18, 2013, 06:02:59 PM --- This is the code for the default vehicle tire emitter. I don't know what to change, but I have a feeling the thetaMin/Max need to be 0. If I wanted to make a new ParticleEmitterData, do I just copy this code and change the "VehicleTireEmitter" to something else? Then I don't know where to save it.
--- Code: ---//--- OBJECT WRITE BEGIN ---
new ParticleEmitterData(VehicleTireEmitter) {
className = "ParticleEmitterData";
ejectionPeriodMS = "3";
periodVarianceMS = "0";
ejectionVelocity = "5";
velocityVariance = "3";
ejectionOffset = "0.09";
thetaMin = "10";
thetaMax = "30";
phiReferenceVel = "0";
phiVariance = "360";
overrideAdvance = "0";
orientParticles = "0";
orientOnVelocity = "1";
particles = "VehicleTireParticle";
lifetimeMS = "0";
lifetimeVarianceMS = "0";
useEmitterSizes = "0";
useEmitterColors = "0";
uiName = "Vehicle Tire";
doFalloff = "1";
doDetail = "1";
overrideAdvances = "0";
};
//--- OBJECT WRITE END ---
--- End code ---
--- End quote ---
What you have to do is make the emmiter a black line and make it stay there long and not jump in the air