[Solved]Excluding character from scenes lightmap

  • #1, by bananeisafreeThursday, 24. November 2016, 15:47 8 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 8 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)

    Imperator

    7278 Posts

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

    Forum Fan

    120 Posts

  • #4, by afrlmeThursday, 24. November 2016, 17:43 8 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

    7278 Posts

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

    Forum Fan

    120 Posts

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

    Imperator

    7278 Posts