Game Development Community

My Snow Level Mods! You Gotta See This!

by Nathan · in ThinkTanks · 08/24/2003 (7:12 pm) · 34 replies

THESE IMAGES ARE BROKEN. SCROLL DOWN. I HAVE FOUND A NEW HOST, AND THE NEW IMAGES ARE BELOW



Well, I've decided to make some really cool mods for winter levels. I'm not very far into the project, but here's a pic of how far I am. (The first 10 minutes.)
(sorry for the size, but it needs to be big to notice.)
www.geocities.com/nathan_ttfs/screenshot_00001.jpg
Pretty cool, eh? Snow capped! It still will be awkward playing the levels till i'm finished though....

I'll have the files ready for download in a few-several days. lol.


Nathan Gibney (Nathan TT / Nathan)
"I'm canadian. I need snow, eh!"
Page«First 1 2 Next»
#21
08/26/2003 (5:07 pm)
Alright thanks.
#22
08/27/2003 (4:29 am)
That looks really good Nathan!

Tank Dork www.animatedgif.net/violent/rbm1a1fire_e0.gif
#23
08/27/2003 (6:27 am)
Yes i like it too. you saw my tank skin, what did it look like?
#24
08/27/2003 (12:08 pm)
*Disclaimer* - Do this at your own risk. I am trying to help spur you guys into the modding/editing. I am not resposible for anything this might do to your game, computer, dog, life, etc. If you have a problem, I'll do my best to help you fix it.

Okay here's a rundown on what to do. As I said above, the files to be edited are the .mis files in your missions directory. This will be the only way for you to change the fog color and you will have to do it for each mission/map. There are four for each theme: Lush, Spooky and Frantic. The path is for where the missions are kept is (depending on where you installed it):

..BraveTree\ThinkTanks\game\data\missions

1. Select all the files with an .mis extension and copy them to another (safe) location. This way if you screw something up that breaks the game, you can copy it back.

2. Startup Notepad (on Mac I guess the equivalent is SimpleText).

3. Go to the open dialog and select:

..BraveTree\ThinkTanks\game\data\missions\TT1_1.mis

(*Note* - If you do not see it listed, make sure the file types is set to All Files.)

4. Now you will see all the scripting code for the mission. This particular mission is Medulla Mesa.

5. You will notice how everything is organized into groups with the name and its defining fields. For example:

new Sky(Sky) {
      position = "0 0 0";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      visibleDistance = "1000";
      useSkyTextures = "1";
      renderBottomTexture = "0";
      SkySolidColor = "0.547000 0.641000 0.789000 0.000000";
      fogDistance = "300";
      fogColor = "0.820000 0.828000 0.844000 1.000000";
      fogVolume1 = "1 1 1";
      fogVolume2 = "1 1 1";
      fogVolume3 = "40 1 95";
      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";
         cloudSpeed1 = "0.0001";
         locked = "true";
         cloudSpeed3 = "0.0003";
         cloudHeightPer2 = "0";
         cloudSpeed2 = "0.0002";
         cloudHeightPer1 = "0";
         cloudHeightPer0 = "0";
   };

This is the instance for the Sky. All the fields below new Sky(Sky) control how it is displayed. Since you are wanting to change the color of the fog, you need to change the values in the field fogColor.

Con't...
#25
08/27/2003 (12:09 pm)
...Con't

6. The current values displayed are:

fogColor = "0.820000 0.828000 0.844000 1.000000";

The values are "Red Green Blue Alpha". Each individual value has a range from 0 to 1. 0 being 0% and 1 being 100% of the color. Much like the numerical values for colors in graphic programs where 0-0-0 is black and 255-255-255 is white. The current value of "0.820000 0.828000 0.844000 1.000000" creates a white fog effect. Which you said you were after.

7. Just to make this easy, now open one (or all) of the Frantic mission files. The mission files are as such:

Lush Missions
TT1_1.mis = Medulla Mesa
TT1_2.mis = Hypothalamus Hills
TT1_3.mis = Cranium Crater
TT1_4.mis = Freudian Flats

Spooky Missions
TT2_1.mis = Hippocampus Hollow
TT2_2.mis = Comatose Canyon
TT2_3.mis = Greymatter Gorge
TT2_4.mis = Pituitary Plateau

Frantic Missions
TT3_1.mis = Synaptic Slopes
TT3_2.mis = Ganglia Gully
TT3_3.mis = Neurotic Nexus
TT3_4.mis = Receptor Ridge

8. Copy the fogColor value from Medulla Mesa and paste it over the fogColor value in the Frantic missions. Make sure you maintain continuity (correct spacing) within the script. For example:

Correct

new Sky(Sky) {
      position = "0 0 0";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      visibleDistance = "1000";
      useSkyTextures = "1";
      renderBottomTexture = "0";
      SkySolidColor = "0.547000 0.641000 0.789000 0.000000";
      fogDistance = "300";
      fogColor = "0.820000 0.828000 0.844000 1.000000";
      fogVolume1 = "1 1 1";

Incorrect

new Sky(Sky) {
      position = "0 0 0";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      visibleDistance = "1000";
      useSkyTextures = "1";
      renderBottomTexture = "0";
      SkySolidColor = "0.547000 0.641000 0.789000 0.000000";
      fogDistance = "300";
fogColor = "0.820000 0.828000 0.844000 1.000000";
      fogVolume1 = "1 1 1";

9. Now save your missions. Make sure you do not save it as a text file (.txt). The file extension should remain .mis. Otherwise you will get a file that looks like "TT1_1.mis.txt" and the game won't find the mission it is looking for.

10. You're done. Start up Think Tanks and check it out.



Hope this all helps. There are other values to change the mission via script as well. As MAX discovered, you can increase the view distance or negate the fog all together. You can also layer the fog in three distinct layers. These fields control them:

fogVolume1 = "1 1 1";
      fogVolume2 = "1 1 1";
      fogVolume3 = "40 1 95";

The first value is intensity (how dense the fog is) and the second values are start and stop points for the fog layer. So you could have:

fogVolume1 = "90 1 100";
      fogVolume2 = "50 101 200";
      fogVolume3 = "20 201 250";

This will give you three fog layers merged that progressively thin as they rise in altitude. Just play around with it, you can create some fun effects with the fog. I'd suggest not messing with the terrain data block as this can completely FUBAR the mission for you.

The other groups are the spawnpoints and the static objects (trees, rocks, etc). You can manually move them if you like, although it's a pain to move it and restart the program everytime to see what you've done. The editor makes it much easier as you can move them in realtime. The position controls their placement and is XYZ coordinates. For example:

position = "162.597 -132.003 113.225";

If you have any other questions let me know. Have fun. :)

Edit - fixed the misalignment the copy and paste did. Ugh.
#26
08/27/2003 (1:06 pm)
Well, thanks! I know about RGB values, but whats the Alpha value? Does it need to be changed if, for example, I want gray fog instead of white?
#27
08/27/2003 (1:16 pm)
Hehe. I got so excited, I fogot to backup. Oh well. That's what "custom install" is!
#28
08/27/2003 (1:31 pm)
Quote:I know about RGB values, but whats the Alpha value?

To tell you the truth I'm not completely sure. I've never played with it in the past. Possibly handles the color intensity or translucency(?). Try both values of 0 and 1 and see what the difference is.
#29
09/09/2003 (9:05 am)
Where do i get the snow levels at??

cpt Rik
#30
09/09/2003 (11:15 am)
Looks hot
#31
09/09/2003 (2:29 pm)
The snow levels can be found at my site, Nathan's ThinkTanks Fan Site

Just go to the mods section, in the lower left. Then, just look for it. My site is like a maze.
#32
09/09/2003 (5:56 pm)
Correction Tally: Looks cold

lol

*
#33
09/09/2003 (6:03 pm)
Wowers...

*rips up a paper that sys plans for teh best level ever!!*
#34
09/09/2003 (7:31 pm)
Just in time for the holidays
Page«First 1 2 Next»