Lua functions for moving+resize regions?

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
AnthonyBF2
Sith
Sith
Posts: 1255
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

Lua functions for moving+resize regions?

Post by AnthonyBF2 »

Can this be done? I need an Lua function that can find a region, put it on a new coordinate and re-size it.
Thanks :)
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: Lua functions for moving+resize regions?

Post by Noobasaurus »

I don't think it can be done, but if you know where you want the regions beforehand then you can place them in ZE and activate them as needed.
User avatar
AnthonyBF2
Sith
Sith
Posts: 1255
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

Re: Lua functions for moving+resize regions?

Post by AnthonyBF2 »

This is to be applied to an already compiled world level file. It has to be manipulated with lua. :wink:
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: Lua functions for moving+resize regions?

Post by [RDH]Zerted »

I don't think this can be done, or at least no one has been able to do it yet. If you find a way please post it.
User avatar
Nedarb7
Lieutenant General
Lieutenant General
Posts: 676
Joined: Sat Sep 22, 2012 3:41 pm

Re: Lua functions for moving+resize regions?

Post by Nedarb7 »

You could load another world file containing the additional regions.
Post Reply