Autoturrets don't shoot buildings [Solved]

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
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Autoturrets don't shoot buildings [Solved]

Post by Noobasaurus »

I want my autoturret to shoot buildings, but it doesn't. Here's its odf:
Hidden/Spoiler:
[WeaponClass]
ClassLabel = "cannon"

[Properties]

MuzzleFlash = "med_muzzle_flash"
Discharge = "med_smoke_effect"

RoundsPerClip = "0"

HeatPerShot = "0.0"
HeatRecoverRate = "0.1"
HeatThreshold = "1.5"

MinRange = "0"
OptimalRange = "300"
MaxRange = "300"

RecoilLengthLight = "0.1"
RecoilStrengthLight = "1"
RecoilLengthHeavy = "0.05"
RecoilStrengthHeavy = "1"

ZoomMin = "2.0"
ZoomMax = "8.0"
ZoomRate = "2.0"

ShotDelay = "0.1"

LockOnRange = "300.0"
LockTime = "0.0"
MinSpread = "0.01"
MaxSpread = "0.1"
AutoAimSize = "20.0"

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

TargetPerson = "1"
TargetAnimal = "1"
TargetDroid = "1"
TargetVehicle = "1"
TargetBuilding = "1"

SalvoCount = "4"
SalvoDelay = ".15 .3"

//**********************************************
//****************** SOUND *********************
//**********************************************

FireSound = "com_weap_turret_fire_mini"


FoleyFXGroup = "metal_foley"
I changed the target building to one, but it doesn't seem to work.
Last edited by Noobasaurus on Tue Dec 06, 2011 9:11 pm, edited 1 time in total.
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: Autoturrets don't shoot buildings

Post by Marth8880 »

Add "AITargetBuilding = 1". The "TargetHealthtype" parameters are for human players only.
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: Autoturrets don't shoot buildings

Post by Noobasaurus »

Marth8880 wrote:Add "AITargetBuilding = 1". The "TargetHealthtype" parameters are for human players only.
Well, I found another solution that doesn't involve autoturrets but I'm sure that works. Thanks.
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: Autoturrets don't shoot buildings [Solved]

Post by Marth8880 »

Alright, cool!

What is it?
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: Autoturrets don't shoot buildings [Solved]

Post by Noobasaurus »

Marth8880 wrote:What is it?
An effect with a bunch of lasers shooting up.
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: Autoturrets don't shoot buildings [Solved]

Post by Marth8880 »

Ah, I see. Okay then, cool!
Post Reply