project-navigation
Personal tools

Author Topic: Graphic anomalies on Mansion and Urban Periphery  (Read 7892 times)

Offline Lynol

  • Rookie
  • ***
  • Posts: 11
    • View Profile
Graphic anomalies on Mansion and Urban Periphery
« on: November 22, 2012, 12:01:55 pm »
On the map "Mansion" anomalies as seen on the screenshots are displayed.

The same happens on the map "Urban periphery" (the map which is either a small ruin or a parkhouse), but only when the parkhouse is on the map.

All other maps I encountered were absolutely fine.

I use 2.5 dev version as of november 22nd, hard campaign, safegame carried over from a recent version.

Win 7 64bit, 8GB Ram, ATI Radeon HD6450, latest drivers.

Edit: And I just realised this is the wrong place for this topic, sorry.
« Last Edit: November 22, 2012, 12:08:23 pm by Lynol »

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: Graphic anomalies on Mansion and Urban Periphery
« Reply #1 on: November 22, 2012, 01:58:33 pm »
This forum is fine for this topic. It looks to me like what sometimes happens with a broken compile. Since you're using 2.5-dev, are you compiling from source? If so, try using /src/contrib/map-get/update.py, which will download the newest versions of compiled maps from our map server.

If you're using the downloadable nightly builds, I'm afraid the best bet is to download a new full copy.

A few weeks ago we pushed a major weight/encumbrance system into the game, which will not break saves from before then, but may make it more difficult to properly equip stuff with your existing soldiers. So if your save and copy of the game is more than a few weeks old, you may want to wait to update.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2555
    • View Profile
Re: Graphic anomalies on Mansion and Urban Periphery
« Reply #2 on: November 22, 2012, 02:11:35 pm »
You could try playing with (advanced) video settings first.

-geever

Offline Kemlo

  • Rookie
  • ***
  • Posts: 66
    • View Profile
Re: Graphic anomalies on Mansion and Urban Periphery
« Reply #3 on: November 22, 2012, 04:56:06 pm »
I can confirm this bug on the Mansion map.  It was working fine previously but not anymore.  No changes to video settings, only difference is that I recompiled this morning using Mutons tool (set to download maps).

Offline Lynol

  • Rookie
  • ***
  • Posts: 11
    • View Profile
Re: Graphic anomalies on Mansion and Urban Periphery
« Reply #4 on: November 22, 2012, 08:38:31 pm »
You could try playing with (advanced) video settings first.

Advanced options seem to have no effect on the phenomenon (they still affected the visible parts of the map (e.g. the patch of grass around the starting zone) in a normal way).

I could try several combinations since I have a save file from just before the mission starts.

@H-Hour: I used the full install after the weight system was introduced, and then again today (22nd) thanks to the very thread you mentioned. No binaries only.

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: Graphic anomalies on Mansion and Urban Periphery
« Reply #5 on: November 23, 2012, 02:34:14 am »
If this is a problem with the current build, I'm sure ShipIt will pop his head in soon and have a look.

Offline ShipIt

  • Project Artist
  • Captain
  • ***
  • Posts: 906
    • View Profile
Re: Graphic anomalies on Mansion and Urban Periphery
« Reply #6 on: November 23, 2012, 03:00:44 pm »
It happens on the city highrise map, too. I have no idea what might be causing this. Only thing I noticed, all those map files are more than 30 MBs. I tried compiling with an older mapcompiler version, but this did not change things.

Offline Lynol

  • Rookie
  • ***
  • Posts: 11
    • View Profile
Re: Graphic anomalies on Mansion and Urban Periphery
« Reply #7 on: November 25, 2012, 06:41:14 pm »
For the moment I have simply replaced mapfiles with a working map and will continue testing.

Good luck, devs!

Offline jcjordan

  • Squad Leader
  • ****
  • Posts: 138
    • View Profile
Re: Graphic anomalies on Mansion and Urban Periphery
« Reply #8 on: December 03, 2012, 02:24:48 am »
I've got this same problem in my game. It's a new game started under 2.5 dev 11/29 full installer downloaded from the Downloads page. I had it on a Mansion mission & I also went and loaded the following in a skirmish to verify them - mansion small, medium, large, city2 & city3. All of these had the above mentioned problem. What do I need to do as Lynol mentioned in his above post as I don't have an older version to draw maps from? I've never done the compile as I never could get that to work for me so I always downloaded the full installer, large as it is, & do a fresh install when I upgrade versions.

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: Graphic anomalies on Mansion and Urban Periphery
« Reply #9 on: December 03, 2012, 11:50:11 am »
Unfortunately the best way to deal with this at the moment is to either automission or struggle through the mission if possible. This is one of those bugs that will not be easy to solve so don't expect a quick resolution.

Offline jcjordan

  • Squad Leader
  • ****
  • Posts: 138
    • View Profile
Re: Graphic anomalies on Mansion and Urban Periphery
« Reply #10 on: December 04, 2012, 12:29:52 am »
Bummer  :(

Thanks though I was able to get through the mansion map due to it only having 4 aliens (2 righ in open at start) & being familiar with the layout & where aliens might be but might be harder in later ones where there's more aliens.

Offline jcjordan

  • Squad Leader
  • ****
  • Posts: 138
    • View Profile
Re: Graphic anomalies on Mansion and Urban Periphery
« Reply #11 on: December 07, 2012, 01:34:53 am »
Would either or both of these solutions be a workaround until fix is done in later version? When I upgrade I always delete previous version on my pc before installing new version

1) delete affected maps altogether & mission would never occur since map doesn't exist
2) replace the affected maps w/ one that does work by renaming it

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: Graphic anomalies on Mansion and Urban Periphery
« Reply #12 on: December 07, 2012, 11:19:59 am »
To disable these maps in your campaign, first create a backup copy of /base/ufos/maps.ufo and store it somewhere you will remember. Then open the file in its original location. Locate the mapdef involved (search for text that says mansion or urban periphery). mansion_huge mapdef looks like this:

 mapdef mansion_huge
 {
    map            "+mansion"
    param         "huge"
    description      "_Mansion"
    maxaliens      19
    multiplayer      true
    teams         4

Under multiplayer true, add a parameter: campaign false.

 mapdef mansion_huge
 {
    map            "+mansion"
    param         "huge"
    description      "_Mansion"
    maxaliens      19
    multiplayer      true
    campaign      false
    teams         4

Note that one map may have several mapdefs, so you'll need to look for more than one for each problem map. They should be listed one after the other though, to make them easy to find.

Offline jcjordan

  • Squad Leader
  • ****
  • Posts: 138
    • View Profile
Re: Graphic anomalies on Mansion and Urban Periphery
« Reply #13 on: December 07, 2012, 11:28:18 pm »
thanks, I'll give that a go

Offline Sandro

  • Squad Leader
  • ****
  • Posts: 240
  • Maintenance guy for UFO:AI 3D engine
    • View Profile
Re: Graphic anomalies on Mansion and Urban Periphery
« Reply #14 on: December 22, 2012, 05:34:30 pm »
I've found the reason behind this bug. To skip the long technical talk, it is because of restrictions imposed on engine to force compatibility with mobile 3D hardware (restrictions yours truly took a liberty to approve). Can be fixed, obviously, but I have to think on how to do it without making fix a hack, so it will require some time.

As a temporary fix, I can make engine to skip rendering of offending geometry to avoid that striped triangular garbage, if anyone requests. It will break the visuals, but at least not that badly.