Not signed in (Sign In)

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthorMonsen
    • CommentTimeFeb 16th 2017 edited
     

    Index


    CC3+ contains a huge amount of various commands and features. In this series, I plan to highlight some of these. There won't be any special progression to this series, and the command will be selected from the entire range, from the simple basic commands, to more advanced features intended for the more advanced users. Feel free to use this topic to discuss the command presented. If you have a command you wish to have showcased, feel free to request it, and it may get presented.
    This series is called the command of the week, but it could also explain a feature or effect. The explanations will tend to explain the technical parts of the command, and is intended to highlight the basics (and complexities) of the command, but won't be a detailed tutorial on how to use it. It is up to you to use it creatively in your maps.

    Week 6 - Offset

    There are several reasons why you may need to have two or more lines running in parallel, such as the tracks of a railway. This is easy for straight lines, because you can simply copy them, but once the lines get the least bit curved, copy won't do, which can easily be seen from my example images below. Fortunately, CC3+ also contains the Offset command, which can create an offset copy of an existing path or polygon.

    Where to find it?

    Menu: Draw -> Offset
    Command Line: OFFSETD / OFFSETCH / OFFSET1 / OFFSETCPY

    How to use it?

    There are three different versions of this command.
    • Offset One: This creates an offset of a single path, using the current drawing properties. This means that you can use this to create an offset in a different style than the original.
    • Offset Chain: This will create an offset from a chain of entities, using the current drawing properties
    • Offset Copy: This will create an offset from the selected entity, using the same properties (color, fill style, layer, etc) as that entity.


    When using this command, make sure to keep an eye on the command line.
    When you first activate the command, it will ask for a distance. You can either type this in on the command line, or click two points in the map to define the distance (These click can be anywhere in the map, CC3+ just want a distance, not a location). For precise distances, you'll probably want to use the modifiers (like endpoint) on existing entities in the map to get the same distance, or if you know the distance you need, it is best to just type it in.
    Then, it will ask for an entity (or chain entity). Now, select the entity you want to make an offset from. For a chain entity, CC3+ considers entities to be chained if they share endpoints. usually this is accomplished by using the endpoint modifier to start the second entity just where the first one ends when originally drawing them. During this process, you only need to click on one entity in the chain.
    For the last step, it asks you which side of the entity to place the offset on. Simply click on the appropriate side of the entity.
    Now, the offset might not be visible immediately. If this is the case, simply hit Redraw (Ctrl+R) and it should appear (Unless current drawing properties would cause it to appear under something else, if so, check your sheets)

    offset.png


    A very good way to make railroad tracks for detail views, like battle maps, is to use the offset command to ensure that the rails are perfectly parallel. Then, you can use another command, like Symbols Along (From Week 2, see link at the top right) to place sleepers along the line (I used a third offset line in between the other two as a construction line for this).

    esce2.png

    Related Commands

    The Double Line [DBLN] command allows you to draw two parallel lines at once. You can access this command by right clicking the Line button. This will only draw straight lines however, you cannot do smooth paths like Offset.
    •  
      CommentAuthorMedio
    • CommentTimeFeb 17th 2017
     
    Didn´t know this command existed and it´s really helpfull. Thanks!
  1.  
    Thanks! This would come in handy.
    •  
      CommentAuthorQuenten
    • CommentTimeFeb 17th 2017
     
    I also didn't know about this command. It will come into good use. Thanks for this (and all your tutorials so far)
    • CommentAuthorLoopysue
    • CommentTimeFeb 19th 2017
     
    Extremely helpful when it comes to drawing terraced landscapes. Thanks :D
    • CommentAuthorRoyalWolf
    • CommentTimeMar 1st 2017
     
    this is great. I was wondering how I might do cart tracks/ruts on a road, and this seems to be the method