Page 1 of 1

Tnt's Goodie Thread

Posted: Fri Feb 08, 2008 3:16 pm
by tnt12340
I SUGGEST YOU VISIT MY SITE TO VIEW THE TUTORIALS, AS IT IS MORE STRAIGHT FORWARD. THERE IS A LINK BELOW.


I will post some useful things here, for the Noobs to use.

Note: You can always just visit my site: http://freewebs.com/tnt12340
Just click "Tutorials" on the NavBar.

Making fog not kill you:

First, change the Mission Area to: -512 -512 1024 1024

Now,Your Flight Ceiling should already be at 200, but if it isn't, change it to 200.

Change your FlightCeilingRange to 0.

Don't worry, after this step were done. Change "Floor" to 100, and save the mission file, and go test it. it should work.

Making Fog Invisible

This is very very easy to do.

Change all the fog Volumes like below:

Code: Select all

      fogVolume1 = "1 1 1";
      fogVolume2 = "1 1 1";
      fogVolume3 = "1 1 1";


Now your done, go into the game, it should be invisible.
Note: This will not make it so the holes dont kill you, it only makes the fog invisible! if you dont want the area where the fog was to kill you, find my "Making Fog not kill you" Section.

Changing Tank Speeds

This is a very easy thing to do, as well.

All you need to do is put the following code below //--- OBJECT WRITE END ---

So, this is how its done.

To make a light tank go faster or slower, i would do this..

Code: Select all

Lighttank.maxspeed = 150;


Change the 150 to the speed you want it to be. The higher the number, the faster it goes.

If you wanted to do it with the medium tank it would look like this..

Code: Select all

Mediumtank.maxspeed = 150;


and for heavy,

Code: Select all

Heavytank.maxspeed = 150;

its pretty straight forward.

So, if i wanted my light tank to go faster, the bottom of my mis file would look like this..

Code: Select all

//--- OBJECT WRITE END ---

Lighttank.maxspeed = 150;


Note that you should leave a space between OBJECT WRITE END and the codes.

Hope i helped on this one, lots of noobs are out there asking how to do all this stuff.. lol..

Changing Tank Accelerate Rates

Its basiclly the same thing as the Tank Speed tutorial.
the only difference is the codes would look like this..

Code: Select all

Lighttank.accelerate = 150;


Its the same for deccelrate as well. Just change the digit at the end, higher faster, lower slower.

If your Making A Race Mod

If your making a race mod, there are lots of scripts out there for you. Visit your local Modding Resource for those scripts.

Anyways, on with the subject.

I would suggest the following speeds, accelerate rate, Etc for the tanks..

Put the following UNDER //--- OBJECT WRITE END ---

Code: Select all

Lighttank.maxspeed=120;
Lighttank.accelrate=15;
Lighttank.deccelrate=150;
Lighttank.turnrate=100;
Lighttank.antisliderate=999;
Lightprojectile.count=0;


And for medium it would look like..

Code: Select all

Lighttank.maxspeed=120;
mediumtank.accelrate=15;
mediumtank.deccelrate=150;
mediumtank.turnrate=100;
mediumtank.antisliderate=999;
Mediumprojectile.count=0;


For heavy, it would be the same, but with heavytank instead of mediumtank or lighttank.

If you don't want shooting in your race, d/w, i already set the above codes so the tanks cant shoot.

If you do want shooting, remove the "Exampleprojectile.count=0;"
once that's removed, you have shooting.

Making Emitters using the Special.cs

There are lots of different methods of making emitters, but in my tutorial i will be showing you how to do it using the Special.cs

Okay, time to start :D


First off, you will need the Special.cs File, and if you downloaded all the files at the top, you already have it.

To install the special cs, place it in your Game/Server/Scripts.

Once you have that there, save the file.

Now, if you want to be able to create your own emitter, you have to do this.. (unless you want to be very confused and do it the hard way..)

You will need Particle Editor, which you should have downloaded it, at the beginning of this thread.(if you hadnt, its at the very top.)

Now, once its downloaded, extract it, install it, and then open it. Click on "New Mission" Uncheck multiplayer.
Click Start.
Now once its open, wait for your character to hit the ground, once it lands, press F8 , then press F12.
The controls for the camera are as follows:
Up arrow - Move Forward
Left arrow: Move left
Down arrow: Move backwards
Right arrow: Move Right
Mouse: Look around

once you pressed F12, click "Particles" to the left.
Once you set the particles, mess around with "Emitters"
Once you get somthing you like, go to the very top tab, and click "Create DataBlock"
Now leave the game, and go to your Particle Editor\game\ParticleEditor\Particles

It should be saved in there. Open up your Datablock, and copy it all. Go into the special.cs (located in your thinktanks\game\server\scripts folder.)

Press Ctrl + F , copy this into the empty field:

Code: Select all

datablock ParticleEmitterData(heheheEmitter)


Once you found that, go under it, and paste the whole datablock.

After that, save your Special.cs.
Now go into the mission file for the mission you want emitters in, go the the very bottom, below //--- OBJECT WRITE END ---

You would put this under it:

Code: Select all

Lighttank.defaultprojectile.emitter= "EricEmitter";

Where EricEmitter is, you would put the name of your emitter.
LightTank , that chooses what tank you want the emitters to go for.

You can also make the smoke be your emitter, or a trail under your brain(when it pops out, when you die)
To do this, you would put:

Code: Select all

DefaultTankFx.damageEmitter = "EricEmitter";
Put the name of your emitter where EricEmitter is, then your smoke is your emitter.

To make it so the brain has a trail, you would put this..

Code: Select all

BrainProjectile.emitter= "EricEmitter";


And you would change "EricEmitter" to your own emitter.

Save the file.

Congrats! You should now have emitters!

Tutorial End


notes from the creator of these tutorials

Did you enjoy my tutorials? Were they easy to understand? Did i make an error somwhere? please post telling me!

Sincerely, Eric.

Re: Tnt's Goodie Thread

Posted: Fri Feb 08, 2008 7:46 pm
by tnt12340
Bump

Re: Tnt's Goodie Thread

Posted: Sat Feb 09, 2008 2:57 am
by mf
hey thats great info but could u plz include info bout makin emitters n new weapons n wat not thatd help out alot.

thanks.
mudda

Re: Tnt's Goodie Thread

Posted: Sat Feb 09, 2008 10:46 am
by tnt12340
Just added a tutorial telling you how.

Re: Tnt's Goodie Thread

Posted: Tue Apr 01, 2008 2:08 pm
by Scyth
Hey TNT,

I just want to say that I really appreciate you doing all this work. I added your site's link and the link to this thread to the Modding Resource.

Thank you!

Re: Tnt's Goodie Thread

Posted: Mon Apr 07, 2008 10:28 pm
by imasi
Thanks this clears up a lot of unanswered questions for me.

Re: Tnt's Goodie Thread

Posted: Wed May 28, 2008 4:40 pm
by tnt12340
No problem, just trying to help whatever way i can.

Re: Tnt's Goodie Thread *major bump*

Posted: Mon Dec 22, 2008 1:59 pm
by Cylicon460
Hey (I know, *bump*), I just wanted to thank you, this has really helped me out.
:rockon:

--Cy

Re: Tnt's Goodie Thread

Posted: Tue Dec 30, 2008 10:54 am
by eR!c
nice job tnt these tips have helped me a lot a will definitel help others! GJ!!! :monkey: