Dúvida sobre script load room do Jiraya

Ver o tópico anterior Ver o tópico seguinte Ir em baixo

Dúvida sobre script load room do Jiraya

Mensagem por Supersonic933 em Sab 11 Jun 2011, 09:40

Estou usando o Script de Load room do Jiraya no meu jogo.

Eu salvei num arquivo ficou assim:

Código:
192,192,192
bg_city
bg_buildings
%
%
%
%
%
%
$objDrawBackgroundlvl0,0,64
$objDrawBuildingslvl0,16,64
$objDeactivate,16,0
$objLv0-Block01,96,120
$objLv0-Block01,64,120
$objLv0-Block01,32,120
$objLv0-Block01,0,120
$objLv0-Block01,128,120
$objLv0-Block01,0,152
$objLv0-Block01,160,120
$objLv0-Block01,0,184
$objLv0-Block01,0,216
$objLv0-Block01,0,248
$objLv0-Block01,0,280
$objLv0-Block01,0,312
$objLv0-Block01,192,152
$objLv0-Block01,192,120
$obj_block_invisible,152,0
$obj_block_invisible,184,0
$obj_block_invisible,216,0
$obj_block_invisible,248,0
$obj_block_invisible,280,0
$obj_block_invisible,312,0
$obj_block_invisible,344,0
$obj_block_invisible,376,0
$obj_block_invisible,408,0
$obj_block_invisible,440,0
$obj_block_invisible,152,32
$obj_block_invisible,128,32
$obj_block_invisible,104,32
$obj_block_invisible,72,32
$obj_block_invisible,40,32
$obj_block_invisible,8,32
$obj_block_invisible,-24,32
$objLv0-Block01,192,184
$objLv0-Block01,192,216
$objLv0-Block01,192,248
$objLv0-Block01,0,344
$objLv0-Block01,0,376
$objLv0-Block01,160,152
$objLv0-Block01,160,184
$objLv0-Block01,160,216
$objLv0-Block01,160,248
$objLv0-Block01,32,176
$objLv0-Block01,32,152
$objLv0-Block01,32,208
$objLv0-Block01,32,248
$objLv0-Block01,32,240
$objLv0-Block01,32,280
$objLv0-Block01,32,312
$objLv0-Block01,32,344
$objLv0-Block01,32,376
$objLv0-Block01,0,408
$objLv0-Block01,32,408
$objLv0-Block01,136,408
$objLv0-Block01,168,408
$objLv0-Block01,200,408
$objLv0-Block01,232,408
$objLv0-Block01,264,408
$objLv0-Block01,296,408
$objLv0-Block01,328,408
$objLv0-Block01,360,408
$objLv0-Block01,392,408
$objDasherLeft,144,392
$objLv0-Block01,64,408
$objLv0-Block01,96,408
$objLv0-Block01,128,408
$object68,64,344
$objLv0-Block01,424,408
$objLv0-Block01,456,408
$objLv0-Block01,488,408
$objLvl0-Block06,456,344
$objLv0-Block01,864,408
$objLv0-Block01,896,408
$objLv0-Block01,832,408
$objLv0-Block01,928,408
$objLv0-Block01,960,408
$objLv0-Block01,992,408
$objLv0-Block01,1024,408
$objLv0-Block01,1056,408
$objLv0-Block01,1056,376
$objLv0-Block01,1056,344
$objLv0-Block01,1056,320
$objLv0-Block01,1056,304
$objLv0-Block01,1056,272
$objLv0-Block01,1056,240
$object69,984,352
$objDasherLeft,944,392
$objSonic,152,368
$objLv0-Block01,712,0
$objLv0-Block01,472,0
$objLv0-Block01,504,0
$objLv0-Block01,536,0
$objLv0-Block01,568,0
$objLv0-Block01,600,0
$objLv0-Block01,632,0
$objLv0-Block01,688,0
$objLv0-Block01,664,0
$objLv0-Block01,1088,240
$objLv0-Block01,1120,240
$objLv0-Block01,1152,240
$objLv0-Block01,1184,240
$objLv0-Block01,1216,240
$objLv0-Block01,1248,240
$objLv0-Block01,1104,0
$objLv0-Block01,1136,0
$objLv0-Block01,1168,0
$objLv0-Block01,1200,0
$objLv0-Block01,1232,0
$objRing,208,392
$objRing,232,392
$objRing,256,392
$objRing,280,392
$objRing,304,392
$objRing,336,392
$objRing,368,392
$objRing,400,392
$objRing,432,392
$objLv0-Block01,1072,0
$objLv0-Block01,1040,0
$objLv0-Block01,1008,0
$objLv0-Block01,1536,240
$objLv0-Block01,1568,240
$objLv0-Block01,1504,240
$objController,0,0
$objCamera,152,368

E carreguei assim:
Código:

level=LoadMap("LEVELS\1\lvl1_1.lvl")
execute_string(level);

Mas....

Código:

___________________________________________
ERROR in
action number 8
of Trigger Event: <Deleted>
for object obj_act2:

Error in code at line 1:
  background_color=make_color_rgb(192,192,192);background_index[0]=bg_city;background_index[1]=bg_buildings;background_index[2]=noone;background_index[3]=noone;background_index[4]=noone;background_index[5]=noone;background_index[6]=noone;background_index[7]=noone;instance_create(objDrawBackgroundlvl0,0,64);instance_create(objDrawBuildingslvl0,16,64);instance_create(objDeactivate,16,0);instance_create(objLv0-Block01,96,120);instance_create(objLv0-Block01,64,120);instance_create(objLv0-Block01,32,120);instance_create(objLv0-Block01,0,120);instance_create(objLv0-Block01,128,120);instance_create(objLv0-Block01,0,152);instance_create(objLv0-Block01,160,120);instance_create(objLv0-Block01,0,184);instance_create(objLv0-Block01,0,216);instance_create(objLv0-Block01,0,248);instance_create(objLv0-Block01,0,280);instance_create(objLv0-Block01,0,312);instance_create(objLv0-Block01,192,152);instance_create(objLv0-Block01,192,120);instance_create(obj_block_invisible,152,0);instance_create(obj_block_invisible,184,0);instance_create(obj_block_invisible,216,0);instance_create(obj_block_invisible,248,0);instance_create(obj_block_invisible,280,0);instance_create(obj_block_invisible,312,0);instance_create(obj_block_invisible,344,0);instance_create(obj_block_invisible,376,0);instance_create(obj_block_invisible,408,0);instance_create(obj_block_invisible,440,0);instance_create(obj_block_invisible,152,32);instance_create(obj_block_invisible,128,32);instance_create(obj_block_invisible,104,32);instance_create(obj_block_invisible,72,32);instance_create(obj_block_invisible,40,32);instance_create(obj_block_invisible,8,32);instance_create(obj_block_invisible,-24,32);instance_create(objLv0-Block01,192,184);instance_create(objLv0-Block01,192,216);instance_create(objLv0-Block01,192,248);instance_create(objLv0-Block01,0,344);instance_create(objLv0-Block01,0,376);instance_create(objLv0-Block01,160,152);instance_create(objLv0-Block01,160,184);instance_create(objLv0-Block01,160,216);instance_create(objLv0-Block01,160,248);instance_create(objLv0-Block01,32,176);instance_create(objLv0-Block01,32,152);instance_create(objLv0-Block01,32,208);instance_create(objLv0-Block01,32,248);instance_create(objLv0-Block01,32,240);instance_create(objLv0-Block01,32,280);instance_create(objLv0-Block01,32,312);instance_create(objLv0-Block01,32,344);instance_create(objLv0-Block01,32,376);instance_create(objLv0-Block01,0,408);instance_create(objLv0-Block01,32,408);instance_create(objLv0-Block01,136,408);instance_create(objLv0-Block01,168,408);instance_create(objLv0-Block01,200,408);instance_create(objLv0-Block01,232,408);instance_create(objLv0-Block01,264,408);instance_create(objLv0-Block01,296,408);instance_create(objLv0-Block01,328,408);instance_create(objLv0-Block01,360,408);instance_create(objLv0-Block01,392,408);instance_create(objDasherLeft,144,392);instance_create(objLv0-Block01,64,408);instance_create(objLv0-Block01,96,408);instance_create(objLv0-Block01,128,408);instance_create(object68,64,344);instance_create(objLv0-Block01,424,408);instance_create(objLv0-Block01,456,408);instance_create(objLv0-Block01,488,408);instance_create(objLvl0-Block06,456,344);instance_create(objLv0-Block01,864,408);instance_create(objLv0-Block01,896,408);instance_create(objLv0-Block01,832,408);instance_create(objLv0-Block01,928,408);instance_create(objLv0-Block01,960,408);instance_create(objLv0-Block01,992,408);instance_create(objLv0-Block01,1024,408);instance_create(objLv0-Block01,1056,408);instance_create(objLv0-Block01,1056,376);instance_create(objLv0-Block01,1056,344);instance_create(objLv0-Block01,1056,320);instance_create(objLv0-Block01,1056,304);instance_create(objLv0-Block01,1056,272);instance_create(objLv0-Block01,1056,240);instance_create(object69,984,352);instance_create(objDasherLeft,944,392);instance_create(objSonic,152,368);instance_create(objLv0-Block01,712,0);instance_create(objLv0-Block01,472,0);instance_create(objLv0-Block01,504,0);instance_create(objLv0-Block01,536,0);instance_create(objLv0-Block01,568,0);instance_create(objLv0-Block01,600,0);instance_create(objLv0-Block01,632,0);instance_create(objLv0-Block01,688,0);instance_create(objLv0-Block01,664,0);instance_create(objLv0-Block01,1088,240);instance_create(objLv0-Block01,1120,240);instance_create(objLv0-Block01,1152,240);instance_create(objLv0-Block01,1184,240);instance_create(objLv0-Block01,1216,240);instance_create(objLv0-Block01,1248,240);instance_create(objLv0-Block01,1104,0);instance_create(objLv0-Block01,1136,0);instance_create(objLv0-Block01,1168,0);instance_create(objLv0-Block01,1200,0);instance_create(objLv0-Block01,1232,0);instance_create(objRing,208,392);instance_create(objRing,232,392);instance_create(objRing,256,392);instance_create(objRing,280,392);instance_create(objRing,304,392);instance_create(objRing,336,392);instance_create(objRing,368,392);instance_create(objRing,400,392);instance_create(objRing,432,392);instance_create(objLv0-Block01,1072,0);instance_create(objLv0-Block01,1040,0);instance_create(objLv0-Block01,1008,0);instance_create(objLv0-Block01,1536,240);instance_create(objLv0-Block01,1568,240);instance_create(objLv0-Block01,1504,240);instance_create(objController,0,0);instance_create(objCamera,152,368);
                                                                                                                                                                                                                                                                                                                                                                                                                    ^
at position 403: Unknown variable objLv0
Qual é o erro do Script do Jiraya? Caso contrário, mandarei a engine por MP.

Supersonic933

Ranking : Nota E
Número de Mensagens : 396
Data de inscrição : 14/02/2011
Notas recebidas : E
Reputação : 13
Insignia 1 x 0 Insignia 2 x 0 Insignia 3 x 0
Prêmios
   : 0
   : 0
   : 0

http://planetaanalisandogames.blogspot.com/

Voltar ao Topo Ir em baixo

Ver o tópico anterior Ver o tópico seguinte Voltar ao Topo

- Tópicos similares

 
Permissão deste fórum:
Você não pode responder aos tópicos neste fórum