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
    • CommentTimeOct 19th 2017 edited
     

    Index

    1. List (Basic)
    2. Symbols Along (Intermediate)
    3. Fractalise (Intermediate)
    4. Edit Text (Basic)
    5. Link with Map/File (Intermediate)
    6. Offset (Intermediate)
    7. Measuring Tools (Basic)
    8. Change like draw tool (Basic)
    9. Modifiers (Intermediate)
    10. File Paths (Intermediate)
    11. Complex Shapes [Combine Path] (Intermediate)
    12. Complex Shapes [Multipoly] (Intermediate)
    13. Break (Intermediate)
    14. Map Notes (Basic)
    15. Coordinates (Intermediate)
    16. Macros (Advanced)
    17. Search Files for Text (Basic)
    18. Text Justification (Basic)
    19. Mirrored Polygons (Intermediate)
    20. Managing Drawing Tools (Intermediate)
    21. Named Views (Basic)
    22. Symbol Lookup Sheets (Intermediate)
    23. Symbol Catalog Settings (Advanced)
    24. Symbol Catalog Filters (Advanced)
    25. Symbol Control Points (Advanced)
    26. Define Symbol (Intermediate)
    27. Curves (Basic)
    28. Selections (Intermediate)
    29. Sort Symbols in Map (Basic)
    30. Extract Properties (Basic)
    31. Convert File (Basic)
    32. Get Extents (Advanced)
    33. Quick Move (Basic)
    34. Menu Editing (Advanced)
    35. Trace (Basic)
    36. Array Copy (Intermediate)
    37. Explode (Basic)
    38. Clipboard Copy (Basic)
    39. Rename & Reorder (Intermediate)
    40. Drawtools Edit (Basic)
    41. Trims (Basic)
    42. Symbol Attributes (Intermediate)

    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 42 - Symbol Attributes

    In CC3+, symbols can be accompanied by one or more text attributes. These are attributes that the user can edit when the symbol is placed, and thus allows for dynamic text in the symbol without having to manually place another text label next to it. This can be used to provide additional information along with the symbol, for example a unit designation along with a military symbol, an identifier for a monster on a battle map, a city name, a star system name and so on.
    By using text attributes, you ensure that the required information is always provided when placing the symbol, and formatting and positioning is handled by the symbol definition too, ensure it looks the same every time.

    Where to find it?

    Menu: Symbols -> Define Attribute
    Command Line: ATTRIB

    How to use it?

    Attributes can be added either during symbol creation, or you can open the symbol for editing and add them later. In any case, when you invoke the command, you will see the text attribute dialog.
    ta.png

    • Tag text: This is the text shown in the symbol preview in the symbol catalog
    • Prompt text: This is the explanatory text shown in the text box prompting for the attribute when the user inserts the symbol
    • Default value: This value will be pre-filled in the prompt.
    • Hidden: Hidden attributes are stored with the symbol, but are not shown in the drawing.
    • Constant: Indicates that the value is not changeable by the user upon symbol insertion. The Default value will be used.
    • Display Tag: This causes the Tag text to be displayed in the drawing instead of the user provided value. The value is still stored in the symbol, much like a Hidden value.


    Before activating the command, you should set all properties, like color, font and text size, since the attribute will use the current properties. This can of course be change after placing it using the Change Properties command too.

    When placing a symbol with a text attribute, the user will be confronted with a prompt for the required attributes.
    place.png

    Hint: A symbol can have multiple attributes.

    Mini-tutorial

    Start a new overland map, and place a city symbol in the map. Make sure to place the symbol at a scale of 1.0, even if it might be tiny or enormous. The scaling of 1.0 is important, because if we use an already scaled symbol as the start of our new symbol, then it will be scaled again when we place it into our map in the final step, making it tiny. Placing it at 1.0 when working with it is required to keep it at the same scale as the source symbol. Then just zoom in reasonably close on the symbol.ta1.png
    Use Explode on the symbol. We do this because we want to use the image from the symbol in a new symbol, and we shouldn't nest symbol definitions. By exploding the symbol, we will be left with just the entities that made up the symbol, instead of the symbol itself.
    Set appropriate text properties, such as font, size, justification and color. A text height of about 4.0 is usually appropriate and for this tutorial, I recommend top center justificationta2.png
    Select Define Attribute from the Symbols menu, and add reasonable values, such as those shown in the dialog to the right. Hit ok, and place the text below the symbol. Note that you won't see the text while positioning it, but since we used top center justification, we know that it will appear centered below our crosshairs. You can move it around with regualr CC3+ commands after placing it if required.ta3.png
    ta4.png
    Select Define Symbol from the Symbols menu, and select the entities that make up our symbol (image and text attribute). Give the symbol a name, and set a middle center origin.ta5.png
    Now, click the symbols in map button above the symbol catalog. You should see our new symbol there.ta6.png
    Try to place the symbol.ta7.png