Autoturret Placement

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
User avatar
Lagomorphia
Major
Major
Posts: 502
Joined: Sun Dec 13, 2009 10:02 am

Autoturret Placement

Post by Lagomorphia »

Are there any known ways or workarounds to influence (with an aim to increasing) the deployment of autoturrets by the AI? They currently very rarely use them or one side uses them and the other doesn't. Given I have two classes built around deployables, I'd really like to find a way to increase their use by the AI. Ideally I'd like to find a way to bypass the nodes altogether and get units to fire autoturrets as they would weapons, at enemies when they see them. Unfortunately, odf targetting parameters don't seem to cause that behaviour.
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: Autoturret Placement

Post by Marth8880 »

Odd. Mine in MEU do it just fine. :o Here's the ODF I use:

Code: Select all

[WeaponClass]
ClassLabel          = "dispenser"

[Properties]
HUDTag	= "rocketdrone"

OrdnanceName			= "gth_bldg_rocketdrone"

RoundsPerClip       = "1"
ReloadTime          = "0.0"

HeatPerShot				= "1.01"
HeatRecoverRate			= "0.065"
HeatThreshold			= "0.01"

RefillFromItem		= 0

TriggerAll          = "1"

//AnimationBank       = "grenade"
OffhandWeapon       = 1

ShotDelay           = "1.5"
MaxItems            = "1.0"
InitialSalvoDelay   = "0.5"

AutoAimSize         = "1.0"
MaxPressedTime      = "0.0"

ZoomMin             = "0.0"
ZoomMax             = "0.0"
ZoomRate            = "0.0"

MinStrength         = "0.3"
MaxStrength         = "0.4"

TargetEnemy         = "0"
TargetNeutral       = "0"
TargetFriendly      = "0"

TargetPerson        = "0"
TargetAnimal        = "0"
TargetDroid         = "0"
TargetVehicle       = "0"
TargetBuilding      = "0"

FireSound           = "com_weap_inf_remotedroid_fire"
FireEmptySound      = "thermal_clip_empty"
ChangeModeSound     = "weapon_change_01"
WeaponChangeSound   = "weapon_change_01"


User avatar
Lagomorphia
Major
Major
Posts: 502
Joined: Sun Dec 13, 2009 10:02 am

Re: Autoturret Placement

Post by Lagomorphia »

Are the MEU maps saturated with autoturret nodes?
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: Autoturret Placement

Post by Marth8880 »

Nope.
User avatar
Lagomorphia
Major
Major
Posts: 502
Joined: Sun Dec 13, 2009 10:02 am

Re: Autoturret Placement

Post by Lagomorphia »

Are they only deploying them on nodes or do they dump them wherever sometimes?
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: Autoturret Placement

Post by Marth8880 »

Autoturret nodes (sadly) aren't a thing, by the way - and as such, they dump them anywhere, yes. :)
User avatar
Lagomorphia
Major
Major
Posts: 502
Joined: Sun Dec 13, 2009 10:02 am

Re: Autoturret Placement

Post by Lagomorphia »

But they always seem to drop them in the same spots.
CressAlbane
Master Bounty Hunter
Master Bounty Hunter
Posts: 1519
Joined: Fri Dec 18, 2009 8:02 am
Projects :: CTF Arenas
Games I'm Playing :: Steam- cressalbane2
Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı

Re: Autoturret Placement

Post by CressAlbane »

I've observed some AI in one of my test maps, and they seem to place autoturrets when entering a Snipe node (or it may be the nearby Mine node). Sorry I don't have more info, but I'm not at my computer with the source files.

Off the top of my head, it might be based on the distance; try making a unit with only the auto-turret and seeing if instances of that class ever place the turret. That should narrow it down to low probability or more of an inability-until-prompted.
User avatar
Lagomorphia
Major
Major
Posts: 502
Joined: Sun Dec 13, 2009 10:02 am

Re: Autoturret Placement

Post by Lagomorphia »

The unit I armed with only autoturrets and a fusion cutter placed none.
ZoomV
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 308
Joined: Thu Aug 15, 2013 11:27 am
Projects :: Old Republic Map pack
Games I'm Playing :: BF2 SWTOR and GW2
xbox live or psn: No gamertag set
Location: Belsavis, Maximum Security Ward

Re: Autoturret Placement

Post by ZoomV »

Lagomorphia wrote:The unit I armed with only autoturrets and a fusion cutter placed none.
Give them a offensive primary weapon of some kind. AI will only want to target neutral and friendly tanks and buildings if they have a fusion cutter out which is probably why they are not dropping the autoturrets, since autoturrets are not supposed to be used against friendlies and neutrals.
Post Reply