Tanks + speeders through shields [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
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Tanks + speeders through shields [Solved]

Post by Fiodis »

I've got a kind of vehicle bay that's blocked off by the shield from an Imperial star destroyer. I want to keep units from getting in/out, but I want vehicles to pass through just fine. In-game, though, the shield blocks speeder bikes and fighter tanks as well as units, but it lets the UT-AT through just fine. I checked the msh and it's got a collision primitive p_-so-_shield2, which should only block soldiers and ordance, not speeders and tanks, right? There's nothing exceptional in the shield's odf that might be the problem.

How can I allow speeders and tanks to pass through? Should I change some identifier value in their own odfs?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Tanks + speeders through shields

Post by DarthD.U.C.K. »

from my experience battlefront sometimes ignores the naming convention.
i think the safest way to ensure that only vehicles can pass it is having a collision without any parameter and this line in the odf:

Code: Select all

VehicleCollision = "CLEAR"
the ut-at might get through your shield because it has a pretty whacky collsion.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Tanks + speeders through shields

Post by Fiodis »

Thanks; adding that to the shield odf did the trick! :)
Post Reply