Allow firing in hangars via LUA?

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

Allow firing in hangars via LUA?

Post by ARC_Commander »

Is it possible to change a shipped space map's LUA so that ships can fire inside the hangar?
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: Allow firing in hangars via LUA?

Post by Aman/Pinguin »

You could make it a land map...but then you could land outside...
And if you remove the control region you cant land inside... :| don't know how that could work
MasterSaitek009
Black Sun Slicer
Posts: 619
Joined: Wed Aug 23, 2006 4:10 pm

Re: Allow firing in hangars via LUA?

Post by MasterSaitek009 »

/\I'll elaborate on the above/\
I believe that firing in hangers is disabled when you enter a landing region.
So the only way to disable it would be to use the DisableRegion("LANDING_REGION_NAME") function.
But this method wouldn't really work due to the fact that you wouldn't be able to land....
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Allow firing in hangars via LUA?

Post by [RDH]Zerted »

You could change a shield property to allow firing through it, so you would be able to fire into a hanger. If thats good enough...
Post Reply