Nice work for house1, I'll fix that, thanks you again.
For church, I hadn't tested it with a river.
I test well tiles to put an object of church but I do not do to put cobbles overlay
Moderators: Slitherine Core, BA Moderators



Code: Select all
if (GetGlobal("tileset") == 1)
{
id = PlaceObject(xd, yd, "bulge", "snowy_hedgrow2") ;
SetObjectRotation(id, 157) ;
k2 = Rand(1, 4);
if (k2 == 1)
{
//id2 = PlaceObject(xd, yd, "bulge", "ARDENNES_Brick_yardwall") ;
id2 = PlaceObject(xd, yd, "bulge", "ARDENNES_stone_yardwall") ;
}
if (k2 == 2)
{
id2 = PlaceObject(xd, yd, "bulge", "ARDENNES_town_wall_straight") ;
}
if (k2 == 3)
{
id2 = PlaceObject(xd, yd, "bulge", "ARDENNES_stone_wall_straight") ;
}
if (k2 == 4)
{
id2 = PlaceObject(xd, yd, "bulge", "ARDENNES_wall_straight") ;
}
if (k2 != 1)
{
SetObjectRotation(id2, 157) ;
}
else
{
SetObjectRotation(id2, 0) ;
}
} 
Ok ... hey ... I tested this new script with brick wall ... Using change, I did not see any bugs. Perhaps you'll like it?Amaris wrote:OK thanks.
I'll be back on the end of week with a fix version
Code: Select all
if (GetGlobal("tileset") == 1)
{
id = PlaceObject(xd, yd, "bulge", "snowy_hedgrow2") ;
SetObjectRotation(id, 157) ;
k2 = Rand(1, 4);
if (k2 == 1)
{
id2 = PlaceObject(xd+50, yd, "bulge", "ARDENNES_Brick_yardwall") ;
}
if (k2 == 2)
{
id2 = PlaceObject(xd, yd, "bulge", "ARDENNES_town_wall_straight") ;
}
if (k2 == 3)
{
id2 = PlaceObject(xd, yd, "bulge", "ARDENNES_stone_wall_straight") ;
}
if (k2 == 4)
{
id2 = PlaceObject(xd, yd, "bulge", "ARDENNES_wall_straight") ;
}
if (k2 != 1)
{
SetObjectRotation(id2, 157) ;
}
else
{
SetObjectRotation(id2, 0) ;
}
}




Congratulations !Amaris wrote: If there are no other errors I consider it finished.![]()
I can of course continue to improve but it's endless. And I need to move on. Back to my random normandy campaign for exampleMay be also 'historica'l scenarios.



Amaris,Amaris wrote:I made this plugin to the community. It is used more happier I am.![]()
Mer: great work for AI scripts ! I look forward to this. This could be very useful