Terrax Lighting system

● ARCHIVED · READ-ONLY
Started by Terrax 1467 posts Page 48 of 74 View original ↗
  1. DarkSearinox92 said:
    @Terrax Hi Terrax, a small and innocent thing: Can you insert in the plugin, the possibility to change the text for the function in the menu, that you've added? (Lightning Effects).


    Just like Yanfly. You can change the language words that display the function.


    Can you?

    Ofcourse, would a plugin-parameter be sufficient?
  2. Terrax said:
    So the problem is that lag seems to increase very time the menu is opened and closed, ill see if i can replicate that (on average how many lightsources are on your map?)


    Ah yes, your using the Puzzle plugin, i have not looked at that plugin for a long long time.. no worries though it whould be easy enough to fix,


    ill upload a new version soon.

    everything great now...thanks
  3. @Terrax I'm having a problem that terrax lighting isn't working with the srd_fullscreentoggle plugin it seems that tarrax lighting only workes on a small part of the screen 


    Screenshot (17).png
  4. @jm_gamemaking Have you adjusted the screensize in the plugin?


    Try increasing the parameters Screensize X and Screensize Y to your fullscreen resolution values.
  5. Verdelite said:
    @jm_gamemaking Have you adjusted the screensize in the plugin?


    Try increasing the parameters Screensize X and Screensize Y to your fullscreen resolution values.





     

    yes i have im running pixi and ive updated all the pugins
  6. jm_gamemaking said:
    yes i have im running pixi and ive updated all the pugins



    When you install the plugin you can set the ScreensizeX and ScreensizeY in the plugins parameters. If you screen format is different from the


    default you should adjust the screensize there.
  7. Hi again Terrax, I haven't been keeping an eye on this topic since it's mostly consisting of bug fixes- I was wondering to ask what new features and things you plan to install in the next plugin update.
  8. Skurge said:
    Hi again Terrax, I haven't been keeping an eye on this topic since it's mostly consisting of bug fixes- I was wondering to ask what new features and things you plan to install in the next plugin update.



    Not very buzy with the plugin currently, mostly because i just moved my computer stuff to a new room and i'm still working out the network issues.


    I'm buzy with changing lightsource colors.


    One part is done, you can change a lightsources color with a plugin call.


    Next in line is lightsources that change colors automaticly on a preset cycle.


    The tag is will look something like :  lightcycle 300 #FF0000 100 #FFA500 25 #00FF00 100


    That will change the light with radius 300 from Red (10 seconds) to Orange (2.5 seconds)  to Green (10 seconds).
  9. Terrax said:
    Ofcourse, would a plugin-parameter be sufficient?



     @Terrax For example in this mode, just like yanfly


    fixit.JPG
  10. Terrax said:
    Not very buzy with the plugin currently, mostly because i just moved my computer stuff to a new room and i'm still working out the network issues.


    I'm buzy with changing lightsource colors.


    One part is done, you can change a lightsources color with a plugin call.


    Next in line is lightsources that change colors automaticly on a preset cycle.


    The tag is will look something like :  lightcycle 300 #FF0000 100 #FFA500 25 #00FF00 100


    That will change the light with radius 300 from Red (10 seconds) to Orange (2.5 seconds)  to Green (10 seconds).

    Really looking forward to that update when it's ready.


    I'm closely examining the plugin to implement a day night cycle in my project- having the game perminately dark will get annoying and I wish to have the enviroment change along with the day settings so that appropirate missions and events can only be occured on certain times. Does the day night cycle have any connection to Orange's time plugins? I'm having difficulty installing that plugin and getting the various events to function along with it also.
  11. I'm struggling to find an answer to this one:


    How do I toggle the player's light radius and color in-game? I.E, the character picks up a lamp or casts 'light' etc?
  12. Your pluggin seam great, but it's didt work at all on my game. I tryed to desactivat all other plugging without success. Only one plugging that I can't desactivate without getting an eror: Path_finder. I dont think it's related.


    Over a windows i create an event, i put in tag: Light 250 #FFFFFF


    Pluggin was activated but not the second plugging TerralightPixi3 becaus he create an hallow over the event and what I want it's to mak evnt create light, not darken the border of the map.


    Any idea what is my mistake?


    I also want the light only when a variable was with a certain valu but I guess I will be able to work around this one.


    A tricky one, my wall got 2 tiles tall, my windows was in middle of it. So I can't put an event at the exact windows location.


    Thy hav a way to add a decay for the light seem to came from the windows?


    I got an error UNdefined is not a function trying to use your demo.


    I just update prg makre to 1.3.4(I was using 1.2) but keep same error.
  13. New version (1.4.4) now available


    http://mvplugins.com/plugin/Terrax/Terrax%20Lighting%20System


    or


    https://github.com/Terraxz/TerraxLighting


    Update:


    1) You can change the option menu-entry language in the parameters of the game.


    2) You can change lightsource colors with a plugin call.


    I tried to change note-tags, but the game won't let me and bugs out, so i had to find another way.


    You can only change the colors of lights that have an id.


    So if you define a light with 'Light 100 #FFFFFF 1'


    Then turn it on in the game with 'Light on 1'


    Then you can change the color of all the lights with id 1 with plugin call : 'Light color 1 #FF0000'


    Reminder : If your using a lot of lights that can be turned on and off by switches in your game, the game


    can slow down in the long run. You can prevent this by clearing the switch-list at certain stages in your game.


    Use plugin call : 'Light switch reset'


    You don't have to clear them every map, but every game has certain progression levels where players cannot go


    back to the older area's. That would be the place to clear the list.


    Terrax.

    Skurge said:
    Really looking forward to that update when it's ready.


    I'm closely examining the plugin to implement a day night cycle in my project- having the game perminately dark will get annoying and I wish to have the enviroment change along with the day settings so that appropirate missions and events can only be occured on certain times. Does the day night cycle have any connection to Orange's time plugins? I'm having difficulty installing that plugin and getting the various events to function along with it also.

    The daynight cycle is indepentent from the orange time plugin, it works fine on its own but doesn't have a fancy clock display.

    Sethorion said:
    I'm struggling to find an answer to this one:


    How do I toggle the player's light radius and color in-game? I.E, the character picks up a lamp or casts 'light' etc?

    Plugin call : Light radius 500 #FF0000

    XGuarden said:
    Your pluggin seam great, but it's didt work at all on my game. I tryed to desactivat all other plugging without success. Only one plugging that I can't desactivate without getting an eror: Path_finder. I dont think it's related.


    Over a windows i create an event, i put in tag: Light 250 #FFFFFF


    Pluggin was activated but not the second plugging TerralightPixi3 becaus he create an hallow over the event and what I want it's to mak evnt create light, not darken the border of the map.


    Any idea what is my mistake?


    I also want the light only when a variable was with a certain valu but I guess I will be able to work around this one.


    A tricky one, my wall got 2 tiles tall, my windows was in middle of it. So I can't put an event at the exact windows location.


    Thy hav a way to add a decay for the light seem to came from the windows?


    I got an error UNdefined is not a function trying to use your demo.


    I just update prg makre to 1.3.4(I was using 1.2) but keep same error.

    You only need 1 plugin, do not install the Pixi3 plugin, its for older games (i will take it out next patch, because it only causes confusion)


    My plugin will always create a dark layer, thats the way it works, but the darkness of the layer can be set with the 'tint' plugin call.


    Remove the pixi3 plugin, and see if the error persists, if it does persist press F8 and post the text in the forum.
  14. Terrax said:
    1) You can change the option menu-entry language in the parameters of the game.

    I don't know what this is referring to.

    2) You can change lightsource colors with a plugin call.


    I tried to change note-tags, but the game won't let me and bugs out, so i had to find another way.


    You can only change the colors of lights that have an id.


    So if you define a light with 'Light 100 #FFFFFF 1'


    Then turn it on in the game with 'Light on 1'


    Then you can change the color of all the lights with id 1 with plugin call : 'Light color 1 #FF0000'

    Um tried to this but the game crashes with this error:


    TypeError


    Cannot read property 'apply'of undefined. I might need further instructions on how to do this properly.


    Also noting that I'm trying to see if I condense light colour changing events in themselves rather than relying on an event doing it in the background?
  15. Skurge said:
    I don't know what this is referring to.

     There is an option the the game menu to turn the lighting effects on and off. It reads 'Lighting effects'. Somebody asked if it could be changed


    in the game to support other languages.

    Um tried to this but the game crashes with this error:


    TypeError


    Cannot read property 'apply'of undefined. I might need further instructions on how to do this properly.

    Can you press F8 and show me the line that creates the error?

    Also noting that I'm trying to see if I condense light colour changing events in themselves rather than relying on an event doing it in the background?

    The next update will have a new option to create a tag that cycles the colors automaticly, still working on that.
  16. Terrax said:
     There is an option the the game menu to turn the lighting effects on and off. It reads 'Lighting effects'. Somebody asked if it could be changed


    in the game to support other languages.


    Can you press F8 and show me the line that creates the error?

    I hope this can help you. Might have to right click 'view image' to get the full size.error.png

    The next update will have a new option to create a tag that cycles the colors automaticly, still working on that.

    I love that, will make things easier and condensed.
  17. Skurge said:
    I hope this can help you. Might have to right click 'view image' to get the full size.

    Hmmm.. thats a error generated by Pixi (the graphical renderer). What version of RPG maker are you running?
  18. I got no error message at all now. Just do nothing. Let me explain, I just activate the pluggin, put an objet with Light 0 #FFFFFF in corect place.


    My map was not dark. Any reason why it's didt work?


    Your demo work now, but all your map was dark, i look your code but i didt see where you set them to be dark.

    View attachment Screen 01-19-2017 15-19-50.avi
  19. XGuarden said:
    I got no error message at all now. Just do nothing. Let me explain, I just activate the pluggin, put an objet with Light 0 #FFFFFF in corect place.


    My map was not dark. Any reason why it's didt work?


    Your demo work now, but all your map was dark, i look your code but i didt see where you set them to be dark.


    View attachment 56653

    You need to give the light a radius.. radius 0 doesn't do anything.


    If you want a completly dark area with no lights use 'Light 1 #000000' instead.


    If you want lights use 'Light 100 #FFFFFF'
  20. I tryed to put  Light 1 #000000  or  Light 100 #FFFFFF  instead but that change nothing, no visual change.