Barrier height?

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
TGB
Private Third Class
Posts: 58
Joined: Sun Oct 25, 2009 2:21 am
Games I'm Playing :: LoL SWBF2 BF3 CNC3
xbox live or psn: pfff xbox
Location: New Zealand

Barrier height?

Post by TGB »

im having a little trouble with my map as i cannot get barriers to move up (not the height of the barrier but height above ground) any help is appreciated.
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: barrier height?

Post by AceMastermind »

Zero Edit barriers only work on AI and they only see the world in 2d therefore barrier height/depth is infinite, they have no "height".
The green square icon that snaps to the terrain in ZE is just visual representation for level design placement purposes, you can use the Height slider on the left panel to increase/decrease/toggle the visual "height" to make sure your barriers line up with something that may or may not be on the ground.
or
do you mean you're using an invisible collision object and you can't figure out how to raise it?
User avatar
TGB
Private Third Class
Posts: 58
Joined: Sun Oct 25, 2009 2:21 am
Games I'm Playing :: LoL SWBF2 BF3 CNC3
xbox live or psn: pfff xbox
Location: New Zealand

Re: barrier height?

Post by TGB »

i need to raise the barriers if thats possible so that they arnt touching the ground so my ai wont fall off the ewok walkways (my map is on endor) but can go under them.
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: Barrier height?

Post by MercuryNoodles »

1) As was stated, barriers are of infinite height. Use the height slider if you want to see where it is in relation to things not on or near the ground.

2) Again, as was already posted (it's in the docs somewhere, too), you cannot make barriers and planning work in 3D. AI pathfinding works in 2 dimensions only. You can't use a barrier and have something cross underneath without using a workaround of some kind, because barriers are static. However, a simple script should produce the desired effect, if you want to go for it.
User avatar
TGB
Private Third Class
Posts: 58
Joined: Sun Oct 25, 2009 2:21 am
Games I'm Playing :: LoL SWBF2 BF3 CNC3
xbox live or psn: pfff xbox
Location: New Zealand

Re: Barrier height?

Post by TGB »

k thanks for the help
Post Reply