landing regions not working ?

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
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

landing regions not working ?

Post by acryptozoo »

i added a new cp too my space map and added the landing regions and the spawns ...etc and everything works fine
except the landing region won't work :runaway:

heres a snippet from my lua

Code: Select all

    AddDeathRegion("deathregion2")
    AddLandingRegion("all-CP1Con")
    AddLandingRegion("All-CP2Con")
    AddLandingRegion("imp-CP1Con")
all-Cp2Con is my new cp

any ideas what i did wrong?
User avatar
Tears2Roses
Chief Warrant Officer
Chief Warrant Officer
Posts: 336
Joined: Thu Jul 07, 2011 9:20 am
Projects :: Oh some random stuff who knows
Games I'm Playing :: SWBF2
xbox live or psn: PC beats xbox.

Re: landing regions not working ?

Post by Tears2Roses »

acryptozoo wrote:i added a new cp too my space map and added the landing regions and the spawns ...etc and everything works fine
except the landing region won't work :runaway:

heres a snippet from my lua
Hidden/Spoiler:
AddDeathRegion("deathregion2")
AddLandingRegion("all-CP1Con")
AddLandingRegion("All-CP2Con")
AddLandingRegion("imp-CP1Con")[/Hide
all-Cp2Con is my new cp

any ideas what i did wrong?
The parts in red maybe? Capital letters/spelling is very important. or is it....
User avatar
Unlucky13
Sergeant Major
Sergeant Major
Posts: 239
Joined: Mon Jan 24, 2011 11:11 am
Projects :: Models models models
Games I'm Playing :: Random stuff

Re: landing regions not working ?

Post by Unlucky13 »

I think that a "all-Cp2Con is my new cp" was not in his lua, he didn't add the "]" sign on the hide tag, but you might be on the right track.
I am no expert on this but you might want to change this,
AddLandingRegion("All-CP2Con")
to this.
AddLandingRegion("all-CP2Con")
Darth_Spiderpig
Sith Master
Sith Master
Posts: 2631
Joined: Fri Mar 27, 2009 10:23 am
Projects :: Something cool...
Games I'm Playing :: BF2 CoDBO BFBC2
xbox live or psn: Has no xbox....Yup
Location: Does whatever a Spiderpig does
Contact:

Re: landing regions not working ?

Post by Darth_Spiderpig »

I have this problem on Boz Pity too, and I didn't get to work it out yet, but when I find something I'll let you know.
Post Reply