CreatingNewContinent

Version 3 (molator, 01/30/2012 07:38 pm)

1 1 Botanic
h1. CreatingNewContinent
2 1 Botanic
3 1 Botanic
4 1 Botanic
5 2 Botanic
<pre>
6 1 Botanic
Adding a new continent:
7 1 Botanic
You need:
8 1 Botanic
- a name, I used "crater"
9 1 Botanic
You will make:
10 1 Botanic
- a .land file (continent map)
11 1 Botanic
- .primitives (zones & ai)
12 1 Botanic
How to add:
13 1 Botanic
- Create pipeline configuration files under R:\code\ryzom\tools\build_gamedata\workspace\continents\crater
14 1 Botanic
- Add [1] to R:\code\ryzom\tools\build_gamedata\workspace\projects.py
15 1 Botanic
- Run "0_setup.py -ipj continents/crater"
16 1 Botanic
- Create L:\leveldesign\World\crater\crater.continent
17 1 Botanic
- Add the continent to L:\leveldesign\World\ryzom.world
18 1 Botanic
- Run leveldesign_dev.bat pipeline script
19 1 Botanic
- Use World Editor, make a new land, save as crater.worldedit and crater.land under W:\database\landscape\ligo\rocky
20 1 Botanic
- In the land file, the x and y lines need to be changed to a block where your landscape will be, I don't know where to do this in the we ui, so I did it manually in the file, and reopen.
21 1 Botanic
- Place the necesarry ligo blocks in zone mode
22 1 Botanic
- Create a region primitive L:\primitives\crater\region_crater.primitive
23 1 Botanic
- Draw the continent border
24 1 Botanic
- Draw the region borders
25 1 Botanic
- Add the primitive to L:\primitives\file_index.cfg and primitives.cfg
26 1 Botanic
- Add [2] to entities_game_service.cfg
27 1 Botanic
- Add [3] to used_continents.cfg
28 1 Botanic
- Add the continent to R:\code\ryzom\common\src\game_share\continent.h&cpp (needs to be exactly same order and count as ryzom.world!)
29 1 Botanic
- Compile & send stuff to your server and compile there too
30 1 Botanic
- Run the export, build, and install scripts for continents/crater, and run data shard script too, and dev client
31 1 Botanic
- Sync the built shard data (collisions etc) to your shard (you can use 8_upload)
32 1 Botanic
- Set up an ai service for the crater continent (have not tried that)
33 3 molator
- Delete all .packed_sheets files into R:\code\ryzom\server\data_shard
34 1 Botanic
- Run everything
35 1 Botanic
36 1 Botanic
[1]
37 1 Botanic
38 1 Botanic
    ProjectsToProcess += [ "continents/crater" ]
39 1 Botanic
40 1 Botanic
41 1 Botanic
[2]
42 1 Botanic
43 1 Botanic
        "crater_all",
44 1 Botanic
45 1 Botanic
46 1 Botanic
[3]
47 1 Botanic
48 2 Botanic
        "crater", "22",
49 2 Botanic
</pre>