Terrax Lighting system

● ARCHIVED · READ-ONLY
Started by Terrax 1467 posts Page 29 of 74 View original ↗
  1. New version (1.2.9) now available


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


    Added :


    1) Quick incompatibility fix for Orange Custom Events.

    Nik0405 said:
    Hi


    I noticed an incompatibility with Orange Custom Events.


    With the 1.2.8 version of your script I always get an error when using this command: $gameMap.copyEventFromMapToRegion(35, $gameVariables.value(197), 255, true);


    It's a scriptcall used by Orange Custom Events.


    Version 1.2.7 is working perfectly.


    I have attached the error code and my abnormal big plugin.js.



    I've uploaded a new version (1.2.9) that should fix this problem. I didn't test it, so let me know if it works or not.
  2. Sakurahan01 said:
    No not yet still trying, I am not sure what I am doing wrong, trying to mod some events around maybe its causing the problem D: but I cant seem to find anything yet. I was told I mite have to tweak around some code in the plugins but I dont know much Java script.  

    I can take a look at your project if you would like?
  3. Terrax said:
    I can't seem to reproduce the error, shaking the screen looks fine if i use it in my demo. Do you use a big map or is paralax on maybe, i need to be able to reproduce the bug to fix it.



    Terrax, i'm using higher resolution (the standard setted by yanfly core!) Try to reproduce the error with the high resolution
  4. i have a problem if i use shake on the screen.


    on the right side is the problem.


    Yanfly core engine Screensize: 1200 x 624


    Terrax lighting Screensize: 1200 x 624

    Unbenannt.png
  5. Same problem as above.


    It seems that the bug come from the Terraxlighting script itself; I managed to reproduce the bug with the demo:

    Spoiler
    ShakeBug_zpspwcsxp2p.png



    This bug only happens on map larger than the screen (more than 17 tiles with the default resolution),


    if the player is far enough from the left side.


    To note that the bug will be restricted to the left side if the Screensize X parameter is greater than the true screensize, as it is the case with the demo.


    With a Screensize X parameter who fits the true resolution, overflow also happen on the right side, like on Platsch's screenshot.
  6. Hi Terrax!


    First, amazing work and thank you for sharing this!!!


    Second, i think i found a bug : when i start a new game (from the opening menu) after a game-over, the plugin dont work at all
  7. Hello, first of all, thank you for making this plugin!

    I turned the plugin on...

    Capture.PNG

    But, for some reason, when I start a new game, it kept on showing this error? 

    Capture.PNG


    Can anyone please help me?
  8. I was wondering if it's possible to turn OFF the lights that are off screen.  Like the standard size of screen is 17x13 of 48pixel boxes...  If you could turn off all lights that are at 36x26 away from the player then I think it'll help with a lag issue on bigger maps.  Right now I have a map that is 85x65 and the lag from the lights is amazing.


    Is this doable?
  9. This is awesome plugin. I just test it with my map and it look amazing.


    Thank you, Terrax.


    P.S. I hope you would make shadow plugin which compatible with light source in this plugin.(Sorry for my bad English :p)


    dotdotdot.jpg
  10. XthemeCore said:
    This is awesome plugin. I just test it with my map and it look amazing.


    Thank you, Terrax.


    P.S. I hope you would make shadow plugin which compatible with light source in this plugin.(Sorry for my bad English :p)

    Shadows are much much harder, so that probably won't happen.

    Platsch said:
    i have a problem if i use shake on the screen.


    on the right side is the problem.


    Yanfly core engine Screensize: 1200 x 624


    Terrax lighting Screensize: 1200 x 624

    Just setting the Terrax Lighting Screensize a little higher then the Yanfly will correct it (just set it to 1225 x 650)

    Gooz said:
    Hi Terrax!


    First, amazing work and thank you for sharing this!!!


    Second, i think i found a bug : when i start a new game (from the opening menu) after a game-over, the plugin dont work at all

    I cannot detect a 'game over' in the game, always make sure your initial cutscreen or loading scene sets/resets the plugin.

    Mikleo said:
    Hello, first of all, thank you for making this plugin!

    I turned the plugin on...

    View attachment 42494

    But, for some reason, when I start a new game, it kept on showing this error? 

    View attachment 42493


    Can anyone please help me?

    This looks like another plugin is causing this one to malfunction, try to disable a few to find out what plugin is causing the error.

    firestalker said:
    I was wondering if it's possible to turn OFF the lights that are off screen.  Like the standard size of screen is 17x13 of 48pixel boxes...  If you could turn off all lights that are at 36x26 away from the player then I think it'll help with a lag issue on bigger maps.  Right now I have a map that is 85x65 and the lag from the lights is amazing.


    Is this doable?

    It's hard to implement because i would have to calculate radiuses of every light and see if they fall into the screen, the calculus alone would probably cause more lag then the drawing.
  11. if i use screenshake of the map:


    i changed it the way you explained me, but it works a little bit. its now on the left side.


    when the actor stands on the left side at the end of the map, everthing okay. the white stripe is now black. (better)


    but if i walk on the right side to the end of the map, the white stripe apearse now on the left screenside.


    my map-size is 30x18
  12. Hey there,
    When I try to download the file it detects a virus.


    View attachment 42668 
  13. InkPotion said:
    Hey there,
    When I try to download the file it detects a virus.


    Untitled1.png 



    Disabled my antivirus for it, nvm (it's a sensitive asf)
  14. Hello Terrax.

    Is there any chance that you could make an addition to this very nice Java-Script as well?
    I would love to have the function to pulse the light to get a "pusing glow" to events and objects.

    Please reply as soon as possible.

    Thanks in advance.
  15. Terrax said:
    This looks like another plugin is causing this one to malfunction, try to disable a few to find out what plugin is causing the error.



    I was using Bind Pictures To Map by TDDP, it was what's causing the conflict. And yes, I saw your solution to the problem several pages down. I got it to work now. Thanks! :D
  16. Hello Terrax ! Your plugin are awesome ! But i want make a flashlight for the player...It s possible ?
  17. Hey there!
    Do you know why this shows up when I try and load from a save?
     

    Spoiler
    Untitled2.png
  18. InkPotion said:
    Hey there!
    Do you know why this shows up when I try and load from a save?
     

    Spoiler
    View attachment 42769



    It could be a conflict with another plugin, try to turn some off and see what plugin causes the error, i might be able to work out a solution.

    Cocaallan said:
    Hello Terrax ! Your plugin are awesome ! But i want make a flashlight for the player...It s possible ?

    To use a flashlight effect use 'Flashlight on 8 12 #FFFFFF 3' and 'Flashlight off'
     The arguments are optional (8=beamlength, 12=beamwidth, #FFFFFF=color, 3=beam density)


    (check out the included demo for examples)
  19. Terrax said:
    It could be a conflict with another plugin, try to turn some off and see what plugin causes the error, i might be able to work out a solution.


    I moved Terrax lighting to the top of all the plugins and it fixed the problem! :)
  20. Awesome plugin! Thank you.


    By the way, is it okay to translate this plugin's help text and tutorial into Korean?


    Many RMMV users in South Korea want to use this awesome plugin but have trouble in understanding its instruction. I want to help them. Can you admit translation?