Terrax Lighting system

● ARCHIVED · READ-ONLY
Started by Terrax 1467 posts Page 19 of 74 View original ↗
  1. How can you put Hours,Minutes and seconds from the Plugin to a Variable?  :(

    I want to do a Scene like "45 Minutes Later" (or somethink like that)

    I didnt understand this "Save DaynightMinutes"...

    I did a Plugin command:"Save DaynightMinutes 21" and I want to put DaynightMinutes to Variable 21 ingame, but it don't work! What I did wrong?

    I need a helpfull answer please for a noob like me!
  2. Hey there! Thanks for the awesome plugin :)

    I have a question... Is it possible to make a light source WITHOUT making everything around it pitch-black? For example I'd like to see the map the night tint still while having light sources that brighten areas. Is that possible?

    Thanks again.
  3. How can you put Hours,Minutes and seconds from the Plugin to a Variable? :(

    I want to do a Scene like "45 Minutes Later" (or somethink like that)

    I didnt understand this "Save DaynightMinutes"...

    I did a Plugin command:"Save DaynightMinutes 21" and I want to put DaynightMinutes to Variable 21 ingame, but it don't work! What I did wrong?

    I need a helpfull answer please for a noob like me!
  4. Terrax? This script in recent version collide somehow with 

    http://yanfly.moe/2015/12/08/yep-40-event-mini-label/

    I have simple "common event" Aura spell 

    Aura

       Plugin Command: ShowMiniLabel  (yanfly MiniLabel script)

       Show Animation: Player, Diagnose

       Plugin Command: Light on 100  (Terrax lighting script)

    If I remove your script, ShowMiniLabel works, Older version of your script worked somehow - but I also upgraded yanfly one recently.  Dunno which upgrade caused problem. 

    --------------------------------------------------------------------------

    EDIT: Scratch that please, there was something stucked/corrupted in saved game. For fresh new game it works just fine. 
  5. Speazy said:
    How can you put Hours,Minutes and seconds from the Plugin to a Variable? :(

    I want to do a Scene like "45 Minutes Later" (or somethink like that)

    I didnt understand this "Save DaynightMinutes"...

    I did a Plugin command:"Save DaynightMinutes 21" and I want to put DaynightMinutes to Variable 21 ingame, but it don't work! What I did wrong?

    I need a helpfull answer please for a noob like me!
    Save DaynightMinutes is NOT plugin command useable as command ingame. 

    It is Plugin PARAMETER. You will set it into Plugin details - and it means Variable 21 is linked to DayNightMinutes  for whole game. 

    Then you can read and use it later for anything. 

    It also does not mean this variable will automatically work like you expected from standard clock. If you have 7:30 and  manually change ti to ADD +45 you will have time 7:75 (instead of 8:15), so you need calculate it  yourself by condition branch after you add +45 minutes

      VariableForMinutes = VariableForMinutes + 45

    If VariableForMinutes  >= 60

       VariableForHours = VariableForHours+1

       VariableForMinutes = VariableForMinutes-60

    Hard to help you more cos I dont now what EXACTLY your problem is with this system. :) , hope it helps. 
  6. Kilitar said:
    Save DaynightMinutes is NOT plugin command useable as command ingame. 

    It is Plugin PARAMETER. You will set it into Plugin details - and it means Variable 21 is linked to DayNightMinutes  for whole game. 

    Then you can read and use it later for anything. 

    It also does not mean this variable will automatically work like you expected from standard clock. If you have 7:30 and  manually change ti to ADD +45 you will have time 7:75 (instead of 8:15), so you need calculate it  yourself by condition branch after you add +45 minutes

      VariableForMinutes = VariableForMinutes + 45

    If VariableForMinutes  >= 60

       VariableForHours = VariableForHours+1

       VariableForMinutes = VariableForMinutes-60

    Hard to help you more cos I dont now what EXACTLY your problem is with this system. :) , hope it helps. 
    Thank you, I tought you can do it with Plugin command :)

    But now it works very well ^^
  7. Hello Terrax... I'm difficult to set some parameters.

    I don't pretend use daynight system, only the visual light effects in some events, so I use plugin command "Tint set #COLOR", is it like a layer in map, right?
    But after a time, screens is getting dark, and only light parameter events I see.

    How can I set, correctly to not chage the tint in map?  :unsure:   :distrust:
  8. bruno7570 said:
    Hello Terrax... I'm difficult to set some parameters.

    I don't pretend use daynight system, only the visual light effects in some events, so I use plugin command "Tint set #COLOR", is it like a layer in map, right?

    But after a time, screens is getting dark, and only light parameter events I see.

    How can I set, correctly to not chage the tint in map?  :unsure:   :distrust:
    There seems to be a little bug in the tint set at the moment, use 'Tint fade #color 1' until i fix it.
  9. Is there a way you can incorporate a day/night timer and adjust the light according to time with <outside> tagged maps for instance? 
  10. Do you allow commercial use for your plugin?
  11. I still can't figure out how to make the light face the same direction as the event and follow with it's movements.
  12. Skurge said:
    I still can't figure out how to make the light face the same direction as the event and follow with it's movements.
    "Events can also use the flashlight effect. Use 'Flashlight 8 12 #888888 1 2' in the note-tag.

    where 8 is the length of the flashlights beam and 12 is the width of the beam. The last numbers are

    optional and can be used to turn the NPC's flashlight on or off and set the direction of the beam

    if the event is not moving (1=up, 2=right, 3=down, 4=left) the default is down."

     

    the first number is the activation of the event with the plugin command, you can write 0 and it is always on. However, I would also like to know how you can move the light with the event! It doesn't move with my events... :/
  13. RogdagoR said:
    you have to put the terrax plugin above yanfly one and it work
    I found it in the thread.... sorry for bothering XD Now it works. Thank you very much for the plugin! It's great!
  14. That fixes that! Good job and thank you.

    Came across and incredibly deceptive problem. My maps have tile and regional light settings and on each map to prevent pitch darkness outside lightsources I have events set on parralel processing with a plugin command prompting "Tint set #44444E" to keep it at this brightness at all times. The event itself has the note tag "Light 10 #FFFFFF" just incase and to make sure the light settings work.

    However if you stay in the map for a long while the darkness gradually gets stronger and it's almost un noticed with the slow changes. Any idea why this might be so?
  15. Skurge said:
    That fixes that! Good job and thank you.

    Came across and incredibly deceptive problem. My maps have tile and regional light settings and on each map to prevent pitch darkness outside lightsources I have events set on parralel processing with a plugin command prompting "Tint set #44444E" to keep it at this brightness at all times. The event itself has the note tag "Light 10 #FFFFFF" just incase and to make sure the light settings work.

    However if you stay in the map for a long while the darkness gradually gets stronger and it's almost un noticed with the slow changes. Any idea why this might be so?
    Yes, its a little bug, ill fix it soon, just use "Tint fade #44444E 1" for now, it gives the same effect, but the colors won't change.
  16. OK, i'll wait patiently for the bug fix :)

    Also not sure if you are aware- events with the flashlight given the circumstances the event is removed still leave a light effect in place. Do you know how this light can be removed if the event is ended?
  17. New version (1.2.4) now available

    http://mvplugins.com...Lighting System

    Version 1.2.4

    Small bugfix for the 'Tint Set' command.

    Skurge said:
    OK, i'll wait patiently for the bug fix :)

    Also not sure if you are aware- events with the flashlight given the circumstances the event is removed still leave a light effect in place. Do you know how this light can be removed if the event is ended?
    There are 2 ways to fix it,

    The easiest way is using the 'killswitch' option in the parameters.

    Example : Set the killswitch in the paramaters to 'C'. Then before you erase/delete/move the event, throw selfswitch 'C' and the light will be disabled.

    The seconds option is using the light on/off command. Use 'Flashlight 8 12 #888888 1 2'. Then turn on the flashlight at the start of the map, and turn it off

    again when you remove the event. (the first options is simpeler)
  18. Would there be a way to activate/deactivate the event tag from a plugin command?
  19. Thanks a lot for your plugin !
    But I got a problem and the 19pages searching didn't change it..
    How can you change the radius of the light on a moving event ?

    (sorry if the answer was already posted)
  20. Ok...  I have two things that I found wrong with this plugin.

    1. When you "deactivate" the plugin using a plugin call and then save the game, when you load that saved game the plugin is "activated" again.

    2. I would like to see the player 'halo' light disappear when the player is transparent.  It messes up the cutscenes if they player can find their invisible selves by the strange glow in the corner or center of the room.

    Other than that....  Great plugin, it works great.