Passable hangar shields

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
ARC_Commander
High General
High General
Posts: 838
Joined: Tue Feb 06, 2007 7:18 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Passable hangar shields

Post by ARC_Commander »

Just wondering... is it possible to create a mod that allows you to pass through a ship's hangar shield as an infantry trooper? It'd go well with a side mod I'm working on.

Thanks.
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Allow a soldier to pass through a shield (ODF solution)

Post by AceMastermind »

Try adding this to the shield's ODF:

Code: Select all

SoldierCollision = "CLEAR"
or

Code: Select all

SoldierCollision = "None"
I don't know how you would go about doing this for a side mod though, my guess would be through the LUA somehow.
ARC_Commander
High General
High General
Posts: 838
Joined: Tue Feb 06, 2007 7:18 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 ARC_Commander »

Thanks, Ace. You always help me on stuff. :P

By the way, where would the shield's ODF be located?
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

Post by DarthD.U.C.K. »

in the spacemap worldfoldersl (new world- spacemap...)
ARC_Commander
High General
High General
Posts: 838
Joined: Tue Feb 06, 2007 7:18 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 ARC_Commander »

That wouldn't really work for a sidemod - would it? I've seen the turbolasers mod (replaces heavy turret beam with a bolt) - would this work the same way?
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Post by Xavious »

No. Turrets are a side, so they can be edited in a sides mod. Shields are objects, so they cannot be edited as sides.
ARC_Commander
High General
High General
Posts: 838
Joined: Tue Feb 06, 2007 7:18 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 ARC_Commander »

Agh. Ah well, thanks anyways...
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Post by MercuryNoodles »

Hold on...how did we get from the shield odf location to talking about sides? Don't make this more confusing than it is. Just to answer clearly, look in the map's data_***/worlds/***/odf folder. The shield odf should be there with the other world assets. That folder munges automatically whenever you munge the map, so it's not necessary to set any special options in VisualMunge.
Post Reply