Forums Index >> Modding >> How Do You Get The Snow In Your Servers?



Page : <1> :


Hi All I Was Wondering, Since The Other Day I Was In CB's Mod There Was Some Nice Snow It Was Awesome I Wanna Know How U Do It So I Could Git It Rolling IN mY sERVER Thx.. :)

HaHa ^^ You Just Got p00ne1) WanT SoMe MoRe?? 1v1 You Host It.

Sunday, November 20, 2005 at 3:06:45 PM

Falling...from...sky? It might be a terrain... :o

Sunday, November 20, 2005 at 3:12:08 PM

^ Yes Falling From Sky I Know How Ta Do Terrain.. XD

HaHa ^^ You Just Got p00ne1) WanT SoMe MoRe?? 1v1 You Host It.

Sunday, November 20, 2005 at 4:02:46 PM

Emitters. Max has one set up in the modding resource.
You'll need to read about how to set these up, but here's the snow particle data the special.cs needs.

 

                                        
//------Snow-------//
datablock particledata(Snow)
{
animateTexture = "1";
animTexName[0] = "game/data/shapes/tanks/BounceBump.png";
colors[0] = "0.900000 0.900000 0.900000 1.000000";
colors[1] = "0.900000 0.900000 0.900000 1.000000";
colors[2] = "0.900000 0.900000 0.900000 1.000000";
colors[3] = "0.900000 0.900000 0.900000 1.000000";
constantAcceleration = "0";
dragCoefficient = "0.5";
framesPerSec = "1";
gravityCoefficient = "-10000000";
inheritedVelFactor = "100";
lifetimeMS = "100000";
lifetimeVarianceMS = "1";
sizes[0] = "1";
sizes[1] = "5";
sizes[2] = "3";
sizes[3] = "10";
spinRandomMax = "0";
spinRandomMin = "0";
spinSpeed = "10000";
textureName = "game/data/shapes/tanks/BossGlassSpec.png";
times[0] = "1";
times[1] = "1.2";
times[2] = "1.5";
times[3] = "2";
useInvAlpha = "true";
windCoefficient = "0";
};
datablock particleemitterdata(Snowemitter)
{
className = "ParticleEmitterData";
ejectionOffset = "0";
ejectionPeriodMS = "50";
periodVarianceMS = "20";
ejectionVelocity = "500";
velocityVariance = "0.5";
lifetimeMS = "0";
lifetimeVarianceMS = "0";
orientOnVelocity = "1";
orientParticles = "0";
overrideAdvance = "false";
particleFarDist = "2048";
particles = "Snow";
phiReferenceVel = "200";
phiVariance = "360";
thetaMax = "90";
thetaMin = "60";
useEmitterColors = "0";
useEmitterSizes = "0";
};
datablock ParticleEmitterNodeData(Snowemitternode)
{
timeMultiple = 99;
};

 

 

Sunday, November 20, 2005 at 4:16:56 PM

^ CrapBlaster told me he uses Napalms.cs File So I Dunno :[

HaHa ^^ You Just Got p00ne1) WanT SoMe MoRe?? 1v1 You Host It.

Sunday, November 20, 2005 at 5:02:51 PM

He's joking.

Sunday, November 20, 2005 at 6:16:01 PM

No, he's not. I didn't like the way the special.cs file changed other things Like the tank damage smoke. So I modified it for my own use for snowfall.

Put this at the end of your mission file. You can add more and change the position. They do tax the server though.
};
new ParticleEmitterNode(SnowEmitternode8) {
Datablock = "SnowEmitterNode";
position = "1024 2048 139.0";
rotation = "0.0 0.0 0.0 0.0";
scale = "1 1 1";
Emitter = "SnowEmitter";
Velocity = "1";
};
new ParticleEmitterNode(SnowEmitternode9) {
Datablock = "SnowEmitterNode";
position = "-1024 -2048 139.0";
rotation = "0.0 0.0 0.0 0.0";
scale = "1 1 1";
Emitter = "SnowEmitter";
Velocity = "1";
};
};
//--- OBJECT WRITE END ---

Here's the modified spedcial.cs file.

 

Monday, November 21, 2005 at 8:38:03 AM

Yea ^ Thx Nap It W0rked CrapBlaster(UF) Helped Me Out,, Ty CrapBlaster ^ and Napalm :P

HaHa ^^ You Just Got p00ne1) WanT SoMe MoRe?? 1v1 You Host It.

Tuesday, November 22, 2005 at 3:01:44 PM

*BUMP*...
I know how to make an emitter that looks like snow (or I could use the one here), but how would I get it to work in my server cince it is not attached to an object? Do I just have to press a key, or is there more script involved?

Saturday, November 26, 2005 at 6:23:26 PM

 

 

- Remember that these lines of code are referring to to the emitter and it's settings in the special.cs file. This file did not come with your game. You must download it to have emitters work properly.

 

Go to Maxworks.

Saturday, November 26, 2005 at 6:55:31 PM

I already have the special.cs and have made my own emitters, but I don't know how to activate the snowemitter in my mod because it is not used by any objects, like a powerup.

Sunday, November 27, 2005 at 8:08:27 AM

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