Pip,
I've have good news, and some bad news ... It's not a show stopper regarding it's function, just a little glitch I found ...
Oh ... the good news is that Placing Objects is awesome! Random maps are cool.
Bad news .... If the object is placed on a "tile" that is defined in the TERRAIN.TXT as having a "coverflag" value of 1 or the object (such as a building) is defined as having a coverflag value of 1, the object will always be shown using the "out-of-los" color of grey, and it will never have any color there-after (even when it comes into LOS).
I hope this is an easy fix.
Thank's for your work!
PlaceObject ...glitch (solved!)
Moderators: Slitherine Core, BA Moderators
PlaceObject ...glitch (solved!)
Last edited by Merr on Thu May 12, 2011 7:28 am, edited 1 time in total.
-
pipfromslitherine
- Site Admin

- Posts: 9928
- Joined: Wed Mar 23, 2005 10:35 pm
Hmmm - that's odd. The code is pretty much the same - is this true even if you end the turn? I did do some work which was dealing with the cost of updating exactly that kind of data when adding objects, so I will take a look.
If you can give me a tile+object pair where you know it happens that would be awesome, it will mean we are looking at the same thing
Cheers
Pip
If you can give me a tile+object pair where you know it happens that would be awesome, it will mean we are looking at the same thing
Cheers
Pip
Yes ... turn after turn it remained grey. A classic tile/object pair ... Any tree (so far using TEST) paired with any forest tile (from MoreTiles).... and I just used one building "farmhouse" that remains grey turn-after-turn no matter what tile it resides on. Also, it doesn't matter if the tile was created from the BAM or added before/afterwards via code. The only common denominator (IMO) was the "coverflags" value being 1.pipfromslitherine wrote:Hmmm - that's odd. The code is pretty much the same - is this true even if you end the turn? I did do some work which was dealing with the cost of updating exactly that kind of data when adding objects, so I will take a look.
If you can give me a tile+object pair where you know it happens that would be awesome, it will mean we are looking at the same thing
Cheers
Pip
If you want, I can zip up my scenario BSF that I'm using to create the map along with some screenshots, but I won't be able to do that for at least 5 hours from now.
-
pipfromslitherine
- Site Admin

- Posts: 9928
- Joined: Wed Mar 23, 2005 10:35 pm
-
pipfromslitherine
- Site Admin

- Posts: 9928
- Joined: Wed Mar 23, 2005 10:35 pm
