This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
creating_a_model_pack [2012-12-20 19:59] – /* Definitions */ skyjake | creating_a_model_pack [2012-12-20 20:02] (current) – /* Compilation */ skyjake | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{cleanup}} | ||
+ | |||
+ | This article describes conventions for creating a model resource pack. It uses the Volcano mobj [[j_heretic]] for examples. | ||
+ | |||
+ | |||
+ | ====== The Big Picture ====== | ||
+ | |||
+ | |||
+ | Let's look at how jHRP.pk3 is organized. There are the " | ||
+ | |||
+ | |||
+ | ===== Elements of a model pack ===== | ||
+ | |||
+ | [Defs] | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | < | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | *.md2 | ||
+ | *.pcx | ||
+ | </ | ||
+ | Note that there can only be one DED file for each object: " | ||
+ | |||
+ | If you are creating a model for an object that doesn' | ||
+ | |||
+ | |||
+ | ===== Definitions ===== | ||
+ | |||
+ | |||
+ | Write the DED file for the object. The DED should contain the Model defs and any associated extra defs. Avoid defining any new States because they may compromise netgame compatibility. If you need to animate an object that has only one State, use the " | ||
+ | |||
+ | If you include any particle generators in the DED, remember to use " | ||
+ | |||
+ | Note that the // | ||
+ | |||
+ | |||
+ | ===== Data files ===== | ||
+ | |||
+ | |||
+ | Prepare the MD2/DMD models and skin images. You should use the following [[md2tool]] options to prepare a model: | ||
+ | |||
+ | < | ||
+ | </ | ||
+ | This will rebuild the model' | ||
+ | |||
+ | When doing replacements for the original objects, it's important to get the model skin colors right. View the model in the game and compare it to the original object. Then apply gamma correction, color balance, hue adjustment, etc. if necessary. The **texreset** console command can be used to make Doomsday reload all textures, so there is no need to exit the game when tweaking the skin. | ||
+ | |||
+ | If you want to include any credits information with the model, make it a comment in the beginning of the DED file. | ||
+ | |||
+ | {{veradd|1.9.10}} [[md2tool]] is available in the Doomsday distribution packages. The [[md2tool# | ||
+ | |||
+ | |||
+ | ====== Finishing touches ====== | ||
+ | |||
+ | |||
+ | Here are some tips for making the finishing touches to your model: | ||
+ | |||
+ | * Check that all directory and file names are correctly spelled. In Windows the names are case insensitive, | ||
+ | * Make sure that your skin images are not wasting space. The file size of the skins should be as small as it can without degrading texture quality. Consider converting your skins to paletted formats like PNG. | ||
+ | |||
+ | |||
+ | ====== Compilation ====== | ||
+ | |||
+ | |||
+ | Choose the correct directory name for the object. The directories form a hierarchy. For example, pickup items go under one directory and decorative objects under another. Additional subdirectories are used when there are many similar objects, like keys. For examples, see jHRP and jXRP. | ||
+ | |||
+ | |||
+ | ====== Send pack to RP maintainer ====== | ||
+ | |||
+ | |||
+ | Make a post on the forums that you have created a pack and would like to get it added to the RP. | ||
+ | |||
+ | |||
+ | ====== See also ====== | ||
+ | |||
+ | * [[tips_for_model_authors]] | ||
+ | |||
+ | |||
+ | |||
+ | |||