How do I move nodes in boundary? [Solved]

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
User avatar
phazon_elite
Rebel Colonel
Rebel Colonel
Posts: 597
Joined: Tue Jan 16, 2007 9:10 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: I'm sorry Link, I can't give the location. Come back when you're a little...mmmh...RICHER!
Contact:

How do I move nodes in boundary? [Solved]

Post by phazon_elite »

Is there any way to move the nodes in a boundary separately? I know there's all sorts of weird boundaries in the shipped maps, and I thought this method would work:
1. Make a new path and add nodes to make the boundary (name it something ex: boundary1)

2. Make a new boundary, but dont do anything with it (name it something ex: fakeboundary)

3. Save the map, and open the .bnd file

4. Replace the boundary name (fakeboundary) with the path name (boundary1)

5. Save the .bnd file and open the .pth file (the main one or the .pth of the layer you put the path and boundary in)

6. Delete anything that has to do with fakeboundary and save.
That's my method, but it didn't work...

Although if someone does get this to work, here's a shorter method that skips the .pth file and making a boundary:
- Just make a path for your boundary, and save

- Open up the .bnd file and change it from this:

Code: Select all

Boundary()
{
}
To this:

Code: Select all

Boundary()
{
	Path("boundary1");
}
- Save and munge
So does anyone know how to move the nodes in the boundary mode individually?

If so, thanks in advance.

EDIT: ROFL! Apparently "gla-ss" (no hyphen) made the filter act up.

- EP-782
1z2x3c
3rd Warning
3rd Warning
Posts: 259
Joined: Mon Jul 16, 2007 3:22 am

Post by 1z2x3c »

you might try making the boundry under boundry tab and then switch to path and then move the nodes. what i did
User avatar
phazon_elite
Rebel Colonel
Rebel Colonel
Posts: 597
Joined: Tue Jan 16, 2007 9:10 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: I'm sorry Link, I can't give the location. Come back when you're a little...mmmh...RICHER!
Contact:

Post by phazon_elite »

Wow...it's really that simple...?

Thanks, I'm gonna try that...

EDIT: Oh, I see. In order to do that you have to click on the boundary tab in the "Show" box.

Rofl, this can be locked in the morning (midnight over here).

- EP-782
User avatar
phazon_elite
Rebel Colonel
Rebel Colonel
Posts: 597
Joined: Tue Jan 16, 2007 9:10 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: I'm sorry Link, I can't give the location. Come back when you're a little...mmmh...RICHER!
Contact:

New problem with these boundaries and their wood candy...

Post by phazon_elite »

Sorry to make another topic, but this error came up after editing mah boundary:
Message Severity: 3
.\Source\BoundaryManager.cpp(172)
Boundary path must be convex and counter-clockwise
The boundary doesn't work, and I don't understand how a boundary can be convex and counter-clockwise. If that means it has to have some kind of circular shape, that would be odd, as the Mos Eisley boundary is obviously a square shape...

- EP-782
theITfactor
Chief Warrant Officer
Chief Warrant Officer
Posts: 327
Joined: Wed Jun 28, 2006 12:56 pm
Projects :: The Pwnfest and Games Complex
Games I'm Playing :: SWTOR
xbox live or psn: You and I Know
Location: The Old Republic
Contact:

Post by theITfactor »

Can you post a picture of how it looks in ZE?
Master Fionwë
Rebel Colonel
Rebel Colonel
Posts: 598
Joined: Wed May 30, 2007 3:33 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: At RCTC
Contact:

Post by Master Fionwë »

The mos eisley one isn't square, at least I don't think it is. I'm pretty sure that it just uses invisible mesh collisions, or whatever you might call them. Invisible walls keeping you within a set area.
And how could a boundary not be circular?
User avatar
phazon_elite
Rebel Colonel
Rebel Colonel
Posts: 597
Joined: Tue Jan 16, 2007 9:10 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: I'm sorry Link, I can't give the location. Come back when you're a little...mmmh...RICHER!
Contact:

Post by phazon_elite »

You are able to edit boundaries by having ZE render them (The "Show" box with all those tabs) while in Path mode. And here's the odd thing: The name for the boundary doesn't show up, but only a space with nothing written.

Anyway, I solved this, and here's a tip or two when editing boundaries:

Code: Select all

When editing boundaries, they must be convex and have some form of a circle. By convex, I mean looking at it from a top down view. Think of a convex lens. Just have it so none of the nodes end up like something like this:

                                                .               
                                            .       .
                                             .     .
                                              .   .
                                             .     .
                                            .       .
                                                .

And that's pretty much it.
So this one can be locked too (although it might help those who have problems with boundaries).

EDIT: Disregard that example I have, apparently it's not working...

EDIT (again): Ok, it is working...
Post Reply