Forums Index >> Modding >> Chongs Christmas Present to TT snow in your MODs !...



Page : <1> :

Cho

First make a text file in game/server/scripts and name it emitters.cs
Then add this code in emitters.cs:

 


//------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;
};

 

Then save that.

Then put this in your.MIS file and put it inbetween any of the TSS static bits or powerup bits (Preferbly at the end):

 

New ParticleEmitterNode(SnowEmitterNode) {
position = "-101.723 -95.295 133.821";
rotation = "0.77864 -0.618341 -0.106649 9.0625";
scale = "1 1 1";
datablock = "SnowEmitterNode";
emitter = "SnowEmitter";
velocity = "1";

 

And there you have it ! Snow in your MODs !!

Last edited: Tuesday, December 21, 2004 at 6:13:02 AM

Tuesday, December 21, 2004 at 6:11:50 AM

Nice I usd it thanks

Tuesday, December 21, 2004 at 9:45:38 AM

Hw do I open a text file?Is always shows up as a program file

Tuesday, December 21, 2004 at 11:00:18 AM
Cho

Go to Start>>>Then go to notepad then save it as emitters.cs
Now WOW wasnt that hard ? %)

Tuesday, December 21, 2004 at 11:56:58 AM

...U brightened up my day until that wow came along X/ but ty anyways.

Tuesday, December 21, 2004 at 11:57:59 AM

Can you show an example of the one in your mis? :o

Tuesday, December 21, 2004 at 8:38:41 PM

Please unban me from your mod Slipstreem

Tuesday, December 21, 2004 at 8:40:06 PM

Will
1;NOT THE PLACE TO TALK ABOUT THIS
2; your actions in my mod were unsuitable
but you and
1chong
2joe are unbanned but im whatchin

Tuesday, December 21, 2004 at 9:40:44 PM

Alright,here's how it goes.

Open notepad,and create a new.cs file. Call it emitters.cs

Copy and paste the stuff in the first quote. Put it in emitters.cs,save.

Copy the remaining stuff,now got to your.mis,go to the object you want the emitter to emit from,and paste it below.

Copy the object's position and rotation,and paste it in the Emitter node.

It should look like this:

 

New TSStatic() {
position = "-27.9744 434.111 261.332";
rotation = "0.091441 -0.0340852 -0.995227 32.4235";
scale = "1 1 1";
shapeName = "game/data/shapes/Green/rockgreen05.dts";
treeLighting = "0";
lightBoost = "0";
};
new ParticleEmitterNode(SnowEmitterNode) {
position = "-27.9744 434.111 261.332";
rotation = "0.091441 -0.0340852 -0.995227 32.4235";
scale = "1 1 1";
datablock = "SnowEmitterNode";
emitter = "SnowEmitter";
velocity = "1";
};

 

 

Wednesday, December 22, 2004 at 1:38:34 AM
Cho

Well my.mis as you asked.....but don't complain to me anymore, Work it out yourself.

 


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

//--- OBJECT WRITE BEGIN ---
new SimGroup(MissionGroup) {
musicTrack = "Lush";

New ScriptObject(MissionInfo) {
name = "Snowy Synaptica";
};
new MissionArea(MissionArea) {
area = "-256 -256 512 512";
flightCeiling = "200";
flightCeilingRange = "0";
floor = "90";
locked = "false";
};
new Sky(Sky) {
position = "0 0 0";
rotation = "1 0 0 0";
scale = "1 1 1";
visibleDistance = "1000";
useSkyTextures = "1";
renderBottomTexture = "0";
SkySolidColor = "0.330000 0.830000 0.000000";
fogDistance = "300";
fogColor = "0.330000 0.830000 0.000000";
fogVolume1 = "1 1 1";
fogVolume2 = "1 1 1";
fogVolume3 = "40 1 90";
materialList = "~/data/skies/sky_day.dml";
windVelocity = "1 1 0";
windEffectPrecipitation = "1";
noRenderBans = "0";
fogVolumeColor1 = "128.000000 128.000000 128.000000 -222768174765569860000000000000000000000.000000";
fogVolumeColor2 = "128.000000 128.000000 128.000000 0.000000";
fogVolumeColor3 = "128.000000 128.000000 128.000000 -170698929442160050000000000000000000000.000000";
cloudSpeed3 = "0.0003";
cloudSpeed2 = "0.0002";
locked = "true";
cloudSpeed1 = "0.0001";
cloudHeightPer0 = "0";
cloudHeightPer2 = "0";
cloudHeightPer1 = "0";
};
new Sun() {
direction = "0.642885 0.642885 -0.416411";
color = "1.000000 0.985000 0.960000 1.000000";
ambient = "0.700000 0.600000 0.500000 1.000000";
rotation = "1 0 0 0";
locked = "true";
scale = "1 1 1";
position = "0 0 0";
};
new TerrainBlock(Terrain) {
rotation = "1 0 0 0";
scale = "1 1 1";
detailTexture = "~/data/terrains/details/detial1";
terrainFile = "./TT3_1.ter";
squareSize = "8";
tile = "0";
blockShift = "7";
locked = "false";
position = "-1024 -1024 0";
};
new SimGroup(PlayerDropPoints) {

New SimGroup(GreenPlayerDropPoints) {

New SpawnSphere() {
position = "47.8987 169.99 146.256";
rotation = "0 0 1 172.461";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
outdoorWeight = "100";
lockCount = "0";
locked = "false";
indoorWeight = "100";
homingCount = "0";
sphereWeight = "100";
};
new SpawnSphere() {
position = "-103.842 146.441 100.505";
rotation = "0 0 1 179.283";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
outdoorWeight = "100";
lockCount = "0";
locked = "false";
indoorWeight = "100";
homingCount = "0";
sphereWeight = "100";
};
new SpawnSphere(target1) {
position = "-146.553 -25.481 142.434";
rotation = "0 0 1 115.47";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
outdoorWeight = "100";
lockCount = "0";
locked = "false";
indoorWeight = "100";
homingCount = "0";
sphereWeight = "100";
};
new SpawnSphere() {
position = "-68.7884 146.111 111.959";
rotation = "0 0 1 175.272";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
outdoorWeight = "100";
lockCount = "0";
locked = "false";
indoorWeight = "100";
homingCount = "0";
sphereWeight = "100";
};
new SpawnSphere() {
position = "131.294 170.799 128.249";
rotation = "0 0 1 204.728";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
outdoorWeight = "100";
lockCount = "0";
locked = "false";
indoorWeight = "100";
homingCount = "0";
sphereWeight = "100";
};
new SpawnSphere() {
position = "163.506 152.191 139.315";
rotation = "0 0 1 216.006";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
outdoorWeight = "100";
lockCount = "0";
locked = "false";
indoorWeight = "100";
homingCount = "0";
sphereWeight = "100";
};
new SpawnSphere() {
position = "-161.23 120.436 99.9999";
rotation = "0 0 1 132.354";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
outdoorWeight = "100";
lockCount = "0";
locked = "false";
indoorWeight = "100";
homingCount = "0";
sphereWeight = "100";
};
new SpawnSphere() {
position = "164.012 88.6691 121.971";
rotation = "0 0 -1 109.044";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
outdoorWeight = "100";
lockCount = "0";
locked = "false";
indoorWeight = "100";
homingCount = "0";
sphereWeight = "100";
};
new SpawnSphere() {
position = "78.4188 157.127 120.394";
rotation = "0 0 1 194.233";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
outdoorWeight = "100";
lockCount = "0";
locked = "false";
indoorWeight = "100";
homingCount = "0";
sphereWeight = "100";
};
};
new SimGroup(BluePlayerDropPoints) {

New SpawnSphere() {
position = "168.803 -50.4841 112.542";
rotation = "0 0 -1 86.1256";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
outdoorWeight = "100";
lockCount = "0";
locked = "false";
indoorWeight = "100";
homingCount = "0";
sphereWeight = "100";
};
new SpawnSphere() {
position = "109.85 -112.692 113.721";
rotation = "0 0 -1 100.45";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
outdoorWeight = "100";
lockCount = "0";
locked = "false";
indoorWeight = "100";
homingCount = "0";
sphereWeight = "100";
};
new SpawnSphere() {
position = "1.2228 -181.219 114.432";
rotation = "1 0 0 0";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
outdoorWeight = "100";
lockCount = "0";
locked = "false";
indoorWeight = "100";
homingCount = "0";
sphereWeight = "100";
};
new SpawnSphere() {
position = "110.815 -189.354 116.708";
rotation = "0 0 -1 3.04683";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
outdoorWeight = "100";
lockCount = "0";
locked = "false";
indoorWeight = "100";
homingCount = "0";
sphereWeight = "100";
};
new SpawnSphere() {
position = "-122.963 -184.442 145.479";
rotation = "0 0 1 35.2558";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
outdoorWeight = "100";
lockCount = "0";
locked = "false";
indoorWeight = "100";
homingCount = "0";
sphereWeight = "100";
};
new SpawnSphere() {
position = "-152.338 -172.747 153.429";
rotation = "0 0 1 57.6867";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
outdoorWeight = "100";
lockCount = "0";
locked = "false";
indoorWeight = "100";
homingCount = "0";
sphereWeight = "100";
};
new SpawnSphere() {
position = "171.486 -131.652 101.226";
rotation = "0 0 -1 56.9047";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
outdoorWeight = "100";
lockCount = "0";
locked = "false";
indoorWeight = "100";
homingCount = "0";
sphereWeight = "100";
};
new SpawnSphere() {
position = "76.6869 -200.859 116.47";
rotation = "0 0 1 1.53694";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
outdoorWeight = "100";
lockCount = "0";
locked = "false";
indoorWeight = "100";
homingCount = "0";
sphereWeight = "100";
};
new SpawnSphere() {
position = "-55.8721 -180.542 118.795";
rotation = "0 0 1 21.0176";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
outdoorWeight = "100";
lockCount = "0";
locked = "false";
indoorWeight = "100";
homingCount = "0";
sphereWeight = "100";
};
new SpawnSphere() {
position = "-168.106 -130.405 154.029";
rotation = "0 0 1 73.3393";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
outdoorWeight = "100";
lockCount = "0";
locked = "false";
indoorWeight = "100";
homingCount = "0";
sphereWeight = "100";
};
new SpawnSphere() {
position = "166.498 32.0153 100.293";
rotation = "0 0 -1 100.45";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
outdoorWeight = "100";
lockCount = "0";
locked = "false";
indoorWeight = "100";
homingCount = "0";
sphereWeight = "100";
};
};
};
new TSStatic() {
position = "-159.372 155.32 103.796";
rotation = "1 0 0 0";
scale = "1 1 1";
shapeName = "~/data/shapes/Green/rockgreen02.dts";
treeLighting = "0";
lightBoost = "0";
};
new TSStatic() {
position = "-164.836 -143.983 153.709";
rotation = "0 0 1 76.2038";
scale = "1 1 1";
shapeName = "~/data/shapes/Green/rockgreen01.dts";
treeLighting = "0";
lightBoost = "0";
};
new TSStatic() {
position = "166.607 161.321 139.175";
rotation = "1 0 0 0";
scale = "1 1 1";
shapeName = "~/data/shapes/Green/rockgreen02.dts";
treeLighting = "0";
lightBoost = "0";
};
new Boost(boost2) {
position = "31.8816 44.3575 101.737";
rotation = "-0.124306 0.0667915 -0.989993 57.484";
scale = "1 1 1";
dataBlock = "TestBoost";
lightBoost = "0";
};
new TSStatic() {
position = "44.1156 -158.36 109.963";
rotation = "-0.12414 -0.210865 -0.969601 86.4855";
scale = "1 1 1";
shapeName = "~/data/shapes/Green/rockgreen03.dts";
treeLighting = "0";
lightBoost = "0";
};
new Boost(target3) {
position = "73.4442 122.504 119.447";
rotation = "-0.901139 -0.425306 0.0840473 13.3935";
scale = "1 1 1";
dataBlock = "TestJump";
lightBoost = "0";
};
new TSStatic() {
position = "-107.338 27.1128 103.642";
rotation = "0.114626 -0.114299 -0.986811 38.4794";
scale = "1 1 1";
shapeName = "~/data/shapes/Green/rockgreen01.dts";
treeLighting = "0";
lightBoost = "0";
};
new PowerUp(pup4) {
position = "-113.398 -54.4555 125.765";
rotation = "1 0 0 0";
scale = "1 1 1";
dataBlock = "TestPowerup";
lightBoost = "0";
};
new PowerUp(target4) {
position = "-105.054 94.9918 104.791";
rotation = "1 0 0 0";
scale = "1 1 1";
dataBlock = "TestPowerup";
lightBoost = "0";
};
new TSStatic() {
position = "165.272 -165.483 110.99";
rotation = "1 0 0 0";
scale = "1 1 1";
shapeName = "~/data/shapes/Green/rockgreen01.dts";
treeLighting = "0";
lightBoost = "0";
};
new Volcano() {
position = "10.8697 176.771 142.724";
rotation = "1 0 0 0";
scale = "1 1 1";
dataBlock = "VolcanoDB";
lightBoost = "0";
};
new PowerUp(target5) {
position = "30.879 -144.64 116.027";
rotation = "1 0 0 0";
scale = "1 1 1";
dataBlock = "TestPowerup";
lightBoost = "0";
};
new Boost(Boost1) {
position = "-4.43621 -18.9378 100.064";
rotation = "-0.00264229 0.0160149 0.999868 64.9502";
scale = "1 1 1";
dataBlock = "TestBoost";
lightBoost = "0";
};
new PowerUp(Reload) {
position = "3.47342 15.8617 104.086";
rotation = "0.0326054 0.0315947 -0.998969 92.9794";
scale = "1 1 1";
dataBlock = "Reload";
lightBoost = "0";
};
new TSStatic() {
position = "-160.932 151.269 105.191";
rotation = "1 0 0 0";
scale = "1 1 1";
shapeName = "~/data/shapes/Green/rockgreen01.dts";
treeLighting = "0";
lightBoost = "0";
};
new TSStatic() {
position = "41.7846 -165.698 110.852";
rotation = "-0.015172 0.203509 0.978956 180.082";
scale = "1 1 1";
shapeName = "~/data/shapes/Green/rockgreen01.dts";
treeLighting = "0";
lightBoost = "0";
};
new PowerUp(pup1) {
position = "119.403 7.65893 113.047";
rotation = "1 0 0 0";
scale = "1 1 1";
dataBlock = "TestPowerup";
lightBoost = "0";
};
new TSStatic() {
position = "-44.6614 -12.476 110.658";
rotation = "0.237334 0.243578 0.940395 113.453";
scale = "1 1 1";
shapeName = "~/data/shapes/Green/rockgreen01.dts";
treeLighting = "0";
lightBoost = "0";
};
new Boost() {
position = "-64.7712 -66.8417 127.52";
rotation = "0.980162 -0.193006 0.0450733 20.4378";
scale = "1 1 1";
dataBlock = "TestJump";
lightBoost = "0";
};
new TSStatic() {
position = "-136.031 -40.1592 138.489";
rotation = "-0.139396 -0.0781038 0.987152 57.3152";
scale = "1 1 1";
shapeName = "~/data/shapes/Green/rockgreen01.dts";
treeLighting = "0";
lightBoost = "0";
};
new PowerUp(pup6) {
position = "156.092 -178.323 109.241";
rotation = "1 0 0 0";
scale = "1 1 1";
dataBlock = "TestPowerup";
lightBoost = "0";
};
new TSStatic() {
position = "121.734 16.14 108.943";
rotation = "0.439811 0.018337 -0.897903 38.8845";
scale = "1 1 1";
shapeName = "~/data/shapes/Green/rockgreen01.dts";
treeLighting = "0";
lightBoost = "0";
};
new TSStatic() {
position = "-42.9386 106.055 107.651";
rotation = "-0.174869 -0.0298998 0.984138 128.266";
scale = "1 1 1";
shapeName = "~/data/shapes/Green/rockgreen01.dts";
treeLighting = "0";
lightBoost = "0";
};
new TSStatic() {
position = "144.972 107.813 119.33";
rotation = "0.0191812 0.0475274 -0.998686 92.9556";
scale = "1 1 1";
shapeName = "~/data/shapes/Green/rockgreen01.dts";
treeLighting = "0";
lightBoost = "0";
};
new TSStatic() {
position = "116.804 -2.98869 114.563";
rotation = "0.18361 0.23415 0.954705 78.7964";
scale = "1 1 1";
shapeName = "~/data/shapes/Green/rockgreen01.dts";
treeLighting = "0";
lightBoost = "0";
};
new PowerUp(pup2) {
position = "110.836 111.396 119.391";
rotation = "1 0 0 0";
scale = "1 1 1";
dataBlock = "TestPowerup";
lightBoost = "0";
};
new TSStatic() {
position = "-51.01 111.91 106.256";
rotation = "-0.14535 -0.0286712 0.988965 85.5056";
scale = "1 1 1";
shapeName = "~/data/shapes/Green/rockgreen01.dts";
treeLighting = "0";
lightBoost = "0";
};
new TSStatic() {
position = "-103.427 29.3351 103.565";
rotation = "0.00623895 -0.429428 -0.90308 90.5132";
scale = "1 1 1";
shapeName = "~/data/shapes/Green/rockgreen01.dts";
treeLighting = "0";
lightBoost = "0";
};
new Boost() {
position = "69.7573 -92.8757 116.713";
rotation = "-0.639181 0.763778 0.0899451 8.24349";
scale = "1 1 1";
dataBlock = "TestJump";
lightBoost = "0";
};
new TSStatic() {
position = "-11.3754 -112.523 109.412";
rotation = "1 0 0 0";
scale = "1 1 1";
shapeName = "~/data/shapes/Green/rockgreen02.dts";
treeLighting = "0";
lightBoost = "0";
};
new LavaEmitterNode(LavaEmitterNode) {
position = "10.8697 176.771 142.724";
rotation = "1 0 0 0";
scale = "1 1 1";
datablock = "LavaEmitterNode";
emitter = "LavaEmitter";
velocity = "1";
};
new ParticleEmitterNode(SnowEmitterNode) {
position = "47.671 -45.7801 121.922";
rotation = "0.0504347 0.0312855 -0.998237 27.6122";
scale = "1 1 1";
datablock = "SnowEmitterNode";
emitter = "SnowEmitter";
velocity = "1";
};
new SnowEmitterNode(SnowEmitterNode) {
position = "-101.723 -95.295 133.821";
rotation = "0.77864 -0.618341 -0.106649 9.0625";
scale = "1 1 1";
datablock = "SnowEmitterNode";
emitter = "SnowEmitter";
velocity = "1";
};
new SmokerRedEmitterNode(SmokerRedEmitterNode) {
position = "3.47342 15.8617 104.086";
rotation = "0.0326054 0.0315947 -0.998969 92.9794";
scale = "1 1 1";
datablock = "SmokerRedEmitterNode";
emitter = "SmokerRedEmitter";
velocity = "1";
};
};
//--- OBJECT WRITE END ---

 

 

Wednesday, December 22, 2004 at 3:34:45 AM

Wtf? You didn't say to put an execute line before OBJECT WRITE BEGIN
hmmm...maybe that was my problem...

Wednesday, December 22, 2004 at 8:15:32 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