Screens:
Flickering graphics [Solved]
Moderator: Moderators
- Jendo7
- Sith

- Posts: 1304
- Joined: Wed Apr 01, 2009 6:37 pm
- Location: Cambridge, England.
- Contact:
Flickering graphics [Solved]
I have just started to convert my map Bespin: Escape for BF2, and have found that some of the Cloud City assets from bf1 are much harder to place in the BF2 editor, and also show some strange graphical flickering, specifically where I have connected two skyway bridges together. I just wondered if anyone has come accross this, and if there is anyway to resolve it. I figured it's probably due to the models being made for a different game or it might be something to do with the lighting I've added.
Screens:
Screens:
Hidden/Spoiler:
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: Flickering graphics
The flickering is called Z-fighting, which occurs when two flat surfaces occupy the same space at the same height. Try editing the height of pieces that overlap at the same height by very small intervals (Such as .001 or so).
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Flickering graphics
Wait....can't you just copy over the world files like you do in this doc?
- Jendo7
- Sith

- Posts: 1304
- Joined: Wed Apr 01, 2009 6:37 pm
- Location: Cambridge, England.
- Contact:
Re: Flickering graphics
I thought that was just for editing shipped BF2 maps, not BF1 custom maps.Fiodis wrote:Wait....can't you just copy over the world files like you do in this doc?
@Xavious thanks, I'll give that a try.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Flickering graphics
You can copy everything over from SWBF1 to SWBF2 except for lighting.Jendo7 wrote:I thought that was just for editing shipped BF2 maps, not BF1 custom maps.Fiodis wrote:Wait....can't you just copy over the world files like you do in this doc?
- Jendo7
- Sith

- Posts: 1304
- Joined: Wed Apr 01, 2009 6:37 pm
- Location: Cambridge, England.
- Contact:
Re: Flickering graphics
Oh right! I didn't realize that. Thanks alot, that will definitely cut down the work.
@Fiodis, Thanks for pointing that out.
@Fiodis, Thanks for pointing that out.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Flickering graphics
No problem; I wish you luck. The lighting shouldn't be too hard to duplicate.
- Jendo7
- Sith

- Posts: 1304
- Joined: Wed Apr 01, 2009 6:37 pm
- Location: Cambridge, England.
- Contact:
Re: Flickering graphics [Solved]
Ok, I followed the tut and Teancum's Battlefront 1 conversion tutorial (FAQ) ,but all I get ingame is a black selection screen with no cps to spawn from. I updated my .req file in the world1 folder to include bes3_conquest but still nothing. I may just have to do it the hard way.
Last edited by Jendo7 on Mon Aug 10, 2009 5:07 pm, edited 2 times in total.
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: Flickering graphics [Solved]
Post your error log.
- Jendo7
- Sith

- Posts: 1304
- Joined: Wed Apr 01, 2009 6:37 pm
- Location: Cambridge, England.
- Contact:
Re: Flickering graphics [Solved]
I didn't have any errors, so I'm pretty confused as to what the problem could be.
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: Flickering graphics [Solved]
Not the munge log, I mean run your map through BF2_modtools.exe from your GameData folder and post the BFront2.log that it generates. Check the FAQ sticky if you need more information on that.
- Jendo7
- Sith

- Posts: 1304
- Joined: Wed Apr 01, 2009 6:37 pm
- Location: Cambridge, England.
- Contact:
Re: Flickering graphics [Solved]
Thanks, I wasn't sure what you meant.
Here's my log:
Here's my log:
Hidden/Spoiler:
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: Flickering graphics [Solved]
This is your problem here
Post your lua.
EDIT: Oh, and try pressing the configure button, then pressing "Update World REQ and Mode MRQs," if you haven't already.
Code: Select all
Message Severity: 3
.\Source\LoadUtil.cpp(829)
Unable to find level chunk bes3_conquest in C:\Program Files\LucasArts\Star Wars Battlefront II\GameData\AddOn\BNE\Data\_lvl_pc\BNE\bes3.lvl
Message Severity: 3
.\Source\LoadUtil.cpp(1019)
Unable to find level chunk in dc:BNE\bes3.lvl
Message Severity: 3
.\Source\LuaHelper.cpp(312)
CallProc failed: (none):0: attempt to perform arithmetic on a nil value
stack traceback:
(none): in function `AddCommandPost'
(none): in function `ScriptPostLoad'EDIT: Oh, and try pressing the configure button, then pressing "Update World REQ and Mode MRQs," if you haven't already.
- Jendo7
- Sith

- Posts: 1304
- Joined: Wed Apr 01, 2009 6:37 pm
- Location: Cambridge, England.
- Contact:
Re: Flickering graphics [Solved]
BNEc_con
BNEg_con
Hidden/Spoiler:
Hidden/Spoiler:
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: Flickering graphics [Solved]
Looks fine from a quick glance. Did you try this?
Xavious wrote:EDIT: Oh, and try pressing the configure button, then pressing "Update World REQ and Mode MRQs," if you haven't already.
- Jendo7
- Sith

- Posts: 1304
- Joined: Wed Apr 01, 2009 6:37 pm
- Location: Cambridge, England.
- Contact:
Re: Flickering graphics [Solved]
I did that, and the mungelog showed these errors:
Don't know if this is relevant or not.
Code: Select all
ERROR[levelpack bes3.req]:Could not open munged\pc\bes2_carbon_forklift.anims for input. DOS reports:
No such file or directory
ERROR[levelpack bes3.req]:Could not open munged\pc\bes2_carbon_forklift.anims for input. DOS reports:
No such file or directory
[continuing]
2 Errors 0 Warnings
ERROR[levelpack bes3.req]:Could not open munged\pc\bes2_carbon_forklift.anims for input. DOS reports:
No such file or directory
ERROR[levelpack bes3.req]:Could not open munged\pc\bes2_carbon_forklift.anims for input. DOS reports:
No such file or directory
[continuing]
2 Errors 0 Warnings
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: Flickering graphics [Solved]
Does the map run?
- Jendo7
- Sith

- Posts: 1304
- Joined: Wed Apr 01, 2009 6:37 pm
- Location: Cambridge, England.
- Contact:
Re: Flickering graphics [Solved]
It loads, but the selection screen is black and there are no cps to spawn from.
Edit: I did move all the cps, regions, vehicle spawns and paths into the conquest layer, so in principal it should work.
Edit: I did move all the cps, regions, vehicle spawns and paths into the conquest layer, so in principal it should work.
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Flickering graphics [Solved]
I remember having these same exact problems too when I tried converting Bespin: Cloud City a while ago. I think the forklift animations are "broken" in BF2. Try deleting the forklift object in ZE perhaps. I've never tried it myself (because I gave up) but it may be worth a try.
- Jendo7
- Sith

- Posts: 1304
- Joined: Wed Apr 01, 2009 6:37 pm
- Location: Cambridge, England.
- Contact:
Re: Flickering graphics [Solved]
Cheers AQT, I've got it working
In zeroeditor, I deleted the carbon forklift, removed the vehicle spawns that were from my side in the bf1 version, and updated the lighting in zeroeditor and the .fx file. I also deleted the terrain textures and re-did them so the colour relates to the lighting system of BF2.
Next to do is to re-add vehicles and add CTF and hero assault.
Thanks to Xavious, Fiodis for helping me out, and to Teancum for writing such a clear tutorial.
Screenshot:

In zeroeditor, I deleted the carbon forklift, removed the vehicle spawns that were from my side in the bf1 version, and updated the lighting in zeroeditor and the .fx file. I also deleted the terrain textures and re-did them so the colour relates to the lighting system of BF2.
Next to do is to re-add vehicles and add CTF and hero assault.
Thanks to Xavious, Fiodis for helping me out, and to Teancum for writing such a clear tutorial.
Screenshot:




