CreatingNewContinent

Version 1 (Botanic, 01/22/2012 10:04 pm)

1 1 Botanic
h1. CreatingNewContinent
2 1 Botanic
3 1 Botanic
4 1 Botanic
5 1 Botanic
Adding a new continent:
6 1 Botanic
You need:
7 1 Botanic
- a name, I used "crater"
8 1 Botanic
You will make:
9 1 Botanic
- a .land file (continent map)
10 1 Botanic
- .primitives (zones & ai)
11 1 Botanic
How to add:
12 1 Botanic
- Create pipeline configuration files under R:\code\ryzom\tools\build_gamedata\workspace\continents\crater
13 1 Botanic
- Add [1] to R:\code\ryzom\tools\build_gamedata\workspace\projects.py
14 1 Botanic
- Run "0_setup.py -ipj continents/crater"
15 1 Botanic
- Create L:\leveldesign\World\crater\crater.continent
16 1 Botanic
- Add the continent to L:\leveldesign\World\ryzom.world
17 1 Botanic
- Run leveldesign_dev.bat pipeline script
18 1 Botanic
- Use World Editor, make a new land, save as crater.worldedit and crater.land under W:\database\landscape\ligo\rocky
19 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.
20 1 Botanic
- Place the necesarry ligo blocks in zone mode
21 1 Botanic
- Create a region primitive L:\primitives\crater\region_crater.primitive
22 1 Botanic
- Draw the continent border
23 1 Botanic
- Draw the region borders
24 1 Botanic
- Add the primitive to L:\primitives\file_index.cfg and primitives.cfg
25 1 Botanic
- Add [2] to entities_game_service.cfg
26 1 Botanic
- Add [3] to used_continents.cfg
27 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!)
28 1 Botanic
- Compile & send stuff to your server and compile there too
29 1 Botanic
- Run the export, build, and install scripts for continents/crater, and run data shard script too, and dev client
30 1 Botanic
- Sync the built shard data (collisions etc) to your shard (you can use 8_upload)
31 1 Botanic
- Set up an ai service for the crater continent (have not tried that)
32 1 Botanic
- Run everything
33 1 Botanic
34 1 Botanic
[1]
35 1 Botanic
36 1 Botanic
    ProjectsToProcess += [ "continents/crater" ]
37 1 Botanic
38 1 Botanic
39 1 Botanic
[2]
40 1 Botanic
41 1 Botanic
        "crater_all",
42 1 Botanic
43 1 Botanic
44 1 Botanic
[3]
45 1 Botanic
46 1 Botanic
        "crater", "22",