Forums Index >> Modding >> 187's flamethrower emitter node (billy bob



Page : <1> :


Could some1 help me with getting the emitter node 187 created (flamethrower obviously).

Help plz

Tuesday, May 11, 2004 at 1:25:44 AM

I will tomorow..........cuz im tired and im going to bed B)

Tuesday, May 11, 2004 at 2:12:21 AM

What part do you not understand?

Tuesday, May 11, 2004 at 11:03:06 AM

Yeah it would help if you could tell us wat part you dont get 8o

Tuesday, May 11, 2004 at 11:24:27 AM

I cant get the emitter to function........ When I start the lvl the screen goes white and the game quits 8(

I think it has something to do with the main code thing billy bob could u post ur script for it?

Tuesday, May 11, 2004 at 1:48:26 PM

Me I am having problems I put everything right including possitiion and the stuff at the top of the mis file as well as prefs.cs, and all emmiter things right but it still dont work, could someone send me a direct file? Thanks

Tuesday, May 11, 2004 at 5:37:28 PM

Ok, ive sent Kris bot this already, I still got the zip and the readme, so if anyone wants it, it explains exactly wat to do AND it comes with the emitters.cs file too! Lemme know if you want it, and ill send it to ya XD

Tuesday, May 11, 2004 at 6:44:57 PM

First thing first, do you have exec("game/server/scripts/*filename*.cs") at the top of the.mis? If so, go make a file in game/server/scripts called emitter.cs, and then change the exec to match ( exec("game/server/scripts/emitter.cs") ) and just leave the file empty for now. Now, go open a dedicated server and see if it found that file and compiled it if so, you did it right. Next read and copy the stuff from 187's tutorial into emitter.cs, load the dedicated server again and see if there are any errors. If not, make the new datablock in the.mis:

new ParticleEmitterNode(FlamethrowerEmitterNode) {

Position = "-144.619 20.0121 105.355";

Rotation = "0.0116031 -0.00690149 -0.999909 86.1322";

Scale = "1 1 1";

Datablock = "FlamethrowerEmitterNode";

Emitter = "FlamethrowerEmitter";

Velocity = "1";

};

Make the position what you want, and load the level and see if it works.

Tuesday, May 11, 2004 at 7:04:59 PM

I couldn't explain it any better......so there u go.....listen to Michael......and if it still dont work your doing something wrong :)

-Billy Bob(SEAL)-

Last edited: Wednesday, May 12, 2004 at 8:28:35 PM

Tuesday, May 11, 2004 at 10:31:34 PM

MICHAEL, I WUZ GONNA TELL EM THAT!! Like I said, I have a README that explains all that too. And you dont have to do the dedicated stuff, I dont and mine work fine ;)

Wednesday, May 12, 2004 at 12:26:07 PM

Post the readme lol

The text in it!

Wednesday, May 12, 2004 at 12:56:14 PM

I will try it on friday thx michael

Wednesday, May 12, 2004 at 12:57:33 PM

Hey scotty, send me the readme, or host it somewhere and send me the link and I will add it to the Ultimant Modding Thread.

Wednesday, May 12, 2004 at 6:34:23 PM

Its a zip file that I could post here, how do I do that?

Thursday, May 13, 2004 at 12:24:51 AM

Copy the text or post somewhere to download it like blahblahblah.com/blah.zip or whatever

Thursday, May 13, 2004 at 1:05:31 AM

Okay, here. This is my whole readme. Since I cant seem to find racer, ill just post the text.

The first is the emitters.cs file. This is wat should be in it:

Datablock particledata(flamethrower)

{

AnimateTexture = "0";

AnimTexName[0] = "game/data/shapes/Common/volcanoexplosion.png";

Colors[0] = "0.935433 0.154331 0.744094 1.000000";

Colors[1] = "0.735433 0.154331 0.844094 1.000000";

Colors[2] = "0.454331 0.204724 0.604724 0.370079";

Colors[3] = "0.000000 0.000000 0.000000 0.000000";

ConstantAcceleration = "0";

DragCoefficient = "0.997067";

FramesPerSec = "1";

GravityCoefficient = "-0.417338";

InheritedVelFactor = "0.295499";

LifetimeMS = "1984";

LifetimeVarianceMS = "480";

Sizes[0] = "0.347922";

Sizes[1] = "0.839285";

Sizes[2] = "1.93798";

Sizes[3] = "2.93902";

SpinRandomMax = "500";

SpinRandomMin = "-90";

SpinSpeed = "0";

TextureName = "game/data/shapes/Common/volcanoexplosion.png";

Times[0] = "1";

Times[1] = "1.2";

Times[2] = "1.498039";

Times[3] = "2";

UseInvAlpha = "1";

WindCoefficient = "1";

};

Datablock particleemitterdata(flamethroweremitter)

{

ClassName = "ParticleEmitterData";

EjectionOffset = "0";

EjectionPeriodMS = "28";

EjectionVelocity = "1.5";

LifetimeMS = "0";

LifetimeVarianceMS = "0";

OrientOnVelocity = "1";

OrientParticles = "0";

OverrideAdvance = "0";

ParticleFarDist = "1000";

Particles = "flamethrower";

PeriodVarianceMS = "27";

PhiReferenceVel = "0";

PhiVariance = "360";

ThetaMax = "90";

ThetaMin = "90";

UseEmitterColors = "0";

UseEmitterSizes = "0";

VelocityVariance = "0.5";

};

Datablock ParticleEmitterNodeData(Flamethroweremitternode)

{

TimeMultiple = 80;

};

All of that should be in a file named emitters.cs

Now this is the readme, follow it carefully.

Take the writing above and put it in the

Game/server/scripts folder.

Name it emitters.cs as the filename.

Now take this exerpt:

Exec("game/server/scripts/emitters.cs");

Copy it and paste it to the bottom of you prefs.cs files. To get them, go to:

Game/server and game/client

Paste them at the bottom of the prefs.cs files in these folders (NOT THE PREFS.CS.DSO FILES!!!)

Then copy that line again and paste it at the top of the.mis file you are createing an mod in. Put it right before

OBJECT WRITE BEGIN

Then put a rock somewhere in your mod. Go into the mis file and find it. It will be a TSsatic. Change it to:

New ParticleEmitterNode

Leave the position and rotation alone

The change the shapefile to:

Datablock = "FlamethrowerEmitterNode";

In the end it should look like this:

New ParticleEmitterNode(FlamethrowerEmitterNode) {

Position = "watever #";

Rotation = "watever #";

Scale = "1 1 1";

Datablock = "FlamethrowerEmitterNode";

Emitter = "FlamethrowerEmitter";

Velocity = "1";

Then you will have an emitter if you do everything correctly.

There you go! Michael, this worked for me, I dunno wat you did

Thursday, May 13, 2004 at 11:36:18 AM

Hey has eny1 noticed that it is US tankster not UF we have a imposter in da forums

Thursday, May 13, 2004 at 1:00:33 PM

Nothing I do will work!?!?!?!?!!??! It wouldnt start to load :S

Thursday, May 13, 2004 at 1:07:20 PM

Pretty much the same thing I said, except I exec form the.mis file. :)

Thursday, May 13, 2004 at 8:01:15 PM

 

Pretty much the same thing I said, except I exec form the.mis file.

Huh explain plz I can't get my emitters to work :(

Thursday, May 13, 2004 at 11:32:02 PM

Me either

Friday, May 14, 2004 at 4:58:04 AM

 

 

Now take this exerpt:

Exec("game/server/scripts/emitters.cs");

Copy it and paste it to the bottom of you prefs.cs files.

 

I said I exec from the.mis file.

Friday, May 14, 2004 at 10:57:12 AM

Did everyone read wat I said in my readme???? PREFS.CS, both of them!!!! READ WORD FOR WORD WAT I SAID IN THE README!!!!!!!!!!! 8(

Friday, May 14, 2004 at 11:41:52 AM

 

 

Did everyone read wat I said in my readme???? PREFS.CS, both of them!!!! READ WORD FOR WORD WAT I SAID IN THE README!!!!!!!!!!!

 

There would be alot less threads if people would actually read.

Friday, May 14, 2004 at 6:37:27 PM

*looking down towards floor* read why read look at 2 to da bottom and figue out wats up saves time 8o

Friday, May 14, 2004 at 10:12:33 PM

LOL

Sunday, May 23, 2004 at 4:50:10 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