Simpleplanes mods change min and max values
This might be confusing at first if you're not familiar with the coordinate system and rotation about an axis, but if you think of it as follows you'll figure it out no problem: Remember the X axis is left and right. Positive is clockwise, negative is counter-clockwise. In that line of code find: rotation="0,0,0" These are the number of degrees of rotation around the X, Y, and Z axes of that block. In order to rotate a part, we will be changing the values of the rotation variable.
Notice the partType is sort of deceptive - the part type doesn't necessarily match what the part is called inside the game editor! You should be directed to a line of code with id="37" partType="Wing-2" in it. Let's type CTRL+F > type materials="4 and search. Hint: it is orange, which is material (color) number 4 in the Tutorial Plane's color selection. Let's rotate that orange structural panel. Refer to Tutorial Aircraft Row 1 Column 2. Experiment with this until you're comfortable with the coordinate system! Now reload it in SimplePlanes and you will see that the block has moved to the left one block, up one block, and forward one half block from its old location. In this example, our red block is 5 blocks left of center, 2.5 above center, and 5.375 forward of center.Ĭhange the text so it reads: position="-6, 3.5, 5.75" then save the file. The coordinates are given in units of a block length and are measured from the center of the "aircraft" bounds (not necessarily the center of mass). X is left and right, Y is up and down, and Z is forward and backwards. In that line of code find: position="-5,2.5,5.375" These are the X,Y,Z coordinates of that block. In order to move a part, we will be changing the values of the position variable. We will be editing id="36" partType="Block-1" For this one I will tell you the part's id number so you can easily find it. Let's move that red block to a new position without disconnecting it from it's connection on the fuselage. Refer to Tutorial Aircraft Column 1 (left-most) Row 1 (top-most). This is useful when you're trying to figure out which one of the 100 different fuselage blocks is the one you actually want to edit. XML by doing the following: CTRL+F > type materials="14 > then click Find to scroll to the part that is painted color #14. Using this piece of information, if I paint a part with the very bottom right color in the paint options, I can then find the part in. What you need to know now is that they are numbered 0-14 in order from top left to bottom right. The colors you have selected as your paints are the "materials" which we will talk about later.
Once it's saved, you must re-load it into the game. If you want to change your aircraft by writing or editing the code yourself, you must type in the edits in the. XML file, you must save your build in the game then the game writes all of the changes you made into the. In order to make the change take place in the. When you are in the SimplePlanes game editor and you make a change to your aircraft, the game program is writing lines of code into a temporary copy of the aircraft file that you have open.