Forums Index >> Modding >> How Do You Get The Snow In Your Servers?
Page : <1> :
^ Yes Falling From Sky I Know How Ta Do Terrain.. XD
HaHa ^^ You Just Got p00ne1) WanT SoMe MoRe?? 1v1 You Host It.
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;
};
^ CrapBlaster told me he uses Napalms.cs File So I Dunno :[
HaHa ^^ You Just Got p00ne1) WanT SoMe MoRe?? 1v1 You Host It.
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.
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.
*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?
- 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.
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.
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.