Forums Index >> Modding >> Emitter Woes, and yes Ive checked!



Page : <1> :


I couldnt figure out why this didnt work! Ive practically looked evrywhere!

This is what I put after object write end:

 

Lighttank.speedyprojectile.emitter= "FireballEmitter";
Mediumtank.speedyprojectile.emitter= "FireballEmitter";
Heavytank.speedyrojectile.emitter= "FireballEmitter";
BabyBoss.speedyprojectile.emitter= "FireballEmitter";
BossTank.speedyrojectile.emitter= "FireballEmitter";

 

And what I put before object write begin

 

Datablock ParticleData(FireballParticle)
{
dragCoefficient = 0;
gravityCoefficient = 0.222222;
windCoefficient = 25.2941;
inheritedVelFactor = 0.00978474;
constantAcceleration = 0;
lifetimeMS = 480;
lifetimeVarianceMS = 224;
useInvAlpha = 0;
spinRandomMin = -30;
spinRandomMax = 392;
textureName = "game/data/shapes/common/spark.png";
spinSpeed = 79.4118;
times[0] = 0.74902;
times[1] = 1;
colors[0] = "0.708661 0.086614 0.000000 1.000000";
colors[1] = "0.874016 0.000000 0.000000 1.000000";
sizes[0] = 0.787402;
sizes[1] = 0;
};
datablock ParticleEmitterData(FireballEmitter)
{
ejectionPeriodMS = 39;
periodVarianceMS = 9;
ejectionVelocity = 1.75;
velocityVariance = 0.07;
ejectionOffset = 0;
thetaMin = 9;
thetaMax = 90;
phiReferenceVel = 0;
phiVariance = 360;
overrideAdvances = 0;
lifetimeMS = 480;
orientParticles= 0;
orientOnVelocity = 1;
particles = "FireballParticle";
};

 


EDIT:I have figured out that I had a spelling error in here >_< lol; but is the rest ok?

Speedyprojectile.emitter = "FireballEmitter";

Would that work?

Last edited: Friday, March 03, 2006 at 7:07:00 AM

Thursday, March 02, 2006 at 8:07:29 PM

I'm not very good at these stuff but..
maby you should set these to in you're special.cs (me think) 8o

 


 

JavaScript:CassieMsgRule();

 

 

 

 

Friday, March 03, 2006 at 8:23:08 AM

Yes use this instead:

 


Speedyprojectile.emitter= "FireballEmitter";

 

The speedy power-up data block only exist as one datablock for all tank types. That goes for all power-ups as well.
A datablock does not actually exist for for individual tank types to have separate power-up emitters.
You would have to make a new datablock for each power-up for each tank type if you wanted, lets say the heavy to have a different area effect then the light. I do not advise that. But what you are doing is fine.

MAX

Last edited: Friday, March 03, 2006 at 10:55:18 AM

Friday, March 03, 2006 at 10:46:57 AM

Ty lots max, ur post helped me a ton, I forgot how to take a screenie in game but as soon as I remember Ill post what I finished =-p It worked, and I understand the whole overriding thing now. %) Thanx much

Here is my working MOD so far, still needs to be fine tuned

Friday, March 03, 2006 at 10:56:01 AM

Looks good so far XD U still use tat small radar?

Friday, March 03, 2006 at 1:13:47 PM

Yea unfortunatly lol

Friday, March 03, 2006 at 3:17:41 PM

Go to the downloads section on my WEBSITE you can get the 3x Radar and Lonewolfs Zoom Radar, both downloads come with instructions on how to install.

Daz

 

 

 

 

Friday, March 03, 2006 at 6:32:57 PM

I installed it but didnt get a chance to test it, Ill test it another time Im sooo sleepy right now lol :'(

Thanx Daz

Friday, March 03, 2006 at 8:21:34 PM

Hey MAX-CR I downloaded your admin script and followed the instruction and it works but when I put in the admin code "/adm PASS" I get disconnected, how can I fix this?

Wednesday, April 19, 2006 at 4:41:26 PM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald