SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: 21 | Reacter on December 27, 2011, 08:57:04 AM

Title: -Ticket-Count-
Post by: 21 | Reacter on December 27, 2011, 08:57:04 AM
Lol, another problem xD
Led has teached me, how i can fix it that the tickets do not countdown, if more Cp´s taken from the one team then the other team (...My english :P)
I think that was these lines:
Attacker Stats
    SetUnitCount(ATT, 25)
    SetReinforcementCount(ATT, 200)
    AddBleedThreshold(ATT, 31, 0.0)
    AddBleedThreshold(ATT, 21, 0.75)
    AddBleedThreshold(ATT, 11, 2.25)
    AddBleedThreshold(ATT, 1, 3.0)

                            To:
Attacker Stats
    SetUnitCount(ATT, 25)
    SetReinforcementCount(ATT, 200)
    AddBleedThreshold(ATT, 31, 0.0)
    AddBleedThreshold(ATT, 21, 0.0)
    AddBleedThreshold(ATT, 11, 0.0)
    AddBleedThreshold(ATT, 1, 0.0)

But now xD  all Cps are red (The OWN CP´s ,too) xD
Maybe someone can help me -.-
(long break from modding... now i have forgot something -.-)
Title: Re: -Ticket-Count-
Post by: SleepKiller on December 27, 2011, 01:56:12 PM
Of course they are red you've set your own team to be an enemy, and just remove all the AddBleedThreshold lines to stop the team with the least CPs from dying out.
Title: Re: -Ticket-Count-
Post by: 21 | Reacter on December 27, 2011, 02:03:52 PM
Yes, i have found it out xD
Thx SleepKiller
EhPortal 1.34 © 2024, WebDev