Page 1 of 1

Modifying the frenquency of a weapon?

Posted: Mon Nov 20, 2017 1:51 pm
by CdtFox
Hey gametoast,

After a lot of searches and try i wasn't able to find a way to modify how often a weapon is used by a unit. I mainly tried .odf tricks.
Moreover i remember a post from Kinestos saying that it was "possible" to modify how often a hero use his saber throw. (generally secondary weapon/attack). - Don't know if it was speculation only -
I have a fully working Boba. He is equipped with his blaster as primary weapon and a flamethrower as secondary (within the same weapon channel). However is using that flamethrower only one or two time during a match of ~10 mins. He perfectly uses the secondary weapon of the second weapon channel, a wrist rocket launcher.

I'm not sure, do these events depend of the unit itself or the assigned weapon?

Re: Modifying the frenquency of a weapon?

Posted: Mon Nov 20, 2017 6:27 pm
by Marth8880
You can't adjust numeric probability or choice weighting, but you can adjust a weapon class's AI ranges and target types to make it so they'll use certain weapons in certain situations.

Code: Select all

MinRange
OptimalRange
MaxRange
ExtremeRange

...

AITargetAll
AITargetPerson
AITargetAnimal
AITargetDroid
AITargetVehicle
AITargetBuilding
AITargetBuildingDead
AITargetBuildingUnbuilt
AITargetMine
Resources:
http://www.secretsociety.com/forum/down ... meters.txt