rafhot said:do you think will be hard to create a magic program that allow us to work with those walls/platform/holes just using mouse and point and clicks?
File of limits: (Text mode)Bloodbane said:Can you post your suggestion?
changelevelproperty("wall", 0, 100, 120, 0, 0, 90, 90, 32, 60); #first wall
changelevelproperty("wall", 1, 300, 160, 0, 10, 90, 80, 32, 60); #second wall
.....
utunnels said:Walls are totally accessable via script. So maybe someone can write his own logic if necesary. Current it only makes things more complicated if adding anohter format. 2D array should work better for tile based game or square walls, but writing them without an editor is still not as easy as the old 8-parameter wall.
changelevelproperty("wall", 0, 100, 120, 0, 0, 90, 90, 32, 60); #first wall
changelevelproperty("wall", 1, 300, 160, 0, 10, 90, 80, 32, 60); #second wall
.....
Perhaps someone can write a script that load a txt with your format and convert it to walls the engine can recognize, in theory.
You must provide a string value for wall subproperty.
Function changelevelproperty(prop, value) received invalid value(s).
Dumping values: 3, 590, 380, -70, -70, 50, 50, 130, 60,
Script function 'changelevelproperty' returned an exception, check the manual for details.
parameters: 12, 3, 590, 380, -70, -70, 50, 50, 130, 60,
changelevelproperty("wall", 0, "upperright", 100); // set first wall upperright to 100
// if(varlist[2]->vt != VT_STR)
// printf("You must provide a string value for wall subproperty.\n");
// goto clperror;