Skip to content

.rp File Creation

Andrey edited this page Jul 23, 2019 · 2 revisions

.RP FILE CREATION

File assignment:

This file is used to determine the rotation points of various model parts. Its creation is optional! If you do not create it, all the rotation points will be set to the coordinates 0 0 0.

File Structure:

  1. (Optional) The first line should contain the type of program from which the rotation points were taken. The first line should look like this:

    !type supported_program_type

    Current supported types:

    blender

    If the type of the program you are using is not in the list of supported ones, you can immediately write the remaining lines (you can start from the first line, that's not a problem, just skip it).

    Example:

    !type blender

  2. The remaining lines are structured as follows: object_name=x/y/z object_name - this is the name of the object in the obj-file, where x, y, z are coordinates of the rotation point of the object with the name object name

    Example:

    ph_body=0.0/0.0/15.7

  3. Lines can be separated by empty lines.

  4. If the type of the program you are using is NOT in the list of supported ones, you should enter the coordinates based on the following coordinate system (adopted in Minecraft):

5. You can omit the turning points for some models, in which case their coordinates will remain at the point `0 0 0`. At the same time, if Minecraft is launched through a development environment, such as Eclipse or Intellij Idea, then you will get a message about the missing coordinates during the loading process. If for some parts you really don’t need them, then just skip these messages, they will not appear during the normal launch.