[RMXP] Syntax Error with a translated Khas Lighting

LucasGodzilla

Werewolf and Kaiju lover.
Veteran
Joined
May 2, 2013
Messages
41
Reaction score
4
First Language
english
Primarily Uses
Hello, I was hoping if someone here could by any chance help me with a problem I'm having. On the internet, I found a translated version of Khas Lighting Effects for RPG Maker XP (Which I'm using over VX Ace right now for numerous reasons). However, when I paste the script into the project, I get an error that claims a syntax error on line 1344.

    $game_map.light_surface.bitmap.fill_rect(0,0,640,4  80,$game_map.effect_surface.color)
I have no scripting experience so I have no clue what to do. Can anyone help me???

If anyone is curious where I got the script from, it came from this Russian forum: http://rpgmaker.su/f26/khas-awesome-light-effects-1897/

Also the script seems to only work properly in Russian, so please don't comment about that.

I'll also post the script as a text file...

So please, can someone by any chance take the time to help me?  :(

Khas Lighting (XP).txt
 

Attachments

♥SOURCE♥

Too sexy for your party.
Veteran
Joined
Mar 14, 2012
Messages
693
Reaction score
411
Primarily Uses
Hello! Try replacing that line with the following:

Code:
   $game_map.light_surface.bitmap.fill_rect(0,0,640,480,$game_map.effect_surface.color)
 

LucasGodzilla

Werewolf and Kaiju lover.
Veteran
Joined
May 2, 2013
Messages
41
Reaction score
4
First Language
english
Primarily Uses
Hello! Try replacing that line with the following:

$game_map.light_surface.bitmap.fill_rect(0,0,640,480,$game_map.effect_surface.color)
Thanks, it worked for that error. But now it says there's an error in the script itself (non-syntax related).  >_>

I don't know what exactly is wrong with it, so I'll just bring up the line with error, and an image of the error message.

  alias kdi_setup setup
But again, thanks for the fix for the first error.

ErrorMessage.jpg
 
Last edited by a moderator:

LucasGodzilla

Werewolf and Kaiju lover.
Veteran
Joined
May 2, 2013
Messages
41
Reaction score
4
First Language
english
Primarily Uses

LucasGodzilla

Werewolf and Kaiju lover.
Veteran
Joined
May 2, 2013
Messages
41
Reaction score
4
First Language
english
Primarily Uses
You know, I might just suck it up and use VX Ace. I mainly wanted to use XP for the art. VX Ace has great compatibility, but the art man... it sucks! So I guess I'll just let an admin lock this thread or so and I will get on to learning how to use parallax mapping.
 

LucasGodzilla

Werewolf and Kaiju lover.
Veteran
Joined
May 2, 2013
Messages
41
Reaction score
4
First Language
english
Primarily Uses
Unless someone can actually post a full fix, that would be nice!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:

Forum statistics

Threads
105,854
Messages
1,017,004
Members
137,562
Latest member
tamedeathman
Top