CityDashBoard TalesofThings MapTube
Qrator Tutorials About Digital Urban
MRes ASAV SurveyMapper Contact Us

2007-05-23

Tutorial - Importing SketchUp/3D Max into the Oblivion Engine for Architectual Visualisation - Part 1

This tutorial is aimed at providing a clear and easy to follow path through the often confusing route of using the Oblivion Game Engine for visualistion.

Oblivion is an impressive engine and once you have completed the tutorial it should become second nature to go from SketchUp/3D Max to real-time visualisation with dynamic lighting and weather effects.

Due to the nature of the tutorial we have divided it into two parts. The first is aimed at setting up the level editor, known as the Elder Scrolls Construction set, and creating your first world. The second part provides a walk through from SketchUp and 3D Max into the environment you will of created by the end of this post. More information and guides can be found at the Elder Scrolls Wiki.

Tutorial 1

Requirements:

1) A copy of Oblivion (you can purchase it direct from our Amazon Store or any good games outlet)

2) A copy of the Elder Scrolls Construction Kit (free )

Setting Up

Step 1

Launch the Elder Scrolls Construction Kit from the Bethesda Softworks link in your Windows 'All Programs' list. Your screen will look similar to the image below.

Step 2

Select 'File' then 'Data' and load Oblivion.esm from the list. This loads all of the object sets and the environments from the game into the construction set.

Creating Your World

Step 1

Select 'Worlds' then 'World Spaces' from the top menu bar.

Step 2

Right Click on any of the World Names in the list under 'Editor ID', Select 'New'

Step 3

Name your world in the dialogue box - we used DigitalUrban. Select the following options as per the image below (click for larger version). In short - Sharable Data 'Clear Climate', Usable Dimensions 'X=3 Y=3', Tick Oblivion World Space and Small World.

Once the options are selected, Click 'OK'.

Step 4

Your World is now named and created ready to select as a World Space. Click the drop down box in the Cell View/World Space and select your World - in our case DigitalUrban as pictured below.

Step 5

Double Click 'Wilderness'. You will now have a list of cells, all named Wilderness and a purple screen in the soon to become 3D view:


Making a Landscape to Build On

We now have a defined but empty world, to build or import objects we need a flat plain of land. Oblivion is able to display complex landscapes, however for our application we simply require space to visualise.

Step 1

Select 'World' then 'Heightmap Editing' and your world name from the pop up dialogue box - this opens to Heightmap Editing Tool.

Step 2

To create a flat plain set both 'Frequency' and 'Amplitude' to 1 and 'Base Offset' to 5000. Click 'New Seed' and then Click 'Generate'. The construction set will now create an even height map according to the height indicated in the Base Offset - in our case 5000 and a resulting blue fill.

To create a mountainous landscape change the numbers in Frequency and Amplitude. Your Heightmap should now look as per the image below:


Click 'Save', wait for the editor to complete the process and then close the height editor - your terrain to build on is now complete.

Your First Object

We now need to carry out a few steps to make sure we know what 'cell' we are building in and to ensure that the relevant cell is selected.

Step 1

Rename the first cell on the list - currently called Wilderness - Click once on 'Wilderness' and wait, you will now be able to rename the cell, we used the name 'Cell1'

Step 2

We need to make sure the 3D window is dark green and not purple - if it is purple double click on any cell and then double click back on Cell1. This will make sure it is selected.

Step 3

The world is currently on the dark side - Click the 'Lightbulb' icon in the top bar. The 3D window will now turn a lighter green highlighting the grass in Cell1.

Step 4

In the Object Window select 'World Objects' and the 'Trees' you will see a list of trees that you can add to your world. Select any tree from the list and 'Click and Drag' to the 3D Window. We selected 'Tree EastHemlock'. Your tree will now be floating above the world as pictured below:



To make the tree fall to the ground 'Press F'. You can now take some time to get used to the 3D navigation in the window. Use the Mouse Scroll Wheel to Zoom and Out, Hold Down Shift and Move the Mouse to Rotate. Click on the Tree Icon in the Cells List to jump back to an overview of the object.

Any object from the 'Static' objects list can also be dragged into the window. This is how we are going to add our import from Sketchup/3D Max in part 2.

Save your world by clicking the 'Save Icon' and give your world a logical name, we used digitalurban.esp

Constuction of your first world is now complete, close the Elder Scrolls Construction Set.

Viewing Your World in Oblivion

There are now just a couple of steps to take to enable Oblivion to load up your new world rather than the default game.

Step 1

Go to the folder - 'My Documents'/'My Games'/'Oblivion' and open Oblivion.ini in either Notepad or Wordpad. We are now going to edit the file to ensure Oblivion loads our new world.

Make three changes to the Oblivion.ini file - add your Starting Cell name, in our case Cell1, your Starting World name and the name of your file in STestFile10=, in our case again digitalurban.



Save this file.

Step 2

Launch Oblivion - you are now ready to view your world. Select 'Data Files' from the Oblivion start screen. A menu will appear allowing you to load your new world. Select 'Oblivion.esm' and 'YourWorldName.esp' - ours is DigitalUrban.esp. Click 'OK' and now Click 'Play'.




The YouTube Movie below demonstrates our sample world created by following the above steps:



Note that when the world first loads the graphics are flicking and the sky is displaying errors.

This is easily fixed by:

Step 1

Press the key next to 1 on most keyboards labelled '¬' or '~' this allows console commands to be entered. Type 'TS' and then 'Press Enter' now repeat and you will see that the sky is now correctly turned on. There are a number of commands you can use in this mode to turn functions such as Flying, God Mode and Weather Effects on and off, see GameSpots guide for a full list.

Step 2

Press 'T' to allow you to advance in time - towards daylight, select 7 hours.

Your world is now complete and navigable within the Oblivion Engine. Use W/S to move forwards and backwards, A/D to move left and right. Press 'R' for a third person viewpoint.

In Tutorial 2, available shortly, we will export an object from SketchUp and 3D Max directly into our new world. You can view some SketchUp/3D Max examples so far from our previous post.

Part 2 of this tutorial can be found here.

See also 3D Max Immersive Panoramic Spheres in Oblivion

14 comments:

  1. Hey, it is a great tutorial, but when I do it I ecounter two major bugs ? First of all when im done with the heightmap editing, and I save it the construction set goes down, or if i somehow manage to save it, how, beats me ? Then when im actually done with the whole ting, I add it to my notepad, but when i start the game, im stuck inside a structure in the middle of nowhere, but not in the world I created??! How come?

    Thanks
    A worried modder!

    ReplyDelete
  2. Ok a reader mentioned a patch for Oblivion which fixes the loading problem..

    As for the heightmap the software can crash at times - I will upload our world file if that helps so you can start out with a clean world :)

    Andy

    ReplyDelete
  3. Anonymous10:31 AM

    Nice work! While waiting for part 2 I was inspired to search a way from SketchUp to Oblivion by myself. I found a way with the LTplus plugin, OpenFX, and NifSkope, assisted by STL and 3DS file format, covered by some scaling problems on SketchUp -> OpenFX, and some invers surfaces on OpenFX -> NifSkope, all solveable by hand. It works, not least because of your idea, thanx!

    If my way differs from yours, I want to encourage you to add it as an alternative (and money-free) way to part 2 of your tutorial. If not, I hope you solved the scaling and surface problems with some automatics. In any case I'm very anxious to see your solution.

    Keep it on!
    Uwe.

    ReplyDelete
  4. This tutorial and part 2 are great! Thank you very much for explaining everithing so clearly.

    ReplyDelete
  5. I followed the tutorial and it works great. The only problem is that I cannot change the sky. No matter what sky i put in TES, I always get a dark (scary) sky. Does anyone has any ideas on it?

    ReplyDelete
  6. Carlos,

    You can change the sky and weather with various codes - take a look at:

    http://vgstrategies.about.com/od/pccheatso/a/OblivionWeather.htm

    Clear - 00038EEE
    Cloudy - 00038EFE
    Fog - 00038 EEF
    Overcast - 00038EEC
    Rain - 00038 EF2
    Snow - 00038EED
    Thunderstorm - 00038EF1
    OblivionStormTamriel - 000836D5
    OblivionStormTamrielMQ16 - 0006BC8B
    CamoranNatural - 000370CE
    Default - 0000015E

    Andy

    ReplyDelete
  7. Thanks for the quick reply, but I knew this. I can trigger rain, snow, etc but the sky is always dark (really dark) and cloudy no matter the time of day or climate. Anyway, this is not supposed to be a discussion forum, so I won't bother you guys any more with my problems. I'll try to find a mapper/moder forum. Any suggestions for a good forum?

    ReplyDelete
  8. Anonymous11:35 PM

    I just followed the instructions in the tutorial down to the letter and everything. I clicked it in the data files but now how do I get to my cell in game?

    ReplyDelete
  9. Anonymous3:25 AM

    Great tutorial. But... I had the same problem as another entry with being caught inside of a building when I loaded the game. Any suggestions. Maybe where that patch is you mentioned

    ReplyDelete
  10. Anonymous9:50 PM

    Hi, When can you update the mod so i can have the clear land becouse two things 1 is when i when hightmap it carashed and i ignored it, and 2 when i done the whole thing i started where i saved any surrgestions?

    ReplyDelete
  11. If you get the patches from:

    http://tinyurl.com/zoos6

    It should fix all the problems, also make sure your using the latest construction set :)

    Andy

    ReplyDelete
  12. Hi, great tutorial, but do you know the oblivion licence terms?
    Can anyone use it commercialy?
    thanks

    ReplyDelete
  13. Anonymous6:08 PM

    Yes well i am sorry but i have the same problem.My TES contruction crush when i try to save the game i tryed that several times.i have also download tes contruction again and steel nothink....Anyway it was a great tutorial nut i would realy like an answer to my problem.

    ReplyDelete
  14. dinko9:58 PM

    Hey man :) Im still having the samme issue, the game wont load in my world.

    You wrote:
    I will upload our world file if that helps so you can start out with a clean world :)

    Could you please do it :) and perhaps a copy of your oblivion.ini, if that aint much to ask :)

    Thanks again,
    fan of your work!

    ReplyDelete