Local Teams (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
SBF_Dann_Boeing
Groove Walrus
Groove Walrus
Posts: 1529
Joined: Wed Aug 31, 2005 11:33 pm
xbox live or psn: No gamertag set
Location: An Igloo High Upon a Mountain Top

Local Teams (Solved)

Post by SBF_Dann_Boeing »

Can someone run me through the steps of setting up a local team again? I forget, and I'm trying now, but it ain't workin, and the tutorial for this is messed up, the first page with the instructions is missing.

Here's how my LUA is set up

Code: Select all

    -- Gnomes -------------------------------
    SetTeamName (3, "locals")
    AddUnitClass (3, "lsd_inf_gnome", 30)
    SetUnitCount (3, 30)
    SetTeamAsFriend(3,ATT)
    SetTeamAsFriend(3,DEF)
    SetTeamAsFriend(ATT,3)
    SetTeamAsFriend(DEF,3)

    -- Jabberwocks --------------------------
    SetTeamName(4, "acklay")
    AddUnitClass (3, "lsd_inf_demon", 5)
    SetUnitCount (3, 5)
    SetTeamAsEnemy(4, ATT)
    SetTeamAsEnemy(4, DEF)
    SetTeamAsEnemy(ATT, 4)
    SetTeamAsEnemy(DEF, 4)

    -- They want to kill each other ------
    SetTeamAsEnemy(3, 4)
    SetTeamAsEnemy(4, 3)
    AddAIGoal(3,"Deathmatch",200)
    AddAIGoal(4,"Deathmatch",200)
I got a cp for both team 3 and team 4, with spawn paths. I remember something that has to do with ally paths but i forget how they work exactly. I also added the team 3 and 4 cps to the CP sections. What happens in-game is that Team 4 appears, but as a friendly, and team 3 doesn't show up at all.
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: Local Teams

Post by FragMe! »

First thing I noticed is for the jabberwoks set unit count should be 4,5 not 3,5 same thing for add unit class 4 not 3
User avatar
SBF_Dann_Boeing
Groove Walrus
Groove Walrus
Posts: 1529
Joined: Wed Aug 31, 2005 11:33 pm
xbox live or psn: No gamertag set
Location: An Igloo High Upon a Mountain Top

Re: Local Teams

Post by SBF_Dann_Boeing »

Image

Well that fixed it...lol
Post Reply