Author Topic: Mission Editor, Interiors, Rotating and Water, I don't know how the work.  (Read 1778 times)

Well, whenever I add an interior, it is black (but if i use "L" it is lit up, to it's normal colors.)

Also, how do you rotate interiors?

Then, with water, I make it, but 1) I don't float. 2) The splash emitter happens all over the map (at the same height.).

« Last Edit: January 23, 2010, 05:34:55 PM by Pi »

In the .mis file, it says this.
Code: [Select]
   new TerrainBlock(Terrain) {
      rotation = "1 0 0 0";
      scale = "1 1 1";
      terrainFile = "./WWII Snow Mountains.ter";
      bumpTexture = ".";
      squareSize = "8";
      bumpScale = "7";
      bumpOffset = "0.01";
      zeroBumpScale = "6";
      RepeatTerrain = "1";
         locked = "true";
   };
Remove the space in between the WWII Snow Mountains.ter

Remove the bump texture since you did not assign one. When finished, it should look like this.
Code: [Select]
   new TerrainBlock(Terrain) {
      rotation = "1 0 0 0";
      scale = "1 1 1";
      terrainFile = "./WWIISnowMountains.ter";
      squareSize = "8";
      bumpScale = "7";
      bumpOffset = "0.01";
      zeroBumpScale = "6";
      RepeatTerrain = "1";
         locked = "true";
   };
At the top you forgot a savename.
Code: [Select]
   new ScriptObject(MissionInfo) {
         name = "WWIISnowyMountains";
   };
Add a save name so it looks like this. I also spaced out the name so it looks better.
Code: [Select]
   new ScriptObject(MissionInfo) {
         name = "WWII Snowy Mountains";
         saveName = "WWII Snowy Mountains";
   };
         saveName = "Slopes";

« Last Edit: January 23, 2010, 05:04:15 PM by Pi »


Edit the water size in mission editor inspector. To relight interiors, hit edit - Relight Scene or something. It is in one of the top drop down bar things.

One last thing, rotating.

Rotating Example
Code: [Select]
1 0 0 180Would turn the object 180 degrees in the x axis.
Code: [Select]
0.5 0.5 0 180Would turn the object 90 degrees in the x and y axises.
Code: [Select]
0.3 0.3 0.3 180Would turn the object 60 degrees in the x y and z axises.
Code: [Select]
0.3 0.3 0.3 320Would turn the object 120 degrees in the x y and z axises.

X Y Z A
X= X axis
Y= Y axis
Z= Z axis
A= Amount
The first 3 numbers are the faction of A.

You should figure out what I mean with the examples.