[Solved]Excluding character from scenes lightmap

  • #1, by bananeisafreeThursday, 24. November 2016, 15:47 4 years ago
    Hi everyone.
    Quick question, do you know if it is possible to exclude a specific character from the lightmap of a scene ? (or all of scenes for that matter)

    To put it to perspective, let's say that a character is a being emmiting light (ghost, screen, hologram etc...) and you really want it as a character, not an object, since you want him to follow the main character, or even be playable.
    having him changing tone when entering the dark part of the lightmap breaks the imersion quite a bit.

    Any ideas ?
    thank you in advance

    Forum Fan

    120 Posts


  • #2, by afrlmeThursday, 24. November 2016, 15:58 4 years ago
    Check out CharacterTint under Characters in the Data Stucture section of the wiki.

    You should be able to independently force the tint of the character from the lightmap.

    Example...
    Characters["Tom"].CharacterTint = 0xFF0000 -- draw character with a blue tint (not sure if this is the default value)
    1

    Imperator

    6842 Posts

  • #3, by bananeisafreeThursday, 24. November 2016, 17:14 4 years ago
    That did the job !
    Thanks a bunch !

    Forum Fan

    120 Posts

  • #4, by afrlmeThursday, 24. November 2016, 17:43 4 years ago
    No problem at all. smile

    Could you please edit your first post & add [solved] or something of the like somewhere into the title of your thread, cheers.

    Imperator

    6842 Posts

  • #5, by bananeisafreeThursday, 24. November 2016, 18:05 4 years ago
    Done !

    Forum Fan

    120 Posts

  • #6, by afrlmeThursday, 24. November 2016, 18:27 4 years ago
    smile

    Imperator

    6842 Posts

Write post