Page 1 of 1
Setting up new layers?
Posted: Tue Aug 01, 2006 10:52 am
by Astute
Well, i'm making another attempt at porting a map, however i'm having some trouble. When I test the map, it either locks up, or loads and there are no CP's. After a couple hours of tedious debugging, I've narrowed it down to my conquest files. I'm trying to create a new conquest layer with my cps, however the level just doesn't like how i've laid it out. Does anyone know what the real problem is, or mabye have a tutorial for setting up a conquest layer with 6 cps?
RE: Setting up new layers?
Posted: Tue Aug 01, 2006 6:49 pm
by Astute
Anyone?
RE: Setting up new layers?
Posted: Tue Aug 01, 2006 6:58 pm
by Ace_Azzameen_5
Astute, you only waited 9 hours. Jeesh. . ..
This problem must be dealth with, it happens all the time. Best bet is just to try munging a new project and overwriting it's terrain and world file plus importing the neccessary odfs etc, maybe that will work. Oh well, at least i've bumped you're thread so somone else can see it.
Posted: Tue Aug 01, 2006 7:57 pm
by -_-
Can you tell us your steps?
Posted: Tue Aug 01, 2006 11:40 pm
by Astute
Yeah, the only reason I bumped was not as much based on time as how far it was down the list. I've seen a few topics of mine go answered/viewed because of this, so I decided to bump now instead of doing a major bump later. Anyway, I've gotten close to fixing my problem, but when I figure out what is wrong and fix it, it resumes crashing due to the layers. Here is what's happening, If my conquest file is not being called/something misslabed, then the game runs but there are no CPs. If everything is inplace with the conquest file, then the map crashes.
Ok, here are the steps I took.
>Copied all the assets and .wld file into my new project
>Opened my old.wld in zeroeditor and saved it over my new one
>Set up my layers: Base -> conquest -> conquest layer (I think that's right, their in order as they would appear in the editor left to right in configure)
>Updated the LUA(cps)
>Tested Level, no cps show up
>Redid all of my cp's regions
>Tested Level, Same error
>looked in my world's .req file to find all of the conquest entries listed as "_conquest"
>Updated the .req file, then tested only to find my map crashes
And that's all the progress I made..
No errors in PCmungelog or in the debugger. The Lua only has the updated CPs, no changes.
Posted: Wed Aug 02, 2006 12:07 am
by -_-
Hm.. try this astute.
>open up ur old .wld file, delete all cps, regions, etc. And save as Base. Open up conquest layer and redo the cps all over again.
Posted: Wed Aug 02, 2006 9:54 am
by Teancum
You have to set up gametypes. Gametypes are what the lua will look for. Layers are just for organizational purposes.
Just to the right of where the button is to change layers, hit 'configure'.
Remove 'conquest' from the left column.
Hit add on the second column.
Next click on the new name (it says something generic) and then rename it at the top. Hit enter
In the right column, hit add, and load your conquest layer into the conquest gametype.
Hit the button at the bottum to update your reqs
Save and close
With that window, the left column shows what is loaded by default. The middle column is your gametype. The right column is/are the layer/layers loaded for the highlighted gametype. For instance, I use two layers for conquest. One for all of my CPs, paths and vehicles (I usually call it con_stuff), then a separate layer for the regions (called con_regions). Then what I do is load both those layers into the Conquest gametype to make conquest, but only con_stuff into the XL layer, since I don't want the CP's capturable.
Posted: Wed Aug 02, 2006 12:45 pm
by Astute
Is this what you mean?
Posted: Wed Aug 02, 2006 3:08 pm
by Teancum
Close... Conquest (below [base]) needs to be removed from the left side. Stuff on the left the game loads always, so typically you only want the base layer there, since that's where all your props are and stuff.
Posted: Thu Aug 03, 2006 12:01 am
by Astute
Still crashes. I'm starting to think it's not just layers causing the problem, since I did a test by porting another map and it worked just fine. Still, I don't know what the problem is, since the debugger and mungelog give me nothing.
Posted: Thu Aug 03, 2006 6:10 pm
by Astute
Well, i'm baffled, and running out of things to debug. I've deleted everything, all regions, all objects, all cps, all paths. I just don't understand, the level still crashes.
Posted: Thu Aug 03, 2006 6:24 pm
by Vyse
Astute wrote:Well, i'm baffled, and running out of things to debug. I've deleted everything, all regions, all objects, all cps, all paths. I just don't understand, the level still crashes.
If you deleted all the cp then how could you possible expect the map to run. You wouldn't be able to spawn. Also did you delete the cp's from your LUA after deleting them from your .wld? That could cause some probs.
Posted: Thu Aug 03, 2006 7:00 pm
by Astute
Well, at this point i'm just trying to provoke it into giving me an error message. No luck though

Posted: Thu Aug 03, 2006 7:03 pm
by Hebes24
do you get nothing in the Bfront2 log? if so, that is strange...

Posted: Thu Aug 03, 2006 7:40 pm
by Astute
Yep, Bfront2.log just spits out the usual errors, nothing game effecting.