[Solved]Excluding character from scenes lightmap

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

    Fanoušek fóra

    120 Posts


  • #2, z afrlmeThursday, 24. November 2016, 15:58 hodinky 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)

    Imperátor

    7285 Posts

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

    Fanoušek fóra

    120 Posts

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

    Imperátor

    7285 Posts

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

    Fanoušek fóra

    120 Posts

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

    Imperátor

    7285 Posts