RebuildingTheNewbieLandWith TheBuildPipeline

Version 19 (ChrisNewman, 09/16/2010 10:20 am)

1 1 ChrisNewman
h1. Rebuilding The NewbieLand With The Build_Pipeline (WIP)status = Test successful, Writing docs.
2 13 ChrisNewman
3 19 ChrisNewman
!http://dev.ryzom.com/attachments/984/NNBL01.jpg!
4 19 ChrisNewman
5 13 ChrisNewman
{{>toc}}
6 3 ChrisNewman
7 3 ChrisNewman
h2. About
8 3 ChrisNewman
9 3 ChrisNewman
In this tutorial we are going to rebuild the "NewbieLand", but not just rebuild it.
10 3 ChrisNewman
We are going to "paint" the bricks and textures our own way.
11 3 ChrisNewman
This should be a great "CRASH COURSE" in level building in ryzom core if you are new to the project. 
12 3 ChrisNewman
13 17 ChrisNewman
>!http://dev.ryzom.com/attachments/981/IGSHOT01.jpg!
14 17 ChrisNewman
15 17 ChrisNewman
16 3 ChrisNewman
h2. Pre Constraints
17 3 ChrisNewman
18 3 ChrisNewman
This tutorial assumes the following.....
19 3 ChrisNewman
20 18 ChrisNewman
1. You are using mercurial change set 759.
21 3 ChrisNewman
2. You have cloned the mercurial repository to C:\ryzom. (http://dev.ryzom.com/wiki/ryzom/Getting_Source)
22 3 ChrisNewman
3. You have downloaded the asset repository to C:\database. (http://media.ryzom.com/)
23 3 ChrisNewman
4. You have downloaded the client to C:\ryzom_client. (http://sourceforge.net/projects/ryzom/files/)
24 3 ChrisNewman
5. You have compiled all sources and can run and connect to your own server. (http://dev.ryzom.com/wiki/ryzom/Guide)
25 3 ChrisNewman
6. You have compiled,installed and loaded the NeL plugins for 3DSMAX. (http://dev.ryzom.com/wiki/ryzom/InstallingMaxPlugins)
26 16 ChrisNewman
7. You have installed python 2.7. (http://www.python.org/)
27 3 ChrisNewman
8. You have converted the ryzom_assets database. (http://dev.ryzom.com/wiki/ryzom/Convertingryzom_assetsDatabase)
28 3 ChrisNewman
9. You have downloaded the ryzom_assets_newbieland and merged it into C:\database. (http://sourceforge.net/projects/ryzom/files/)
29 4 ChrisNewman
10. you have setup three virtual drives (w: that points to drive c: | r: that points to c:\ryzom | l: that points to r:\code\ryzom\common\data_leveldesign). (http://en.wikipedia.org/wiki/Subst)
30 5 ChrisNewman
> !http://dev.ryzom.com/attachments/940/VDPIC.jpg!
31 5 ChrisNewman
32 5 ChrisNewman
h2. Getting Started
33 12 ChrisNewman
34 12 ChrisNewman
h3. Getting Started Video Companion http://www.screentoaster.com/watch/stUE5RRUZORFtXRFxbX1JZU1FX
35 1 ChrisNewman
36 17 ChrisNewman
>!http://dev.ryzom.com/attachments/957/st1.jpg!
37 12 ChrisNewman
38 12 ChrisNewman
39 11 ChrisNewman
40 5 ChrisNewman
1. First we need to test the "jungle.bank" to make sure its setup correctly.
41 5 ChrisNewman
Launch tile_edit_r.exe (C:\ryzom\code\nel\tools\3d\tile_edit\).
42 5 ChrisNewman
Press "Load" then navigate to C:\database\landscape\_texture_tiles\jungle\jungle.bank and open it.
43 5 ChrisNewman
Click on the button next to "Absolute path".
44 15 ChrisNewman
Change the path to "C:\Database\landscape\_texture_tiles\jungle".
45 7 ChrisNewman
Goto " http://dev.ryzom.com/wiki/ryzom/AddingANewContinent#Creating-A-Tile-Bank-tile_edit_r-3DSMAX "and test the bank by doing steps 19-22 using the "jungle.bank".
46 1 ChrisNewman
If it shows correctly move on to the next steps.
47 14 ChrisNewman
48 17 ChrisNewman
>!http://dev.ryzom.com/attachments/944/NPPTest.jpg! 
49 10 ChrisNewman
50 10 ChrisNewman
51 8 ChrisNewman
h2. Exporting Assets Using The Build Pipeline 
52 8 ChrisNewman
53 8 ChrisNewman
1. Create a folder in drive C:\ named "export" (C:\export)
54 1 ChrisNewman
55 1 ChrisNewman
2. Navigate to C:\ryzom\code\nel\tools\build_gamedata and double click on "0_setup.py".
56 8 ChrisNewman
The console will ask for directory's, Its pretty self explanatory, just fill it out and it will set everything up for you.
57 17 ChrisNewman
> Note> Everything in the <> are the suggested defaults. 
58 8 ChrisNewman
59 17 ChrisNewman
>!http://dev.ryzom.com/attachments/954/tut22.jpg!
60 8 ChrisNewman
61 8 ChrisNewman
3. Navigate to C:\ryzom\code\nel\tools\build_gamedata and double click on "1_export.py".
62 8 ChrisNewman
This exports all the data from the .max files in C:\Database.
63 8 ChrisNewman
64 8 ChrisNewman
4. Navigate to C:\ryzom\code\nel\tools\build_gamedata and double click on "2_build.py".
65 8 ChrisNewman
This runs all the compile operations like converting images to direct draw format, lighting and sound effects.
66 8 ChrisNewman
67 8 ChrisNewman
5. Navigate to C:\ryzom\code\nel\tools\build_gamedata and double click on "3_install.py".
68 8 ChrisNewman
This installs all the generated data and folder structures into C:\ryzom_client\user for testing in game.
69 8 ChrisNewman