Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Adding Creatures

...

  • $leveldesign$/Game_elem/Creature/fauna/bestiary/forest/chdfa1.creature
  • $leveldesign$/Game_elem/Creature/fauna/Parent_creature_prototype/_dag.creature
  • $leveldesign$/Game_elem/Creature/fauna/Ecosystem/forest/_dag_for.creature
  • $leveldesign$/Game_elem/items/armor/creature_armor/medium_slashing_chest.item

Make a copy of each one in the respective folder and rename them to something new e.g. your desired creature name. In this tutorial ill create a "arma" creature so my renamed files are:

  • arma.creature
  • _arma.creature
  • _arma_for.creature
  • arma_chest.item

...

Open the arma.creature file 

  • replace

    Code Block
    languagehtml/xml
    <PARENT Filename="_dag_for.creature"/> 

    with

    Code Block
    <PARENT Filename="_arma_for.creature"/> 
  • change any stat value you want like "life"

Open the _arma_for.creature file 

  • replace

    Code Block
    languagehtml/xml
    <PARENT Filename="_dag.creature"/> 

    with

     


    Code Block
    languagehtml/xml
    <PARENT Filename="_arma.creature"/>


     

Open the _arma.creature file 

  • replace in Basics struct

     


    Code Block
    languagehtml/xml
    <ATOM Name="Race" Value="dag"/>


     

    with

     


    Code Block
    languagehtml/xml
    <ATOM Name="Race" Value="arma"/>


     

...

  • replace the SkelAnimSetBaseName and LodCharacterName atoms in the 3d data struct with the following

    Code Block
    languagehtml/xml
    <ATOM Name="Skel" Value="TR_MO_Arma.skel"/>
    <ATOM Name="AnimSetBaseName" Value="arma"/>
    <ATOM Name="LodCharacterName" Value="TR_MO_arma_LOD"/> 

Open arma_chest.item 

  • replace 3d struct with the following

    Code Block
    languagehtml/xml
    <STRUCT Name="3d">
        <ATOM Name="shape" Value="TR_MO_Arma.shape"/>
        <ATOM Name="shape_female" Value="TR_MO_Arma.shape"/>
    </STRUCT> 

So far so good, now lets recreate the .packed_sheets

  • Build the sheets_id.bin with the make_sheet_id tool and copy it to the user dir in your game client dir
  • Build the .packed_sheets with the sheets_packer and copy it to the same location
  • Delete all .packed_sheets from the server/data_shard dir if existing
  • Make sure the four files we created are existing in the correct dir in your leveldesign dir and that they contain the content i explained before
  • Finally we need to add a name for our new arma
    • Edit creature_en.txt in your $server_dir$/data_shard/language folder
    • Edit creature_en.txt in your $client_dir$/user
    • Add this line at the bottom in both files (be carefull with the tabs)
_A07A5C396E75AF9C    arma    My Arma    a    the    Armas        the

 


h2. Edit Newbyland

 

Note: Make sure your data_leveldesign folder is correctly linked to l: or else the neccessary files wont be found

...