SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: DEAGLE on April 07, 2013, 01:04:46 AM

Title: Add BleedThreshold explanation?
Post by: DEAGLE on April 07, 2013, 01:04:46 AM
I know those lines are causing the ticket bleed, but could somebody explain what the numbers actually do? I don't get it  :(


    AddBleedThreshold(ATT, 31, 0.0)
    AddBleedThreshold(ATT, 21, 0.75)
    AddBleedThreshold(ATT, 11, 2.25)
    AddBleedThreshold(ATT, 1, 3.0)
Title: Re: Add BleedThreshold explanation?
Post by: Anyder on April 07, 2013, 02:41:44 AM
Wow this is new, u asking something Oo !
Joke :P I dont know if this is what u mean:
I think its for, for example, when u get a cp, the ticket bleed isnt the same as when u get 3, its ''faster''

If u dont want a ticket bleed when u cp, just put them all to 0
    AddBleedThreshold(ATT, 31, 0.0)
    AddBleedThreshold(ATT, 21, 0.0)
    AddBleedThreshold(ATT, 11, 0.0)
    AddBleedThreshold(ATT, 1, 0.0)
This is how i have it in all maps that have ticket bleed

If someone knows im wrong, just post here plz :D
Title: Re: Add BleedThreshold explanation?
Post by: Sereja on April 07, 2013, 03:10:10 AM
Seems, those numbers, are just a percents:

31% of friendly CP's left = 0.0% of speed decreasing reinforcement count;
21% of friendly CP's left = 0.75% of speed decreasing reinforcement count;
11% of friendly CP's left = 2.25% of speed decreasing reinforcement count;
1% of friendly CP's left = 3.0% of speed decreasing reinforcement count.

Title: Re: Add BleedThreshold explanation?
Post by: Anyder on April 07, 2013, 03:41:58 AM
Yes, what i said, xD tickets bleed faster :P
Title: Re: Add BleedThreshold explanation?
Post by: DEAGLE on April 07, 2013, 03:44:04 AM
thanks you two, I'll try to get it to work how I want it, otherwise I'll ask again  ;)
Title: Re: Add BleedThreshold explanation?
Post by: Led on April 07, 2013, 05:59:41 AM
2.75 = bleed in tickets per second, i think

not sure about 31, 21 etc  but has to do with CP balance



here is what fred has to say about it:
>>
>> The team stats define the team names, team icon, unit hero classes and their loadouts.
>>

--  Attacker Stats
    SetUnitCount(ATT, 16)
    SetReinforcementCount(ATT, 200)
--    AddBleedThreshold(ATT, 31, 0.0)
--    AddBleedThreshold(ATT, 21, 0.75)
    AddBleedThreshold(ATT, 11, 0.75)
    AddBleedThreshold(ATT, 10, 1.5)
    AddBleedThreshold(ATT, 1, 3.0)

--  Defender Stats
    SetUnitCount(DEF, 16)
    SetReinforcementCount(DEF, 200)
--    AddBleedThreshold(DEF, 31, 0.0)
--    AddBleedThreshold(DEF, 21, 0.75)
    AddBleedThreshold(DEF, 11, 0.75)
    AddBleedThreshold(DEF, 10, 1.5)
    AddBleedThreshold(DEF, 1, 3.0)

>>
>> The attacker and defender stats set the team total units counts, the bleed thresholds and their triggers
>>


EhPortal 1.34 © 2025, WebDev