They Are Billions

They Are Billions

Custom Levels for They Are Billions
Add custom levels to They Are Billions by subscribing to these workshop items!
Learn More
soanfriewack 21 Dec, 2020 @ 2:20am
How to understand the Unit Attack Parameters?
If I want to change the Attack speed of a unit I cannot simply type:
ApplyRules("RangerAttack Speed + 50%) (at least it doesn't change anything)

Instead there are Heaps of Parameters for the Attack speed:
TimeLoad
TimeUnload
TimeAction
TimePreAction
TimePostAction
(TimeLoopAction)

Do I have to half (-50%) every Value to double the attack speed?
Are the Values for each unit known?

Is there a simpler way of doubling the Attack speed?

Veteran and normal Units have different Attack speeds, does that mean that they have a seperate value for each parameter or do only some differ?
Last edited by soanfriewack; 21 Dec, 2020 @ 2:24am
< >
Showing 1-2 of 2 comments
Gomez 21 Dec, 2020 @ 3:56am 
Originally posted by soanfriewack:
If I want to change the Attack speed of a unit I cannot simply type:
ApplyRules("RangerAttack Speed + 50%) (at least it doesn't change anything)

Instead there are Heaps of Parameters for the Attack speed:
TimeLoad
TimeUnload
TimeAction
TimePreAction
TimePostAction
(TimeLoopAction)

Do I have to half (-50%) every Value to double the attack speed?
Are the Values for each unit known?

Is there a simpler way of doubling the Attack speed?


Hello

Use TimeAction +50% to reduce Attack Speed


Regards
KarEssMoua [BHVR] 32 24 Dec, 2020 @ 6:49am 
Originally posted by soanfriewack:
If I want to change the Attack speed of a unit I cannot simply type:
ApplyRules("RangerAttack Speed + 50%) (at least it doesn't change anything)

Instead there are Heaps of Parameters for the Attack speed:
TimeLoad
TimeUnload
TimeAction
TimePreAction
TimePostAction
(TimeLoopAction)

Do I have to half (-50%) every Value to double the attack speed?
Are the Values for each unit known?

Is there a simpler way of doubling the Attack speed?

Veteran and normal Units have different Attack speeds, does that mean that they have a seperate value for each parameter or do only some differ?

Hello Soan.

Some of parameters are common from a basic and veteran unit, such as the RunSpeed, the WatchRange, etc. When modding a common rule between basic and veteran unit, you don't need to modify both, while when the stats are different from one to another, you have to change it for both. For that case, if you want to increase the attackspeed (TimeAction), you need to do it for both, overwise the buff will be applied on the basic one (or the veteran one if you are using XAttackVeteran rule).

Also, sometimes things are getting tricky: As you think you increase their attack speed by +100%, you would write ApplyRules("RangerAttack TimeAction +100%"). But thing is, you decrease it because you increase their Time to make an Action.

In any case, I would suggest you to go to Chabz work [docs.google.com] to see the units/zombies stats and some awesome stuff you can deal with the map editor. This is REALLY helpful and he made a huge work for that. Without this, I wouldn't be able to do what I did in my Proto-tech custom map.
Last edited by KarEssMoua [BHVR]; 24 Dec, 2020 @ 6:52am
< >
Showing 1-2 of 2 comments
Per page: 1530 50