Setting up new layers?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Astute
Rebel Colonel
Rebel Colonel
Posts: 566
Joined: Tue Apr 12, 2005 7:03 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Setting up new layers?

Post 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?
Astute
Rebel Colonel
Rebel Colonel
Posts: 566
Joined: Tue Apr 12, 2005 7:03 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: Setting up new layers?

Post by Astute »

Anyone?
Ace_Azzameen_5
Jedi
Jedi
Posts: 1119
Joined: Sat Apr 23, 2005 8:52 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: Setting up new layers?

Post 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.
-_-
Gametoast Staff
Gametoast Staff
Posts: 2678
Joined: Sat May 07, 2005 1:22 pm

Post by -_- »

Can you tell us your steps?
Astute
Rebel Colonel
Rebel Colonel
Posts: 566
Joined: Tue Apr 12, 2005 7:03 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post 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.
-_-
Gametoast Staff
Gametoast Staff
Posts: 2678
Joined: Sat May 07, 2005 1:22 pm

Post 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.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Post 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.
Astute
Rebel Colonel
Rebel Colonel
Posts: 566
Joined: Tue Apr 12, 2005 7:03 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Astute »

Image

Is this what you mean?
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Post 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.
Astute
Rebel Colonel
Rebel Colonel
Posts: 566
Joined: Tue Apr 12, 2005 7:03 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post 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.
Astute
Rebel Colonel
Rebel Colonel
Posts: 566
Joined: Tue Apr 12, 2005 7:03 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post 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.
Vyse
General
General
Posts: 776
Joined: Sun Aug 28, 2005 5:01 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post 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.
Astute
Rebel Colonel
Rebel Colonel
Posts: 566
Joined: Tue Apr 12, 2005 7:03 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Astute »

Well, at this point i'm just trying to provoke it into giving me an error message. No luck though :(
Hebes24
Sith Master
Sith Master
Posts: 2594
Joined: Sat Jun 03, 2006 5:15 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: In An Epic Space Battle!
Contact:

Post by Hebes24 »

do you get nothing in the Bfront2 log? if so, that is strange... :?
Astute
Rebel Colonel
Rebel Colonel
Posts: 566
Joined: Tue Apr 12, 2005 7:03 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Astute »

Yep, Bfront2.log just spits out the usual errors, nothing game effecting.
Post Reply