Modifying the frenquency of a weapon?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
CdtFox
2nd Lieutenant
2nd Lieutenant
Posts: 379
Joined: Wed Feb 17, 2016 8:51 am
Projects :: BUC and Designated Days
Games I'm Playing :: SWBF2+EAW+Subnautica
xbox live or psn: No gamertag set
Location: France
Contact:

Modifying the frenquency of a weapon?

Post 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?
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Modifying the frenquency of a weapon?

Post 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
Post Reply