I have a unit which has a buff that applies a buff to units within his range, the units that stand near get a speed bonus, works fine.
Now i was trying to add like +2 weapon range to each unit that gets the buff so i started looking trough the weaponsection of the behavior and i was a bit confused.
From what i saw i understand that i would have to select each weapon in my game seperatley and add a new range for it... i could well be misunderstanding this.. but this would like cost so much work for me. Isn't there just a way to increase the weapon range for every unit that gets the buff without specifiying the specific weapon in the behavior? and is there a way to "add" range instead of setting maximum or minium for the weapon because like all the units have different range, i just want to add +2 to each unit, not set the same range for every unit that has the buff.
I am fairly certain just modifying "Weapon Range" in Modifications+ will modify the range of any weapon on the unit. Brb, gonna test it.
EDIT: There you go, even attached a screenshot. Those 2 roaches are attacking the same target, the one further behind has +2 range using only the "Weapon Range" field
Yes, weapon range, i have seen it but it says: Maximum range for the weapons.
If i do this, all the different units on my map will have the same range when the buff is applied, i want to add range like +2 for every unit that has the buff example:
no buff:
marine: 4 range
marauder: 2 range
with buff:
marine: 6 range
marauder: 4 range
btw thnx for the example almaity but im still having the problem with different weapons having different range and i dont want them to all have the same range. if you know what i mean.
Then just have several buffs that add different ranges but use validation for their application. The Unit Compare Field validator can sort units according to a string in the editor comments field.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I am pretty sure Bunker - Range Bonus does not change all unit in bunker to the same Maximum range, I think it just extend to what the unit originally have.
Because it only says 1 in Bunker - Range Bonus, if it changes the maximum range to 1, all unit in bunker would not shoot very far.
The range field *adds* range. I mean, its 0 by default for buffs, which means if it would set the units range to whatever value was in it, any unit with *any* buff would have its range reduced to 0, so thats obviously not how it works.
Behaviors don't set values, they modify them. Most values are 0 by default (i.e. doesnt subtract or add anything), multipliers being 1 by default (So that there is no change). If you change those values, they are added to what your unit already has (If the value is negative, it obviously subtracts, and multiplier/fraction fields multiply)
I see, i tested it and it does add the range, i guess i was confused on what the tooltip said and i wasnt really sure on how to test it.
But when i applied the buff and look at the tooltip of the weapon it says its adding + to the default weapon range.
Thnx for your time :]
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
HEy,
I have a unit which has a buff that applies a buff to units within his range, the units that stand near get a speed bonus, works fine. Now i was trying to add like +2 weapon range to each unit that gets the buff so i started looking trough the weaponsection of the behavior and i was a bit confused. From what i saw i understand that i would have to select each weapon in my game seperatley and add a new range for it... i could well be misunderstanding this.. but this would like cost so much work for me. Isn't there just a way to increase the weapon range for every unit that gets the buff without specifiying the specific weapon in the behavior? and is there a way to "add" range instead of setting maximum or minium for the weapon because like all the units have different range, i just want to add +2 to each unit, not set the same range for every unit that has the buff.
any suggestions very much appreciated,
I am fairly certain just modifying "Weapon Range" in Modifications+ will modify the range of any weapon on the unit. Brb, gonna test it.
EDIT: There you go, even attached a screenshot. Those 2 roaches are attacking the same target, the one further behind has +2 range using only the "Weapon Range" field
If you take a look at Behavior > Bunker - Range Bonus, it should be pretty straight forward.
Behavior > Buff > Behavior > Modifications+ > Weapon > Weapon Range.
@dragooness: Go
Yes, weapon range, i have seen it but it says: Maximum range for the weapons.
If i do this, all the different units on my map will have the same range when the buff is applied, i want to add range like +2 for every unit that has the buff example:
no buff:
marine: 4 range marauder: 2 range
with buff:
marine: 6 range marauder: 4 range
btw thnx for the example almaity but im still having the problem with different weapons having different range and i dont want them to all have the same range. if you know what i mean.
Then just have several buffs that add different ranges but use validation for their application. The Unit Compare Field validator can sort units according to a string in the editor comments field.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@Rice87: Go
I am pretty sure Bunker - Range Bonus does not change all unit in bunker to the same Maximum range, I think it just extend to what the unit originally have. Because it only says 1 in Bunker - Range Bonus, if it changes the maximum range to 1, all unit in bunker would not shoot very far.
Have you tried it?
The range field *adds* range. I mean, its 0 by default for buffs, which means if it would set the units range to whatever value was in it, any unit with *any* buff would have its range reduced to 0, so thats obviously not how it works.
Behaviors don't set values, they modify them. Most values are 0 by default (i.e. doesnt subtract or add anything), multipliers being 1 by default (So that there is no change). If you change those values, they are added to what your unit already has (If the value is negative, it obviously subtracts, and multiplier/fraction fields multiply)
@TheAlmaity: Go
I see, i tested it and it does add the range, i guess i was confused on what the tooltip said and i wasnt really sure on how to test it. But when i applied the buff and look at the tooltip of the weapon it says its adding + to the default weapon range.
Thnx for your time :]